cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 12e18996c0c91e8b0504df444ed4729b65be514a+328f14cd4e0e2f12280e28257e4d0d1118a94cd7 (504bb5c1da6ce1dbb51e961e729afe19e4f3ba2e) 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-ssh11827814155013102746.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh3471891530711512726.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-206/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-206/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh280999962516149631.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh9788753414825674052.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-206/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-206/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18167710741180939394.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19494 in /w/workspace/gexfoundry_device-rest-go_PR-206 [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-206 # 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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) > 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/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # 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 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:12:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:12:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:12:40 ========================================================= 00:12:40 EdgeX Global Pipelines Version Info 00:12:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:12:40 ------------------- 00:12:40 stable info: 00:12:40 ------------------- 00:12:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:12:40 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 00:12:40 Message: update stable to v1.0.237 00:12:41 ------------------- 00:12:41 experimental info: 00:12:41 ------------------- 00:12:41 Commited By: **** collab-it+edgex@linuxfoundation.org 00:12:41 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 00:12:41 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:12:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-206 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-206 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-206 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 12e1899 [Pipeline] echo 00:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:12:42 provisioning config files... 00:12:42 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config4959019220838258517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:42 ---> docker-login.sh 00:12:42 nexus3.edgexfoundry.org:10001 00:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:43 Configure a credential helper to remove this warning. See 00:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:43 00:12:43 Login Succeeded 00:12:43 nexus3.edgexfoundry.org:10002 00:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:43 Configure a credential helper to remove this warning. See 00:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:43 00:12:43 Login Succeeded 00:12:43 nexus3.edgexfoundry.org:10003 00:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:43 Configure a credential helper to remove this warning. See 00:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:43 00:12:43 Login Succeeded 00:12:43 nexus3.edgexfoundry.org:10004 00:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:43 Configure a credential helper to remove this warning. See 00:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:43 00:12:43 Login Succeeded 00:12:43 docker.io 00:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:43 Configure a credential helper to remove this warning. See 00:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:43 00:12:43 Login Succeeded 00:12:43 ---> docker-login.sh ends [Pipeline] } 00:12:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:12:44 + git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 00:12:44 -----------> git rev-list -1 --merges 12e18996c0c91e8b0504df444ed4729b65be514a~1..12e18996c0c91e8b0504df444ed4729b65be514a 12e18996c0c91e8b0504df444ed4729b65be514a [false] [Pipeline] sh 00:12:44 + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 00:12:44 ========================================================= 00:12:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:12:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:44 + git log --format=format:%s -1 12e18996c0c91e8b0504df444ed4729b65be514a [Pipeline] echo 00:12:44 [semverPrep] GIT_COMMIT: 12e18996c0c91e8b0504df444ed4729b65be514a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 00:12:44 [semverPrep] This is not a build commit. [Pipeline] sh 00:12:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:45 + grep -v github /etc/ssh/ssh_known_hosts 00:12:45 + [ -e /tmp/ssh_known_hosts ] 00:12:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:12:45 + + echosudo tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts 00:12:45 00:12:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:45 00:12:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:46 0.1.4: Pulling from edgex-devops/py-git-semver 00:12:46 b85a868b505f: Pulling fs layer 00:12:46 e2be974225ed: Pulling fs layer 00:12:46 339a4e72a1f5: Pulling fs layer 00:12:46 988bab9f4d93: Pulling fs layer 00:12:46 1469e6f7b9e6: Pulling fs layer 00:12:46 eaf3925da568: Pulling fs layer 00:12:46 bab4dde63d76: Pulling fs layer 00:12:46 bde34c3a00c8: Pulling fs layer 00:12:46 b352a97aabf1: Pulling fs layer 00:12:46 4872d77fe225: Pulling fs layer 00:12:46 5851b861e8e6: Pulling fs layer 00:12:46 eaf3925da568: Waiting 00:12:46 bab4dde63d76: Waiting 00:12:46 bde34c3a00c8: Waiting 00:12:46 5851b861e8e6: Waiting 00:12:46 b352a97aabf1: Waiting 00:12:46 988bab9f4d93: Waiting 00:12:46 1469e6f7b9e6: Waiting 00:12:46 e2be974225ed: Verifying Checksum 00:12:46 e2be974225ed: Download complete 00:12:46 988bab9f4d93: Verifying Checksum 00:12:46 988bab9f4d93: Download complete 00:12:46 1469e6f7b9e6: Verifying Checksum 00:12:46 1469e6f7b9e6: Download complete 00:12:46 eaf3925da568: Verifying Checksum 00:12:46 eaf3925da568: Download complete 00:12:46 339a4e72a1f5: Verifying Checksum 00:12:46 339a4e72a1f5: Download complete 00:12:46 bde34c3a00c8: Download complete 00:12:46 b352a97aabf1: Download complete 00:12:46 4872d77fe225: Verifying Checksum 00:12:46 4872d77fe225: Download complete 00:12:46 5851b861e8e6: Download complete 00:12:46 b85a868b505f: Verifying Checksum 00:12:46 b85a868b505f: Download complete 00:12:46 bab4dde63d76: Verifying Checksum 00:12:46 bab4dde63d76: Download complete 00:12:47 b85a868b505f: Pull complete 00:12:47 e2be974225ed: Pull complete 00:12:48 339a4e72a1f5: Pull complete 00:12:48 988bab9f4d93: Pull complete 00:12:48 1469e6f7b9e6: Pull complete 00:12:48 eaf3925da568: Pull complete 00:12:50 bab4dde63d76: Pull complete 00:12:51 bde34c3a00c8: Pull complete 00:12:51 b352a97aabf1: Pull complete 00:12:51 4872d77fe225: Pull complete 00:12:51 5851b861e8e6: Pull complete 00:12:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:51 prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container 00:12:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:12:52 $ docker top e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 -eo pid,comm 00:12:53 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:12:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:53 [ssh-agent] Looking for ssh-agent implementation... 00:12:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:53 $ docker exec e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent 00:12:53 SSH_AUTH_SOCK=/tmp/ssh-q4d5psaZhxGz/agent.32 00:12:53 SSH_AGENT_PID=38 00:12:53 Running ssh-add (command line suppressed) 00:12:53 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_939239004107093991.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_939239004107093991.key) 00:12:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:53 + git tag --points-at HEAD [Pipeline] } 00:12:53 $ docker exec --env ******** --env ******** e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent -k 00:12:53 unset SSH_AUTH_SOCK; 00:12:53 unset SSH_AGENT_PID; 00:12:53 echo Agent pid 38 killed; 00:12:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:12:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:53 [ssh-agent] Looking for ssh-agent implementation... 00:12:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:54 $ docker exec e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent 00:12:54 SSH_AUTH_SOCK=/tmp/ssh-z99duSYZ7hhs/agent.71 00:12:54 SSH_AGENT_PID=77 00:12:54 Running ssh-add (command line suppressed) 00:12:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_6730262025733211932.key (/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/private_key_6730262025733211932.key) 00:12:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:54 + git semver init 00:12:54 2022-07-12 00:12:54,853 [run_init] DEBUG init version:0.0.0 force:False 00:12:54 2022-07-12 00:12:54,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver 00:12:54 2022-07-12 00:12:54,854 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-206/.semver 00:12:54 2022-07-12 00:12:54,855 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-206/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206, universal_newlines=False, shell=None, istream=None) 00:12:55 2022-07-12 00:12:55,777 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.git/info/exclude 00:12:55 2022-07-12 00:12:55,778 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 with force:False 00:12:55 2022-07-12 00:12:55,778 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 00:12:55 2022-07-12 00:12:55,782 [execute] INFO git cat-file --batch-check 00:12:55 2022-07-12 00:12:55,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206/.semver, universal_newlines=False, shell=None, istream=) 00:12:55 2022-07-12 00:12:55,789 [execute] INFO git cat-file --batch 00:12:55 2022-07-12 00:12:55,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-206/.semver, universal_newlines=False, shell=None, istream=) 00:12:55 2022-07-12 00:12:55,795 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-206/.semver/PR-206 00:12:55 0.0.0 [Pipeline] } 00:12:55 $ docker exec --env ******** --env ******** e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 ssh-agent -k 00:12:55 unset SSH_AUTH_SOCK; 00:12:55 unset SSH_AGENT_PID; 00:12:55 echo Agent pid 77 killed; 00:12:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:56 + git semver [Pipeline] } 00:12:56 $ docker stop --time=1 e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 00:12:57 $ docker rm -f e03fa1495beae5f8fb2102b23e28797c9dd0b16cdf67a48bc3424357f3e6c5a4 [Pipeline] // withDockerContainer [Pipeline] sh 00:12:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:12:58 Stashed 1 file(s) [Pipeline] echo 00:12:58 [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:12:58 provisioning config files... 00:12:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config7852331705907793537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:58 ---> docker-login.sh 00:12:58 nexus3.edgexfoundry.org:10001 00:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:58 Configure a credential helper to remove this warning. See 00:12:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:58 00:12:58 Login Succeeded 00:12:58 nexus3.edgexfoundry.org:10002 00:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:59 Configure a credential helper to remove this warning. See 00:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:59 00:12:59 Login Succeeded 00:12:59 nexus3.edgexfoundry.org:10003 00:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:59 Configure a credential helper to remove this warning. See 00:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:59 00:12:59 Login Succeeded 00:12:59 nexus3.edgexfoundry.org:10004 00:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:59 Configure a credential helper to remove this warning. See 00:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:59 00:12:59 Login Succeeded 00:12:59 docker.io 00:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:12:59 Configure a credential helper to remove this warning. See 00:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:12:59 00:12:59 Login Succeeded 00:12:59 ---> docker-login.sh ends [Pipeline] } 00:12:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:12:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:12:59 ========================================================= 00:12:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:12:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:00 + 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:13:00 Sending build context to Docker daemon 10.69MB 00:13:00 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:13:00 Step 2/12 : FROM ${BASE} AS builder 00:13:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:13:00 2408cc74d12b: Pulling fs layer 00:13:00 ea60b727a1ce: Pulling fs layer 00:13:00 30c4a7721957: Pulling fs layer 00:13:00 370296b7ddb6: Pulling fs layer 00:13:00 7c6cee850709: Pulling fs layer 00:13:00 39a5fcdaea64: Pulling fs layer 00:13:00 d94ebbe4e438: Pulling fs layer 00:13:00 370296b7ddb6: Waiting 00:13:00 39a5fcdaea64: Waiting 00:13:00 7c6cee850709: Waiting 00:13:00 bcfd1f05c69d: Pulling fs layer 00:13:00 59ccb84bbe0f: Pulling fs layer 00:13:00 bcfd1f05c69d: Waiting 00:13:00 30c4a7721957: Download complete 00:13:00 ea60b727a1ce: Verifying Checksum 00:13:00 ea60b727a1ce: Download complete 00:13:00 7c6cee850709: Verifying Checksum 00:13:00 7c6cee850709: Download complete 00:13:00 39a5fcdaea64: Verifying Checksum 00:13:00 39a5fcdaea64: Download complete 00:13:00 2408cc74d12b: Download complete 00:13:00 d94ebbe4e438: Verifying Checksum 00:13:00 d94ebbe4e438: Download complete 00:13:00 2408cc74d12b: Pull complete 00:13:00 ea60b727a1ce: Pull complete 00:13:00 30c4a7721957: Pull complete 00:13:00 59ccb84bbe0f: Verifying Checksum 00:13:00 59ccb84bbe0f: Download complete 00:13:01 370296b7ddb6: Verifying Checksum 00:13:01 370296b7ddb6: Download complete 00:13:01 bcfd1f05c69d: Verifying Checksum 00:13:01 bcfd1f05c69d: Download complete 00:13:06 370296b7ddb6: Pull complete 00:13:06 7c6cee850709: Pull complete 00:13:06 39a5fcdaea64: Pull complete 00:13:06 d94ebbe4e438: Pull complete 00:13:08 bcfd1f05c69d: Pull complete 00:13:08 59ccb84bbe0f: Pull complete 00:13:08 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:13:08 ---> a4fb48ad2a94 00:13:08 Step 3/12 : ARG MAKE='make build' 00:13:10 ---> Running in cecdbf0728e0 00:13:10 Removing intermediate container cecdbf0728e0 00:13:10 ---> 16b38bc1a07c 00:13:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:13:10 ---> Running in 1a21ace6eb17 00:13:10 Removing intermediate container 1a21ace6eb17 00:13:10 ---> 05cb22b01d26 00:13:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:13:10 ---> Running in 4269fe7a9855 00:13:11 Removing intermediate container 4269fe7a9855 00:13:11 ---> c814532edc92 00:13:11 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:13:11 ---> Running in 48595921f126 00:13:11 Removing intermediate container 48595921f126 00:13:11 ---> d9b4a161e94f 00:13:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:11 ---> Running in f865fc8d1fd1 00:13:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:13:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:13:13 (1/4) Installing openssh-keygen (9.0_p1-r1) 00:13:13 (2/4) Installing libedit (20210910.3.1-r0) 00:13:13 (3/4) Installing openssh-client-common (9.0_p1-r1) 00:13:13 (4/4) Installing openssh-client-default (9.0_p1-r1) 00:13:13 Executing busybox-1.35.0-r13.trigger 00:13:13 Still waiting to schedule task 00:13:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:13:13 OK: 216 MiB in 55 packages 00:13:14 Removing intermediate container f865fc8d1fd1 00:13:14 ---> a96a90a5563b 00:13:14 Step 8/12 : WORKDIR /device-rest-go 00:13:14 ---> Running in 75d44e51656d 00:13:14 Removing intermediate container 75d44e51656d 00:13:14 ---> 42c14cdfb082 00:13:14 Step 9/12 : COPY go.mod vendor* ./ 00:13:14 ---> ddf37c169b6a 00:13:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:14 ---> Running in 4bd0a0c6ce1e 00:13:32 Removing intermediate container 4bd0a0c6ce1e 00:13:32 ---> ae9cf751fc91 00:13:32 Step 11/12 : COPY . . 00:13:32 ---> 28e5d952a0ef 00:13:32 Step 12/12 : RUN $MAKE 00:13:32 ---> Running in d89631901b41 00:13:32 noop 00:13:32 Removing intermediate container d89631901b41 00:13:32 ---> e560f9917687 00:13:32 Successfully built e560f9917687 00:13:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:32 + docker inspect -f . ci-base-image-x86_64 00:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:32 prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container 00:13:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 ******** ci-base-image-x86_64 cat 00:13:33 $ docker top c19a08cecdbe8f91f98e1147990128e17880d526cbba8b88d54a032f9aad7f35 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:33 + go version 00:13:33 go version go1.18.3 linux/amd64 [Pipeline] } 00:13:33 $ docker stop --time=1 c19a08cecdbe8f91f98e1147990128e17880d526cbba8b88d54a032f9aad7f35 00:13:34 $ docker rm -f c19a08cecdbe8f91f98e1147990128e17880d526cbba8b88d54a032f9aad7f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:35 + docker inspect -f . ci-base-image-x86_64 00:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:35 prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container 00:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 ******** ci-base-image-x86_64 cat 00:13:36 $ docker top a745627557eec080fd51ccfb50956ad89261b4a0f5b50439a891b72951aaf5f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] fileExists [Pipeline] sh 00:13:36 + make test 00:13:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:13:36 ? github.com/edgexfoundry/device-rest-go [no test files] 00:13:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:13:47 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 00:13:55 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:13:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:13:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:13:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:13:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:13:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:13:58 $ docker stop --time=1 a745627557eec080fd51ccfb50956ad89261b4a0f5b50439a891b72951aaf5f0 00:14:00 $ docker rm -f a745627557eec080fd51ccfb50956ad89261b4a0f5b50439a891b72951aaf5f0 [Pipeline] // withDockerContainer [Pipeline] sh 00:14:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:14:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:14:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:14:01 + ls -al . 00:14:01 total 172 00:14:01 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 00:13 . 00:14:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:12 .. 00:14:01 -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 00:12 .dockerignore 00:14:01 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 00:13 .git 00:14:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:12 .github 00:14:01 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 00:12 .gitignore 00:14:01 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 00:12 .golangci.yml 00:14:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 00:12 .semver 00:14:01 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 00:12 Attribution.txt 00:14:01 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 00:12 CHANGELOG.md 00:14:01 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 00:12 Dockerfile 00:14:01 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 00:12 GOVERNANCE.md 00:14:01 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 00:12 Jenkinsfile 00:14:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 00:12 LICENSE 00:14:01 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 00:12 Makefile 00:14:01 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 00:12 OWNERS.md 00:14:01 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 00:12 README.md 00:14:01 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 00:12 VERSION 00:14:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:12 bin 00:14:01 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:12 cmd 00:14:01 -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 00:13 coverage.out 00:14:01 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:12 driver 00:14:01 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 00:12 go.mod 00:14:01 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 00:12 go.sum 00:14:01 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:12 snap 00:14:01 -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:01 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=12e18996c0c91e8b0504df444ed4729b65be514a --label arch=amd64 --label version=0.0.0 . 00:14:01 Sending build context to Docker daemon 10.7MB 00:14:01 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:14:01 Step 2/25 : FROM ${BASE} AS builder 00:14:01 ---> e560f9917687 00:14:01 Step 3/25 : ARG MAKE='make build' 00:14:01 ---> Running in 55f4958d9c75 00:14:01 Removing intermediate container 55f4958d9c75 00:14:01 ---> b934ab0d118a 00:14:01 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:14:01 ---> Running in 261cbafc9da0 00:14:01 Removing intermediate container 261cbafc9da0 00:14:01 ---> 54ec28e9fa70 00:14:01 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:14:02 ---> Running in e3e9f2faa417 00:14:02 Removing intermediate container e3e9f2faa417 00:14:02 ---> 52137f32b563 00:14:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:14:02 ---> Running in 605efd3b1b01 00:14:02 Removing intermediate container 605efd3b1b01 00:14:02 ---> 8db76aeada40 00:14:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:14:02 ---> Running in 617eda33e1f6 00:14:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:14:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:14:04 OK: 216 MiB in 55 packages 00:14:04 Removing intermediate container 617eda33e1f6 00:14:04 ---> 47ed2f9b4c2f 00:14:04 Step 8/25 : WORKDIR /device-rest-go 00:14:04 ---> Running in fa2c2bd812b7 00:14:04 Removing intermediate container fa2c2bd812b7 00:14:04 ---> fcf61aacd577 00:14:04 Step 9/25 : COPY go.mod vendor* ./ 00:14:05 ---> 6deee9b9c940 00:14:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:14:05 ---> Running in 664d4dc62b84 00:14:06 Removing intermediate container 664d4dc62b84 00:14:06 ---> 2007f7a393a2 00:14:06 Step 11/25 : COPY . . 00:14:06 ---> f00a0ab7915a 00:14:06 Step 12/25 : RUN $MAKE 00:14:06 ---> Running in 506b602442f3 00:14:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 00:14:28 Removing intermediate container 506b602442f3 00:14:28 ---> dd008a092b66 00:14:28 Step 13/25 : FROM alpine:3.16 00:14:28 3.16: Pulling from library/alpine 00:14:28 2408cc74d12b: Already exists 00:14:28 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 00:14:28 Status: Downloaded newer image for alpine:3.16 00:14:28 ---> e66264b98777 00:14:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:14:28 ---> Running in 21ce53c352c6 00:14:28 Removing intermediate container 21ce53c352c6 00:14:28 ---> 97b7217a8c44 00:14:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:14:28 ---> Running in 8f40c0eedba5 00:14:28 Removing intermediate container 8f40c0eedba5 00:14:28 ---> cc1ffe3cf721 00:14:28 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:14:28 ---> Running in e873bbe1c456 00:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:14:28 (1/6) Installing dumb-init (1.2.5-r1) 00:14:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:14:28 (3/6) Installing libsodium (1.0.18-r0) 00:14:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:14:28 (5/6) Installing libzmq (4.3.4-r0) 00:14:28 (6/6) Installing zeromq (4.3.4-r0) 00:14:28 Executing busybox-1.35.0-r13.trigger 00:14:28 OK: 8 MiB in 20 packages 00:14:29 Removing intermediate container e873bbe1c456 00:14:29 ---> a61b1f7259ee 00:14:29 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:14:29 ---> 100aedec2607 00:14:29 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:14:29 ---> 64ce4573b3d3 00:14:29 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:14:29 ---> 428564a83e01 00:14:29 Step 20/25 : EXPOSE 59986 00:14:30 ---> Running in 025994565da9 00:14:30 Removing intermediate container 025994565da9 00:14:30 ---> e9df2a7d4dd5 00:14:30 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:14:30 ---> Running in 52cc9aadfea8 00:14:30 Removing intermediate container 52cc9aadfea8 00:14:30 ---> 490071b0ba8e 00:14:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:14:30 ---> Running in dd50d81b5f06 00:14:30 Removing intermediate container dd50d81b5f06 00:14:30 ---> c883fc243df9 00:14:30 Step 23/25 : LABEL arch=amd64 00:14:30 ---> Running in 1169bf404f10 00:14:30 Removing intermediate container 1169bf404f10 00:14:30 ---> 11b1f2f1e4b5 00:14:30 Step 24/25 : LABEL git_sha=12e18996c0c91e8b0504df444ed4729b65be514a 00:14:30 ---> Running in e24e71fa86ab 00:14:30 Removing intermediate container e24e71fa86ab 00:14:30 ---> 17c7ed05581b 00:14:30 Step 25/25 : LABEL version=0.0.0 00:14:30 ---> Running in 9ac2ca8e38ec 00:14:30 Removing intermediate container 9ac2ca8e38ec 00:14:30 ---> de315c405523 00:14:30 [Warning] One or more build-args [ARCH] were not consumed 00:14:30 Successfully built de315c405523 00:14:30 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:31 00:14:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:31 latest: Pulling from edgex-lftools-log-publisher 00:14:31 5eb5b503b376: Pulling fs layer 00:14:31 5c69ac0246d0: Pulling fs layer 00:14:31 ec43610c2a17: Pulling fs layer 00:14:31 3a2ae6a8a46f: Pulling fs layer 00:14:31 33b1e0a273af: Pulling fs layer 00:14:31 5d3b04190fa2: Pulling fs layer 00:14:31 2f39f015ded8: Pulling fs layer 00:14:31 33b1e0a273af: Waiting 00:14:31 2f39f015ded8: Waiting 00:14:31 5d3b04190fa2: Waiting 00:14:31 3a2ae6a8a46f: Waiting 00:14:31 5c69ac0246d0: Download complete 00:14:31 3a2ae6a8a46f: Download complete 00:14:31 33b1e0a273af: Verifying Checksum 00:14:31 33b1e0a273af: Download complete 00:14:31 5d3b04190fa2: Download complete 00:14:31 ec43610c2a17: Verifying Checksum 00:14:31 ec43610c2a17: Download complete 00:14:31 5eb5b503b376: Verifying Checksum 00:14:31 5eb5b503b376: Download complete 00:14:32 2f39f015ded8: Download complete 00:14:33 5eb5b503b376: Pull complete 00:14:33 5c69ac0246d0: Pull complete 00:14:33 ec43610c2a17: Pull complete 00:14:33 3a2ae6a8a46f: Pull complete 00:14:34 33b1e0a273af: Pull complete 00:14:34 5d3b04190fa2: Pull complete 00:14:39 2f39f015ded8: Pull complete 00:14:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:14:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:14:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:39 prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container 00:14:39 $ 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-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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 00:14:41 $ docker top d96f08dfb82811d03706587286eecf044740ec713bb28c97f6b86d4fef0c0719 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:42 ---> job-cost.sh 00:14:42 lf-activate-venv: SKIPPING 00:14:42 INFO: No Stack... 00:14:42 INFO: Retrieving Pricing Info for: v3-standard-8 00:14:42 INFO: Archiving Costs [Pipeline] sh 00:14:43 + cat /w/workspace/gexfoundry_device-rest-go_PR-206/archives/cost.csv 00:14:43 + cut -d, -f6 [Pipeline] lock 00:14:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] 00:14:43 Resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] did not exist. Created. 00:14:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:14:43 + echo total: 0.2199999988079071 [Pipeline] stash 00:14:43 Stashed 1 file(s) [Pipeline] } 00:14:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:14:43 $ docker stop --time=1 d96f08dfb82811d03706587286eecf044740ec713bb28c97f6b86d4fef0c0719 00:14:44 $ docker rm -f d96f08dfb82811d03706587286eecf044740ec713bb28c97f6b86d4fef0c0719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:14:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19495 in /w/workspace/gexfoundry_device-rest-go_PR-206 [Pipeline] { [Pipeline] ws 00:14:49 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 00:14:49 The recommended git tool is: git 00:14:54 using credential edgex-jenkins-ssh 00:14:54 Cloning the remote Git repository 00:14:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:14:54 > git init /w/workspace/device-rest-go/2 # timeout=10 00:14:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:14:54 > git --version # timeout=10 00:14:54 > git --version # 'git version 2.25.1' 00:14:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:56 Merging remotes/origin/main commit 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 into PR head commit 12e18996c0c91e8b0504df444ed4729b65be514a 00:14:56 Merge succeeded, producing 12e18996c0c91e8b0504df444ed4729b65be514a 00:14:56 Checking out Revision 12e18996c0c91e8b0504df444ed4729b65be514a (PR-206) 00:14:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:14:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:14:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:14:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:14:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/206/head:refs/remotes/origin/PR-206 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:14:56 > git config core.sparsecheckout # timeout=10 00:14:56 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 00:14:56 > git remote # timeout=10 00:14:56 > git config --get remote.origin.url # timeout=10 00:14:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:14:56 > git merge 328f14cd4e0e2f12280e28257e4d0d1118a94cd7 # timeout=10 00:14:56 > git rev-parse HEAD^{commit} # timeout=10 00:14:57 > git config core.sparsecheckout # timeout=10 00:14:57 > git checkout -f 12e18996c0c91e8b0504df444ed4729b65be514a # timeout=10 00:15:01 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:15:02 % Total % Received % Xferd Average Speed Time Time Time Current 00:15:02 Dload Upload Total Spent Left Speed 00:15:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 62000 0 --:--:-- --:--:-- --:--:-- 61688 100 12276 100 12276 0 0 61688 0 --:--:-- --:--:-- --:--:-- 61380 [Pipeline] sh 00:15:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:15:03 + + sudo teesudo /etc/docker/daemon.new jq 00:15:03 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:15:03 { 00:15:03 "registry-mirrors": [ 00:15:03 "https://nexus3.edgexfoundry.org:10001" 00:15:03 ], 00:15:03 "bip": "10.250.0.254/24", 00:15:03 "hosts": [ 00:15:03 "tcp://0.0.0.0:5555", 00:15:03 "unix:///var/run/docker.sock" 00:15:03 ], 00:15:03 "mtu": 1458, 00:15:03 "selinux-enabled": true, 00:15:03 "seccomp-profile": "/etc/docker/seccomp.json" 00:15:03 } [Pipeline] sh 00:15:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:15:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:22 provisioning config files... 00:15:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config558487976345004684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:22 ---> docker-login.sh 00:15:22 nexus3.edgexfoundry.org:10001 00:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:23 Configure a credential helper to remove this warning. See 00:15:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:23 00:15:23 Login Succeeded 00:15:23 nexus3.edgexfoundry.org:10002 00:15:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:24 Configure a credential helper to remove this warning. See 00:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:24 00:15:24 Login Succeeded 00:15:24 nexus3.edgexfoundry.org:10003 00:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:24 Configure a credential helper to remove this warning. See 00:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:24 00:15:24 Login Succeeded 00:15:24 nexus3.edgexfoundry.org:10004 00:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:25 Configure a credential helper to remove this warning. See 00:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:25 00:15:25 Login Succeeded 00:15:25 docker.io 00:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:25 Configure a credential helper to remove this warning. See 00:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:25 00:15:25 Login Succeeded 00:15:25 ---> docker-login.sh ends [Pipeline] } 00:15:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:15:26 ========================================================= 00:15:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:15:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:26 + 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:15:26 Sending build context to Docker daemon 126.5kB 00:15:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:15:26 Step 2/12 : FROM ${BASE} AS builder 00:15:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:15:27 b3c136eddcbf: Pulling fs layer 00:15:27 c0a3192eca97: Pulling fs layer 00:15:27 a050256f5b6f: Pulling fs layer 00:15:27 656be50a0ddc: Pulling fs layer 00:15:27 2bbca73fdf42: Pulling fs layer 00:15:27 46d945488cbd: Pulling fs layer 00:15:27 8a5474983e97: Pulling fs layer 00:15:27 329c88fbcd65: Pulling fs layer 00:15:27 656be50a0ddc: Waiting 00:15:27 2bbca73fdf42: Waiting 00:15:27 46d945488cbd: Waiting 00:15:27 8a5474983e97: Waiting 00:15:27 329c88fbcd65: Waiting 00:15:27 a050256f5b6f: Verifying Checksum 00:15:27 a050256f5b6f: Download complete 00:15:27 c0a3192eca97: Verifying Checksum 00:15:27 c0a3192eca97: Download complete 00:15:27 2bbca73fdf42: Verifying Checksum 00:15:27 2bbca73fdf42: Download complete 00:15:27 46d945488cbd: Verifying Checksum 00:15:27 46d945488cbd: Download complete 00:15:27 b3c136eddcbf: Verifying Checksum 00:15:27 b3c136eddcbf: Download complete 00:15:28 b3c136eddcbf: Pull complete 00:15:28 329c88fbcd65: Verifying Checksum 00:15:28 329c88fbcd65: Download complete 00:15:28 c0a3192eca97: Pull complete 00:15:29 a050256f5b6f: Pull complete 00:15:29 8a5474983e97: Verifying Checksum 00:15:29 8a5474983e97: Download complete 00:15:29 656be50a0ddc: Download complete 00:15:44 656be50a0ddc: Pull complete 00:15:44 2bbca73fdf42: Pull complete 00:15:44 46d945488cbd: Pull complete 00:15:49 8a5474983e97: Pull complete 00:15:51 329c88fbcd65: Pull complete 00:15:51 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:15:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:15:51 ---> ff4287adb874 00:15:51 Step 3/12 : ARG MAKE='make build' 00:15:53 ---> Running in 7ddffc376973 00:15:53 Removing intermediate container 7ddffc376973 00:15:53 ---> 2f66c5b57715 00:15:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:15:53 ---> Running in f1fc269e8a7c 00:15:53 Removing intermediate container f1fc269e8a7c 00:15:53 ---> 6d2de409fee3 00:15:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:15:53 ---> Running in f72183c5cb25 00:15:54 Removing intermediate container f72183c5cb25 00:15:54 ---> df8bcd1a6635 00:15:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:15:54 ---> Running in 0921fbb9b8f3 00:15:56 Removing intermediate container 0921fbb9b8f3 00:15:56 ---> c71e98c9102a 00:15:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:56 ---> Running in 939234cc7a71 00:15:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:15:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:15:59 (1/4) Installing openssh-keygen (9.0_p1-r1) 00:15:59 (2/4) Installing libedit (20210910.3.1-r0) 00:15:59 (3/4) Installing openssh-client-common (9.0_p1-r1) 00:15:59 (4/4) Installing openssh-client-default (9.0_p1-r1) 00:15:59 Executing busybox-1.35.0-r13.trigger 00:15:59 OK: 226 MiB in 55 packages 00:16:00 Removing intermediate container 939234cc7a71 00:16:00 ---> 7e7c50a1f6c5 00:16:00 Step 8/12 : WORKDIR /device-rest-go 00:16:00 ---> Running in 9f8722973c80 00:16:00 Removing intermediate container 9f8722973c80 00:16:00 ---> 7b1c313a8022 00:16:00 Step 9/12 : COPY go.mod vendor* ./ 00:16:01 ---> a57a8a34ad54 00:16:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:01 ---> Running in b761d5e03b39 00:16:48 Removing intermediate container b761d5e03b39 00:16:48 ---> 7df0fa300421 00:16:48 Step 11/12 : COPY . . 00:16:48 ---> 018891cf8020 00:16:48 Step 12/12 : RUN $MAKE 00:16:48 ---> Running in 1d5b3633ed68 00:16:48 noop 00:16:48 Removing intermediate container 1d5b3633ed68 00:16:48 ---> 693d8893af1e 00:16:48 Successfully built 693d8893af1e 00:16:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:48 + docker inspect -f . ci-base-image-arm64 00:16:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:49 prd-ubuntu20.04-docker-arm64-4c-16g-19495 does not seem to be running inside a container 00:16: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 ******** ci-base-image-arm64 cat 00:16:50 $ docker top aab3f4afac72ce2a5e41f323bbbbdb5ed5b520e1a625e8021473acb21ec0f60c -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:51 + go version 00:16:51 go version go1.18.3 linux/arm64 [Pipeline] } 00:16:51 $ docker stop --time=1 aab3f4afac72ce2a5e41f323bbbbdb5ed5b520e1a625e8021473acb21ec0f60c 00:16:53 $ docker rm -f aab3f4afac72ce2a5e41f323bbbbdb5ed5b520e1a625e8021473acb21ec0f60c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:53 + docker inspect -f . ci-base-image-arm64 00:16:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:54 prd-ubuntu20.04-docker-arm64-4c-16g-19495 does not seem to be running inside a container 00:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-arm64 cat 00:16:55 $ docker top 7374162c18956a3138b3c9e8dccfe617e2390d2d1efbd523f65c263bcf5c24e5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:16:56 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 00:16:56 + make test 00:16:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:16:58 ? github.com/edgexfoundry/device-rest-go [no test files] 00:18:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:18:20 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 00:18:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:18:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:18:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:18:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:18:38 ./bin/test-attribution-txt.sh [Pipeline] echo 00:18:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:18:38 $ docker stop --time=1 7374162c18956a3138b3c9e8dccfe617e2390d2d1efbd523f65c263bcf5c24e5 00:18:40 $ docker rm -f 7374162c18956a3138b3c9e8dccfe617e2390d2d1efbd523f65c263bcf5c24e5 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:41 Warning: overwriting stash ‘coverage-report’ 00:18:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:42 + ls -al . 00:18:42 total 168 00:18:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 00:16 . 00:18:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:14 .. 00:18:42 -rw-rw-r-- 1 jenkins jenkins 151 Jul 12 00:14 .dockerignore 00:18:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 00:15 .git 00:18:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:14 .github 00:18:42 -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 00:14 .gitignore 00:18:42 -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 00:14 .golangci.yml 00:18:42 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 12 00:14 Attribution.txt 00:18:42 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 12 00:14 CHANGELOG.md 00:18:42 -rw-rw-r-- 1 jenkins jenkins 1674 Jul 12 00:14 Dockerfile 00:18:42 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 00:14 GOVERNANCE.md 00:18:42 -rw-rw-r-- 1 jenkins jenkins 680 Jul 12 00:14 Jenkinsfile 00:18:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 00:14 LICENSE 00:18:42 -rw-rw-r-- 1 jenkins jenkins 1964 Jul 12 00:14 Makefile 00:18:42 -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 00:14 OWNERS.md 00:18:42 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 12 00:14 README.md 00:18:42 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 00:12 VERSION 00:18:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:14 bin 00:18:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 00:14 cmd 00:18:42 -rw-r--r-- 1 jenkins jenkins 9355 Jul 12 00:18 coverage.out 00:18:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 00:14 driver 00:18:42 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 12 00:14 go.mod 00:18:42 -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 00:14 go.sum 00:18:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 00:14 snap 00:18:42 -rw-rw-r-- 1 jenkins jenkins 713 Jul 12 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:43 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=12e18996c0c91e8b0504df444ed4729b65be514a --label arch=arm64 --label version=0.0.0 . 00:18:43 Sending build context to Docker daemon 136.7kB 00:18:43 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:18:43 Step 2/25 : FROM ${BASE} AS builder 00:18:43 ---> 693d8893af1e 00:18:43 Step 3/25 : ARG MAKE='make build' 00:18:43 ---> Running in 8afa2774bf9c 00:18:43 Removing intermediate container 8afa2774bf9c 00:18:43 ---> 10b4b4034079 00:18:43 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:18:43 ---> Running in e62d6c7f8fc7 00:18:44 Removing intermediate container e62d6c7f8fc7 00:18:44 ---> 51a8f78b178e 00:18:44 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:18:44 ---> Running in 25fd5da84d83 00:18:44 Removing intermediate container 25fd5da84d83 00:18:44 ---> 79709be7de72 00:18:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:44 ---> Running in 4b849cdf4a78 00:18:46 Removing intermediate container 4b849cdf4a78 00:18:46 ---> 670d5f06a15a 00:18:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:46 ---> Running in 8f05940e07d0 00:18:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:18:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:18:49 OK: 226 MiB in 55 packages 00:18:49 Removing intermediate container 8f05940e07d0 00:18:49 ---> 82d90c87f7da 00:18:49 Step 8/25 : WORKDIR /device-rest-go 00:18:49 ---> Running in 0be5d75be4fc 00:18:50 Removing intermediate container 0be5d75be4fc 00:18:50 ---> 9752a6705685 00:18:50 Step 9/25 : COPY go.mod vendor* ./ 00:18:50 ---> 55d55bb2dd73 00:18:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:18:50 ---> Running in faf1ee569850 00:18:52 Removing intermediate container faf1ee569850 00:18:52 ---> c20309ef1134 00:18:52 Step 11/25 : COPY . . 00:18:53 ---> aa2e2cd294aa 00:18:53 Step 12/25 : RUN $MAKE 00:18:53 ---> Running in 1e6cef4df813 00:18:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 00:21:01 Removing intermediate container 1e6cef4df813 00:21:01 ---> 1f57b6faead8 00:21:01 Step 13/25 : FROM alpine:3.16 00:21:01 3.16: Pulling from library/alpine 00:21:01 b3c136eddcbf: Already exists 00:21:01 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 00:21:01 Status: Downloaded newer image for alpine:3.16 00:21:01 ---> 6e30ab57aeee 00:21:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:21:01 ---> Running in 5326600257a1 00:21:01 Removing intermediate container 5326600257a1 00:21:01 ---> 8e1d8127b29f 00:21:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:21:01 ---> Running in 108c8a7375ac 00:21:01 Removing intermediate container 108c8a7375ac 00:21:01 ---> f7c1b5315a94 00:21:01 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:21:01 ---> Running in 31f680ad7eb4 00:21:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:21:01 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: temporary error (try again later) 00:21:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:21:06 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/community: temporary error (try again later) 00:21:06 ERROR: unable to select packages: 00:21:06  dumb-init (no such package): 00:21:06 required by: world[dumb-init] 00:21:06 zeromq (no such package): 00:21:06 required by: world[zeromq] 00:21:06 The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [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:21:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:07 00:21:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:07 arm64: Pulling from edgex-lftools-log-publisher 00:21:07 8998bd30e6a1: Pulling fs layer 00:21:07 04944245beec: Pulling fs layer 00:21:07 699f458cf7ca: Pulling fs layer 00:21:07 765212b225bb: Pulling fs layer 00:21:07 f23df028b6ca: Pulling fs layer 00:21:07 d65c8cfc05b1: Pulling fs layer 00:21:07 2437ff75d9bd: Pulling fs layer 00:21:07 f23df028b6ca: Waiting 00:21:07 d65c8cfc05b1: Waiting 00:21:07 2437ff75d9bd: Waiting 00:21:07 765212b225bb: Waiting 00:21:07 04944245beec: Verifying Checksum 00:21:07 04944245beec: Download complete 00:21:07 765212b225bb: Verifying Checksum 00:21:07 765212b225bb: Download complete 00:21:07 f23df028b6ca: Verifying Checksum 00:21:07 f23df028b6ca: Download complete 00:21:07 d65c8cfc05b1: Verifying Checksum 00:21:07 d65c8cfc05b1: Download complete 00:21:08 699f458cf7ca: Verifying Checksum 00:21:08 699f458cf7ca: Download complete 00:21:08 8998bd30e6a1: Verifying Checksum 00:21:08 8998bd30e6a1: Download complete 00:21:11 2437ff75d9bd: Verifying Checksum 00:21:11 2437ff75d9bd: Download complete 00:21:12 8998bd30e6a1: Pull complete 00:21:13 04944245beec: Pull complete 00:21:14 699f458cf7ca: Pull complete 00:21:14 765212b225bb: Pull complete 00:21:15 f23df028b6ca: Pull complete 00:21:16 d65c8cfc05b1: Pull complete 00:21:31 2437ff75d9bd: Pull complete 00:21:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:31 prd-ubuntu20.04-docker-arm64-4c-16g-19495 does not seem to be running inside a container 00:21:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:21:33 $ docker top 5ec3b3702e6ed285694e43afaa6d0c88afb352203058dafbd9db611868b26121 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:34 ---> job-cost.sh 00:21:34 lf-activate-venv: SKIPPING 00:21:34 INFO: No Stack... 00:21:35 INFO: Retrieving Pricing Info for: v3-standard-4 00:21:36 INFO: Archiving Costs [Pipeline] sh 00:21:36 + cut -d, -f6 00:21:36 + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 00:21:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] 00:21:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] did not exist. Created. 00:21:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:37 /w/workspace/device-rest-go/2@tmp/durable-626f13fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:21:38 + echo total: 0.10999999940395355 [Pipeline] stash 00:21:38 Warning: overwriting stash ‘stack-cost’ 00:21:38 Stashed 1 file(s) [Pipeline] } 00:21:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-206-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:21:38 $ docker stop --time=1 5ec3b3702e6ed285694e43afaa6d0c88afb352203058dafbd9db611868b26121 00:21:39 $ docker rm -f 5ec3b3702e6ed285694e43afaa6d0c88afb352203058dafbd9db611868b26121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:21:40 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:21:41 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-206/archives ] 00:21:41 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives 00:21:41 total 16 00:21:41 drwxr-xr-x 3 root root 4096 Jul 12 00:14 . 00:21:41 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 00:14 .. 00:21:41 drwxr-xr-x 2 root root 4096 Jul 12 00:14 cost 00:21:41 -rw-r--r-- 1 root root 85 Jul 12 00:14 cost.csv 00:21:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-206/archives 00:21:41 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-206/archives 00:21:41 total 16 00:21:41 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 00:14 . 00:21:41 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 00:14 .. 00:21:41 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 00:14 cost 00:21:41 -rw-r--r-- 1 jenkins jenkins 85 Jul 12 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:21:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:42 ---> package-listing.sh 00:21:42 ++ facter osfamily 00:21:42 ++ tr '[:upper:]' '[:lower:]' 00:21:42 + OS_FAMILY=debian 00:21:42 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-206 00:21:42 + START_PACKAGES=/tmp/packages_start.txt 00:21:42 + END_PACKAGES=/tmp/packages_end.txt 00:21:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:42 + PACKAGES=/tmp/packages_start.txt 00:21:42 + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' 00:21:42 + PACKAGES=/tmp/packages_end.txt 00:21:42 + case "${OS_FAMILY}" in 00:21:42 + dpkg -l 00:21:42 + grep '^ii' 00:21:42 + '[' -f /tmp/packages_start.txt ']' 00:21:42 + '[' -f /tmp/packages_end.txt ']' 00:21:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:42 + '[' /w/workspace/gexfoundry_device-rest-go_PR-206 ']' 00:21:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ 00:21:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-206/archives/ [Pipeline] echo 00:21:42 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-206/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:21:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:43 prd-ubuntu20.04-docker-8c-8g-19494 does not seem to be running inside a container 00:21:43 $ 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-206/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-206 -v /w/workspace/gexfoundry_device-rest-go_PR-206:/w/workspace/gexfoundry_device-rest-go_PR-206:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-206@tmp:/w/workspace/gexfoundry_device-rest-go_PR-206@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-lftools-log-publisher:latest cat 00:21:43 $ docker top 9d854f3f96042b54232c9df4f4cb44577cb5c53de60ae59430bda2878695b5c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:44 + touch /tmp/pre-build-complete [Pipeline] sh 00:21:44 + mkdir -p /var/log/sysstat [Pipeline] sh 00:21:44 + ls /var/log/sa-host 00:21:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:44 provisioning config files... 00:21:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-206@tmp/config1683839781349937113tmp [Pipeline] { [Pipeline] echo 00:21:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:45 ---> create-netrc.sh [Pipeline] } 00:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:21:45 ---> python-tools-install.sh [Pipeline] echo 00:21:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:21:45 ---> sudo-logs.sh 00:21:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:21:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:21:46 ---> job-cost.sh 00:21:46 lf-activate-venv: SKIPPING 00:21:46 DEBUG: total: 0.2199999988079071 00:21:46 INFO: Retrieving Stack Cost... 00:21:46 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:46 INFO: Archiving Costs [Pipeline] echo 00:21:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:21:47 ---> logs-deploy.sh 00:21:47 lf-activate-venv: SKIPPING 00:21:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-206/2 00:21:47 INFO: archiving workspace using pattern(s): 00:21:48 Archives upload complete. 00:21:48 INFO: archiving logs to Nexus