Pull request #202 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 rather than 496835d219091b656bc868f0a1a76422ee3d7f65 Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh12420155774603923553.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh12050989864455853435.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-202/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-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17091343991552743933.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh2333884513484640930.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-202/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-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4098155276184504473.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.17 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-16341 in /w/workspace/gexfoundry_device-rest-go_PR-202 [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-202 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 496835d219091b656bc868f0a1a76422ee3d7f65 Merge succeeded, producing 496835d219091b656bc868f0a1a76422ee3d7f65 Checking out Revision 496835d219091b656bc868f0a1a76422ee3d7f65 (PR-202) > 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/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 496835d219091b656bc868f0a1a76422ee3d7f65 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:54:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:54:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:54:19 ========================================================= 13:54:19 EdgeX Global Pipelines Version Info 13:54:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 98f032b9f43567c2f39d7bb2c341238a945ef2ed # timeout=10 13:54:19 ------------------- 13:54:19 stable info: 13:54:19 ------------------- 13:54:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:54:19 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:54:19 Message: update stable to v1.0.234 13:54:20 ------------------- 13:54:20 experimental info: 13:54:20 ------------------- 13:54:20 Commited By: **** collab-it+edgex@linuxfoundation.org 13:54:20 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:54:20 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 496835d [Pipeline] echo 13:54:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:54:20 provisioning config files... 13:54:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config2195503449912672806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:21 ---> docker-login.sh 13:54:21 nexus3.edgexfoundry.org:10001 13:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:21 Configure a credential helper to remove this warning. See 13:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:21 13:54:21 Login Succeeded 13:54:21 nexus3.edgexfoundry.org:10002 13:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:21 Configure a credential helper to remove this warning. See 13:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:21 13:54:21 Login Succeeded 13:54:21 nexus3.edgexfoundry.org:10003 13:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:21 Configure a credential helper to remove this warning. See 13:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:21 13:54:21 Login Succeeded 13:54:21 nexus3.edgexfoundry.org:10004 13:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:22 Configure a credential helper to remove this warning. See 13:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:22 13:54:22 Login Succeeded 13:54:22 docker.io 13:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:22 Configure a credential helper to remove this warning. See 13:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:22 13:54:22 Login Succeeded 13:54:22 ---> docker-login.sh ends [Pipeline] } 13:54:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:54:22 + git rev-list -1 --merges 496835d219091b656bc868f0a1a76422ee3d7f65~1..496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo 13:54:22 -----------> git rev-list -1 --merges 496835d219091b656bc868f0a1a76422ee3d7f65~1..496835d219091b656bc868f0a1a76422ee3d7f65 496835d219091b656bc868f0a1a76422ee3d7f65 [false] [Pipeline] sh 13:54:23 + git log --format=format:%s -1 496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo 13:54:23 ========================================================= 13:54:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:54:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:54:23 + git log --format=format:%s -1 496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] echo 13:54:23 [semverPrep] GIT_COMMIT: 496835d219091b656bc868f0a1a76422ee3d7f65, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo 13:54:23 [semverPrep] This is not a build commit. [Pipeline] sh 13:54:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:54:23 + grep -v github /etc/ssh/ssh_known_hosts 13:54:23 + [ -e /tmp/ssh_known_hosts ] 13:54:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:54:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:54:23 + sudo tee -a /etc/ssh/ssh_known_hosts 13:54:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:24 13:54:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:24 0.1.4: Pulling from edgex-devops/py-git-semver 13:54:24 42c077c10790: Pulling fs layer 13:54:24 f63e77b7563a: Pulling fs layer 13:54:24 bd5fdadae976: Pulling fs layer 13:54:24 205491f53016: Pulling fs layer 13:54:24 205491f53016: Waiting 13:54:24 df18705c85c3: Pulling fs layer 13:54:24 bdb3f477010e: Pulling fs layer 13:54:24 c8a8fc8e1c8f: Pulling fs layer 13:54:24 2c6e9b1d212d: Pulling fs layer 13:54:24 bdb8f0575790: Pulling fs layer 13:54:24 386e3cb2ff24: Pulling fs layer 13:54:24 2343380bae48: Pulling fs layer 13:54:24 bdb8f0575790: Waiting 13:54:24 df18705c85c3: Waiting 13:54:24 bdb3f477010e: Waiting 13:54:24 c8a8fc8e1c8f: Waiting 13:54:24 2c6e9b1d212d: Waiting 13:54:24 2343380bae48: Waiting 13:54:24 386e3cb2ff24: Waiting 13:54:24 f63e77b7563a: Verifying Checksum 13:54:24 f63e77b7563a: Download complete 13:54:24 205491f53016: Verifying Checksum 13:54:24 205491f53016: Download complete 13:54:24 df18705c85c3: Verifying Checksum 13:54:24 df18705c85c3: Download complete 13:54:24 bdb3f477010e: Verifying Checksum 13:54:24 bdb3f477010e: Download complete 13:54:24 bd5fdadae976: Verifying Checksum 13:54:24 bd5fdadae976: Download complete 13:54:24 2c6e9b1d212d: Verifying Checksum 13:54:24 2c6e9b1d212d: Download complete 13:54:24 bdb8f0575790: Download complete 13:54:24 386e3cb2ff24: Verifying Checksum 13:54:24 386e3cb2ff24: Download complete 13:54:24 2343380bae48: Verifying Checksum 13:54:24 2343380bae48: Download complete 13:54:24 42c077c10790: Download complete 13:54:25 c8a8fc8e1c8f: Download complete 13:54:26 42c077c10790: Pull complete 13:54:26 f63e77b7563a: Pull complete 13:54:27 bd5fdadae976: Pull complete 13:54:27 205491f53016: Pull complete 13:54:27 df18705c85c3: Pull complete 13:54:27 bdb3f477010e: Pull complete 13:54:29 c8a8fc8e1c8f: Pull complete 13:54:29 2c6e9b1d212d: Pull complete 13:54:29 bdb8f0575790: Pull complete 13:54:29 386e3cb2ff24: Pull complete 13:54:29 2343380bae48: Pull complete 13:54:29 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 13:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:54:29 prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container 13:54:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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-devops/py-git-semver:0.1.4 cat 13:54:32 $ docker top 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 -eo pid,comm 13:54:32 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). 13:54:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:54:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:54:32 [ssh-agent] Looking for ssh-agent implementation... 13:54:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:54:32 $ docker exec 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent 13:54:32 SSH_AUTH_SOCK=/tmp/ssh-sypAlGBlozMJ/agent.34 13:54:32 SSH_AGENT_PID=40 13:54:32 Running ssh-add (command line suppressed) 13:54:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6321911639197397803.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_6321911639197397803.key) 13:54:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:54:33 + git tag --points-at HEAD [Pipeline] } 13:54:33 $ docker exec --env ******** --env ******** 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent -k 13:54:33 unset SSH_AUTH_SOCK; 13:54:33 unset SSH_AGENT_PID; 13:54:33 echo Agent pid 40 killed; 13:54:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:54:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:54:33 [ssh-agent] Looking for ssh-agent implementation... 13:54:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:54:33 $ docker exec 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent 13:54:33 SSH_AUTH_SOCK=/tmp/ssh-jO82kyqZZcLo/agent.72 13:54:33 SSH_AGENT_PID=79 13:54:33 Running ssh-add (command line suppressed) 13:54:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_8661778018685442244.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_8661778018685442244.key) 13:54:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:54:34 + git semver init 13:54:34 2022-06-29 13:54:34,203 [run_init] DEBUG init version:0.0.0 force:False 13:54:34 2022-06-29 13:54:34,203 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver 13:54:34 2022-06-29 13:54:34,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver 13:54:34 2022-06-29 13:54:34,204 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) 13:54:35 2022-06-29 13:54:35,108 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude 13:54:35 2022-06-29 13:54:35,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False 13:54:35 2022-06-29 13:54:35,109 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 13:54:35 2022-06-29 13:54:35,113 [execute] INFO git cat-file --batch-check 13:54:35 2022-06-29 13:54:35,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) 13:54:35 2022-06-29 13:54:35,120 [execute] INFO git cat-file --batch 13:54:35 2022-06-29 13:54:35,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) 13:54:35 2022-06-29 13:54:35,124 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 13:54:35 0.0.0 [Pipeline] } 13:54:35 $ docker exec --env ******** --env ******** 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 ssh-agent -k 13:54:35 unset SSH_AUTH_SOCK; 13:54:35 unset SSH_AGENT_PID; 13:54:35 echo Agent pid 79 killed; 13:54:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:54:35 + git semver [Pipeline] } 13:54:35 $ docker stop --time=1 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 13:54:37 $ docker rm -f 64501d1fda46d05021e2397269087916cd1b653bf02038280e1f721ed7c50ae4 [Pipeline] // withDockerContainer [Pipeline] sh 13:54:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:54:38 Stashed 1 file(s) [Pipeline] echo 13:54:38 [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 13:54:38 provisioning config files... 13:54:38 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config7638340337169720883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:38 ---> docker-login.sh 13:54:38 nexus3.edgexfoundry.org:10001 13:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:38 Configure a credential helper to remove this warning. See 13:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:38 13:54:38 Login Succeeded 13:54:38 nexus3.edgexfoundry.org:10002 13:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:38 Configure a credential helper to remove this warning. See 13:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:38 13:54:38 Login Succeeded 13:54:38 nexus3.edgexfoundry.org:10003 13:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:38 Configure a credential helper to remove this warning. See 13:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:38 13:54:38 Login Succeeded 13:54:38 nexus3.edgexfoundry.org:10004 13:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:39 Configure a credential helper to remove this warning. See 13:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:39 13:54:39 Login Succeeded 13:54:39 docker.io 13:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:39 Configure a credential helper to remove this warning. See 13:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:39 13:54:39 Login Succeeded 13:54:39 ---> docker-login.sh ends [Pipeline] } 13:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:54:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:39 ========================================================= 13:54:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:54:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:54:39 Sending build context to Docker daemon 10.68MB 13:54:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:54:39 Step 2/12 : FROM ${BASE} AS builder 13:54:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:54:39 59bf1c3509f3: Pulling fs layer 13:54:39 666ba61612fd: Pulling fs layer 13:54:39 8ed8ca486205: Pulling fs layer 13:54:39 cc1cd167ecdc: Pulling fs layer 13:54:39 c516ae0d96e1: Pulling fs layer 13:54:39 684cea983483: Pulling fs layer 13:54:39 dd3240ac7de5: Pulling fs layer 13:54:39 b1e948a4e11c: Pulling fs layer 13:54:39 a8fd76ee1af6: Pulling fs layer 13:54:39 cc1cd167ecdc: Waiting 13:54:39 646ad004c059: Pulling fs layer 13:54:39 c516ae0d96e1: Waiting 13:54:39 684cea983483: Waiting 13:54:39 dd3240ac7de5: Waiting 13:54:39 b1e948a4e11c: Waiting 13:54:39 a8fd76ee1af6: Waiting 13:54:40 8ed8ca486205: Verifying Checksum 13:54:40 8ed8ca486205: Download complete 13:54:40 666ba61612fd: Download complete 13:54:40 c516ae0d96e1: Verifying Checksum 13:54:40 c516ae0d96e1: Download complete 13:54:40 684cea983483: Download complete 13:54:40 59bf1c3509f3: Verifying Checksum 13:54:40 dd3240ac7de5: Download complete 13:54:40 b1e948a4e11c: Verifying Checksum 13:54:40 b1e948a4e11c: Download complete 13:54:40 59bf1c3509f3: Pull complete 13:54:40 666ba61612fd: Pull complete 13:54:40 8ed8ca486205: Pull complete 13:54:40 a8fd76ee1af6: Verifying Checksum 13:54:40 a8fd76ee1af6: Download complete 13:54:40 646ad004c059: Download complete 13:54:40 cc1cd167ecdc: Download complete 13:54:45 cc1cd167ecdc: Pull complete 13:54:45 c516ae0d96e1: Pull complete 13:54:45 684cea983483: Pull complete 13:54:45 dd3240ac7de5: Pull complete 13:54:45 b1e948a4e11c: Pull complete 13:54:46 a8fd76ee1af6: Pull complete 13:54:47 646ad004c059: Pull complete 13:54:47 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 13:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:54:47 ---> 8f69c11f6b0c 13:54:47 Step 3/12 : ARG MAKE='make build' 13:54:52 ---> Running in 2d0268102874 13:54:52 Removing intermediate container 2d0268102874 13:54:52 ---> 04a34024844b 13:54:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:54:52 ---> Running in 2518e4ea63ef 13:54:52 Removing intermediate container 2518e4ea63ef 13:54:52 ---> 956646dc3bd6 13:54:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:54:52 ---> Running in 87607ba326ea 13:54:52 Removing intermediate container 87607ba326ea 13:54:52 ---> 0f3d4e3b7345 13:54:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:54:52 ---> Running in 72974e75bba1 13:54:52 Removing intermediate container 72974e75bba1 13:54:52 ---> b131f885b501 13:54:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:54:52 ---> Running in babbb608da4a 13:54:53 Still waiting to schedule task 13:54:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:54:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:54:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:54:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:54:54 (2/4) Installing libedit (20210910.3.1-r0) 13:54:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:54:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:54:55 Executing busybox-1.34.1-r3.trigger 13:54:55 OK: 224 MiB in 56 packages 13:54:55 Removing intermediate container babbb608da4a 13:54:55 ---> bfac1096b496 13:54:55 Step 8/12 : WORKDIR /device-rest-go 13:54:55 ---> Running in 002a2477a27a 13:54:55 Removing intermediate container 002a2477a27a 13:54:55 ---> 506ed44fe234 13:54:55 Step 9/12 : COPY go.mod vendor* ./ 13:54:55 ---> 1cb2cc477e57 13:54:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:54:56 ---> Running in 1d37e3bbf730 13:55:18 Removing intermediate container 1d37e3bbf730 13:55:18 ---> 6d25c57e8e63 13:55:18 Step 11/12 : COPY . . 13:55:18 ---> 667487733615 13:55:18 Step 12/12 : RUN $MAKE 13:55:18 ---> Running in 6db1d9d660e1 13:55:18 noop 13:55:18 Removing intermediate container 6db1d9d660e1 13:55:18 ---> db8ef0eccf81 13:55:18 Successfully built db8ef0eccf81 13:55:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:18 + docker inspect -f . ci-base-image-x86_64 13:55:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:18 prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container 13:55:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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-x86_64 cat 13:55:18 $ docker top 753a6b31428c9162d65cbce667d9ea8e796bc06130f5b5d968a1973e9bba845e -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:19 + go version 13:55:19 go version go1.17.7 linux/amd64 [Pipeline] } 13:55:19 $ docker stop --time=1 753a6b31428c9162d65cbce667d9ea8e796bc06130f5b5d968a1973e9bba845e 13:55:20 $ docker rm -f 753a6b31428c9162d65cbce667d9ea8e796bc06130f5b5d968a1973e9bba845e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:21 + docker inspect -f . ci-base-image-x86_64 13:55:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:21 prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container 13:55:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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-x86_64 cat 13:55:21 $ docker top 3e79058ac5f917d86e6edbd6677e11a6e4d348d6f812f9ecc4d43eadfb54adf2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:55:21 + make test 13:55:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:55:22 ? github.com/edgexfoundry/device-rest-go [no test files] 13:55:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:55:32 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 13:55:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:55:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:55:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:55:42 ./bin/test-attribution-txt.sh [Pipeline] echo 13:55:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:55:42 $ docker stop --time=1 3e79058ac5f917d86e6edbd6677e11a6e4d348d6f812f9ecc4d43eadfb54adf2 13:55:44 $ docker rm -f 3e79058ac5f917d86e6edbd6677e11a6e4d348d6f812f9ecc4d43eadfb54adf2 [Pipeline] // withDockerContainer [Pipeline] sh 13:55:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:55:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:55:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:55:45 + ls -al . 13:55:45 total 172 13:55:45 drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 13:55 . 13:55:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:54 .. 13:55:45 -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 13:54 .dockerignore 13:55:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:54 .git 13:55:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:54 .github 13:55:45 -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 13:54 .gitignore 13:55:45 -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 13:54 .golangci.yml 13:55:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 13:54 .semver 13:55:45 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 13:54 Attribution.txt 13:55:45 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 13:54 CHANGELOG.md 13:55:45 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 13:54 Dockerfile 13:55:45 -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 13:54 GOVERNANCE.md 13:55:45 -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 13:54 Jenkinsfile 13:55:45 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 13:54 LICENSE 13:55:45 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 13:54 Makefile 13:55:45 -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 13:54 OWNERS.md 13:55:45 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 13:54 README.md 13:55:45 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 13:54 VERSION 13:55:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:54 bin 13:55:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:54 cmd 13:55:45 -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 13:55 coverage.out 13:55:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:54 driver 13:55:45 -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 13:54 go.mod 13:55:45 -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 13:54 go.sum 13:55:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:54 snap 13:55:45 -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 13:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:45 + 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=496835d219091b656bc868f0a1a76422ee3d7f65 --label arch=amd64 --label version=0.0.0 . 13:55:45 Sending build context to Docker daemon 10.69MB 13:55:45 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:55:45 Step 2/25 : FROM ${BASE} AS builder 13:55:45 ---> db8ef0eccf81 13:55:45 Step 3/25 : ARG MAKE='make build' 13:55:45 ---> Running in 54cca18dfcda 13:55:45 Removing intermediate container 54cca18dfcda 13:55:45 ---> 17e886dc116c 13:55:45 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:55:45 ---> Running in 193e4ecd4911 13:55:46 Removing intermediate container 193e4ecd4911 13:55:46 ---> 25b7f913c6e3 13:55:46 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 13:55:46 ---> Running in 350a94ec78ce 13:55:46 Removing intermediate container 350a94ec78ce 13:55:46 ---> 0801695c2a12 13:55:46 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:55:46 ---> Running in 9a88617c3951 13:55:46 Removing intermediate container 9a88617c3951 13:55:46 ---> 700bc3db1465 13:55:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:55:46 ---> Running in 39788f226b4d 13:55:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:55:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:55:48 OK: 224 MiB in 56 packages 13:55:48 Removing intermediate container 39788f226b4d 13:55:48 ---> e8d43c93874e 13:55:48 Step 8/25 : WORKDIR /device-rest-go 13:55:48 ---> Running in 45d09a70f019 13:55:48 Removing intermediate container 45d09a70f019 13:55:48 ---> b5c9996c05ea 13:55:48 Step 9/25 : COPY go.mod vendor* ./ 13:55:48 ---> 100a997ed9b6 13:55:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:55:48 ---> Running in 4d6b371ef977 13:55:49 Removing intermediate container 4d6b371ef977 13:55:49 ---> 395681e65de7 13:55:49 Step 11/25 : COPY . . 13:55:49 ---> e94be54fb6bd 13:55:49 Step 12/25 : RUN $MAKE 13:55:49 ---> Running in b1cd791f0e42 13:55:50 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 13:56:11 Removing intermediate container b1cd791f0e42 13:56:11 ---> 577128599bcb 13:56:11 Step 13/25 : FROM alpine:3.14 13:56:11 3.14: Pulling from library/alpine 13:56:11 8663204ce13b: Pulling fs layer 13:56:11 8663204ce13b: Verifying Checksum 13:56:11 8663204ce13b: Download complete 13:56:11 8663204ce13b: Pull complete 13:56:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:56:11 Status: Downloaded newer image for alpine:3.14 13:56:11 ---> e04c818066af 13:56:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 13:56:11 ---> Running in 56edac4c2612 13:56:11 Removing intermediate container 56edac4c2612 13:56:11 ---> 281bf08ad33e 13:56:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 13:56:11 ---> Running in b6b9d180d827 13:56:11 Removing intermediate container b6b9d180d827 13:56:11 ---> b0f35e59ecb7 13:56:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 13:56:11 ---> Running in b1631b318acc 13:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:56:11 (1/6) Installing dumb-init (1.2.5-r1) 13:56:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:56:11 (3/6) Installing libsodium (1.0.18-r0) 13:56:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:56:11 (5/6) Installing libzmq (4.3.4-r0) 13:56:11 (6/6) Installing zeromq (4.3.4-r0) 13:56:11 Executing busybox-1.33.1-r7.trigger 13:56:11 OK: 8 MiB in 20 packages 13:56:11 Removing intermediate container b1631b318acc 13:56:11 ---> a75236d970de 13:56:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 13:56:12 ---> 8f73803172e5 13:56:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 13:56:12 ---> 2d20ef42d918 13:56:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 13:56:12 ---> d1af3ff2ab08 13:56:12 Step 20/25 : EXPOSE 59986 13:56:12 ---> Running in bf47486f9d08 13:56:12 Removing intermediate container bf47486f9d08 13:56:12 ---> 7b7b64da5a16 13:56:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 13:56:12 ---> Running in 61ac0ff3677b 13:56:12 Removing intermediate container 61ac0ff3677b 13:56:12 ---> 626a509fc7c0 13:56:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:56:12 ---> Running in 107672fcaba0 13:56:12 Removing intermediate container 107672fcaba0 13:56:12 ---> d288009f72e3 13:56:12 Step 23/25 : LABEL arch=amd64 13:56:12 ---> Running in 8f320e211747 13:56:13 Removing intermediate container 8f320e211747 13:56:13 ---> 84c2eac8e22b 13:56:13 Step 24/25 : LABEL git_sha=496835d219091b656bc868f0a1a76422ee3d7f65 13:56:13 ---> Running in 65d8755f96c5 13:56:13 Removing intermediate container 65d8755f96c5 13:56:13 ---> fe35ba8cfe99 13:56:13 Step 25/25 : LABEL version=0.0.0 13:56:13 ---> Running in b9e0fa1613c2 13:56:13 Removing intermediate container b9e0fa1613c2 13:56:13 ---> c5cd37cb0040 13:56:13 [Warning] One or more build-args [ARCH] were not consumed 13:56:13 Successfully built c5cd37cb0040 13:56:13 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 13:56:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:13 13:56:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:14 latest: Pulling from edgex-lftools-log-publisher 13:56:14 5eb5b503b376: Pulling fs layer 13:56:14 5c69ac0246d0: Pulling fs layer 13:56:14 ec43610c2a17: Pulling fs layer 13:56:14 3a2ae6a8a46f: Pulling fs layer 13:56:14 33b1e0a273af: Pulling fs layer 13:56:14 5d3b04190fa2: Pulling fs layer 13:56:14 33b1e0a273af: Waiting 13:56:14 3a2ae6a8a46f: Waiting 13:56:14 2f39f015ded8: Pulling fs layer 13:56:14 5d3b04190fa2: Waiting 13:56:14 2f39f015ded8: Waiting 13:56:14 5c69ac0246d0: Verifying Checksum 13:56:14 5c69ac0246d0: Download complete 13:56:14 3a2ae6a8a46f: Download complete 13:56:14 33b1e0a273af: Verifying Checksum 13:56:14 33b1e0a273af: Download complete 13:56:14 5d3b04190fa2: Verifying Checksum 13:56:14 5d3b04190fa2: Download complete 13:56:14 ec43610c2a17: Verifying Checksum 13:56:14 ec43610c2a17: Download complete 13:56:14 5eb5b503b376: Download complete 13:56:14 2f39f015ded8: Download complete 13:56:15 5eb5b503b376: Pull complete 13:56:15 5c69ac0246d0: Pull complete 13:56:16 ec43610c2a17: Pull complete 13:56:16 3a2ae6a8a46f: Pull complete 13:56:16 33b1e0a273af: Pull complete 13:56:16 5d3b04190fa2: Pull complete 13:56:20 2f39f015ded8: Pull complete 13:56:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:56:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:20 prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container 13:56:20 $ 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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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:latest cat 13:56:23 $ docker top 628df30e3bd8e8b091037aa7687622cfa55c0dd39ef290927b0a439cc0f4271e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:23 ---> job-cost.sh 13:56:23 lf-activate-venv: SKIPPING 13:56:23 INFO: No Stack... 13:56:23 INFO: Retrieving Pricing Info for: v3-standard-8 13:56:24 INFO: Archiving Costs [Pipeline] sh 13:56:24 + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv 13:56:24 + cut -d, -f6 [Pipeline] lock 13:56:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] 13:56:24 Resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] did not exist. Created. 13:56:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:56:24 + echo total: 0.2199999988079071 [Pipeline] stash 13:56:24 Stashed 1 file(s) [Pipeline] } 13:56:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:56:25 $ docker stop --time=1 628df30e3bd8e8b091037aa7687622cfa55c0dd39ef290927b0a439cc0f4271e 13:56:26 $ docker rm -f 628df30e3bd8e8b091037aa7687622cfa55c0dd39ef290927b0a439cc0f4271e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:56:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16342 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws 13:56:27 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 13:56:27 The recommended git tool is: git 13:56:34 using credential edgex-jenkins-ssh 13:56:34 Cloning the remote Git repository 13:56:34 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 13:56:34 > git init /w/workspace/device-rest-go/2 # timeout=10 13:56:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:56:34 > git --version # timeout=10 13:56:34 > git --version # 'git version 2.25.1' 13:56:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:56:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:56:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:56:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 13:56:37 Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 496835d219091b656bc868f0a1a76422ee3d7f65 13:56:37 Merge succeeded, producing 496835d219091b656bc868f0a1a76422ee3d7f65 13:56:37 Checking out Revision 496835d219091b656bc868f0a1a76422ee3d7f65 (PR-202) 13:56:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 13:56:36 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:56:37 > git config core.sparsecheckout # timeout=10 13:56:37 > git checkout -f 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 13:56:37 > git remote # timeout=10 13:56:37 > git config --get remote.origin.url # timeout=10 13:56:37 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:37 > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 13:56:37 > git rev-parse HEAD^{commit} # timeout=10 13:56:37 > git config core.sparsecheckout # timeout=10 13:56:37 > git checkout -f 496835d219091b656bc868f0a1a76422ee3d7f65 # timeout=10 13:56:41 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:56:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:56:42 % Total % Received % Xferd Average Speed Time Time Time Current 13:56:42 Dload Upload Total Spent Left Speed 13:56:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12253 97 11881 0 0 78164 0 --:--:-- --:--:-- --:--:-- 77653 100 12253 100 12253 0 0 79564 0 --:--:-- --:--:-- --:--:-- 79564 [Pipeline] sh 13:56:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:56:43 + sudo tee /etc/docker/daemon.new 13:56:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:56:43 { 13:56:43 "registry-mirrors": [ 13:56:43 "https://nexus3.edgexfoundry.org:10001" 13:56:43 ], 13:56:43 "bip": "10.250.0.254/24", 13:56:43 "hosts": [ 13:56:43 "tcp://0.0.0.0:5555", 13:56:43 "unix:///var/run/docker.sock" 13:56:43 ], 13:56:43 "mtu": 1458, 13:56:43 "selinux-enabled": true, 13:56:43 "seccomp-profile": "/etc/docker/seccomp.json" 13:56:43 } [Pipeline] sh 13:56:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:56:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:57:02 provisioning config files... 13:57:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config380063456303322716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:57:02 ---> docker-login.sh 13:57:02 nexus3.edgexfoundry.org:10001 13:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:03 Configure a credential helper to remove this warning. See 13:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:03 13:57:03 Login Succeeded 13:57:03 nexus3.edgexfoundry.org:10002 13:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:04 Configure a credential helper to remove this warning. See 13:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:04 13:57:04 Login Succeeded 13:57:04 nexus3.edgexfoundry.org:10003 13:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:04 Configure a credential helper to remove this warning. See 13:57:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:04 13:57:04 Login Succeeded 13:57:04 nexus3.edgexfoundry.org:10004 13:57:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:05 Configure a credential helper to remove this warning. See 13:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:05 13:57:05 Login Succeeded 13:57:05 docker.io 13:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:05 Configure a credential helper to remove this warning. See 13:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:05 13:57:05 Login Succeeded 13:57:05 ---> docker-login.sh ends [Pipeline] } 13:57:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:06 ========================================================= 13:57:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:57:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:57:06 Sending build context to Docker daemon 128.5kB 13:57:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:57:06 Step 2/12 : FROM ${BASE} AS builder 13:57:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:57:07 9b3977197b4f: Pulling fs layer 13:57:07 1a89e8eeedd5: Pulling fs layer 13:57:07 94645a83ff95: Pulling fs layer 13:57:07 e6fb740bc735: Pulling fs layer 13:57:07 3a77bd46dcc9: Pulling fs layer 13:57:07 355e64cbe906: Pulling fs layer 13:57:07 63ab81a10011: Pulling fs layer 13:57:07 555d1d1c4555: Pulling fs layer 13:57:07 7d9057610161: Pulling fs layer 13:57:07 355e64cbe906: Waiting 13:57:07 e6fb740bc735: Waiting 13:57:07 63ab81a10011: Waiting 13:57:07 3a77bd46dcc9: Waiting 13:57:07 555d1d1c4555: Waiting 13:57:07 7d9057610161: Waiting 13:57:07 94645a83ff95: Download complete 13:57:07 1a89e8eeedd5: Download complete 13:57:07 3a77bd46dcc9: Verifying Checksum 13:57:07 3a77bd46dcc9: Download complete 13:57:07 355e64cbe906: Verifying Checksum 13:57:07 355e64cbe906: Download complete 13:57:07 9b3977197b4f: Verifying Checksum 13:57:07 9b3977197b4f: Download complete 13:57:07 63ab81a10011: Verifying Checksum 13:57:07 63ab81a10011: Download complete 13:57:08 9b3977197b4f: Pull complete 13:57:08 7d9057610161: Verifying Checksum 13:57:08 7d9057610161: Download complete 13:57:08 1a89e8eeedd5: Pull complete 13:57:09 94645a83ff95: Pull complete 13:57:09 555d1d1c4555: Verifying Checksum 13:57:09 555d1d1c4555: Download complete 13:57:10 e6fb740bc735: Verifying Checksum 13:57:10 e6fb740bc735: Download complete 13:57:22 e6fb740bc735: Pull complete 13:57:22 3a77bd46dcc9: Pull complete 13:57:22 355e64cbe906: Pull complete 13:57:22 63ab81a10011: Pull complete 13:57:29 555d1d1c4555: Pull complete 13:57:31 7d9057610161: Pull complete 13:57:31 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 13:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:57:31 ---> 819e984ddca1 13:57:31 Step 3/12 : ARG MAKE='make build' 13:57:32 ---> Running in 7a0f3997bc5e 13:57:32 Removing intermediate container 7a0f3997bc5e 13:57:32 ---> 7e52906aec3f 13:57:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:57:32 ---> Running in aeb5d33a08a8 13:57:32 Removing intermediate container aeb5d33a08a8 13:57:32 ---> a49a29e8e101 13:57:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:57:32 ---> Running in 9995715df81d 13:57:32 Removing intermediate container 9995715df81d 13:57:32 ---> 3664118390cc 13:57:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:57:33 ---> Running in eab989352542 13:57:35 Removing intermediate container eab989352542 13:57:35 ---> 5c87cc13380b 13:57:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:57:35 ---> Running in f4bb94a26d80 13:57:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:57:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:57:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:57:38 (2/4) Installing libedit (20210910.3.1-r0) 13:57:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:57:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:57:38 Executing busybox-1.34.1-r3.trigger 13:57:38 OK: 224 MiB in 56 packages 13:57:39 Removing intermediate container f4bb94a26d80 13:57:39 ---> 1861f2f7d99c 13:57:39 Step 8/12 : WORKDIR /device-rest-go 13:57:39 ---> Running in 8a8f2c3784bf 13:57:39 Removing intermediate container 8a8f2c3784bf 13:57:39 ---> 445e48dfc7c0 13:57:39 Step 9/12 : COPY go.mod vendor* ./ 13:57:40 ---> 41390791904e 13:57:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:57:40 ---> Running in 47ec062914c1 13:58:27 Removing intermediate container 47ec062914c1 13:58:27 ---> f8ca41d56a87 13:58:27 Step 11/12 : COPY . . 13:58:27 ---> 810c79ac7931 13:58:27 Step 12/12 : RUN $MAKE 13:58:27 ---> Running in 554d7932e273 13:58:27 noop 13:58:27 Removing intermediate container 554d7932e273 13:58:27 ---> dfc2c09402d4 13:58:27 Successfully built dfc2c09402d4 13:58:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:27 + docker inspect -f . ci-base-image-arm64 13:58:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:28 prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container 13:58:28 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:58:29 $ docker top ceadb7d49916ba9a21fd61e2d24b40a8af307a5606134b75dbd508a918e35e6a -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:30 + go version 13:58:30 go version go1.17.7 linux/arm64 [Pipeline] } 13:58:30 $ docker stop --time=1 ceadb7d49916ba9a21fd61e2d24b40a8af307a5606134b75dbd508a918e35e6a 13:58:32 $ docker rm -f ceadb7d49916ba9a21fd61e2d24b40a8af307a5606134b75dbd508a918e35e6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:32 + docker inspect -f . ci-base-image-arm64 13:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:32 prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container 13:58:32 $ 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 ******** -e ******** ci-base-image-arm64 cat 13:58:34 $ docker top 356ec305559bd78b71bfbb86c643138f5dfc8174a9fcf09194d6bf9e242b2bde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:58:34 + make test 13:58:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:58:36 ? github.com/edgexfoundry/device-rest-go [no test files] 13:59:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 13:59:58 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements 13:59:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:59:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:00:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:00:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:00:20 ./bin/test-attribution-txt.sh [Pipeline] echo 14:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:00:21 $ docker stop --time=1 356ec305559bd78b71bfbb86c643138f5dfc8174a9fcf09194d6bf9e242b2bde 14:00:22 $ docker rm -f 356ec305559bd78b71bfbb86c643138f5dfc8174a9fcf09194d6bf9e242b2bde [Pipeline] // withDockerContainer [Pipeline] sh 14:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:00:23 Warning: overwriting stash ‘coverage-report’ 14:00:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:00:24 + ls -al . 14:00:24 total 168 14:00:24 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 14:00 . 14:00:24 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:56 .. 14:00:24 -rw-rw-r-- 1 jenkins jenkins 151 Jun 29 13:56 .dockerignore 14:00:24 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 13:56 .git 14:00:24 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:56 .github 14:00:24 -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 13:56 .gitignore 14:00:24 -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 13:56 .golangci.yml 14:00:24 -rw-rw-r-- 1 jenkins jenkins 8724 Jun 29 13:56 Attribution.txt 14:00:24 -rw-rw-r-- 1 jenkins jenkins 11736 Jun 29 13:56 CHANGELOG.md 14:00:24 -rw-rw-r-- 1 jenkins jenkins 1672 Jun 29 13:56 Dockerfile 14:00:24 -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 13:56 GOVERNANCE.md 14:00:24 -rw-rw-r-- 1 jenkins jenkins 680 Jun 29 13:56 Jenkinsfile 14:00:24 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 13:56 LICENSE 14:00:24 -rw-rw-r-- 1 jenkins jenkins 1977 Jun 29 13:56 Makefile 14:00:24 -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 13:56 OWNERS.md 14:00:24 -rw-rw-r-- 1 jenkins jenkins 8003 Jun 29 13:56 README.md 14:00:24 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 13:54 VERSION 14:00:24 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:56 bin 14:00:24 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 13:56 cmd 14:00:24 -rw-r--r-- 1 jenkins jenkins 9355 Jun 29 13:59 coverage.out 14:00:24 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 13:56 driver 14:00:24 -rw-rw-r-- 1 jenkins jenkins 3338 Jun 29 13:56 go.mod 14:00:24 -rw-rw-r-- 1 jenkins jenkins 36281 Jun 29 13:56 go.sum 14:00:24 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 13:56 snap 14:00:24 -rw-rw-r-- 1 jenkins jenkins 713 Jun 29 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:25 + 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=496835d219091b656bc868f0a1a76422ee3d7f65 --label arch=arm64 --label version=0.0.0 . 14:00:25 Sending build context to Docker daemon 138.8kB 14:00:25 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 14:00:25 Step 2/25 : FROM ${BASE} AS builder 14:00:25 ---> dfc2c09402d4 14:00:25 Step 3/25 : ARG MAKE='make build' 14:00:25 ---> Running in 1b8cd01aa93d 14:00:25 Removing intermediate container 1b8cd01aa93d 14:00:25 ---> 1ec15fda8f24 14:00:25 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:00:26 ---> Running in ac7a97c24a91 14:00:26 Removing intermediate container ac7a97c24a91 14:00:26 ---> 9147c950bc2b 14:00:26 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 14:00:26 ---> Running in eb4ec3c47155 14:00:26 Removing intermediate container eb4ec3c47155 14:00:26 ---> d1aec2d773a7 14:00:26 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:00:26 ---> Running in 7a24c66e228a 14:00:28 Removing intermediate container 7a24c66e228a 14:00:28 ---> bca4018cd80f 14:00:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:00:28 ---> Running in a798325e4927 14:00:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:00:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:00:31 OK: 224 MiB in 56 packages 14:00:31 Removing intermediate container a798325e4927 14:00:31 ---> 88b5d5f1fc72 14:00:31 Step 8/25 : WORKDIR /device-rest-go 14:00:32 ---> Running in 79bcee7638e4 14:00:32 Removing intermediate container 79bcee7638e4 14:00:32 ---> 792f43c51059 14:00:32 Step 9/25 : COPY go.mod vendor* ./ 14:00:32 ---> abac8bad7013 14:00:32 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:00:32 ---> Running in e5c0e0fe72a8 14:00:34 Removing intermediate container e5c0e0fe72a8 14:00:34 ---> 4ab90d8d91b1 14:00:34 Step 11/25 : COPY . . 14:00:35 ---> b0dcd5265aac 14:00:35 Step 12/25 : RUN $MAKE 14:00:35 ---> Running in 4b16aafd1637 14:00:36 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 14:02:43 Removing intermediate container 4b16aafd1637 14:02:43 ---> 98d7848af1d1 14:02:43 Step 13/25 : FROM alpine:3.14 14:02:43 3.14: Pulling from library/alpine 14:02:43 455c02918c45: Pulling fs layer 14:02:43 455c02918c45: Download complete 14:02:43 455c02918c45: Pull complete 14:02:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:02:43 Status: Downloaded newer image for alpine:3.14 14:02:43 ---> ac73e934f311 14:02:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 14:02:43 ---> Running in ca8ff7152112 14:02:43 Removing intermediate container ca8ff7152112 14:02:43 ---> d1527d6f7998 14:02:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 14:02:43 ---> Running in fabe62bb11e8 14:02:43 Removing intermediate container fabe62bb11e8 14:02:43 ---> 9e0cadcf74e6 14:02:43 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:02:43 ---> Running in 64a8b2aefdd0 14:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:02:43 (1/6) Installing dumb-init (1.2.5-r1) 14:02:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:02:43 (3/6) Installing libsodium (1.0.18-r0) 14:02:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:02:43 (5/6) Installing libzmq (4.3.4-r0) 14:02:43 (6/6) Installing zeromq (4.3.4-r0) 14:02:43 Executing busybox-1.33.1-r7.trigger 14:02:43 OK: 8 MiB in 20 packages 14:02:43 Removing intermediate container 64a8b2aefdd0 14:02:43 ---> fa39ddb6a67c 14:02:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 14:02:43 ---> e996553186e9 14:02:43 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 14:02:43 ---> cb4e35548e12 14:02:43 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 14:02:43 ---> 70cf9ea26945 14:02:43 Step 20/25 : EXPOSE 59986 14:02:43 ---> Running in b9f77c64badd 14:02:43 Removing intermediate container b9f77c64badd 14:02:43 ---> 4d02cc8478d5 14:02:43 Step 21/25 : ENTRYPOINT ["/device-rest"] 14:02:43 ---> Running in 02abe57bdbe1 14:02:43 Removing intermediate container 02abe57bdbe1 14:02:43 ---> 74bac767be6f 14:02:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 14:02:43 ---> Running in c8aac519d4bf 14:02:43 Removing intermediate container c8aac519d4bf 14:02:43 ---> 0908a2e5e082 14:02:43 Step 23/25 : LABEL arch=arm64 14:02:43 ---> Running in 6d31a10601aa 14:02:43 Removing intermediate container 6d31a10601aa 14:02:43 ---> ff935059b7dc 14:02:43 Step 24/25 : LABEL git_sha=496835d219091b656bc868f0a1a76422ee3d7f65 14:02:43 ---> Running in 60327a4f8bc8 14:02:43 Removing intermediate container 60327a4f8bc8 14:02:43 ---> 26c68d59211b 14:02:43 Step 25/25 : LABEL version=0.0.0 14:02:43 ---> Running in 17a0475d123c 14:02:43 Removing intermediate container 17a0475d123c 14:02:43 ---> faedf052cd0e 14:02:43 [Warning] One or more build-args [ARCH] were not consumed 14:02:43 Successfully built faedf052cd0e 14:02:43 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:02:43 14:02:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:02:44 arm64: Pulling from edgex-lftools-log-publisher 14:02:44 8998bd30e6a1: Pulling fs layer 14:02:44 04944245beec: Pulling fs layer 14:02:44 699f458cf7ca: Pulling fs layer 14:02:44 765212b225bb: Pulling fs layer 14:02:44 f23df028b6ca: Pulling fs layer 14:02:44 d65c8cfc05b1: Pulling fs layer 14:02:44 2437ff75d9bd: Pulling fs layer 14:02:44 f23df028b6ca: Waiting 14:02:44 d65c8cfc05b1: Waiting 14:02:44 2437ff75d9bd: Waiting 14:02:44 765212b225bb: Waiting 14:02:44 04944245beec: Verifying Checksum 14:02:44 04944245beec: Download complete 14:02:44 765212b225bb: Download complete 14:02:44 f23df028b6ca: Download complete 14:02:44 d65c8cfc05b1: Verifying Checksum 14:02:44 d65c8cfc05b1: Download complete 14:02:44 699f458cf7ca: Verifying Checksum 14:02:44 699f458cf7ca: Download complete 14:02:44 8998bd30e6a1: Download complete 14:02:47 2437ff75d9bd: Verifying Checksum 14:02:47 2437ff75d9bd: Download complete 14:02:48 8998bd30e6a1: Pull complete 14:02:49 04944245beec: Pull complete 14:02:50 699f458cf7ca: Pull complete 14:02:51 765212b225bb: Pull complete 14:02:52 f23df028b6ca: Pull complete 14:02:52 d65c8cfc05b1: Pull complete 14:03:07 2437ff75d9bd: Pull complete 14:03:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:03:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:07 prd-ubuntu20.04-docker-arm64-4c-16g-16342 does not seem to be running inside a container 14:03:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:03:10 $ docker top 0714e892f157a41ff2b66c60fdd6c433c521b0bd9b3cd6720f1fa7565be43f76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:10 ---> job-cost.sh 14:03:10 lf-activate-venv: SKIPPING 14:03:10 INFO: No Stack... 14:03:11 INFO: Retrieving Pricing Info for: v3-standard-4 14:03:12 INFO: Archiving Costs [Pipeline] sh 14:03:12 + cat /w/workspace/device-rest-go/2/archives/cost.csv 14:03:12 + cut -d, -f6 [Pipeline] lock 14:03:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] 14:03:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] did not exist. Created. 14:03:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:03:13 /w/workspace/device-rest-go/2@tmp/durable-d0eedfb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:03:14 + echo total: 0.10999999940395355 [Pipeline] stash 14:03:14 Warning: overwriting stash ‘stack-cost’ 14:03:14 Stashed 1 file(s) [Pipeline] } 14:03:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:03:14 $ docker stop --time=1 0714e892f157a41ff2b66c60fdd6c433c521b0bd9b3cd6720f1fa7565be43f76 14:03:15 $ docker rm -f 0714e892f157a41ff2b66c60fdd6c433c521b0bd9b3cd6720f1fa7565be43f76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:03:16 provisioning config files... 14:03:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config4692122688463069391tmp [Pipeline] { [Pipeline] sh 14:03:16 + set +x 14:03:16 + curl -s https://codecov.io/bash 14:03:16 + bash -s -- 14:03:16 14:03:16 _____ _ 14:03:16 / ____| | | 14:03:16 | | ___ __| | ___ ___ _____ __ 14:03:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:03:16 | |___| (_) | (_| | __/ (_| (_) \ V / 14:03:16 \_____\___/ \__,_|\___|\___\___/ \_/ 14:03:16 Bash-1.0.6 14:03:16 14:03:16 14:03:16 ==> git version 2.25.1 found 14:03:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 14:03:16 Release-Date: 2020-01-08 14:03:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:03:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:03:16 ==> Jenkins CI detected. 14:03:16 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 14:03:16 project root: . 14:03:16 --> token set from env 14:03:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:03:16 ==> Running gcov in . (disable via -X gcov) 14:03:16 ==> Python coveragepy not found 14:03:16 ==> Searching for coverage reports in: 14:03:16 + . 14:03:16 -> Found 1 reports 14:03:16 ==> Detecting git/mercurial file structure 14:03:16 ==> Reading reports 14:03:16 + ./coverage.out bytes=9355 14:03:16 ==> Appending adjustments 14:03:16 https://docs.codecov.io/docs/fixing-reports 14:03:17 + Found adjustments 14:03:17 ==> Gzipping contents 14:03:17 4.0K /tmp/codecov.WI9TAC.gz 14:03:17 ==> Uploading reports 14:03:17 url: https://codecov.io 14:03:17 query: branch=PR-202&commit=496835d219091b656bc868f0a1a76422ee3d7f65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= 14:03:17 -> Pinging Codecov 14:03:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-202&commit=496835d219091b656bc868f0a1a76422ee3d7f65&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= 14:03:17 -> Uploading to 14:03:17 https://storage.googleapis.com/codecov/v4/raw/2022-06-29/4E5D53B4F1F92C436F7061BF334D961C/496835d219091b656bc868f0a1a76422ee3d7f65/9aefcad0-a18c-4a45-828f-1243c3a3c6eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T140317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af1c8d9fe576fa40ba7597a43bdef4be2f231b107e811195aea9f7e713da0cbd 14:03:17 % Total % Received % Xferd Average Speed Time Time Time Current 14:03:17 Dload Upload Total Spent Left Speed 14:03:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1787 0 0 100 1787 0 8273 --:--:-- --:--:-- --:--:-- 8273 14:03:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/496835d219091b656bc868f0a1a76422ee3d7f65 [Pipeline] } 14:03:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:03:18 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] 14:03:18 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives 14:03:18 total 16 14:03:18 drwxr-xr-x 3 root root 4096 Jun 29 13:56 . 14:03:18 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 13:56 .. 14:03:18 drwxr-xr-x 2 root root 4096 Jun 29 13:56 cost 14:03:18 -rw-r--r-- 1 root root 85 Jun 29 13:56 cost.csv 14:03:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives 14:03:18 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives 14:03:18 total 16 14:03:18 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 13:56 . 14:03:18 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 13:56 .. 14:03:18 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 13:56 cost 14:03:18 -rw-r--r-- 1 jenkins jenkins 85 Jun 29 13:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:03:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:03:19 ---> package-listing.sh 14:03:19 ++ facter osfamily 14:03:19 ++ tr '[:upper:]' '[:lower:]' 14:03:19 + OS_FAMILY=debian 14:03:19 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 14:03:19 + START_PACKAGES=/tmp/packages_start.txt 14:03:19 + END_PACKAGES=/tmp/packages_end.txt 14:03:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:03:19 + PACKAGES=/tmp/packages_start.txt 14:03:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' 14:03:19 + PACKAGES=/tmp/packages_end.txt 14:03:19 + case "${OS_FAMILY}" in 14:03:19 + dpkg -l 14:03:19 + grep '^ii' 14:03:19 + '[' -f /tmp/packages_start.txt ']' 14:03:19 + '[' -f /tmp/packages_end.txt ']' 14:03:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:03:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' 14:03:19 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ 14:03:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo 14:03:19 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:03:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:03:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:03:20 prd-ubuntu20.04-docker-8c-8g-16341 does not seem to be running inside a container 14:03:20 $ 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-202/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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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 14:03:20 $ docker top 16dc7dbf32502a0263281d27363ebfef760f38fa31ef209c026b82d58c4ef443 -eo pid,comm [Pipeline] { [Pipeline] sh 14:03:21 + touch /tmp/pre-build-complete [Pipeline] sh 14:03:21 + mkdir -p /var/log/sysstat [Pipeline] sh 14:03:21 + ls /var/log/sa-host 14:03:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:03:21 provisioning config files... 14:03:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config684376740733562672tmp [Pipeline] { [Pipeline] echo 14:03:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:03:22 ---> create-netrc.sh [Pipeline] } 14:03:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:03:22 ---> python-tools-install.sh [Pipeline] echo 14:03:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:03:22 ---> sudo-logs.sh 14:03:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:03:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:03:23 ---> job-cost.sh 14:03:23 lf-activate-venv: SKIPPING 14:03:23 DEBUG: total: 0.2199999988079071 14:03:23 INFO: Retrieving Stack Cost... 14:03:23 INFO: Retrieving Pricing Info for: v3-standard-8 14:03:24 INFO: Archiving Costs [Pipeline] echo 14:03:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:03:24 ---> logs-deploy.sh 14:03:24 lf-activate-venv: SKIPPING 14:03:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/2 14:03:24 INFO: archiving workspace using pattern(s): 14:03:25 Archives upload complete. 14:03:25 INFO: archiving logs to Nexus