Pull request #236 updated 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 7f76c9332ba923fe7361eff16a9cf1f456f11020+a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (db3b8eae48472724ad298f02b60a98f3f2c50a01) 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-ssh10850189263720879189.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-ssh18041503227060654530.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-ssh12826050334647286211.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 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-ssh9376411669147576499.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-ssh16326286920595695674.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-ubuntu20.04-docker-8c-8g-1768 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 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 7f76c9332ba923fe7361eff16a9cf1f456f11020 Merge succeeded, producing 7f76c9332ba923fe7361eff16a9cf1f456f11020 Checking out Revision 7f76c9332ba923fe7361eff16a9cf1f456f11020 (PR-236) > 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 > 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 7f76c9332ba923fe7361eff16a9cf1f456f11020 # 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:08:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:08:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:08:38 ========================================================= 00:08:38 EdgeX Global Pipelines Version Info 00:08:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0db921cb73de7c92ef95eb0396f10aedf575380b # timeout=10 00:08:39 ------------------- 00:08:39 stable info: 00:08:39 ------------------- 00:08:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:08:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:08:39 Message: update stable to v1.0.244 00:08:39 ------------------- 00:08:39 experimental info: 00:08:39 ------------------- 00:08:39 Commited By: **** collab-it+edgex@linuxfoundation.org 00:08:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:08:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f76c93 [Pipeline] echo 00:08:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:40 provisioning config files... 00:08:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config12269647236010983391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:40 ---> docker-login.sh 00:08:40 nexus3.edgexfoundry.org:10001 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 nexus3.edgexfoundry.org:10002 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 nexus3.edgexfoundry.org:10003 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 nexus3.edgexfoundry.org:10004 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 docker.io 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 ---> docker-login.sh ends [Pipeline] } 00:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:08:41 + git rev-list -1 --merges 7f76c9332ba923fe7361eff16a9cf1f456f11020~1..7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo 00:08:42 -----------> git rev-list -1 --merges 7f76c9332ba923fe7361eff16a9cf1f456f11020~1..7f76c9332ba923fe7361eff16a9cf1f456f11020 7f76c9332ba923fe7361eff16a9cf1f456f11020 [false] [Pipeline] sh 00:08:42 + git log --format=format:%s -1 7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo 00:08:42 ========================================================= 00:08:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:08:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:42 + git log --format=format:%s -1 7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo 00:08:42 [semverPrep] GIT_COMMIT: 7f76c9332ba923fe7361eff16a9cf1f456f11020, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo 00:08:42 [semverPrep] This is not a build commit. [Pipeline] sh 00:08:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:43 + grep -v github /etc/ssh/ssh_known_hosts 00:08:43 + [ -e /tmp/ssh_known_hosts ] 00:08:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:08:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:08:43 + sudo tee -a /etc/ssh/ssh_known_hosts 00:08:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:43 00:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:43 0.1.4: Pulling from edgex-devops/py-git-semver 00:08:43 b85a868b505f: Pulling fs layer 00:08:43 e2be974225ed: Pulling fs layer 00:08:43 339a4e72a1f5: Pulling fs layer 00:08:43 988bab9f4d93: Pulling fs layer 00:08:43 1469e6f7b9e6: Pulling fs layer 00:08:43 eaf3925da568: Pulling fs layer 00:08:43 bab4dde63d76: Pulling fs layer 00:08:43 bde34c3a00c8: Pulling fs layer 00:08:43 b352a97aabf1: Pulling fs layer 00:08:43 4872d77fe225: Pulling fs layer 00:08:43 988bab9f4d93: Waiting 00:08:43 5851b861e8e6: Pulling fs layer 00:08:43 eaf3925da568: Waiting 00:08:43 1469e6f7b9e6: Waiting 00:08:43 bde34c3a00c8: Waiting 00:08:43 bab4dde63d76: Waiting 00:08:43 b352a97aabf1: Waiting 00:08:43 4872d77fe225: Waiting 00:08:43 5851b861e8e6: Waiting 00:08:43 e2be974225ed: Download complete 00:08:43 988bab9f4d93: Download complete 00:08:43 1469e6f7b9e6: Verifying Checksum 00:08:43 1469e6f7b9e6: Download complete 00:08:43 eaf3925da568: Verifying Checksum 00:08:43 eaf3925da568: Download complete 00:08:43 339a4e72a1f5: Verifying Checksum 00:08:43 339a4e72a1f5: Download complete 00:08:43 bde34c3a00c8: Download complete 00:08:43 b352a97aabf1: Verifying Checksum 00:08:43 b352a97aabf1: Download complete 00:08:43 4872d77fe225: Download complete 00:08:43 5851b861e8e6: Verifying Checksum 00:08:43 5851b861e8e6: Download complete 00:08:43 b85a868b505f: Verifying Checksum 00:08:43 b85a868b505f: Download complete 00:08:44 bab4dde63d76: Verifying Checksum 00:08:44 bab4dde63d76: Download complete 00:08:45 b85a868b505f: Pull complete 00:08:45 e2be974225ed: Pull complete 00:08:46 339a4e72a1f5: Pull complete 00:08:46 988bab9f4d93: Pull complete 00:08:46 1469e6f7b9e6: Pull complete 00:08:46 eaf3925da568: Pull complete 00:08:48 bab4dde63d76: Pull complete 00:08:48 bde34c3a00c8: Pull complete 00:08:48 b352a97aabf1: Pull complete 00:08:48 4872d77fe225: Pull complete 00:08:48 5851b861e8e6: Pull complete 00:08:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:08:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:48 prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container 00:08:48 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:08:50 $ docker top 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 -eo pid,comm 00:08:50 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). 00:08:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:50 [ssh-agent] Looking for ssh-agent implementation... 00:08:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:50 $ docker exec 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent 00:08:50 SSH_AUTH_SOCK=/tmp/ssh-ULcxdW2lIa7r/agent.31 00:08:50 SSH_AGENT_PID=37 00:08:50 Running ssh-add (command line suppressed) 00:08:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14756433476171954861.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14756433476171954861.key) 00:08:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:51 + git tag --points-at HEAD [Pipeline] } 00:08:51 $ docker exec --env ******** --env ******** 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent -k 00:08:51 unset SSH_AUTH_SOCK; 00:08:51 unset SSH_AGENT_PID; 00:08:51 echo Agent pid 37 killed; 00:08:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:08:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:51 [ssh-agent] Looking for ssh-agent implementation... 00:08:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:51 $ docker exec 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent 00:08:51 SSH_AUTH_SOCK=/tmp/ssh-DJc6MkE71h6M/agent.68 00:08:51 SSH_AGENT_PID=74 00:08:51 Running ssh-add (command line suppressed) 00:08:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14438169239444494596.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14438169239444494596.key) 00:08:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:51 + git semver init 00:08:52 2023-01-11 00:08:52,152 [run_init] DEBUG init version:0.0.0 force:False 00:08:52 2023-01-11 00:08:52,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver 00:08:52 2023-01-11 00:08:52,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-236/.semver 00:08:52 2023-01-11 00:08:52,153 [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) 00:08:53 2023-01-11 00:08:53,418 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.git/info/exclude 00:08:53 2023-01-11 00:08:53,418 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 with force:False 00:08:53 2023-01-11 00:08:53,418 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 00:08:53 2023-01-11 00:08:53,423 [execute] INFO git cat-file --batch-check 00:08:53 2023-01-11 00:08:53,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) 00:08:53 2023-01-11 00:08:53,428 [execute] INFO git cat-file --batch 00:08:53 2023-01-11 00:08:53,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) 00:08:53 2023-01-11 00:08:53,434 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 00:08:53 0.0.0 [Pipeline] } 00:08:53 $ docker exec --env ******** --env ******** 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent -k 00:08:53 unset SSH_AUTH_SOCK; 00:08:53 unset SSH_AGENT_PID; 00:08:53 echo Agent pid 74 killed; 00:08:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:54 + git semver [Pipeline] } 00:08:54 $ docker stop --time=1 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 00:08:55 $ docker rm -f --volumes 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:08:56 Stashed 1 file(s) [Pipeline] echo 00:08:56 [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 00:08:56 provisioning config files... 00:08:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config8175625435767519188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:56 ---> docker-login.sh 00:08:56 nexus3.edgexfoundry.org:10001 00:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:56 Configure a credential helper to remove this warning. See 00:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:56 00:08:56 Login Succeeded 00:08:56 nexus3.edgexfoundry.org:10002 00:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:56 Configure a credential helper to remove this warning. See 00:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:56 00:08:56 Login Succeeded 00:08:56 nexus3.edgexfoundry.org:10003 00:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:56 Configure a credential helper to remove this warning. See 00:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:56 00:08:56 Login Succeeded 00:08:56 nexus3.edgexfoundry.org:10004 00:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:56 Configure a credential helper to remove this warning. See 00:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:56 00:08:56 Login Succeeded 00:08:56 docker.io 00:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:57 Configure a credential helper to remove this warning. See 00:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:57 00:08:57 Login Succeeded 00:08:57 ---> docker-login.sh ends [Pipeline] } 00:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:57 ========================================================= 00:08:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:08:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:57 + 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 . 00:08:57 Sending build context to Docker daemon 10.79MB 00:08:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:08:57 Step 2/12 : FROM ${BASE} AS builder 00:08:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:08:57 213ec9aee27d: Pulling fs layer 00:08:57 4583459ba037: Pulling fs layer 00:08:57 93c1e223e6f2: Pulling fs layer 00:08:57 53926ce57604: Pulling fs layer 00:08:57 21b2b0c7a3f4: Pulling fs layer 00:08:57 22ff95d597cd: Pulling fs layer 00:08:57 12d6caf4c0d1: Pulling fs layer 00:08:57 96b7cbca73a9: Pulling fs layer 00:08:57 a7acece74701: Pulling fs layer 00:08:57 53926ce57604: Waiting 00:08:57 21b2b0c7a3f4: Waiting 00:08:57 22ff95d597cd: Waiting 00:08:57 12d6caf4c0d1: Waiting 00:08:57 96b7cbca73a9: Waiting 00:08:57 93c1e223e6f2: Verifying Checksum 00:08:57 93c1e223e6f2: Download complete 00:08:57 4583459ba037: Verifying Checksum 00:08:57 4583459ba037: Download complete 00:08:57 21b2b0c7a3f4: Verifying Checksum 00:08:57 21b2b0c7a3f4: Download complete 00:08:57 22ff95d597cd: Verifying Checksum 00:08:57 22ff95d597cd: Download complete 00:08:57 213ec9aee27d: Download complete 00:08:57 12d6caf4c0d1: Verifying Checksum 00:08:57 12d6caf4c0d1: Download complete 00:08:57 213ec9aee27d: Pull complete 00:08:58 4583459ba037: Pull complete 00:08:58 93c1e223e6f2: Pull complete 00:08:58 a7acece74701: Verifying Checksum 00:08:58 a7acece74701: Download complete 00:08:58 53926ce57604: Verifying Checksum 00:08:58 53926ce57604: Download complete 00:08:58 96b7cbca73a9: Verifying Checksum 00:08:58 96b7cbca73a9: Download complete 00:09:02 53926ce57604: Pull complete 00:09:02 21b2b0c7a3f4: Pull complete 00:09:02 22ff95d597cd: Pull complete 00:09:02 12d6caf4c0d1: Pull complete 00:09:04 96b7cbca73a9: Pull complete 00:09:05 a7acece74701: Pull complete 00:09:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:09:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:09:05 ---> db6d94c90886 00:09:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:09:08 ---> Running in a41be6913746 00:09:08 Removing intermediate container a41be6913746 00:09:08 ---> 5d86c01c991c 00:09:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:09:08 ---> Running in 39db446692a2 00:09:08 Removing intermediate container 39db446692a2 00:09:08 ---> 75e75b003bf5 00:09:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:09:08 ---> Running in 06e325600913 00:09:08 Removing intermediate container 06e325600913 00:09:08 ---> 08106bf6fab7 00:09:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:09:08 ---> Running in 4ab5875dd0ad 00:09:09 Removing intermediate container 4ab5875dd0ad 00:09:09 ---> 02da76a1ebb3 00:09:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:09:09 ---> Running in 451449fbf0fb 00:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:09:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:09:09 (2/4) Installing libedit (20210910.3.1-r0) 00:09:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:09:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:09:09 Executing busybox-1.35.0-r17.trigger 00:09:09 OK: 216 MiB in 55 packages 00:09:10 Removing intermediate container 451449fbf0fb 00:09:10 ---> 92dfe50d9b6f 00:09:10 Step 8/12 : WORKDIR /device-rest-go 00:09:10 ---> Running in c6a0f33e5af5 00:09:10 Removing intermediate container c6a0f33e5af5 00:09:10 ---> d41dbe23779a 00:09:10 Step 9/12 : COPY go.mod vendor* ./ 00:09:10 ---> 3235920744ab 00:09:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:09:10 ---> Running in 98074c1ebc9a 00:09:11 Still waiting to schedule task 00:09:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:09:20 go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 00:09:20 skipping... 00:09:35 Removing intermediate container 98074c1ebc9a 00:09:35 ---> 78c48120f440 00:09:35 Step 11/12 : COPY . . 00:09:35 ---> c94533cb5d0d 00:09:35 Step 12/12 : RUN $MAKE 00:09:35 ---> Running in 13b645861038 00:09:35 noop 00:09:35 Removing intermediate container 13b645861038 00:09:35 ---> 87cd5ec6f6db 00:09:35 Successfully built 87cd5ec6f6db 00:09:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:35 + docker inspect -f . ci-base-image-x86_64 00:09:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:35 prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container 00:09:35 $ 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 ******** -e ******** ci-base-image-x86_64 cat 00:09:36 $ docker top 42e3326339d4cdcd50e14bbf45ebff547259ef5b3b6ca70dee781fdd7901b417 -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:36 + go version 00:09:36 go version go1.18.7 linux/amd64 [Pipeline] } 00:09:36 $ docker stop --time=1 42e3326339d4cdcd50e14bbf45ebff547259ef5b3b6ca70dee781fdd7901b417 00:09:37 $ docker rm -f --volumes 42e3326339d4cdcd50e14bbf45ebff547259ef5b3b6ca70dee781fdd7901b417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:38 + docker inspect -f . ci-base-image-x86_64 00:09:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:38 prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container 00:09:38 $ 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 ******** -e ******** ci-base-image-x86_64 cat 00:09:38 $ docker top 743ca5000ce6e67f3ff78a40dab0ab5f7e05397a5a933defffa8cd6ff6e24230 -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] fileExists [Pipeline] sh 00:09:39 + make test 00:09:39 go test ./... -coverprofile=coverage.out ./... 00:09:39 driver/restdriver.go:22:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:09:39 driver/restdriver.go:23:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:09:39 cmd/main.go:20:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:09:39 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 00:09:39 $ docker stop --time=1 743ca5000ce6e67f3ff78a40dab0ab5f7e05397a5a933defffa8cd6ff6e24230 00:09:40 $ docker rm -f --volumes 743ca5000ce6e67f3ff78a40dab0ab5f7e05397a5a933defffa8cd6ff6e24230 [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 00:09:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:41 00:09:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:41 latest: Pulling from edgex-lftools-log-publisher 00:09:41 5eb5b503b376: Pulling fs layer 00:09:41 5c69ac0246d0: Pulling fs layer 00:09:41 ec43610c2a17: Pulling fs layer 00:09:41 3a2ae6a8a46f: Pulling fs layer 00:09:41 33b1e0a273af: Pulling fs layer 00:09:41 5d3b04190fa2: Pulling fs layer 00:09:41 2f39f015ded8: Pulling fs layer 00:09:41 3a2ae6a8a46f: Waiting 00:09:41 33b1e0a273af: Waiting 00:09:41 5d3b04190fa2: Waiting 00:09:41 2f39f015ded8: Waiting 00:09:41 5c69ac0246d0: Download complete 00:09:41 3a2ae6a8a46f: Download complete 00:09:41 33b1e0a273af: Verifying Checksum 00:09:41 33b1e0a273af: Download complete 00:09:41 5d3b04190fa2: Verifying Checksum 00:09:41 5d3b04190fa2: Download complete 00:09:41 ec43610c2a17: Verifying Checksum 00:09:41 5eb5b503b376: Verifying Checksum 00:09:41 5eb5b503b376: Download complete 00:09:42 2f39f015ded8: Download complete 00:09:42 5eb5b503b376: Pull complete 00:09:42 5c69ac0246d0: Pull complete 00:09:43 ec43610c2a17: Pull complete 00:09:43 3a2ae6a8a46f: Pull complete 00:09:43 33b1e0a273af: Pull complete 00:09:43 5d3b04190fa2: Pull complete 00:09:47 2f39f015ded8: Pull complete 00:09:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:47 prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container 00:09:47 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:09:51 $ docker top 74cb3abd70aeab9b18ca0a8fab006eda75b1b8513602fced3167e3032b7d2167 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:52 ---> job-cost.sh 00:09:52 lf-activate-venv: SKIPPING 00:09:52 INFO: No Stack... 00:09:52 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:53 INFO: Archiving Costs [Pipeline] sh 00:09:53 + cat /w/workspace/gexfoundry_device-rest-go_PR-236/archives/cost.csv 00:09:53 + cut -d, -f6 [Pipeline] lock 00:09:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] 00:09:53 Resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] did not exist. Created. 00:09:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:53 + echo total: 0.2199999988079071 [Pipeline] stash 00:09:53 Stashed 1 file(s) [Pipeline] } 00:09:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:53 $ docker stop --time=1 74cb3abd70aeab9b18ca0a8fab006eda75b1b8513602fced3167e3032b7d2167 00:09:54 $ docker rm -f --volumes 74cb3abd70aeab9b18ca0a8fab006eda75b1b8513602fced3167e3032b7d2167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:09:55 Failed in branch amd64 00:10:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1772 in /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] { [Pipeline] ws 00:10:45 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 00:10:45 The recommended git tool is: git 00:10:51 using credential edgex-jenkins-ssh 00:10:51 Cloning the remote Git repository 00:10:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:10:51 > git init /w/workspace/device-rest-go/2 # timeout=10 00:10:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:10:51 > git --version # timeout=10 00:10:51 > git --version # 'git version 2.25.1' 00:10:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:10:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:10:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:10:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:54 > 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 00:10:54 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 7f76c9332ba923fe7361eff16a9cf1f456f11020 00:10:55 Merge succeeded, producing 7f76c9332ba923fe7361eff16a9cf1f456f11020 00:10:55 Checking out Revision 7f76c9332ba923fe7361eff16a9cf1f456f11020 (PR-236) 00:10:54 > git config core.sparsecheckout # timeout=10 00:10:54 > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 00:10:54 > git remote # timeout=10 00:10:54 > git config --get remote.origin.url # timeout=10 00:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:10:54 > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 00:10:55 > git rev-parse HEAD^{commit} # timeout=10 00:10:55 > git config core.sparsecheckout # timeout=10 00:10:55 > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 00:10:58 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:10:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 00:10:59 Dload Upload Total Spent Left Speed 00:10:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 00:10:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:11:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:11:00 + sudo tee /etc/docker/daemon.new 00:11:00 { 00:11:00 "registry-mirrors": [ 00:11:00 "https://nexus3.edgexfoundry.org:10001" 00:11:00 ], 00:11:00 "bip": "10.250.0.254/24", 00:11:00 "hosts": [ 00:11:00 "tcp://0.0.0.0:5555", 00:11:00 "unix:///var/run/docker.sock" 00:11:00 ], 00:11:00 "mtu": 1458, 00:11:00 "selinux-enabled": true, 00:11:00 "seccomp-profile": "/etc/docker/seccomp.json" 00:11:00 } [Pipeline] sh 00:11:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:11:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:11:19 provisioning config files... 00:11:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8231267373300007807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:19 ---> docker-login.sh 00:11:19 nexus3.edgexfoundry.org:10001 00:11:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:20 Configure a credential helper to remove this warning. See 00:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:20 00:11:20 Login Succeeded 00:11:20 nexus3.edgexfoundry.org:10002 00:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:20 Configure a credential helper to remove this warning. See 00:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:20 00:11:20 Login Succeeded 00:11:20 nexus3.edgexfoundry.org:10003 00:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:21 Configure a credential helper to remove this warning. See 00:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:21 00:11:21 Login Succeeded 00:11:21 nexus3.edgexfoundry.org:10004 00:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:21 Configure a credential helper to remove this warning. See 00:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:21 00:11:21 Login Succeeded 00:11:21 docker.io 00:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:21 Configure a credential helper to remove this warning. See 00:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:21 00:11:21 Login Succeeded 00:11:21 ---> docker-login.sh ends [Pipeline] } 00:11:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:22 ========================================================= 00:11:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:11:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:22 + 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 . 00:11:22 Sending build context to Docker daemon 128.5kB 00:11:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:11:22 Step 2/12 : FROM ${BASE} AS builder 00:11:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:11:22 9b18e9b68314: Pulling fs layer 00:11:22 35d82f9e3411: Pulling fs layer 00:11:22 e16973657156: Pulling fs layer 00:11:22 fc693d55d65f: Pulling fs layer 00:11:22 7e9fc2657dce: Pulling fs layer 00:11:22 dda99020689f: Pulling fs layer 00:11:22 db1c61fa0a46: Pulling fs layer 00:11:22 891c053d2c06: Pulling fs layer 00:11:22 dda99020689f: Waiting 00:11:22 fc693d55d65f: Waiting 00:11:22 db1c61fa0a46: Waiting 00:11:22 7e9fc2657dce: Waiting 00:11:22 891c053d2c06: Waiting 00:11:22 e16973657156: Verifying Checksum 00:11:22 e16973657156: Download complete 00:11:23 35d82f9e3411: Verifying Checksum 00:11:23 35d82f9e3411: Download complete 00:11:23 7e9fc2657dce: Download complete 00:11:23 dda99020689f: Verifying Checksum 00:11:23 dda99020689f: Download complete 00:11:23 9b18e9b68314: Verifying Checksum 00:11:23 9b18e9b68314: Download complete 00:11:24 9b18e9b68314: Pull complete 00:11:24 891c053d2c06: Verifying Checksum 00:11:24 891c053d2c06: Download complete 00:11:24 35d82f9e3411: Pull complete 00:11:24 e16973657156: Pull complete 00:11:25 db1c61fa0a46: Verifying Checksum 00:11:25 db1c61fa0a46: Download complete 00:11:25 fc693d55d65f: Download complete 00:11:38 fc693d55d65f: Pull complete 00:11:38 7e9fc2657dce: Pull complete 00:11:38 dda99020689f: Pull complete 00:11:44 db1c61fa0a46: Pull complete 00:11:45 891c053d2c06: Pull complete 00:11:45 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:11:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:11:45 ---> f96f9c87975a 00:11:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:11:47 ---> Running in 1d8f12dc5797 00:11:47 Removing intermediate container 1d8f12dc5797 00:11:47 ---> 86a345bd99d1 00:11:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:11:47 ---> Running in c4301d725aa2 00:11:48 Removing intermediate container c4301d725aa2 00:11:48 ---> ad4ac1b97e09 00:11:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:11:48 ---> Running in 7f130e3a9443 00:11:48 Removing intermediate container 7f130e3a9443 00:11:48 ---> 09c961b70dcb 00:11:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:11:48 ---> Running in 80bedd445ccc 00:11:49 Removing intermediate container 80bedd445ccc 00:11:49 ---> c6d61300470b 00:11:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:11:49 ---> Running in 1811224847ab 00:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:11:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:11:51 (2/4) Installing libedit (20210910.3.1-r0) 00:11:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:11:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:11:51 Executing busybox-1.35.0-r17.trigger 00:11:51 OK: 226 MiB in 55 packages 00:11:52 Removing intermediate container 1811224847ab 00:11:52 ---> 14cdf7b977e4 00:11:52 Step 8/12 : WORKDIR /device-rest-go 00:11:52 ---> Running in 80f262081504 00:11:52 Removing intermediate container 80f262081504 00:11:52 ---> 5e850fa68ea1 00:11:52 Step 9/12 : COPY go.mod vendor* ./ 00:11:53 ---> 39d65b565c08 00:11:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:11:53 ---> Running in bb3836c02c1d 00:12:15 go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory 00:12:15 skipping... 00:12:47 Removing intermediate container bb3836c02c1d 00:12:47 ---> cb675ccda31e 00:12:47 Step 11/12 : COPY . . 00:12:47 ---> 7a89d8bc7f28 00:12:47 Step 12/12 : RUN $MAKE 00:12:47 ---> Running in d20312fa3559 00:12:48 noop 00:12:48 Removing intermediate container d20312fa3559 00:12:48 ---> 426f8943ffa4 00:12:48 Successfully built 426f8943ffa4 00:12:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:49 + docker inspect -f . ci-base-image-arm64 00:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:49 prd-ubuntu20.04-docker-arm64-4c-16g-1772 does not seem to be running inside a container 00:12:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:12:50 $ docker top b0ff9fc2b2203cbad56e9d4d6287df0edbdc533bb00f4fba9b71424c04b3bf37 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:51 + go version 00:12:51 go version go1.18.7 linux/arm64 [Pipeline] } 00:12:51 $ docker stop --time=1 b0ff9fc2b2203cbad56e9d4d6287df0edbdc533bb00f4fba9b71424c04b3bf37 00:12:53 $ docker rm -f --volumes b0ff9fc2b2203cbad56e9d4d6287df0edbdc533bb00f4fba9b71424c04b3bf37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:53 + docker inspect -f . ci-base-image-arm64 00:12:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:53 prd-ubuntu20.04-docker-arm64-4c-16g-1772 does not seem to be running inside a container 00:12:54 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 00:12:55 $ docker top 569ad3f78da8e3724e213887d75cf6718cb7b931e86ae57e6175926df1072140 -eo pid,comm [Pipeline] { [Pipeline] sh 00:12:55 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 00:12:56 + make test 00:12:56 go test ./... -coverprofile=coverage.out ./... 00:12:57 driver/restdriver.go:22:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:12:57 driver/restdriver.go:23:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:12:57 cmd/main.go:20:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist 00:12:57 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 00:12:57 $ docker stop --time=1 569ad3f78da8e3724e213887d75cf6718cb7b931e86ae57e6175926df1072140 00:13:00 $ docker rm -f --volumes 569ad3f78da8e3724e213887d75cf6718cb7b931e86ae57e6175926df1072140 [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 00:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:01 00:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:01 arm64: Pulling from edgex-lftools-log-publisher 00:13:01 8998bd30e6a1: Pulling fs layer 00:13:01 04944245beec: Pulling fs layer 00:13:01 699f458cf7ca: Pulling fs layer 00:13:01 765212b225bb: Pulling fs layer 00:13:01 f23df028b6ca: Pulling fs layer 00:13:01 d65c8cfc05b1: Pulling fs layer 00:13:01 2437ff75d9bd: Pulling fs layer 00:13:01 f23df028b6ca: Waiting 00:13:01 d65c8cfc05b1: Waiting 00:13:01 2437ff75d9bd: Waiting 00:13:01 765212b225bb: Waiting 00:13:02 04944245beec: Verifying Checksum 00:13:02 04944245beec: Download complete 00:13:02 765212b225bb: Verifying Checksum 00:13:02 765212b225bb: Download complete 00:13:02 f23df028b6ca: Verifying Checksum 00:13:02 f23df028b6ca: Download complete 00:13:02 d65c8cfc05b1: Verifying Checksum 00:13:02 d65c8cfc05b1: Download complete 00:13:02 699f458cf7ca: Verifying Checksum 00:13:02 699f458cf7ca: Download complete 00:13:02 8998bd30e6a1: Verifying Checksum 00:13:02 8998bd30e6a1: Download complete 00:13:05 2437ff75d9bd: Verifying Checksum 00:13:05 2437ff75d9bd: Download complete 00:13:06 8998bd30e6a1: Pull complete 00:13:07 04944245beec: Pull complete 00:13:08 699f458cf7ca: Pull complete 00:13:08 765212b225bb: Pull complete 00:13:09 f23df028b6ca: Pull complete 00:13:09 d65c8cfc05b1: Pull complete 00:13:24 2437ff75d9bd: Pull complete 00:13:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:13:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:24 prd-ubuntu20.04-docker-arm64-4c-16g-1772 does not seem to be running inside a container 00:13:24 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:13:27 $ docker top 9189a65fb71d5bdbe8774bfe72ab64015e201b439aa3b11221b388adda692cb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:27 ---> job-cost.sh 00:13:27 lf-activate-venv: SKIPPING 00:13:27 INFO: No Stack... 00:13:28 INFO: Retrieving Pricing Info for: v3-standard-4 00:13:29 INFO: Archiving Costs [Pipeline] sh 00:13:29 + cat /w/workspace/device-rest-go/2/archives/cost.csv 00:13:29 + cut -d, -f6 [Pipeline] lock 00:13:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] 00:13:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] did not exist. Created. 00:13:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:30 /w/workspace/device-rest-go/2@tmp/durable-a7059d1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:13:30 + echo total: 0.10999999940395355 [Pipeline] stash 00:13:30 Warning: overwriting stash ‘stack-cost’ 00:13:31 Stashed 1 file(s) [Pipeline] } 00:13:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:31 $ docker stop --time=1 9189a65fb71d5bdbe8774bfe72ab64015e201b439aa3b11221b388adda692cb2 00:13:32 $ docker rm -f --volumes 9189a65fb71d5bdbe8774bfe72ab64015e201b439aa3b11221b388adda692cb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:13:32 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 00:13:33 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-236/archives ] 00:13:33 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives 00:13:33 total 16 00:13:33 drwxr-xr-x 3 root root 4096 Jan 11 00:09 . 00:13:33 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 00:09 .. 00:13:33 drwxr-xr-x 2 root root 4096 Jan 11 00:09 cost 00:13:33 -rw-r--r-- 1 root root 87 Jan 11 00:09 cost.csv 00:13:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-236/archives 00:13:33 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives 00:13:33 total 16 00:13:33 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:09 . 00:13:33 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 00:09 .. 00:13:33 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 00:09 cost 00:13:33 -rw-r--r-- 1 jenkins jenkins 87 Jan 11 00:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:13:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:34 ---> package-listing.sh 00:13:34 ++ facter osfamily 00:13:34 ++ tr '[:upper:]' '[:lower:]' 00:13:34 + OS_FAMILY=debian 00:13:34 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-236 00:13:34 + START_PACKAGES=/tmp/packages_start.txt 00:13:34 + END_PACKAGES=/tmp/packages_end.txt 00:13:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:34 + PACKAGES=/tmp/packages_start.txt 00:13:34 + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' 00:13:34 + PACKAGES=/tmp/packages_end.txt 00:13:34 + case "${OS_FAMILY}" in 00:13:34 + dpkg -l 00:13:34 + grep '^ii' 00:13:34 + '[' -f /tmp/packages_start.txt ']' 00:13:34 + '[' -f /tmp/packages_end.txt ']' 00:13:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:34 + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' 00:13:34 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ 00:13:34 + 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 00:13:34 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 00:13:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:35 prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container 00:13:35 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:13:36 $ docker top 474ec037166b16ed55cdc9b52ecf00da2d8f14aa4dd9c6d4bedf3328aeedb8ee -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:36 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:36 + mkdir -p /var/log/sysstat [Pipeline] sh 00:13:37 + ls /var/log/sa-host 00:13:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:37 provisioning config files... 00:13:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config17601502132560301514tmp [Pipeline] { [Pipeline] echo 00:13:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:37 ---> create-netrc.sh [Pipeline] } 00:13:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:13:37 ---> python-tools-install.sh [Pipeline] echo 00:13:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:38 ---> sudo-logs.sh 00:13:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:13:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:38 ---> job-cost.sh 00:13:38 lf-activate-venv: SKIPPING 00:13:38 DEBUG: total: 0.2199999988079071 00:13:38 INFO: Retrieving Stack Cost... 00:13:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:38 INFO: Archiving Costs [Pipeline] echo 00:13:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:39 ---> logs-deploy.sh 00:13:39 lf-activate-venv: SKIPPING 00:13:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-236/2 00:13:39 INFO: archiving workspace using pattern(s): 00:13:40 Archives upload complete. 00:13:40 INFO: archiving logs to Nexus