Pull request #204 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae5d4addc5192118c6d8030eceebce9039fedc35+deaabcb9638c408d38a62ca07687bca64c62376f (e50d480078f3ef490f6c71ece9c63a33c97e7c00) 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-ssh861588559125526795.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-ssh14192467355057498094.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-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16400304387266528748.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-ssh16378196862628421714.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-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17122976026393871177.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17135 in /w/workspace/gexfoundry_device-rest-go_PR-204 [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-204 # 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 deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit ae5d4addc5192118c6d8030eceebce9039fedc35 Merge succeeded, producing ae5d4addc5192118c6d8030eceebce9039fedc35 Checking out Revision ae5d4addc5192118c6d8030eceebce9039fedc35 (PR-204) > 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/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # 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 deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:34:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk e3f3354419243f8059a7090215226b4496d03362 # timeout=10 10:34:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:34:10 ========================================================= 10:34:10 EdgeX Global Pipelines Version Info 10:34:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:34:10 ------------------- 10:34:10 stable info: 10:34:10 ------------------- 10:34:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:34:10 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 10:34:10 Message: update stable to v1.0.234 10:34:11 ------------------- 10:34:11 experimental info: 10:34:11 ------------------- 10:34:11 Commited By: **** collab-it+edgex@linuxfoundation.org 10:34:11 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 10:34:11 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:34:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae5d4ad [Pipeline] echo 10:34:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:34:12 provisioning config files... 10:34:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config1484377092793694558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> docker-login.sh 10:34:12 nexus3.edgexfoundry.org:10001 10:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:12 Configure a credential helper to remove this warning. See 10:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:12 10:34:12 Login Succeeded 10:34:12 nexus3.edgexfoundry.org:10002 10:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:13 Configure a credential helper to remove this warning. See 10:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:13 10:34:13 Login Succeeded 10:34:13 nexus3.edgexfoundry.org:10003 10:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:13 Configure a credential helper to remove this warning. See 10:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:13 10:34:13 Login Succeeded 10:34:13 nexus3.edgexfoundry.org:10004 10:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:13 Configure a credential helper to remove this warning. See 10:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:13 10:34:13 Login Succeeded 10:34:13 docker.io 10:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:13 Configure a credential helper to remove this warning. See 10:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:13 10:34:13 Login Succeeded 10:34:13 ---> docker-login.sh ends [Pipeline] } 10:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:34:13 + git rev-list -1 --merges ae5d4addc5192118c6d8030eceebce9039fedc35~1..ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo 10:34:13 -----------> git rev-list -1 --merges ae5d4addc5192118c6d8030eceebce9039fedc35~1..ae5d4addc5192118c6d8030eceebce9039fedc35 ae5d4addc5192118c6d8030eceebce9039fedc35 [false] [Pipeline] sh 10:34:14 + git log --format=format:%s -1 ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo 10:34:14 ========================================================= 10:34:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:34:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:34:14 + git log --format=format:%s -1 ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] echo 10:34:14 [semverPrep] GIT_COMMIT: ae5d4addc5192118c6d8030eceebce9039fedc35, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo 10:34:14 [semverPrep] This is not a build commit. [Pipeline] sh 10:34:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:34:14 + grep -v github /etc/ssh/ssh_known_hosts 10:34:14 + [ -e /tmp/ssh_known_hosts ] 10:34:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:34:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:34:14 + sudo tee -a /etc/ssh/ssh_known_hosts 10:34:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:15 10:34:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:15 0.1.4: Pulling from edgex-devops/py-git-semver 10:34:15 42c077c10790: Pulling fs layer 10:34:15 f63e77b7563a: Pulling fs layer 10:34:15 bd5fdadae976: Pulling fs layer 10:34:15 205491f53016: Pulling fs layer 10:34:15 df18705c85c3: Pulling fs layer 10:34:15 bdb3f477010e: Pulling fs layer 10:34:15 c8a8fc8e1c8f: Pulling fs layer 10:34:15 2c6e9b1d212d: Pulling fs layer 10:34:15 bdb8f0575790: Pulling fs layer 10:34:15 386e3cb2ff24: Pulling fs layer 10:34:15 2343380bae48: Pulling fs layer 10:34:15 c8a8fc8e1c8f: Waiting 10:34:15 2c6e9b1d212d: Waiting 10:34:15 bdb8f0575790: Waiting 10:34:15 386e3cb2ff24: Waiting 10:34:15 2343380bae48: Waiting 10:34:15 205491f53016: Waiting 10:34:15 df18705c85c3: Waiting 10:34:15 bdb3f477010e: Waiting 10:34:15 f63e77b7563a: Download complete 10:34:15 205491f53016: Verifying Checksum 10:34:15 205491f53016: Download complete 10:34:15 df18705c85c3: Verifying Checksum 10:34:15 df18705c85c3: Download complete 10:34:15 bdb3f477010e: Verifying Checksum 10:34:15 bdb3f477010e: Download complete 10:34:15 bd5fdadae976: Verifying Checksum 10:34:15 bd5fdadae976: Download complete 10:34:15 bdb8f0575790: Download complete 10:34:15 386e3cb2ff24: Verifying Checksum 10:34:15 386e3cb2ff24: Download complete 10:34:15 2343380bae48: Verifying Checksum 10:34:15 2343380bae48: Download complete 10:34:15 42c077c10790: Verifying Checksum 10:34:15 42c077c10790: Download complete 10:34:16 c8a8fc8e1c8f: Verifying Checksum 10:34:16 c8a8fc8e1c8f: Download complete 10:34:17 42c077c10790: Pull complete 10:34:17 f63e77b7563a: Pull complete 10:34:17 bd5fdadae976: Pull complete 10:34:17 205491f53016: Pull complete 10:34:18 df18705c85c3: Pull complete 10:34:18 bdb3f477010e: Pull complete 10:34:20 c8a8fc8e1c8f: Pull complete 10:34:20 2c6e9b1d212d: Pull complete 10:34:20 bdb8f0575790: Pull complete 10:34:20 386e3cb2ff24: Pull complete 10:34:20 2343380bae48: Pull complete 10:34:20 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 10:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:34:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:20 prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container 10:34:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:34:22 $ docker top a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 -eo pid,comm 10:34:22 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). 10:34:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:34:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:34:22 [ssh-agent] Looking for ssh-agent implementation... 10:34:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:34:22 $ docker exec a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent 10:34:22 SSH_AUTH_SOCK=/tmp/ssh-C3P2c4VNCcrz/agent.36 10:34:22 SSH_AGENT_PID=42 10:34:22 Running ssh-add (command line suppressed) 10:34:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_4668227460991366938.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_4668227460991366938.key) 10:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:34:23 + git tag --points-at HEAD [Pipeline] } 10:34:23 $ docker exec --env ******** --env ******** a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent -k 10:34:23 unset SSH_AUTH_SOCK; 10:34:23 unset SSH_AGENT_PID; 10:34:23 echo Agent pid 42 killed; 10:34:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:34:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:34:23 [ssh-agent] Looking for ssh-agent implementation... 10:34:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:34:23 $ docker exec a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent 10:34:23 SSH_AUTH_SOCK=/tmp/ssh-gn6gyg8TJD5U/agent.74 10:34:23 SSH_AGENT_PID=80 10:34:23 Running ssh-add (command line suppressed) 10:34:23 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_6810838375783021744.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_6810838375783021744.key) 10:34:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:34:24 + git semver init 10:34:24 2022-07-07 10:34:24,332 [run_init] DEBUG init version:0.0.0 force:False 10:34:24 2022-07-07 10:34:24,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver 10:34:24 2022-07-07 10:34:24,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-204/.semver 10:34:24 2022-07-07 10:34:24,334 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-204/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204, universal_newlines=False, shell=None, istream=None) 10:34:25 2022-07-07 10:34:25,227 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.git/info/exclude 10:34:25 2022-07-07 10:34:25,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 with force:False 10:34:25 2022-07-07 10:34:25,228 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 10:34:25 2022-07-07 10:34:25,232 [execute] INFO git cat-file --batch-check 10:34:25 2022-07-07 10:34:25,232 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) 10:34:25 2022-07-07 10:34:25,239 [execute] INFO git cat-file --batch 10:34:25 2022-07-07 10:34:25,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) 10:34:25 2022-07-07 10:34:25,244 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 10:34:25 0.0.0 [Pipeline] } 10:34:25 $ docker exec --env ******** --env ******** a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 ssh-agent -k 10:34:25 unset SSH_AUTH_SOCK; 10:34:25 unset SSH_AGENT_PID; 10:34:25 echo Agent pid 80 killed; 10:34:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:34:25 + git semver [Pipeline] } 10:34:26 $ docker stop --time=1 a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 10:34:27 $ docker rm -f a8ede8ddfb39e66e8104deb9d78c13d4abf1f667b3ede714cc8b84e6fae28441 [Pipeline] // withDockerContainer [Pipeline] sh 10:34:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:34:28 Stashed 1 file(s) [Pipeline] echo 10:34:28 [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 10:34:28 provisioning config files... 10:34:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config5813593040651648389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:34:28 ---> docker-login.sh 10:34:28 nexus3.edgexfoundry.org:10001 10:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:28 Configure a credential helper to remove this warning. See 10:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:28 10:34:28 Login Succeeded 10:34:28 nexus3.edgexfoundry.org:10002 10:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:28 Configure a credential helper to remove this warning. See 10:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:28 10:34:28 Login Succeeded 10:34:28 nexus3.edgexfoundry.org:10003 10:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:28 Configure a credential helper to remove this warning. See 10:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:28 10:34:28 Login Succeeded 10:34:28 nexus3.edgexfoundry.org:10004 10:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:28 Configure a credential helper to remove this warning. See 10:34:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:28 10:34:28 Login Succeeded 10:34:28 docker.io 10:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:34:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:34:29 Configure a credential helper to remove this warning. See 10:34:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:34:29 10:34:29 Login Succeeded 10:34:29 ---> docker-login.sh ends [Pipeline] } 10:34:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:34:29 ========================================================= 10:34:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:34:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:29 + 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 . 10:34:29 Sending build context to Docker daemon 10.68MB 10:34:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:34:29 Step 2/12 : FROM ${BASE} AS builder 10:34:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:34:29 59bf1c3509f3: Pulling fs layer 10:34:29 666ba61612fd: Pulling fs layer 10:34:29 8ed8ca486205: Pulling fs layer 10:34:29 cc1cd167ecdc: Pulling fs layer 10:34:29 c516ae0d96e1: Pulling fs layer 10:34:29 684cea983483: Pulling fs layer 10:34:29 dd3240ac7de5: Pulling fs layer 10:34:29 b1e948a4e11c: Pulling fs layer 10:34:29 a8fd76ee1af6: Pulling fs layer 10:34:29 646ad004c059: Pulling fs layer 10:34:29 cc1cd167ecdc: Waiting 10:34:29 c516ae0d96e1: Waiting 10:34:29 a8fd76ee1af6: Waiting 10:34:29 684cea983483: Waiting 10:34:29 dd3240ac7de5: Waiting 10:34:29 646ad004c059: Waiting 10:34:29 b1e948a4e11c: Waiting 10:34:29 8ed8ca486205: Download complete 10:34:29 666ba61612fd: Download complete 10:34:29 c516ae0d96e1: Download complete 10:34:29 684cea983483: Verifying Checksum 10:34:29 684cea983483: Download complete 10:34:29 dd3240ac7de5: Verifying Checksum 10:34:29 dd3240ac7de5: Download complete 10:34:29 59bf1c3509f3: Verifying Checksum 10:34:29 59bf1c3509f3: Download complete 10:34:29 b1e948a4e11c: Verifying Checksum 10:34:29 b1e948a4e11c: Download complete 10:34:29 59bf1c3509f3: Pull complete 10:34:30 666ba61612fd: Pull complete 10:34:30 8ed8ca486205: Pull complete 10:34:30 646ad004c059: Verifying Checksum 10:34:30 646ad004c059: Download complete 10:34:30 a8fd76ee1af6: Verifying Checksum 10:34:30 a8fd76ee1af6: Download complete 10:34:30 cc1cd167ecdc: Verifying Checksum 10:34:30 cc1cd167ecdc: Download complete 10:34:34 cc1cd167ecdc: Pull complete 10:34:34 c516ae0d96e1: Pull complete 10:34:34 684cea983483: Pull complete 10:34:34 dd3240ac7de5: Pull complete 10:34:34 b1e948a4e11c: Pull complete 10:34:36 a8fd76ee1af6: Pull complete 10:34:37 646ad004c059: Pull complete 10:34:37 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 10:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:34:37 ---> 8f69c11f6b0c 10:34:37 Step 3/12 : ARG MAKE='make build' 10:34:39 ---> Running in e1275742efe1 10:34:39 Removing intermediate container e1275742efe1 10:34:39 ---> 9d5854272502 10:34:39 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:34:39 ---> Running in 580ff40226cf 10:34:39 Removing intermediate container 580ff40226cf 10:34:39 ---> 85e396723e89 10:34:39 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:34:39 ---> Running in 31fe76a72d28 10:34:39 Removing intermediate container 31fe76a72d28 10:34:39 ---> 4643f5110253 10:34:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:34:39 ---> Running in 97ede913e39e 10:34:40 Removing intermediate container 97ede913e39e 10:34:40 ---> 494fea8e0a98 10:34:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:34:40 ---> Running in 0614fe50cb1c 10:34:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:34:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:34:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:34:41 (2/4) Installing libedit (20210910.3.1-r0) 10:34:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:34:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:34:42 Executing busybox-1.34.1-r3.trigger 10:34:42 OK: 224 MiB in 56 packages 10:34:42 Removing intermediate container 0614fe50cb1c 10:34:42 ---> 1c8aea8fc37f 10:34:42 Step 8/12 : WORKDIR /device-rest-go 10:34:42 ---> Running in ea6b74d0326a 10:34:42 Removing intermediate container ea6b74d0326a 10:34:42 ---> 9ce8c0ac5824 10:34:42 Step 9/12 : COPY go.mod vendor* ./ 10:34:42 ---> bfcaf66999b3 10:34:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:34:42 ---> Running in f5916901bb07 10:34:43 Still waiting to schedule task 10:34:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17134’ 10:34:57 Removing intermediate container f5916901bb07 10:34:57 ---> 69fa3200134c 10:34:57 Step 11/12 : COPY . . 10:34:58 ---> 5fb5ed5de2ea 10:34:58 Step 12/12 : RUN $MAKE 10:34:58 ---> Running in 55edef86eb4f 10:34:58 noop 10:34:58 Removing intermediate container 55edef86eb4f 10:34:58 ---> f765c3e0e940 10:34:58 Successfully built f765c3e0e940 10:34:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:34:59 + docker inspect -f . ci-base-image-x86_64 10:34:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:34:59 prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container 10:34:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:34:59 $ docker top 0767b8399e8a08082306a248166b2622941fbc57098826905fbca0c83fb4ca3a -eo pid,comm [Pipeline] { [Pipeline] sh 10:35:00 + go version 10:35:00 go version go1.17.7 linux/amd64 [Pipeline] } 10:35:00 $ docker stop --time=1 0767b8399e8a08082306a248166b2622941fbc57098826905fbca0c83fb4ca3a 10:35:01 $ docker rm -f 0767b8399e8a08082306a248166b2622941fbc57098826905fbca0c83fb4ca3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:01 + docker inspect -f . ci-base-image-x86_64 10:35:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:35:01 prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container 10:35:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:35:02 $ docker top 1abf867ef2263b280dc7a2f5fc4850d9e60ae62caad110db74a1e4b587a63e45 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:35:02 + make test 10:35:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:35:03 ? github.com/edgexfoundry/device-rest-go [no test files] 10:35:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:35:13 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 10:35:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:35:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:35:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:35:23 ./bin/test-attribution-txt.sh [Pipeline] echo 10:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:35:24 $ docker stop --time=1 1abf867ef2263b280dc7a2f5fc4850d9e60ae62caad110db74a1e4b587a63e45 10:35:25 $ docker rm -f 1abf867ef2263b280dc7a2f5fc4850d9e60ae62caad110db74a1e4b587a63e45 [Pipeline] // withDockerContainer [Pipeline] sh 10:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:35:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:35:27 + ls -al . 10:35:27 total 172 10:35:27 drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 10:35 . 10:35:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:34 .. 10:35:27 -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:34 .dockerignore 10:35:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:34 .git 10:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:34 .github 10:35:27 -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:34 .gitignore 10:35:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:34 .golangci.yml 10:35:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:34 .semver 10:35:27 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:34 Attribution.txt 10:35:27 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:34 CHANGELOG.md 10:35:27 -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:34 Dockerfile 10:35:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:34 GOVERNANCE.md 10:35:27 -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:34 Jenkinsfile 10:35:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:34 LICENSE 10:35:27 -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:34 Makefile 10:35:27 -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:34 OWNERS.md 10:35:27 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:34 README.md 10:35:27 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:34 VERSION 10:35:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:34 bin 10:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:34 cmd 10:35:27 -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:35 coverage.out 10:35:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:34 driver 10:35:27 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:34 go.mod 10:35:27 -rw-rw-r-- 1 jenkins jenkins 36371 Jul 7 10:34 go.sum 10:35:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:34 snap 10:35:27 -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:27 + 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=ae5d4addc5192118c6d8030eceebce9039fedc35 --label arch=amd64 --label version=0.0.0 . 10:35:27 Sending build context to Docker daemon 10.69MB 10:35:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:35:27 Step 2/25 : FROM ${BASE} AS builder 10:35:27 ---> f765c3e0e940 10:35:27 Step 3/25 : ARG MAKE='make build' 10:35:27 ---> Running in 06ea7f60147e 10:35:27 Removing intermediate container 06ea7f60147e 10:35:27 ---> ae86603163dc 10:35:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:35:27 ---> Running in 68fb5353aa0b 10:35:27 Removing intermediate container 68fb5353aa0b 10:35:27 ---> 7fee5c2c339b 10:35:27 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:35:27 ---> Running in d827d1f1fe19 10:35:27 Removing intermediate container d827d1f1fe19 10:35:27 ---> c83eca80bcc7 10:35:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:35:27 ---> Running in bb28e1a447c2 10:35:28 Removing intermediate container bb28e1a447c2 10:35:28 ---> 949884c6fc3c 10:35:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:35:28 ---> Running in 7ad2fe84b889 10:35:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:35:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:35:30 OK: 224 MiB in 56 packages 10:35:30 Removing intermediate container 7ad2fe84b889 10:35:30 ---> 0bc4f5c065e3 10:35:30 Step 8/25 : WORKDIR /device-rest-go 10:35:30 ---> Running in cae461f6ad75 10:35:30 Removing intermediate container cae461f6ad75 10:35:30 ---> 5b201e2ce885 10:35:30 Step 9/25 : COPY go.mod vendor* ./ 10:35:30 ---> 10d22f507bf1 10:35:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:35:30 ---> Running in 03ac26b8335e 10:35:31 Removing intermediate container 03ac26b8335e 10:35:31 ---> 0e93e770f882 10:35:31 Step 11/25 : COPY . . 10:35:31 ---> f76cf8a72672 10:35:31 Step 12/25 : RUN $MAKE 10:35:31 ---> Running in d26d3f0eda14 10:35:32 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 10:35:54 Removing intermediate container d26d3f0eda14 10:35:54 ---> 87a846af721b 10:35:54 Step 13/25 : FROM alpine:3.14 10:35:54 3.14: Pulling from library/alpine 10:35:54 8663204ce13b: Pulling fs layer 10:35:54 8663204ce13b: Verifying Checksum 10:35:54 8663204ce13b: Download complete 10:35:54 8663204ce13b: Pull complete 10:35:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:35:54 Status: Downloaded newer image for alpine:3.14 10:35:54 ---> e04c818066af 10:35:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:35:54 ---> Running in d86b2cc7fe5b 10:35:54 Removing intermediate container d86b2cc7fe5b 10:35:54 ---> 4398b6782306 10:35:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:35:54 ---> Running in c1c6698e5427 10:35:54 Removing intermediate container c1c6698e5427 10:35:54 ---> fe24e080f962 10:35:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:35:54 ---> Running in b0a132164030 10:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:35:54 (1/6) Installing dumb-init (1.2.5-r1) 10:35:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:35:54 (3/6) Installing libsodium (1.0.18-r0) 10:35:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:35:54 (5/6) Installing libzmq (4.3.4-r0) 10:35:54 (6/6) Installing zeromq (4.3.4-r0) 10:35:54 Executing busybox-1.33.1-r7.trigger 10:35:54 OK: 8 MiB in 20 packages 10:35:54 Removing intermediate container b0a132164030 10:35:54 ---> 8ed59aefcb6d 10:35:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:35:54 ---> 4d27d507867d 10:35:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:35:54 ---> 8ed28ab99da0 10:35:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:35:54 ---> a713b4af4ce2 10:35:54 Step 20/25 : EXPOSE 59986 10:35:54 ---> Running in 84fe92cabf15 10:35:55 Removing intermediate container 84fe92cabf15 10:35:55 ---> 3d5a8eb9b73d 10:35:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:35:55 ---> Running in cd413a2200b1 10:35:55 Removing intermediate container cd413a2200b1 10:35:55 ---> 09c16d88ad21 10:35:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:35:55 ---> Running in 1916d13e8b3a 10:35:55 Removing intermediate container 1916d13e8b3a 10:35:55 ---> 64aea2b1cd6f 10:35:55 Step 23/25 : LABEL arch=amd64 10:35:55 ---> Running in 4187dccd1e46 10:35:55 Removing intermediate container 4187dccd1e46 10:35:55 ---> c537a65d6bd6 10:35:55 Step 24/25 : LABEL git_sha=ae5d4addc5192118c6d8030eceebce9039fedc35 10:35:55 ---> Running in 079f18eeb0ea 10:35:55 Removing intermediate container 079f18eeb0ea 10:35:55 ---> e870f03025e9 10:35:55 Step 25/25 : LABEL version=0.0.0 10:35:55 ---> Running in 5dd023044f4d 10:35:55 Removing intermediate container 5dd023044f4d 10:35:55 ---> b4a2debb88a6 10:35:55 [Warning] One or more build-args [ARCH] were not consumed 10:35:55 Successfully built b4a2debb88a6 10:35:55 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 10:35:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:35:56 10:35:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:35:56 latest: Pulling from edgex-lftools-log-publisher 10:35:56 5eb5b503b376: Pulling fs layer 10:35:56 5c69ac0246d0: Pulling fs layer 10:35:56 ec43610c2a17: Pulling fs layer 10:35:56 3a2ae6a8a46f: Pulling fs layer 10:35:56 33b1e0a273af: Pulling fs layer 10:35:56 5d3b04190fa2: Pulling fs layer 10:35:56 2f39f015ded8: Pulling fs layer 10:35:56 33b1e0a273af: Waiting 10:35:56 5d3b04190fa2: Waiting 10:35:56 2f39f015ded8: Waiting 10:35:56 3a2ae6a8a46f: Waiting 10:35:56 5c69ac0246d0: Verifying Checksum 10:35:56 5c69ac0246d0: Download complete 10:35:56 33b1e0a273af: Verifying Checksum 10:35:56 33b1e0a273af: Download complete 10:35:56 5d3b04190fa2: Verifying Checksum 10:35:56 5d3b04190fa2: Download complete 10:35:56 ec43610c2a17: Download complete 10:35:56 5eb5b503b376: Verifying Checksum 10:35:56 5eb5b503b376: Download complete 10:35:57 2f39f015ded8: Download complete 10:35:58 5eb5b503b376: Pull complete 10:35:58 5c69ac0246d0: Pull complete 10:35:58 ec43610c2a17: Pull complete 10:35:58 3a2ae6a8a46f: Pull complete 10:35:59 33b1e0a273af: Pull complete 10:35:59 5d3b04190fa2: Pull complete 10:36:04 2f39f015ded8: Pull complete 10:36:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:36:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:36:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:36:04 prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container 10:36:04 $ 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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:36:06 $ docker top dcfbcfb9e0774b72cfad2623490927820a65ee7d92bf1a8265f27fc66c177e74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:36:07 ---> job-cost.sh 10:36:07 lf-activate-venv: SKIPPING 10:36:07 INFO: No Stack... 10:36:07 INFO: Retrieving Pricing Info for: v3-standard-8 10:36:07 INFO: Archiving Costs [Pipeline] sh 10:36:08 + cat /w/workspace/gexfoundry_device-rest-go_PR-204/archives/cost.csv 10:36:08 + cut -d, -f6 [Pipeline] lock 10:36:08 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] 10:36:08 Resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] did not exist. Created. 10:36:08 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:36:08 + echo total: 0.2199999988079071 [Pipeline] stash 10:36:08 Stashed 1 file(s) [Pipeline] } 10:36:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:36:08 $ docker stop --time=1 dcfbcfb9e0774b72cfad2623490927820a65ee7d92bf1a8265f27fc66c177e74 10:36:09 $ docker rm -f dcfbcfb9e0774b72cfad2623490927820a65ee7d92bf1a8265f27fc66c177e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:37:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17136 in /w/workspace/gexfoundry_device-rest-go_PR-204 [Pipeline] { [Pipeline] ws 10:37:24 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 10:37:24 The recommended git tool is: git 10:37:29 using credential edgex-jenkins-ssh 10:37:29 Cloning the remote Git repository 10:37:30 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 10:37:30 > git init /w/workspace/device-rest-go/3 # timeout=10 10:37:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:37:30 > git --version # timeout=10 10:37:30 > git --version # 'git version 2.25.1' 10:37:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:37:32 Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit ae5d4addc5192118c6d8030eceebce9039fedc35 10:37:32 Merge succeeded, producing ae5d4addc5192118c6d8030eceebce9039fedc35 10:37:32 Checking out Revision ae5d4addc5192118c6d8030eceebce9039fedc35 (PR-204) 10:37:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:37:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:37:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:37:32 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:37:32 > git config core.sparsecheckout # timeout=10 10:37:32 > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 10:37:32 > git remote # timeout=10 10:37:32 > git config --get remote.origin.url # timeout=10 10:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 10:37:32 > git merge deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 10:37:32 > git rev-parse HEAD^{commit} # timeout=10 10:37:32 > git config core.sparsecheckout # timeout=10 10:37:33 > git checkout -f ae5d4addc5192118c6d8030eceebce9039fedc35 # timeout=10 10:37:37 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:37:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:37:38 % Total % Received % Xferd Average Speed Time Time Time Current 10:37:38 Dload Upload Total Spent Left Speed 10:37:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh 10:37:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:37:39 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 10:37:39 10:37:39 { 10:37:39 "registry-mirrors": [ 10:37:39 "https://nexus3.edgexfoundry.org:10001" 10:37:39 ], 10:37:39 "bip": "10.250.0.254/24", 10:37:39 "hosts": [ 10:37:39 "tcp://0.0.0.0:5555", 10:37:39 "unix:///var/run/docker.sock" 10:37:39 ], 10:37:39 "mtu": 1458, 10:37:39 "selinux-enabled": true, 10:37:39 "seccomp-profile": "/etc/docker/seccomp.json" 10:37:39 } [Pipeline] sh 10:37:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:37:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:37:58 provisioning config files... 10:37:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6842179741074399244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:37:59 ---> docker-login.sh 10:37:59 nexus3.edgexfoundry.org:10001 10:37:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:00 Configure a credential helper to remove this warning. See 10:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:00 10:38:00 Login Succeeded 10:38:00 nexus3.edgexfoundry.org:10002 10:38:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:00 Configure a credential helper to remove this warning. See 10:38:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:00 10:38:00 Login Succeeded 10:38:00 nexus3.edgexfoundry.org:10003 10:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:01 Configure a credential helper to remove this warning. See 10:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:01 10:38:01 Login Succeeded 10:38:01 nexus3.edgexfoundry.org:10004 10:38:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:01 Configure a credential helper to remove this warning. See 10:38:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:01 10:38:01 Login Succeeded 10:38:01 docker.io 10:38:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:38:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:38:02 Configure a credential helper to remove this warning. See 10:38:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:38:02 10:38:02 Login Succeeded 10:38:02 ---> docker-login.sh ends [Pipeline] } 10:38:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:38:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:38:02 ========================================================= 10:38:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:38:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:38:03 + 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 . 10:38:03 Sending build context to Docker daemon 127kB 10:38:03 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:38:03 Step 2/12 : FROM ${BASE} AS builder 10:38:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:38:03 9b3977197b4f: Pulling fs layer 10:38:03 1a89e8eeedd5: Pulling fs layer 10:38:03 94645a83ff95: Pulling fs layer 10:38:03 e6fb740bc735: Pulling fs layer 10:38:03 3a77bd46dcc9: Pulling fs layer 10:38:03 355e64cbe906: Pulling fs layer 10:38:03 63ab81a10011: Pulling fs layer 10:38:03 555d1d1c4555: Pulling fs layer 10:38:03 7d9057610161: Pulling fs layer 10:38:03 355e64cbe906: Waiting 10:38:03 63ab81a10011: Waiting 10:38:03 555d1d1c4555: Waiting 10:38:03 7d9057610161: Waiting 10:38:03 e6fb740bc735: Waiting 10:38:03 3a77bd46dcc9: Waiting 10:38:03 94645a83ff95: Verifying Checksum 10:38:03 94645a83ff95: Download complete 10:38:03 1a89e8eeedd5: Download complete 10:38:03 3a77bd46dcc9: Verifying Checksum 10:38:03 3a77bd46dcc9: Download complete 10:38:03 355e64cbe906: Download complete 10:38:03 9b3977197b4f: Verifying Checksum 10:38:03 9b3977197b4f: Download complete 10:38:03 63ab81a10011: Verifying Checksum 10:38:03 63ab81a10011: Download complete 10:38:04 9b3977197b4f: Pull complete 10:38:04 7d9057610161: Verifying Checksum 10:38:04 7d9057610161: Download complete 10:38:05 1a89e8eeedd5: Pull complete 10:38:05 94645a83ff95: Pull complete 10:38:05 555d1d1c4555: Verifying Checksum 10:38:05 555d1d1c4555: Download complete 10:38:06 e6fb740bc735: Verifying Checksum 10:38:06 e6fb740bc735: Download complete 10:38:18 e6fb740bc735: Pull complete 10:38:18 3a77bd46dcc9: Pull complete 10:38:18 355e64cbe906: Pull complete 10:38:18 63ab81a10011: Pull complete 10:38:24 555d1d1c4555: Pull complete 10:38:25 7d9057610161: Pull complete 10:38:25 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 10:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:38:25 ---> 819e984ddca1 10:38:25 Step 3/12 : ARG MAKE='make build' 10:38:27 ---> Running in d8804406dd08 10:38:27 Removing intermediate container d8804406dd08 10:38:27 ---> b78c44bb951f 10:38:27 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:38:27 ---> Running in 36504693b2a8 10:38:27 Removing intermediate container 36504693b2a8 10:38:27 ---> 824a52d0ad4f 10:38:27 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:38:27 ---> Running in e9e2a588010b 10:38:28 Removing intermediate container e9e2a588010b 10:38:28 ---> 4348935a06e5 10:38:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:38:28 ---> Running in 5224b7ca71df 10:38:30 Removing intermediate container 5224b7ca71df 10:38:30 ---> 1df540df01ae 10:38:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:38:30 ---> Running in 3ec14ae74b50 10:38:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:38:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:38:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:38:33 (2/4) Installing libedit (20210910.3.1-r0) 10:38:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:38:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:38:33 Executing busybox-1.34.1-r3.trigger 10:38:33 OK: 224 MiB in 56 packages 10:38:34 Removing intermediate container 3ec14ae74b50 10:38:34 ---> 187fd65a8dc3 10:38:34 Step 8/12 : WORKDIR /device-rest-go 10:38:34 ---> Running in c492447410d3 10:38:35 Removing intermediate container c492447410d3 10:38:35 ---> 8e925c182cfc 10:38:35 Step 9/12 : COPY go.mod vendor* ./ 10:38:35 ---> 0ab8ee02dbd4 10:38:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:38:35 ---> Running in cbc4af2a4b75 10:39:22 Removing intermediate container cbc4af2a4b75 10:39:22 ---> ebd30bdfaceb 10:39:22 Step 11/12 : COPY . . 10:39:22 ---> 753abbd2c4f0 10:39:22 Step 12/12 : RUN $MAKE 10:39:22 ---> Running in 20d2b839aa87 10:39:22 noop 10:39:23 Removing intermediate container 20d2b839aa87 10:39:23 ---> 866e6ec55d98 10:39:23 Successfully built 866e6ec55d98 10:39:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:23 + docker inspect -f . ci-base-image-arm64 10:39:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:23 prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container 10:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:39:25 $ docker top ed5549a26ba2b34c71b0d5566abfdade5eac0b843a2dcff4273bef2433471c50 -eo pid,comm [Pipeline] { [Pipeline] sh 10:39:26 + go version 10:39:26 go version go1.17.7 linux/arm64 [Pipeline] } 10:39:26 $ docker stop --time=1 ed5549a26ba2b34c71b0d5566abfdade5eac0b843a2dcff4273bef2433471c50 10:39:27 $ docker rm -f ed5549a26ba2b34c71b0d5566abfdade5eac0b843a2dcff4273bef2433471c50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:28 + docker inspect -f . ci-base-image-arm64 10:39:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:39:28 prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container 10:39:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:39:29 $ docker top 444d44834efd95b957bd12d088199bd1bda378a00936696a1f8efa3ca7555d70 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:39:30 + make test 10:39:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:39:32 ? github.com/edgexfoundry/device-rest-go [no test files] 10:40:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:40:54 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 10:40:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:40:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:41:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:41:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:41:20 ./bin/test-attribution-txt.sh [Pipeline] echo 10:41:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:41:22 $ docker stop --time=1 444d44834efd95b957bd12d088199bd1bda378a00936696a1f8efa3ca7555d70 10:41:24 $ docker rm -f 444d44834efd95b957bd12d088199bd1bda378a00936696a1f8efa3ca7555d70 [Pipeline] // withDockerContainer [Pipeline] sh 10:41:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:41:25 Warning: overwriting stash ‘coverage-report’ 10:41:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:41:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:41:27 + ls -al . 10:41:27 total 168 10:41:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:41 . 10:41:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:37 .. 10:41:27 -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 10:37 .dockerignore 10:41:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 10:37 .git 10:41:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:37 .github 10:41:27 -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 10:37 .gitignore 10:41:27 -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 10:37 .golangci.yml 10:41:27 -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 10:37 Attribution.txt 10:41:27 -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 10:37 CHANGELOG.md 10:41:27 -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 10:37 Dockerfile 10:41:27 -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 10:37 GOVERNANCE.md 10:41:27 -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 10:37 Jenkinsfile 10:41:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 10:37 LICENSE 10:41:27 -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 10:37 Makefile 10:41:27 -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 10:37 OWNERS.md 10:41:27 -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 10:37 README.md 10:41:27 -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 10:34 VERSION 10:41:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:37 bin 10:41:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 10:37 cmd 10:41:27 -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 10:40 coverage.out 10:41:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 10:37 driver 10:41:27 -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 10:37 go.mod 10:41:27 -rw-rw-r-- 1 jenkins jenkins 36371 Jul 7 10:37 go.sum 10:41:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 10:37 snap 10:41:27 -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 10:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:41:27 + 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=ae5d4addc5192118c6d8030eceebce9039fedc35 --label arch=arm64 --label version=0.0.0 . 10:41:27 Sending build context to Docker daemon 137.2kB 10:41:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:41:27 Step 2/25 : FROM ${BASE} AS builder 10:41:27 ---> 866e6ec55d98 10:41:27 Step 3/25 : ARG MAKE='make build' 10:41:27 ---> Running in a4f6823c699b 10:41:28 Removing intermediate container a4f6823c699b 10:41:28 ---> 1ce19ff2c71c 10:41:28 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:41:28 ---> Running in f74bcf1f9b2e 10:41:28 Removing intermediate container f74bcf1f9b2e 10:41:28 ---> dc74bb84534d 10:41:28 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:41:28 ---> Running in a63a355030cf 10:41:29 Removing intermediate container a63a355030cf 10:41:29 ---> 24700c1c4842 10:41:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:41:29 ---> Running in f9a4f92b9af6 10:41:30 Removing intermediate container f9a4f92b9af6 10:41:30 ---> 9ff194a65232 10:41:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:41:31 ---> Running in f9f5beb81122 10:41:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:41:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:41:33 OK: 224 MiB in 56 packages 10:41:34 Removing intermediate container f9f5beb81122 10:41:34 ---> 03c8276587b7 10:41:34 Step 8/25 : WORKDIR /device-rest-go 10:41:34 ---> Running in 9c224cfcf8eb 10:41:35 Removing intermediate container 9c224cfcf8eb 10:41:35 ---> d1a26c7be5ef 10:41:35 Step 9/25 : COPY go.mod vendor* ./ 10:41:35 ---> 0374f9d313b8 10:41:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:41:35 ---> Running in 1aeaf5ede14c 10:41:37 Removing intermediate container 1aeaf5ede14c 10:41:37 ---> 2493d2485864 10:41:37 Step 11/25 : COPY . . 10:41:38 ---> a9de57f37ac5 10:41:38 Step 12/25 : RUN $MAKE 10:41:38 ---> Running in 7816cd5ff4b6 10:41:39 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 10:43:46 Removing intermediate container 7816cd5ff4b6 10:43:46 ---> f97434c14bc8 10:43:46 Step 13/25 : FROM alpine:3.14 10:43:46 3.14: Pulling from library/alpine 10:43:46 455c02918c45: Pulling fs layer 10:43:46 455c02918c45: Verifying Checksum 10:43:46 455c02918c45: Download complete 10:43:46 455c02918c45: Pull complete 10:43:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:43:46 Status: Downloaded newer image for alpine:3.14 10:43:46 ---> ac73e934f311 10:43:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:43:46 ---> Running in 3f0c94a283aa 10:43:46 Removing intermediate container 3f0c94a283aa 10:43:46 ---> d59bdc610c32 10:43:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:43:46 ---> Running in 9cc661fb59a8 10:43:46 Removing intermediate container 9cc661fb59a8 10:43:46 ---> 2a9f53e72a89 10:43:46 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:43:46 ---> Running in 3a98573a2e5d 10:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:43:46 (1/6) Installing dumb-init (1.2.5-r1) 10:43:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:43:46 (3/6) Installing libsodium (1.0.18-r0) 10:43:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:43:46 (5/6) Installing libzmq (4.3.4-r0) 10:43:46 (6/6) Installing zeromq (4.3.4-r0) 10:43:46 Executing busybox-1.33.1-r7.trigger 10:43:46 OK: 8 MiB in 20 packages 10:43:46 Removing intermediate container 3a98573a2e5d 10:43:46 ---> 02356dd6d67e 10:43:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:43:46 ---> 2706635ca3de 10:43:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:43:46 ---> 94a69764540a 10:43:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:43:46 ---> 7b1ffd5401a7 10:43:46 Step 20/25 : EXPOSE 59986 10:43:46 ---> Running in 2fcf0f917a34 10:43:46 Removing intermediate container 2fcf0f917a34 10:43:46 ---> f497fee10dea 10:43:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:43:46 ---> Running in c04bdd7b16c1 10:43:46 Removing intermediate container c04bdd7b16c1 10:43:46 ---> b2ffafa90a8d 10:43:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:43:46 ---> Running in f5bb1f778ceb 10:43:46 Removing intermediate container f5bb1f778ceb 10:43:46 ---> 18b21f337496 10:43:46 Step 23/25 : LABEL arch=arm64 10:43:46 ---> Running in 6c6f98e04a74 10:43:46 Removing intermediate container 6c6f98e04a74 10:43:46 ---> e07f16a5aa4b 10:43:46 Step 24/25 : LABEL git_sha=ae5d4addc5192118c6d8030eceebce9039fedc35 10:43:46 ---> Running in 6b152f575d6f 10:43:46 Removing intermediate container 6b152f575d6f 10:43:46 ---> 99c11110eed4 10:43:46 Step 25/25 : LABEL version=0.0.0 10:43:46 ---> Running in 7ac7600f2543 10:43:46 Removing intermediate container 7ac7600f2543 10:43:46 ---> 4933ed8663ea 10:43:46 [Warning] One or more build-args [ARCH] were not consumed 10:43:46 Successfully built 4933ed8663ea 10:43:46 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 10:43:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:43:46 10:43:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:43:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:43:47 arm64: Pulling from edgex-lftools-log-publisher 10:43:47 8998bd30e6a1: Pulling fs layer 10:43:47 04944245beec: Pulling fs layer 10:43:47 699f458cf7ca: Pulling fs layer 10:43:47 765212b225bb: Pulling fs layer 10:43:47 f23df028b6ca: Pulling fs layer 10:43:47 d65c8cfc05b1: Pulling fs layer 10:43:47 2437ff75d9bd: Pulling fs layer 10:43:47 765212b225bb: Waiting 10:43:47 f23df028b6ca: Waiting 10:43:47 d65c8cfc05b1: Waiting 10:43:47 2437ff75d9bd: Waiting 10:43:47 04944245beec: Verifying Checksum 10:43:47 04944245beec: Download complete 10:43:47 765212b225bb: Verifying Checksum 10:43:47 765212b225bb: Download complete 10:43:47 f23df028b6ca: Download complete 10:43:47 d65c8cfc05b1: Verifying Checksum 10:43:47 d65c8cfc05b1: Download complete 10:43:47 699f458cf7ca: Verifying Checksum 10:43:47 699f458cf7ca: Download complete 10:43:47 8998bd30e6a1: Verifying Checksum 10:43:47 8998bd30e6a1: Download complete 10:43:50 2437ff75d9bd: Verifying Checksum 10:43:50 2437ff75d9bd: Download complete 10:43:52 8998bd30e6a1: Pull complete 10:43:52 04944245beec: Pull complete 10:43:54 699f458cf7ca: Pull complete 10:43:54 765212b225bb: Pull complete 10:43:55 f23df028b6ca: Pull complete 10:43:55 d65c8cfc05b1: Pull complete 10:44:10 2437ff75d9bd: Pull complete 10:44:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:44:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:10 prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container 10:44:10 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:44:12 $ docker top 9e1b581ae8cdd0df2e7b691e6eb620034319091090b0dd099f9bd3b31ec690ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:44:13 ---> job-cost.sh 10:44:13 lf-activate-venv: SKIPPING 10:44:13 INFO: No Stack... 10:44:14 INFO: Retrieving Pricing Info for: v3-standard-4 10:44:15 INFO: Archiving Costs [Pipeline] sh 10:44:15 + cut -d, -f6 10:44:15 + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock 10:44:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] 10:44:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] did not exist. Created. 10:44:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:44:16 /w/workspace/device-rest-go/3@tmp/durable-d2ae1445/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:44:17 + echo total: 0.10999999940395355 [Pipeline] stash 10:44:17 Warning: overwriting stash ‘stack-cost’ 10:44:17 Stashed 1 file(s) [Pipeline] } 10:44:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:44:17 $ docker stop --time=1 9e1b581ae8cdd0df2e7b691e6eb620034319091090b0dd099f9bd3b31ec690ba 10:44:18 $ docker rm -f 9e1b581ae8cdd0df2e7b691e6eb620034319091090b0dd099f9bd3b31ec690ba [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 10:44:19 provisioning config files... 10:44:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config7406731810668834467tmp [Pipeline] { [Pipeline] sh 10:44:19 + set +x 10:44:19 + curl -s https://codecov.io/bash 10:44:19 + bash -s -- 10:44:19 10:44:19 _____ _ 10:44:19 / ____| | | 10:44:19 | | ___ __| | ___ ___ _____ __ 10:44:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:44:19 | |___| (_) | (_| | __/ (_| (_) \ V / 10:44:19 \_____\___/ \__,_|\___|\___\___/ \_/ 10:44:19 Bash-1.0.6 10:44:19 10:44:19 10:44:19 ==> git version 2.25.1 found 10:44:19 ==> 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 10:44:19 Release-Date: 2020-01-08 10:44:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:44:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:44:19 ==> Jenkins CI detected. 10:44:19 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-204 10:44:19 project root: . 10:44:19 --> token set from env 10:44:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:44:19 ==> Running gcov in . (disable via -X gcov) 10:44:19 ==> Python coveragepy not found 10:44:19 ==> Searching for coverage reports in: 10:44:19 + . 10:44:19 -> Found 1 reports 10:44:19 ==> Detecting git/mercurial file structure 10:44:19 ==> Reading reports 10:44:19 + ./coverage.out bytes=9355 10:44:19 ==> Appending adjustments 10:44:19 https://docs.codecov.io/docs/fixing-reports 10:44:19 + Found adjustments 10:44:19 ==> Gzipping contents 10:44:19 4.0K /tmp/codecov.a2kJQm.gz 10:44:19 ==> Uploading reports 10:44:19 url: https://codecov.io 10:44:19 query: branch=PR-204&commit=ae5d4addc5192118c6d8030eceebce9039fedc35&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= 10:44:19 -> Pinging Codecov 10:44:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-204&commit=ae5d4addc5192118c6d8030eceebce9039fedc35&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= 10:44:19 -> Uploading to 10:44:19 https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/ae5d4addc5192118c6d8030eceebce9039fedc35/39fab827-d3ba-4b2c-9f15-ee47dd151b71.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T104419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=384a61491d9a1e439361d2d4b238adc2105dd922c2e250e80fe9a6643e9530c7 10:44:19 % Total % Received % Xferd Average Speed Time Time Time Current 10:44:19 Dload Upload Total Spent Left Speed 10:44:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7869 --:--:-- --:--:-- --:--:-- 7834 100 1747 0 0 100 1747 0 7434 --:--:-- --:--:-- --:--:-- 7402 10:44:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ae5d4addc5192118c6d8030eceebce9039fedc35 [Pipeline] } 10:44:20 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 10:44:20 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-204/archives ] 10:44:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives 10:44:20 total 16 10:44:20 drwxr-xr-x 3 root root 4096 Jul 7 10:36 . 10:44:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:36 .. 10:44:20 drwxr-xr-x 2 root root 4096 Jul 7 10:36 cost 10:44:20 -rw-r--r-- 1 root root 85 Jul 7 10:36 cost.csv 10:44:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-204/archives 10:44:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives 10:44:20 total 16 10:44:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 10:36 . 10:44:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 10:36 .. 10:44:20 drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 10:36 cost 10:44:20 -rw-r--r-- 1 jenkins jenkins 85 Jul 7 10:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:44:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:44:22 ---> package-listing.sh 10:44:22 ++ facter osfamily 10:44:22 ++ tr '[:upper:]' '[:lower:]' 10:44:22 + OS_FAMILY=debian 10:44:22 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-204 10:44:22 + START_PACKAGES=/tmp/packages_start.txt 10:44:22 + END_PACKAGES=/tmp/packages_end.txt 10:44:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:44:22 + PACKAGES=/tmp/packages_start.txt 10:44:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' 10:44:22 + PACKAGES=/tmp/packages_end.txt 10:44:22 + case "${OS_FAMILY}" in 10:44:22 + dpkg -l 10:44:22 + grep '^ii' 10:44:22 + '[' -f /tmp/packages_start.txt ']' 10:44:22 + '[' -f /tmp/packages_end.txt ']' 10:44:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:44:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' 10:44:22 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ 10:44:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [Pipeline] echo 10:44:22 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:44:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:44:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:23 prd-ubuntu20.04-docker-8c-8g-17135 does not seem to be running inside a container 10:44:23 $ 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-204/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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:44:23 $ docker top afc68116a29e9c372029d0531c2844b8017b256608a02f20f0f3bb6f6f26c508 -eo pid,comm [Pipeline] { [Pipeline] sh 10:44:23 + touch /tmp/pre-build-complete [Pipeline] sh 10:44:24 + mkdir -p /var/log/sysstat [Pipeline] sh 10:44:24 + ls /var/log/sa-host 10:44:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:44:24 provisioning config files... 10:44:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config5207295815788105113tmp [Pipeline] { [Pipeline] echo 10:44:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:44:24 ---> create-netrc.sh [Pipeline] } 10:44:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:44:25 ---> python-tools-install.sh [Pipeline] echo 10:44:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:44:25 ---> sudo-logs.sh 10:44:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:44:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:44:25 ---> job-cost.sh 10:44:25 lf-activate-venv: SKIPPING 10:44:25 DEBUG: total: 0.2199999988079071 10:44:25 INFO: Retrieving Stack Cost... 10:44:25 INFO: Retrieving Pricing Info for: v3-standard-8 10:44:26 INFO: Archiving Costs [Pipeline] echo 10:44:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:44:26 ---> logs-deploy.sh 10:44:26 lf-activate-venv: SKIPPING 10:44:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-204/3 10:44:26 INFO: archiving workspace using pattern(s): 10:44:27 Archives upload complete. 10:44:27 INFO: archiving logs to Nexus