Pull request #236 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0db921cb73de7c92ef95eb0396f10aedf575380b+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (6769407c4f9d1e7b05418cf38eface2c910e5b13) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3755969689716295409.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6578759276776562081.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17757423734850059521.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7975928791900424538.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3540512432734091099.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7515983158548707728.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1749’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1751’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1756’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1750’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1752’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1758 in /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-236 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 0db921cb73de7c92ef95eb0396f10aedf575380b Merge succeeded, producing 0db921cb73de7c92ef95eb0396f10aedf575380b Checking out Revision 0db921cb73de7c92ef95eb0396f10aedf575380b (PR-236) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0db921cb73de7c92ef95eb0396f10aedf575380b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0db921cb73de7c92ef95eb0396f10aedf575380b # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T23:31:20.592Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T23:31:20.766Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T23:31:20.866Z] ========================================================= [2023-01-10T23:31:20.866Z] EdgeX Global Pipelines Version Info [2023-01-10T23:31:20.866Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:31:21.598Z] ------------------- [2023-01-10T23:31:21.598Z] stable info: [2023-01-10T23:31:21.598Z] ------------------- [2023-01-10T23:31:21.598Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T23:31:21.598Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:31:21.598Z] Message: update stable to v1.0.244 [2023-01-10T23:31:22.167Z] ------------------- [2023-01-10T23:31:22.167Z] experimental info: [2023-01-10T23:31:22.167Z] ------------------- [2023-01-10T23:31:22.167Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T23:31:22.168Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T23:31:22.168Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T23:31:22.436Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-10T23:31:22.483Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-10T23:31:22.523Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T23:31:22.558Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T23:31:22.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T23:31:22.626Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T23:31:22.662Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T23:31:22.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T23:31:22.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T23:31:22.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T23:31:22.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T23:31:22.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-10T23:31:22.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T23:31:22.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T23:31:22.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T23:31:22.997Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T23:31:23.039Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T23:31:23.081Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T23:31:23.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T23:31:23.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T23:31:23.203Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T23:31:23.247Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T23:31:23.290Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T23:31:23.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T23:31:23.384Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T23:31:23.427Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T23:31:23.469Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T23:31:23.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo [2023-01-10T23:31:23.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo [2023-01-10T23:31:23.596Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo [2023-01-10T23:31:23.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0db921cb73de7c92ef95eb0396f10aedf575380b [Pipeline] echo [2023-01-10T23:31:23.680Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0db921c [Pipeline] echo [2023-01-10T23:31:23.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:31:23.841Z] provisioning config files... [2023-01-10T23:31:23.854Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config8868984540859596223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:31:24.203Z] ---> docker-login.sh [2023-01-10T23:31:24.203Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:31:24.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:24.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:24.462Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:24.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:24.462Z] [2023-01-10T23:31:24.462Z] Login Succeeded [2023-01-10T23:31:24.462Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:31:24.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:24.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:24.462Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:24.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:24.462Z] [2023-01-10T23:31:24.462Z] Login Succeeded [2023-01-10T23:31:24.462Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:31:24.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:24.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:24.722Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:24.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:24.722Z] [2023-01-10T23:31:24.722Z] Login Succeeded [2023-01-10T23:31:24.722Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:31:24.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:24.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:24.722Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:24.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:24.722Z] [2023-01-10T23:31:24.722Z] Login Succeeded [2023-01-10T23:31:24.722Z] docker.io [2023-01-10T23:31:24.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:24.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:24.983Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:24.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:24.983Z] [2023-01-10T23:31:24.983Z] Login Succeeded [2023-01-10T23:31:24.983Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:31:25.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T23:31:25.649Z] + git rev-list -1 --merges 0db921cb73de7c92ef95eb0396f10aedf575380b~1..0db921cb73de7c92ef95eb0396f10aedf575380b [Pipeline] echo [2023-01-10T23:31:25.711Z] -----------> git rev-list -1 --merges 0db921cb73de7c92ef95eb0396f10aedf575380b~1..0db921cb73de7c92ef95eb0396f10aedf575380b 0db921cb73de7c92ef95eb0396f10aedf575380b [false] [Pipeline] sh [2023-01-10T23:31:26.019Z] + git log --format=format:%s -1 0db921cb73de7c92ef95eb0396f10aedf575380b [Pipeline] echo [2023-01-10T23:31:26.052Z] ========================================================= [2023-01-10T23:31:26.052Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T23:31:26.052Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:31:26.473Z] + git log --format=format:%s -1 0db921cb73de7c92ef95eb0396f10aedf575380b [Pipeline] echo [2023-01-10T23:31:26.502Z] [semverPrep] GIT_COMMIT: 0db921cb73de7c92ef95eb0396f10aedf575380b, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-10T23:31:26.535Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T23:31:26.900Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T23:31:26.900Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T23:31:26.900Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T23:31:26.900Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T23:31:26.900Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T23:31:26.900Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T23:31:26.900Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:31:27.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:31:27.326Z] [2023-01-10T23:31:27.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:31:27.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:31:27.703Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T23:31:27.703Z] b85a868b505f: Pulling fs layer [2023-01-10T23:31:27.703Z] e2be974225ed: Pulling fs layer [2023-01-10T23:31:27.703Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T23:31:27.703Z] 988bab9f4d93: Pulling fs layer [2023-01-10T23:31:27.703Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T23:31:27.703Z] eaf3925da568: Pulling fs layer [2023-01-10T23:31:27.703Z] bab4dde63d76: Pulling fs layer [2023-01-10T23:31:27.703Z] bde34c3a00c8: Pulling fs layer [2023-01-10T23:31:27.703Z] b352a97aabf1: Pulling fs layer [2023-01-10T23:31:27.703Z] 4872d77fe225: Pulling fs layer [2023-01-10T23:31:27.703Z] 5851b861e8e6: Pulling fs layer [2023-01-10T23:31:27.703Z] b352a97aabf1: Waiting [2023-01-10T23:31:27.703Z] 4872d77fe225: Waiting [2023-01-10T23:31:27.703Z] 5851b861e8e6: Waiting [2023-01-10T23:31:27.703Z] bab4dde63d76: Waiting [2023-01-10T23:31:27.703Z] bde34c3a00c8: Waiting [2023-01-10T23:31:27.703Z] 988bab9f4d93: Waiting [2023-01-10T23:31:27.703Z] eaf3925da568: Waiting [2023-01-10T23:31:27.703Z] e2be974225ed: Verifying Checksum [2023-01-10T23:31:27.703Z] e2be974225ed: Download complete [2023-01-10T23:31:27.703Z] 988bab9f4d93: Verifying Checksum [2023-01-10T23:31:27.703Z] 988bab9f4d93: Download complete [2023-01-10T23:31:27.965Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T23:31:27.965Z] 1469e6f7b9e6: Download complete [2023-01-10T23:31:27.965Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T23:31:27.965Z] 339a4e72a1f5: Download complete [2023-01-10T23:31:27.965Z] eaf3925da568: Download complete [2023-01-10T23:31:27.965Z] bde34c3a00c8: Verifying Checksum [2023-01-10T23:31:27.965Z] bde34c3a00c8: Download complete [2023-01-10T23:31:27.965Z] b352a97aabf1: Download complete [2023-01-10T23:31:27.965Z] 4872d77fe225: Verifying Checksum [2023-01-10T23:31:27.965Z] 4872d77fe225: Download complete [2023-01-10T23:31:27.965Z] 5851b861e8e6: Verifying Checksum [2023-01-10T23:31:27.965Z] 5851b861e8e6: Download complete [2023-01-10T23:31:27.965Z] b85a868b505f: Verifying Checksum [2023-01-10T23:31:27.965Z] b85a868b505f: Download complete [2023-01-10T23:31:28.560Z] bab4dde63d76: Verifying Checksum [2023-01-10T23:31:28.560Z] bab4dde63d76: Download complete [2023-01-10T23:31:29.162Z] b85a868b505f: Pull complete [2023-01-10T23:31:29.426Z] e2be974225ed: Pull complete [2023-01-10T23:31:29.992Z] 339a4e72a1f5: Pull complete [2023-01-10T23:31:29.992Z] 988bab9f4d93: Pull complete [2023-01-10T23:31:30.254Z] 1469e6f7b9e6: Pull complete [2023-01-10T23:31:30.254Z] eaf3925da568: Pull complete [2023-01-10T23:31:32.156Z] bab4dde63d76: Pull complete [2023-01-10T23:31:32.156Z] bde34c3a00c8: Pull complete [2023-01-10T23:31:32.156Z] b352a97aabf1: Pull complete [2023-01-10T23:31:32.416Z] 4872d77fe225: Pull complete [2023-01-10T23:31:32.416Z] 5851b861e8e6: Pull complete [2023-01-10T23:31:32.416Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T23:31:32.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T23:31:32.416Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:31:32.658Z] prd-ubuntu20.04-docker-8c-8g-1758 does not seem to be running inside a container [2023-01-10T23:31:32.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T23:31:35.501Z] $ docker top 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf -eo pid,comm [2023-01-10T23:31:35.566Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T23:31:35.566Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T23:31:35.703Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T23:31:35.703Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T23:31:35.887Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T23:31:35.889Z] $ docker exec 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf ssh-agent [2023-01-10T23:31:36.025Z] SSH_AUTH_SOCK=/tmp/ssh-MLncrwEThPSV/agent.31 [2023-01-10T23:31:36.025Z] SSH_AGENT_PID=37 [2023-01-10T23:31:36.031Z] Running ssh-add (command line suppressed) [2023-01-10T23:31:36.147Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_5152348416048400841.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_5152348416048400841.key) [2023-01-10T23:31:36.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T23:31:36.504Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T23:31:36.529Z] $ docker exec --env ******** --env ******** 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf ssh-agent -k [2023-01-10T23:31:36.631Z] unset SSH_AUTH_SOCK; [2023-01-10T23:31:36.635Z] unset SSH_AGENT_PID; [2023-01-10T23:31:36.635Z] echo Agent pid 37 killed; [2023-01-10T23:31:36.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T23:31:36.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T23:31:36.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T23:31:36.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T23:31:36.850Z] $ docker exec 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf ssh-agent [2023-01-10T23:31:36.957Z] SSH_AUTH_SOCK=/tmp/ssh-Klssthkd1t2o/agent.69 [2023-01-10T23:31:36.957Z] SSH_AGENT_PID=75 [2023-01-10T23:31:36.962Z] Running ssh-add (command line suppressed) [2023-01-10T23:31:37.074Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_6928535231919805897.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_6928535231919805897.key) [2023-01-10T23:31:37.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T23:31:37.427Z] + git semver init [2023-01-10T23:31:37.684Z] 2023-01-10 23:31:37,609 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T23:31:37.684Z] 2023-01-10 23:31:37,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver [2023-01-10T23:31:37.684Z] 2023-01-10 23:31:37,610 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-236/.semver [2023-01-10T23:31:37.684Z] 2023-01-10 23:31:37,611 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-236/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236, universal_newlines=False, shell=None, istream=None) [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,645 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.git/info/exclude [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,646 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 with force:False [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,646 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,650 [execute] INFO git cat-file --batch-check [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,656 [execute] INFO git cat-file --batch [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,656 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T23:31:39.064Z] 2023-01-10 23:31:38,659 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 [2023-01-10T23:31:39.064Z] 0.0.0 [Pipeline] } [2023-01-10T23:31:39.095Z] $ docker exec --env ******** --env ******** 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf ssh-agent -k [2023-01-10T23:31:39.192Z] unset SSH_AUTH_SOCK; [2023-01-10T23:31:39.192Z] unset SSH_AGENT_PID; [2023-01-10T23:31:39.192Z] echo Agent pid 75 killed; [2023-01-10T23:31:39.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T23:31:39.631Z] + git semver [Pipeline] } [2023-01-10T23:31:39.913Z] $ docker stop --time=1 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf [2023-01-10T23:31:41.252Z] $ docker rm -f --volumes 00cfa73083bceb711d4ca8a27f5c35874c866bec3272ee1e2d7d2958b9544bbf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T23:31:41.648Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T23:31:41.900Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T23:31:41.918Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:31:42.474Z] provisioning config files... [2023-01-10T23:31:42.483Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config11857099968033638064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:31:42.824Z] ---> docker-login.sh [2023-01-10T23:31:42.824Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:31:42.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:42.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:42.824Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:42.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:42.824Z] [2023-01-10T23:31:42.824Z] Login Succeeded [2023-01-10T23:31:42.824Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:31:42.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:42.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:42.824Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:42.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:42.824Z] [2023-01-10T23:31:42.824Z] Login Succeeded [2023-01-10T23:31:42.824Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:31:43.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:43.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:43.082Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:43.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:43.082Z] [2023-01-10T23:31:43.082Z] Login Succeeded [2023-01-10T23:31:43.082Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:31:43.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:43.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:43.082Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:43.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:43.082Z] [2023-01-10T23:31:43.082Z] Login Succeeded [2023-01-10T23:31:43.082Z] docker.io [2023-01-10T23:31:43.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:31:43.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:31:43.341Z] Configure a credential helper to remove this warning. See [2023-01-10T23:31:43.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:31:43.341Z] [2023-01-10T23:31:43.341Z] Login Succeeded [2023-01-10T23:31:43.341Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:31:43.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T23:31:43.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:31:43.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:31:43.616Z] ========================================================= [2023-01-10T23:31:43.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T23:31:43.616Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:31:44.084Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T23:31:44.084Z] Sending build context to Docker daemon 10.79MB [2023-01-10T23:31:44.084Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:31:44.084Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T23:31:44.084Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T23:31:44.084Z] 213ec9aee27d: Pulling fs layer [2023-01-10T23:31:44.084Z] 4583459ba037: Pulling fs layer [2023-01-10T23:31:44.084Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T23:31:44.084Z] 53926ce57604: Pulling fs layer [2023-01-10T23:31:44.084Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T23:31:44.084Z] 22ff95d597cd: Pulling fs layer [2023-01-10T23:31:44.084Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T23:31:44.084Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T23:31:44.084Z] a7acece74701: Pulling fs layer [2023-01-10T23:31:44.084Z] 21b2b0c7a3f4: Waiting [2023-01-10T23:31:44.084Z] 22ff95d597cd: Waiting [2023-01-10T23:31:44.084Z] 12d6caf4c0d1: Waiting [2023-01-10T23:31:44.084Z] 96b7cbca73a9: Waiting [2023-01-10T23:31:44.084Z] 53926ce57604: Waiting [2023-01-10T23:31:44.084Z] a7acece74701: Waiting [2023-01-10T23:31:44.084Z] 93c1e223e6f2: Download complete [2023-01-10T23:31:44.084Z] 4583459ba037: Verifying Checksum [2023-01-10T23:31:44.084Z] 4583459ba037: Download complete [2023-01-10T23:31:44.345Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T23:31:44.345Z] 21b2b0c7a3f4: Download complete [2023-01-10T23:31:44.345Z] 22ff95d597cd: Download complete [2023-01-10T23:31:44.345Z] 213ec9aee27d: Verifying Checksum [2023-01-10T23:31:44.345Z] 213ec9aee27d: Download complete [2023-01-10T23:31:44.345Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T23:31:44.345Z] 12d6caf4c0d1: Download complete [2023-01-10T23:31:44.345Z] 213ec9aee27d: Pull complete [2023-01-10T23:31:44.606Z] 4583459ba037: Pull complete [2023-01-10T23:31:44.606Z] 93c1e223e6f2: Pull complete [2023-01-10T23:31:44.866Z] a7acece74701: Verifying Checksum [2023-01-10T23:31:44.866Z] a7acece74701: Download complete [2023-01-10T23:31:44.866Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T23:31:44.866Z] 96b7cbca73a9: Download complete [2023-01-10T23:31:45.123Z] 53926ce57604: Verifying Checksum [2023-01-10T23:31:45.123Z] 53926ce57604: Download complete [2023-01-10T23:31:49.304Z] 53926ce57604: Pull complete [2023-01-10T23:31:49.304Z] 21b2b0c7a3f4: Pull complete [2023-01-10T23:31:49.304Z] 22ff95d597cd: Pull complete [2023-01-10T23:31:49.304Z] 12d6caf4c0d1: Pull complete [2023-01-10T23:31:51.213Z] 96b7cbca73a9: Pull complete [2023-01-10T23:31:52.150Z] a7acece74701: Pull complete [2023-01-10T23:31:52.150Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T23:31:52.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T23:31:52.150Z] ---> db6d94c90886 [2023-01-10T23:31:52.150Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:31:56.346Z] ---> Running in 2d83cbb0a329 [2023-01-10T23:31:56.346Z] Removing intermediate container 2d83cbb0a329 [2023-01-10T23:31:56.346Z] ---> 557c309a2eb0 [2023-01-10T23:31:56.346Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:31:56.346Z] ---> Running in 431cff8751a2 [2023-01-10T23:31:56.346Z] Removing intermediate container 431cff8751a2 [2023-01-10T23:31:56.346Z] ---> 4fcf32b3a2f5 [2023-01-10T23:31:56.346Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T23:31:56.346Z] ---> Running in cf8b8d02497f [2023-01-10T23:31:56.605Z] Removing intermediate container cf8b8d02497f [2023-01-10T23:31:56.605Z] ---> 35684773985a [2023-01-10T23:31:56.605Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:31:56.605Z] ---> Running in 851b86853514 [2023-01-10T23:31:56.605Z] Removing intermediate container 851b86853514 [2023-01-10T23:31:56.605Z] ---> f4ecee46046b [2023-01-10T23:31:56.605Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:31:56.605Z] ---> Running in 9cfeb91cc4e6 [2023-01-10T23:31:57.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T23:31:57.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T23:31:57.176Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T23:31:57.176Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T23:31:57.176Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T23:31:57.295Z] Still waiting to schedule task [2023-01-10T23:31:57.295Z] ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T23:31:57.295Z] ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T23:31:57.295Z] ‘prd-ubuntu20.04-docker-8c-8g-1760’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-10T23:31:57.296Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1759’ is offline [2023-01-10T23:31:57.435Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T23:31:57.435Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:31:57.435Z] OK: 216 MiB in 55 packages [2023-01-10T23:31:57.695Z] Removing intermediate container 9cfeb91cc4e6 [2023-01-10T23:31:57.695Z] ---> be7a8737c7ab [2023-01-10T23:31:57.695Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T23:31:57.695Z] ---> Running in b37d4a321673 [2023-01-10T23:31:57.955Z] Removing intermediate container b37d4a321673 [2023-01-10T23:31:57.955Z] ---> 2aa05ff02c83 [2023-01-10T23:31:57.955Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T23:31:57.955Z] ---> acf9f84d33d7 [2023-01-10T23:31:57.955Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:31:57.955Z] ---> Running in 04061ba0a5a3 [2023-01-10T23:32:04.533Z] go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2023-01-10T23:32:04.533Z] skipping... [2023-01-10T23:32:22.625Z] Removing intermediate container 04061ba0a5a3 [2023-01-10T23:32:22.625Z] ---> 09d7c7836d6c [2023-01-10T23:32:22.625Z] Step 11/12 : COPY . . [2023-01-10T23:32:22.625Z] ---> d64db0494ace [2023-01-10T23:32:22.625Z] Step 12/12 : RUN $MAKE [2023-01-10T23:32:22.625Z] ---> Running in e2dde3613e1a [2023-01-10T23:32:22.625Z] noop [2023-01-10T23:32:22.625Z] Removing intermediate container e2dde3613e1a [2023-01-10T23:32:22.625Z] ---> f9b3faab906b [2023-01-10T23:32:22.625Z] Successfully built f9b3faab906b [2023-01-10T23:32:22.625Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:32:23.067Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T23:32:23.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:32:23.220Z] prd-ubuntu20.04-docker-8c-8g-1758 does not seem to be running inside a container [2023-01-10T23:32:23.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T23:32:23.603Z] $ docker top 5ac9128a1d158f8fd2cf02ffe71ca971256789c4a7d87092365bacffa2ef5c0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:32:23.988Z] + go version [2023-01-10T23:32:23.988Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T23:32:24.024Z] $ docker stop --time=1 5ac9128a1d158f8fd2cf02ffe71ca971256789c4a7d87092365bacffa2ef5c0c [2023-01-10T23:32:25.321Z] $ docker rm -f --volumes 5ac9128a1d158f8fd2cf02ffe71ca971256789c4a7d87092365bacffa2ef5c0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:32:26.026Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T23:32:26.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:32:26.194Z] prd-ubuntu20.04-docker-8c-8g-1758 does not seem to be running inside a container [2023-01-10T23:32:26.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T23:32:26.582Z] $ docker top b1fd2345cd05aaf59e488a63fcd33f13b5e2896fd47f8a342b446f1cf0ddcd6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:32:26.986Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] fileExists [Pipeline] sh [2023-01-10T23:32:27.355Z] + make test [2023-01-10T23:32:27.355Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T23:32:27.355Z] driver/restdriver.go:22:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5: replacement directory ../../device-sdk-go does not exist [2023-01-10T23:32:27.355Z] driver/restdriver.go:23:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5: replacement directory ../../device-sdk-go does not exist [2023-01-10T23:32:27.355Z] cmd/main.go:20:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5: replacement directory ../../device-sdk-go does not exist [2023-01-10T23:32:27.355Z] make: *** [Makefile:39: unittest] Error 1 [Pipeline] } [2023-01-10T23:32:27.402Z] $ docker stop --time=1 b1fd2345cd05aaf59e488a63fcd33f13b5e2896fd47f8a342b446f1cf0ddcd6e [2023-01-10T23:32:28.697Z] $ docker rm -f --volumes b1fd2345cd05aaf59e488a63fcd33f13b5e2896fd47f8a342b446f1cf0ddcd6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:32:29.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:32:29.766Z] [2023-01-10T23:32:29.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:32:30.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:32:30.155Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T23:32:30.155Z] 5eb5b503b376: Pulling fs layer [2023-01-10T23:32:30.155Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T23:32:30.155Z] ec43610c2a17: Pulling fs layer [2023-01-10T23:32:30.155Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T23:32:30.155Z] 33b1e0a273af: Pulling fs layer [2023-01-10T23:32:30.155Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T23:32:30.155Z] 2f39f015ded8: Pulling fs layer [2023-01-10T23:32:30.155Z] 33b1e0a273af: Waiting [2023-01-10T23:32:30.155Z] 3a2ae6a8a46f: Waiting [2023-01-10T23:32:30.155Z] 5d3b04190fa2: Waiting [2023-01-10T23:32:30.155Z] 2f39f015ded8: Waiting [2023-01-10T23:32:30.155Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T23:32:30.155Z] 5c69ac0246d0: Download complete [2023-01-10T23:32:30.155Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T23:32:30.155Z] 3a2ae6a8a46f: Download complete [2023-01-10T23:32:30.155Z] ec43610c2a17: Verifying Checksum [2023-01-10T23:32:30.155Z] ec43610c2a17: Download complete [2023-01-10T23:32:30.414Z] 33b1e0a273af: Verifying Checksum [2023-01-10T23:32:30.414Z] 33b1e0a273af: Download complete [2023-01-10T23:32:30.415Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T23:32:30.415Z] 5d3b04190fa2: Download complete [2023-01-10T23:32:30.415Z] 5eb5b503b376: Verifying Checksum [2023-01-10T23:32:30.415Z] 5eb5b503b376: Download complete [2023-01-10T23:32:30.980Z] 2f39f015ded8: Download complete [2023-01-10T23:32:31.915Z] 5eb5b503b376: Pull complete [2023-01-10T23:32:31.915Z] 5c69ac0246d0: Pull complete [2023-01-10T23:32:32.481Z] ec43610c2a17: Pull complete [2023-01-10T23:32:32.481Z] 3a2ae6a8a46f: Pull complete [2023-01-10T23:32:32.739Z] 33b1e0a273af: Pull complete [2023-01-10T23:32:32.739Z] 5d3b04190fa2: Pull complete [2023-01-10T23:32:38.014Z] 2f39f015ded8: Pull complete [2023-01-10T23:32:38.014Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T23:32:38.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:32:38.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:32:38.238Z] prd-ubuntu20.04-docker-8c-8g-1758 does not seem to be running inside a container [2023-01-10T23:32:38.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T23:32:41.664Z] $ docker top 16e9f15731bbe04cafd566fe9de0d1bdcdd07cdedf0e368b10de711b2cd4eda7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:32:42.089Z] ---> job-cost.sh [2023-01-10T23:32:42.089Z] lf-activate-venv: SKIPPING [2023-01-10T23:32:42.089Z] INFO: No Stack... [2023-01-10T23:32:42.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T23:32:42.607Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T23:32:42.924Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-236/archives/cost.csv [2023-01-10T23:32:42.924Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T23:32:42.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] [2023-01-10T23:32:42.980Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] did not exist. Created. [2023-01-10T23:32:42.981Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T23:32:43.365Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T23:32:43.420Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T23:32:43.442Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T23:32:43.527Z] $ docker stop --time=1 16e9f15731bbe04cafd566fe9de0d1bdcdd07cdedf0e368b10de711b2cd4eda7 [2023-01-10T23:32:44.699Z] $ docker rm -f --volumes 16e9f15731bbe04cafd566fe9de0d1bdcdd07cdedf0e368b10de711b2cd4eda7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T23:32:45.055Z] Failed in branch amd64 [2023-01-10T23:34:29.872Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1763 in /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] { [Pipeline] ws [2023-01-10T23:34:29.927Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T23:34:30.044Z] The recommended git tool is: git [2023-01-10T23:34:36.309Z] using credential edgex-jenkins-ssh [2023-01-10T23:34:36.330Z] Cloning the remote Git repository [2023-01-10T23:34:36.382Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:34:36.494Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-10T23:34:36.678Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:34:36.679Z] > git --version # timeout=10 [2023-01-10T23:34:36.706Z] > git --version # 'git version 2.25.1' [2023-01-10T23:34:36.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:34:36.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T23:34:38.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T23:34:38.969Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T23:34:40.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T23:34:40.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T23:34:40.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:34:40.167Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T23:34:40.758Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 0db921cb73de7c92ef95eb0396f10aedf575380b [2023-01-10T23:34:41.037Z] Merge succeeded, producing 0db921cb73de7c92ef95eb0396f10aedf575380b [2023-01-10T23:34:41.038Z] Checking out Revision 0db921cb73de7c92ef95eb0396f10aedf575380b (PR-236) [2023-01-10T23:34:40.782Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T23:34:40.807Z] > git checkout -f 0db921cb73de7c92ef95eb0396f10aedf575380b # timeout=10 [2023-01-10T23:34:40.918Z] > git remote # timeout=10 [2023-01-10T23:34:40.941Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T23:34:40.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T23:34:40.984Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-10T23:34:41.016Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T23:34:41.045Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T23:34:41.065Z] > git checkout -f 0db921cb73de7c92ef95eb0396f10aedf575380b # timeout=10 [2023-01-10T23:34:44.694Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [2023-01-10T23:34:44.763Z] > git --version # timeout=10 [2023-01-10T23:34:44.777Z] > git --version # 'git version 2.25.1' [2023-01-10T23:34:44.803Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T23:34:45.984Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T23:34:45.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T23:34:45.984Z] Dload Upload Total Spent Left Speed [2023-01-10T23:34:45.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-01-10T23:34:46.830Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T23:34:47.207Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T23:34:47.207Z] + sudo tee /etc/docker/daemon.new [2023-01-10T23:34:47.207Z] { [2023-01-10T23:34:47.207Z] "registry-mirrors": [ [2023-01-10T23:34:47.207Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T23:34:47.207Z] ], [2023-01-10T23:34:47.207Z] "bip": "10.250.0.254/24", [2023-01-10T23:34:47.207Z] "hosts": [ [2023-01-10T23:34:47.207Z] "tcp://0.0.0.0:5555", [2023-01-10T23:34:47.207Z] "unix:///var/run/docker.sock" [2023-01-10T23:34:47.207Z] ], [2023-01-10T23:34:47.207Z] "mtu": 1458, [2023-01-10T23:34:47.207Z] "selinux-enabled": true, [2023-01-10T23:34:47.207Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T23:34:47.207Z] } [Pipeline] sh [2023-01-10T23:34:47.574Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T23:34:47.939Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:35:06.314Z] provisioning config files... [2023-01-10T23:35:06.349Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config117171843515995273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:35:06.761Z] ---> docker-login.sh [2023-01-10T23:35:06.761Z] nexus3.edgexfoundry.org:10001 [2023-01-10T23:35:07.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:35:07.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:35:07.355Z] Configure a credential helper to remove this warning. See [2023-01-10T23:35:07.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:35:07.355Z] [2023-01-10T23:35:07.355Z] Login Succeeded [2023-01-10T23:35:07.355Z] nexus3.edgexfoundry.org:10002 [2023-01-10T23:35:07.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:35:07.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:35:07.904Z] Configure a credential helper to remove this warning. See [2023-01-10T23:35:07.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:35:07.904Z] [2023-01-10T23:35:07.904Z] Login Succeeded [2023-01-10T23:35:07.904Z] nexus3.edgexfoundry.org:10003 [2023-01-10T23:35:08.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:35:08.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:35:08.177Z] Configure a credential helper to remove this warning. See [2023-01-10T23:35:08.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:35:08.177Z] [2023-01-10T23:35:08.177Z] Login Succeeded [2023-01-10T23:35:08.177Z] nexus3.edgexfoundry.org:10004 [2023-01-10T23:35:08.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:35:08.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:35:08.726Z] Configure a credential helper to remove this warning. See [2023-01-10T23:35:08.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:35:08.726Z] [2023-01-10T23:35:08.726Z] Login Succeeded [2023-01-10T23:35:08.726Z] docker.io [2023-01-10T23:35:08.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T23:35:09.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T23:35:09.267Z] Configure a credential helper to remove this warning. See [2023-01-10T23:35:09.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T23:35:09.267Z] [2023-01-10T23:35:09.267Z] Login Succeeded [2023-01-10T23:35:09.267Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T23:35:09.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T23:35:09.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:35:09.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T23:35:09.800Z] ========================================================= [2023-01-10T23:35:09.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T23:35:09.800Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:35:10.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T23:35:10.322Z] Sending build context to Docker daemon 129.5kB [2023-01-10T23:35:10.593Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T23:35:10.593Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T23:35:10.868Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T23:35:10.868Z] 9b18e9b68314: Pulling fs layer [2023-01-10T23:35:10.868Z] 35d82f9e3411: Pulling fs layer [2023-01-10T23:35:10.868Z] e16973657156: Pulling fs layer [2023-01-10T23:35:10.868Z] fc693d55d65f: Pulling fs layer [2023-01-10T23:35:10.868Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T23:35:10.868Z] dda99020689f: Pulling fs layer [2023-01-10T23:35:10.868Z] db1c61fa0a46: Pulling fs layer [2023-01-10T23:35:10.868Z] 891c053d2c06: Pulling fs layer [2023-01-10T23:35:10.868Z] fc693d55d65f: Waiting [2023-01-10T23:35:10.868Z] 7e9fc2657dce: Waiting [2023-01-10T23:35:10.868Z] dda99020689f: Waiting [2023-01-10T23:35:10.868Z] db1c61fa0a46: Waiting [2023-01-10T23:35:10.868Z] 891c053d2c06: Waiting [2023-01-10T23:35:10.868Z] e16973657156: Verifying Checksum [2023-01-10T23:35:10.868Z] e16973657156: Download complete [2023-01-10T23:35:10.868Z] 35d82f9e3411: Verifying Checksum [2023-01-10T23:35:10.868Z] 35d82f9e3411: Download complete [2023-01-10T23:35:10.868Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T23:35:10.868Z] 7e9fc2657dce: Download complete [2023-01-10T23:35:10.868Z] dda99020689f: Verifying Checksum [2023-01-10T23:35:10.868Z] dda99020689f: Download complete [2023-01-10T23:35:10.868Z] 9b18e9b68314: Verifying Checksum [2023-01-10T23:35:10.868Z] 9b18e9b68314: Download complete [2023-01-10T23:35:11.472Z] 9b18e9b68314: Pull complete [2023-01-10T23:35:12.080Z] 891c053d2c06: Verifying Checksum [2023-01-10T23:35:12.080Z] 891c053d2c06: Download complete [2023-01-10T23:35:12.080Z] 35d82f9e3411: Pull complete [2023-01-10T23:35:12.682Z] e16973657156: Pull complete [2023-01-10T23:35:14.123Z] db1c61fa0a46: Verifying Checksum [2023-01-10T23:35:14.123Z] db1c61fa0a46: Download complete [2023-01-10T23:35:14.123Z] fc693d55d65f: Download complete [2023-01-10T23:35:26.483Z] fc693d55d65f: Pull complete [2023-01-10T23:35:26.483Z] 7e9fc2657dce: Pull complete [2023-01-10T23:35:26.483Z] dda99020689f: Pull complete [2023-01-10T23:35:31.947Z] db1c61fa0a46: Pull complete [2023-01-10T23:35:33.901Z] 891c053d2c06: Pull complete [2023-01-10T23:35:33.901Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T23:35:33.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T23:35:33.901Z] ---> f96f9c87975a [2023-01-10T23:35:33.901Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T23:35:35.860Z] ---> Running in d559de16574d [2023-01-10T23:35:36.130Z] Removing intermediate container d559de16574d [2023-01-10T23:35:36.130Z] ---> 736a53b9cea6 [2023-01-10T23:35:36.130Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T23:35:36.130Z] ---> Running in bb6f70e7aa08 [2023-01-10T23:35:36.405Z] Removing intermediate container bb6f70e7aa08 [2023-01-10T23:35:36.405Z] ---> e7c2b2f5231a [2023-01-10T23:35:36.405Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T23:35:36.674Z] ---> Running in 50a62653f5a7 [2023-01-10T23:35:36.948Z] Removing intermediate container 50a62653f5a7 [2023-01-10T23:35:36.948Z] ---> 55ef5d62e32a [2023-01-10T23:35:36.948Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T23:35:36.948Z] ---> Running in 118d1ce1ab12 [2023-01-10T23:35:37.536Z] Removing intermediate container 118d1ce1ab12 [2023-01-10T23:35:37.536Z] ---> e8166e278fe2 [2023-01-10T23:35:37.536Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T23:35:37.536Z] ---> Running in 57138be0030c [2023-01-10T23:35:38.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T23:35:38.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T23:35:40.393Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T23:35:40.393Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T23:35:40.393Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T23:35:40.393Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T23:35:40.393Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T23:35:40.393Z] OK: 226 MiB in 55 packages [2023-01-10T23:35:41.377Z] Removing intermediate container 57138be0030c [2023-01-10T23:35:41.377Z] ---> a82bf31fb35e [2023-01-10T23:35:41.377Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T23:35:41.377Z] ---> Running in 561ebb5095ce [2023-01-10T23:35:41.964Z] Removing intermediate container 561ebb5095ce [2023-01-10T23:35:41.964Z] ---> f62e2b94aecc [2023-01-10T23:35:41.964Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T23:35:42.556Z] ---> 9e41bf78dbb5 [2023-01-10T23:35:42.556Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T23:35:42.556Z] ---> Running in b6d5a24851bd [2023-01-10T23:36:04.677Z] go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2023-01-10T23:36:04.677Z] skipping... [2023-01-10T23:36:43.606Z] Removing intermediate container b6d5a24851bd [2023-01-10T23:36:43.606Z] ---> 09c06d26e061 [2023-01-10T23:36:43.606Z] Step 11/12 : COPY . . [2023-01-10T23:36:43.606Z] ---> edc33200cfab [2023-01-10T23:36:43.606Z] Step 12/12 : RUN $MAKE [2023-01-10T23:36:43.606Z] ---> Running in 773710024b8c [2023-01-10T23:36:43.606Z] noop [2023-01-10T23:36:43.606Z] Removing intermediate container 773710024b8c [2023-01-10T23:36:43.606Z] ---> 0f1d4d975d4e [2023-01-10T23:36:43.606Z] Successfully built 0f1d4d975d4e [2023-01-10T23:36:43.606Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:36:44.077Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T23:36:44.077Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:36:44.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-1763 does not seem to be running inside a container [2023-01-10T23:36:44.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T23:36:45.731Z] $ docker top 0f2bdc65adb7bdfd60f611a9bbea5740c79935c518530c3c0173cdfa15dd9cdd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:36:46.652Z] + go version [2023-01-10T23:36:46.652Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T23:36:46.690Z] $ docker stop --time=1 0f2bdc65adb7bdfd60f611a9bbea5740c79935c518530c3c0173cdfa15dd9cdd [2023-01-10T23:36:48.357Z] $ docker rm -f --volumes 0f2bdc65adb7bdfd60f611a9bbea5740c79935c518530c3c0173cdfa15dd9cdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:36:49.239Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T23:36:49.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:36:49.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-1763 does not seem to be running inside a container [2023-01-10T23:36:49.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T23:36:50.844Z] $ docker top efcb90d16cd31d2b97ca30b36c01321991875b0fb4ef54d16b9a28ef2d542a41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:36:51.768Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T23:36:52.500Z] + make test [2023-01-10T23:36:52.500Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T23:36:53.091Z] driver/restdriver.go:22:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5: replacement directory ../../device-sdk-go does not exist [2023-01-10T23:36:53.091Z] driver/restdriver.go:23:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5: replacement directory ../../device-sdk-go does not exist [2023-01-10T23:36:53.091Z] cmd/main.go:20:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.5: replacement directory ../../device-sdk-go does not exist [2023-01-10T23:36:53.091Z] make: *** [Makefile:39: unittest] Error 1 [Pipeline] } [2023-01-10T23:36:53.139Z] $ docker stop --time=1 efcb90d16cd31d2b97ca30b36c01321991875b0fb4ef54d16b9a28ef2d542a41 [2023-01-10T23:36:54.867Z] $ docker rm -f --volumes efcb90d16cd31d2b97ca30b36c01321991875b0fb4ef54d16b9a28ef2d542a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:36:55.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:36:55.971Z] [2023-01-10T23:36:55.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:36:56.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:36:56.645Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T23:36:56.645Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T23:36:56.645Z] 04944245beec: Pulling fs layer [2023-01-10T23:36:56.645Z] 699f458cf7ca: Pulling fs layer [2023-01-10T23:36:56.645Z] 765212b225bb: Pulling fs layer [2023-01-10T23:36:56.645Z] f23df028b6ca: Pulling fs layer [2023-01-10T23:36:56.645Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T23:36:56.645Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T23:36:56.645Z] f23df028b6ca: Waiting [2023-01-10T23:36:56.645Z] d65c8cfc05b1: Waiting [2023-01-10T23:36:56.645Z] 2437ff75d9bd: Waiting [2023-01-10T23:36:56.645Z] 765212b225bb: Waiting [2023-01-10T23:36:56.645Z] 04944245beec: Verifying Checksum [2023-01-10T23:36:56.645Z] 04944245beec: Download complete [2023-01-10T23:36:56.645Z] 765212b225bb: Verifying Checksum [2023-01-10T23:36:56.645Z] 765212b225bb: Download complete [2023-01-10T23:36:56.645Z] f23df028b6ca: Verifying Checksum [2023-01-10T23:36:56.645Z] f23df028b6ca: Download complete [2023-01-10T23:36:56.918Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T23:36:56.918Z] d65c8cfc05b1: Download complete [2023-01-10T23:36:56.918Z] 699f458cf7ca: Verifying Checksum [2023-01-10T23:36:56.918Z] 699f458cf7ca: Download complete [2023-01-10T23:36:57.190Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T23:36:57.190Z] 8998bd30e6a1: Download complete [2023-01-10T23:36:59.790Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T23:37:01.213Z] 8998bd30e6a1: Pull complete [2023-01-10T23:37:01.483Z] 04944245beec: Pull complete [2023-01-10T23:37:02.904Z] 699f458cf7ca: Pull complete [2023-01-10T23:37:03.176Z] 765212b225bb: Pull complete [2023-01-10T23:37:04.142Z] f23df028b6ca: Pull complete [2023-01-10T23:37:04.412Z] d65c8cfc05b1: Pull complete [2023-01-10T23:37:19.440Z] 2437ff75d9bd: Pull complete [2023-01-10T23:37:19.440Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T23:37:19.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T23:37:19.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:37:19.812Z] prd-ubuntu20.04-docker-arm64-4c-16g-1763 does not seem to be running inside a container [2023-01-10T23:37:19.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T23:37:23.022Z] $ docker top c34830145f77230ffcab4544815e676edf6e790194c3657ecaee035e5d6a0f03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:23.993Z] ---> job-cost.sh [2023-01-10T23:37:23.993Z] lf-activate-venv: SKIPPING [2023-01-10T23:37:23.993Z] INFO: No Stack... [2023-01-10T23:37:24.581Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T23:37:25.550Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T23:37:26.220Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-10T23:37:26.220Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T23:37:26.320Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] [2023-01-10T23:37:26.325Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] did not exist. Created. [2023-01-10T23:37:26.325Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T23:37:27.067Z] /w/workspace/device-rest-go/1@tmp/durable-7880eed8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T23:37:27.762Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T23:37:27.797Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T23:37:28.443Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T23:37:28.461Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T23:37:28.560Z] $ docker stop --time=1 c34830145f77230ffcab4544815e676edf6e790194c3657ecaee035e5d6a0f03 [2023-01-10T23:37:30.131Z] $ docker rm -f --volumes c34830145f77230ffcab4544815e676edf6e790194c3657ecaee035e5d6a0f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T23:37:33.456Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-10T23:37:35.422Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-236/archives ] [2023-01-10T23:37:35.422Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-10T23:37:35.422Z] total 16 [2023-01-10T23:37:35.422Z] drwxr-xr-x 3 root root 4096 Jan 10 23:32 . [2023-01-10T23:37:35.422Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:32 .. [2023-01-10T23:37:35.422Z] drwxr-xr-x 2 root root 4096 Jan 10 23:32 cost [2023-01-10T23:37:35.422Z] -rw-r--r-- 1 root root 86 Jan 10 23:32 cost.csv [2023-01-10T23:37:35.422Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-10T23:37:35.422Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-10T23:37:35.422Z] total 16 [2023-01-10T23:37:35.422Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:32 . [2023-01-10T23:37:35.422Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:32 .. [2023-01-10T23:37:35.422Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:32 cost [2023-01-10T23:37:35.422Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 23:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:35.750Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:36.645Z] ---> package-listing.sh [2023-01-10T23:37:36.645Z] ++ facter osfamily [2023-01-10T23:37:36.645Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T23:37:36.904Z] + OS_FAMILY=debian [2023-01-10T23:37:36.904Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-236 [2023-01-10T23:37:36.904Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T23:37:36.904Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T23:37:36.904Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T23:37:36.904Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T23:37:36.904Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' [2023-01-10T23:37:36.904Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T23:37:36.904Z] + case "${OS_FAMILY}" in [2023-01-10T23:37:36.904Z] + dpkg -l [2023-01-10T23:37:36.904Z] + grep '^ii' [2023-01-10T23:37:36.904Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T23:37:36.904Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T23:37:36.904Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T23:37:36.904Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' [2023-01-10T23:37:36.904Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [2023-01-10T23:37:36.904Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [Pipeline] echo [2023-01-10T23:37:36.936Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T23:37:37.225Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T23:37:37.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T23:37:37.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T23:37:37.989Z] prd-ubuntu20.04-docker-8c-8g-1758 does not seem to be running inside a container [2023-01-10T23:37:38.026Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T23:37:38.205Z] $ docker top ee1cde7104a26c0362bb43593375ac0da16b3b12c3a42b2005eea0530a9325c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T23:37:38.587Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T23:37:38.900Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T23:37:39.206Z] + ls /var/log/sa-host [2023-01-10T23:37:39.206Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T23:37:39.426Z] provisioning config files... [2023-01-10T23:37:39.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config835915428010844408tmp [Pipeline] { [Pipeline] echo [2023-01-10T23:37:39.488Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:39.804Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T23:37:39.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:40.248Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T23:37:40.279Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:40.588Z] ---> sudo-logs.sh [2023-01-10T23:37:40.588Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T23:37:40.670Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:40.981Z] ---> job-cost.sh [2023-01-10T23:37:40.981Z] lf-activate-venv: SKIPPING [2023-01-10T23:37:40.981Z] DEBUG: total: 0.2199999988079071 [2023-01-10T23:37:40.981Z] INFO: Retrieving Stack Cost... [2023-01-10T23:37:41.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T23:37:41.807Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T23:37:41.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T23:37:42.151Z] ---> logs-deploy.sh [2023-01-10T23:37:42.151Z] lf-activate-venv: SKIPPING [2023-01-10T23:37:42.151Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-236/1 [2023-01-10T23:37:42.151Z] INFO: archiving workspace using pattern(s): [2023-01-10T23:37:43.087Z] Archives upload complete. [2023-01-10T23:37:43.087Z] INFO: archiving logs to Nexus