Pull request #167 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from adc96bab208d4995b9cc965dbf151073ed5ad656+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (6b28bc3e834ccc7e5853213a5db191ce5aebd456) 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-ssh11634090178979275411.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh5478077408623215887.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-167/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2094600107739543426.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12276139711591092835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh14637249915592721361.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-167/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15182163560514209740.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10675 in /w/workspace/gexfoundry_device-rest-go_PR-167 [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-167 # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit adc96bab208d4995b9cc965dbf151073ed5ad656 Merge succeeded, producing adc96bab208d4995b9cc965dbf151073ed5ad656 Checking out Revision adc96bab208d4995b9cc965dbf151073ed5ad656 (PR-167) > 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/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:03:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:03:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:03:38 ========================================================= 20:03:38 EdgeX Global Pipelines Version Info 20:03:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:03:39 ------------------- 20:03:39 stable info: 20:03:39 ------------------- 20:03:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:03:39 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:03:39 Message: update stable to v1.0.221 20:03:40 ------------------- 20:03:40 experimental info: 20:03:40 ------------------- 20:03:40 Commited By: **** collab-it+edgex@linuxfoundation.org 20:03:40 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:03:40 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:03:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adc96ba [Pipeline] echo 20:03:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:41 provisioning config files... 20:03:41 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config477039543858444336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:42 ---> docker-login.sh 20:03:42 nexus3.edgexfoundry.org:10001 20:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:42 Configure a credential helper to remove this warning. See 20:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:42 20:03:42 Login Succeeded 20:03:42 nexus3.edgexfoundry.org:10002 20:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:42 Configure a credential helper to remove this warning. See 20:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:42 20:03:42 Login Succeeded 20:03:42 nexus3.edgexfoundry.org:10003 20:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:43 Configure a credential helper to remove this warning. See 20:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:43 20:03:43 Login Succeeded 20:03:43 nexus3.edgexfoundry.org:10004 20:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:43 Configure a credential helper to remove this warning. See 20:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:43 20:03:43 Login Succeeded 20:03:43 docker.io 20:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:43 Configure a credential helper to remove this warning. See 20:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:43 20:03:43 Login Succeeded 20:03:43 ---> docker-login.sh ends [Pipeline] } 20:03:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:03:44 + git rev-list -1 --merges adc96bab208d4995b9cc965dbf151073ed5ad656~1..adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo 20:03:44 -----------> git rev-list -1 --merges adc96bab208d4995b9cc965dbf151073ed5ad656~1..adc96bab208d4995b9cc965dbf151073ed5ad656 adc96bab208d4995b9cc965dbf151073ed5ad656 [false] [Pipeline] sh 20:03:44 + git log --format=format:%s -1 adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo 20:03:44 ========================================================= 20:03:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:03:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:45 + git log --format=format:%s -1 adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo 20:03:45 [semverPrep] GIT_COMMIT: adc96bab208d4995b9cc965dbf151073ed5ad656, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:03:45 [semverPrep] This is not a build commit. [Pipeline] sh 20:03:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:03:45 + grep -v github /etc/ssh/ssh_known_hosts 20:03:45 + [ -e /tmp/ssh_known_hosts ] 20:03:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:03:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:03:45 + sudo tee -a /etc/ssh/ssh_known_hosts 20:03:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:46 20:03:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:03:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:46 latest: Pulling from edgex-devops/git-semver 20:03:46 a0d0a0d46f8b: Pulling fs layer 20:03:46 3e5f54012d9b: Pulling fs layer 20:03:46 4c7163046ea9: Pulling fs layer 20:03:46 0c2d73faf560: Pulling fs layer 20:03:46 0c2d73faf560: Waiting 20:03:46 3e5f54012d9b: Verifying Checksum 20:03:46 3e5f54012d9b: Download complete 20:03:46 a0d0a0d46f8b: Verifying Checksum 20:03:46 a0d0a0d46f8b: Download complete 20:03:46 0c2d73faf560: Verifying Checksum 20:03:46 0c2d73faf560: Download complete 20:03:46 4c7163046ea9: Verifying Checksum 20:03:46 4c7163046ea9: Download complete 20:03:46 a0d0a0d46f8b: Pull complete 20:03:46 3e5f54012d9b: Pull complete 20:03:47 4c7163046ea9: Pull complete 20:03:47 0c2d73faf560: Pull complete 20:03:47 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:03:47 prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container 20:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:03:48 $ docker top a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:48 [ssh-agent] Looking for ssh-agent implementation... 20:03:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:48 $ docker exec a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent 20:03:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIDafhp/agent.14 20:03:48 SSH_AGENT_PID=20 20:03:48 Running ssh-add (command line suppressed) 20:03:48 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_20538547524851663.key (/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_20538547524851663.key) 20:03:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:49 + git tag --points-at HEAD [Pipeline] } 20:03:49 $ docker exec --env ******** --env ******** a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent -k 20:03:49 unset SSH_AUTH_SOCK; 20:03:49 unset SSH_AGENT_PID; 20:03:49 echo Agent pid 20 killed; 20:03:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:03:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:49 [ssh-agent] Looking for ssh-agent implementation... 20:03:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:49 $ docker exec a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent 20:03:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLOCOOD/agent.53 20:03:49 SSH_AGENT_PID=60 20:03:49 Running ssh-add (command line suppressed) 20:03:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_6364948283140436267.key (/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_6364948283140436267.key) 20:03:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:50 + git semver init 20:03:50 # -> Open(): unable to determine branch for HEAD 20:03:50 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-167/.git 20:03:50 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-167 20:03:50 # $SEMVER_REMOTE_NAME = origin 20:03:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:03:50 # $SEMVER_USER_NAME = edgex-jenkins 20:03:50 # $SEMVER_BRANCH = PR-167 20:03:50 # $SEMVER_TEMP = /tmp/semver-485247315 20:03:50 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:03:51 # '/tmp/semver-485247315' -> '/w/workspace/gexfoundry_device-rest-go_PR-167/.semver' 20:03:51 # -> Force: false 20:03:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-167/.semver [Pipeline] } 20:03:51 $ docker exec --env ******** --env ******** a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent -k 20:03:51 unset SSH_AUTH_SOCK; 20:03:51 unset SSH_AGENT_PID; 20:03:51 echo Agent pid 60 killed; 20:03:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:52 + git semver [Pipeline] } 20:03:52 $ docker stop --time=1 a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 20:03:53 $ docker rm -f a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:03:54 Stashed 1 file(s) [Pipeline] echo 20:03:54 [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 20:03:54 provisioning config files... 20:03:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config8181654587903511924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:55 ---> docker-login.sh 20:03:55 nexus3.edgexfoundry.org:10001 20:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:55 Configure a credential helper to remove this warning. See 20:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:55 20:03:55 Login Succeeded 20:03:55 nexus3.edgexfoundry.org:10002 20:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:55 Configure a credential helper to remove this warning. See 20:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:55 20:03:55 Login Succeeded 20:03:55 nexus3.edgexfoundry.org:10003 20:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:55 Configure a credential helper to remove this warning. See 20:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:55 20:03:55 Login Succeeded 20:03:55 nexus3.edgexfoundry.org:10004 20:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:55 Configure a credential helper to remove this warning. See 20:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:55 20:03:55 Login Succeeded 20:03:55 docker.io 20:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:56 Configure a credential helper to remove this warning. See 20:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:56 20:03:56 Login Succeeded 20:03:56 ---> docker-login.sh ends [Pipeline] } 20:03:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:03:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:56 ========================================================= 20:03:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:03:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:03:56 + 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 . 20:03:56 Sending build context to Docker daemon 10.55MB 20:03:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:03:56 Step 2/12 : FROM ${BASE} AS builder 20:03:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:03:56 59bf1c3509f3: Pulling fs layer 20:03:56 666ba61612fd: Pulling fs layer 20:03:56 8ed8ca486205: Pulling fs layer 20:03:56 4fe6c5a15a65: Pulling fs layer 20:03:56 22a0e8bec74d: Pulling fs layer 20:03:56 640e595b4fbd: Pulling fs layer 20:03:56 763cafe07f6e: Pulling fs layer 20:03:56 0c0b528cf693: Pulling fs layer 20:03:56 10935f4eaf8b: Pulling fs layer 20:03:56 763cafe07f6e: Waiting 20:03:56 640e595b4fbd: Waiting 20:03:56 22a0e8bec74d: Waiting 20:03:56 0c0b528cf693: Waiting 20:03:56 10935f4eaf8b: Waiting 20:03:56 8ed8ca486205: Download complete 20:03:56 666ba61612fd: Verifying Checksum 20:03:56 666ba61612fd: Download complete 20:03:56 22a0e8bec74d: Verifying Checksum 20:03:56 22a0e8bec74d: Download complete 20:03:56 640e595b4fbd: Download complete 20:03:56 59bf1c3509f3: Verifying Checksum 20:03:56 59bf1c3509f3: Download complete 20:03:56 763cafe07f6e: Download complete 20:03:56 0c0b528cf693: Verifying Checksum 20:03:56 0c0b528cf693: Download complete 20:03:56 59bf1c3509f3: Pull complete 20:03:57 666ba61612fd: Pull complete 20:03:57 8ed8ca486205: Pull complete 20:03:57 10935f4eaf8b: Verifying Checksum 20:03:57 10935f4eaf8b: Download complete 20:03:57 4fe6c5a15a65: Verifying Checksum 20:03:57 4fe6c5a15a65: Download complete 20:04:01 4fe6c5a15a65: Pull complete 20:04:01 22a0e8bec74d: Pull complete 20:04:01 640e595b4fbd: Pull complete 20:04:01 763cafe07f6e: Pull complete 20:04:01 0c0b528cf693: Pull complete 20:04:04 10935f4eaf8b: Pull complete 20:04:04 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:04:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:04:04 ---> 99d49a6021b9 20:04:04 Step 3/12 : ARG MAKE='make build' 20:04:05 ---> Running in 259d4206da3a 20:04:05 Removing intermediate container 259d4206da3a 20:04:05 ---> 51ed08dbb3f6 20:04:05 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:05 ---> Running in aedbc356a1d8 20:04:05 Removing intermediate container aedbc356a1d8 20:04:05 ---> f6afdd45929e 20:04:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:04:05 ---> Running in 59f9bee7de08 20:04:05 Removing intermediate container 59f9bee7de08 20:04:05 ---> 88bedab6137a 20:04:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:05 ---> Running in e947db300c87 20:04:06 Removing intermediate container e947db300c87 20:04:06 ---> a5c268cd3eaa 20:04:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:06 ---> Running in ccfde34285fd 20:04:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:04:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:04:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:04:07 (2/4) Installing libedit (20210910.3.1-r0) 20:04:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:04:08 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:04:08 Executing busybox-1.34.1-r3.trigger 20:04:08 OK: 224 MiB in 56 packages 20:04:08 Removing intermediate container ccfde34285fd 20:04:08 ---> 5f0fb424b37d 20:04:08 Step 8/12 : WORKDIR /device-rest-go 20:04:08 ---> Running in 659240fc4d54 20:04:08 Removing intermediate container 659240fc4d54 20:04:08 ---> c2b2ad5a25b1 20:04:08 Step 9/12 : COPY go.mod vendor* ./ 20:04:08 ---> 4d945a9563e3 20:04:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:08 ---> Running in 001a846ed0ad 20:04:09 Still waiting to schedule task 20:04:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:35 Removing intermediate container 001a846ed0ad 20:04:35 ---> f40c72601d68 20:04:35 Step 11/12 : COPY . . 20:04:35 ---> 88cb5aa0fb04 20:04:35 Step 12/12 : RUN $MAKE 20:04:35 ---> Running in 692fe2f1c5ee 20:04:35 noop 20:04:35 Removing intermediate container 692fe2f1c5ee 20:04:35 ---> 8b39c0d11f10 20:04:35 Successfully built 8b39c0d11f10 20:04:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:04:35 + docker inspect -f . ci-base-image-x86_64 20:04:35 . [Pipeline] withDockerContainer 20:04:35 prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container 20:04:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** ci-base-image-x86_64 cat 20:04:36 $ docker top e3470b842e7a76aa7ec89277eca588a995ac3751f161c16739138cf9a5c4ee95 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:36 + go version 20:04:36 go version go1.17.6 linux/amd64 [Pipeline] } 20:04:36 $ docker stop --time=1 e3470b842e7a76aa7ec89277eca588a995ac3751f161c16739138cf9a5c4ee95 20:04:38 $ docker rm -f e3470b842e7a76aa7ec89277eca588a995ac3751f161c16739138cf9a5c4ee95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:04:38 + docker inspect -f . ci-base-image-x86_64 20:04:38 . [Pipeline] withDockerContainer 20:04:38 prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container 20:04:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** ci-base-image-x86_64 cat 20:04:39 $ docker top 690e91c77c6e8cb42c75dc7ab87c5dd51b93825add1ac588acfa87d72983623f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:04:39 + make test 20:04:39 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:04:40 ? github.com/edgexfoundry/device-rest-go [no test files] 20:04:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:04:46 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 56.0% of statements 20:04:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:04:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:04:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:04:50 ./bin/test-attribution-txt.sh [Pipeline] echo 20:04:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:04:50 $ docker stop --time=1 690e91c77c6e8cb42c75dc7ab87c5dd51b93825add1ac588acfa87d72983623f 20:04:52 $ docker rm -f 690e91c77c6e8cb42c75dc7ab87c5dd51b93825add1ac588acfa87d72983623f [Pipeline] // withDockerContainer [Pipeline] sh 20:04:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:04:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:04:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:54 + ls -al . 20:04:54 total 180 20:04:54 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 20:04 . 20:04:54 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 20:03 .. 20:04:54 -rw-rw-r-- 1 jenkins jenkins 151 Apr 4 20:03 .dockerignore 20:04:54 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 20:03 .git 20:04:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:03 .github 20:04:54 -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 20:03 .gitignore 20:04:54 drwx------ 3 jenkins jenkins 4096 Apr 4 20:03 .semver 20:04:54 -rw-rw-r-- 1 jenkins jenkins 7192 Apr 4 20:03 Attribution.txt 20:04:54 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 4 20:03 CHANGELOG.md 20:04:54 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 4 20:03 Dockerfile 20:04:54 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 20:03 GOVERNANCE.md 20:04:54 -rw-rw-r-- 1 jenkins jenkins 680 Apr 4 20:03 Jenkinsfile 20:04:54 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 20:03 LICENSE 20:04:54 -rw-rw-r-- 1 jenkins jenkins 1078 Apr 4 20:03 Makefile 20:04:54 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 20:03 OWNERS.md 20:04:54 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 4 20:03 README.md 20:04:54 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 20:03 VERSION 20:04:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:03 bin 20:04:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:03 cmd 20:04:54 -rw-r--r-- 1 jenkins jenkins 9215 Apr 4 20:04 coverage.out 20:04:54 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:03 driver 20:04:54 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 4 20:03 go.mod 20:04:54 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 20:03 go.sum 20:04:54 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:03 snap 20:04:54 -rw-rw-r-- 1 jenkins jenkins 713 Apr 4 20:03 version.go [Pipeline] isUnix [Pipeline] sh 20:04:54 + 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=adc96bab208d4995b9cc965dbf151073ed5ad656 --label arch=amd64 --label version=0.0.0 . 20:04:54 Sending build context to Docker daemon 10.56MB 20:04:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:04:54 Step 2/25 : FROM ${BASE} AS builder 20:04:54 ---> 8b39c0d11f10 20:04:54 Step 3/25 : ARG MAKE='make build' 20:04:54 ---> Running in fcdb4e73cd79 20:04:54 Removing intermediate container fcdb4e73cd79 20:04:54 ---> 0c0bd3cef2b7 20:04:54 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:54 ---> Running in 873d16cc075a 20:04:54 Removing intermediate container 873d16cc075a 20:04:54 ---> 77c0802f582f 20:04:54 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:04:54 ---> Running in e798883a03fa 20:04:54 Removing intermediate container e798883a03fa 20:04:54 ---> 0459311eccab 20:04:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:55 ---> Running in eb4f509ceb5d 20:04:55 Removing intermediate container eb4f509ceb5d 20:04:55 ---> 8e21753c6338 20:04:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:55 ---> Running in 7825abc807cf 20:04:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:04:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:04:57 OK: 224 MiB in 56 packages 20:04:57 Removing intermediate container 7825abc807cf 20:04:57 ---> da5fa07582c8 20:04:57 Step 8/25 : WORKDIR /device-rest-go 20:04:57 ---> Running in 903025cdd0c7 20:04:57 Removing intermediate container 903025cdd0c7 20:04:57 ---> 025aa55a5718 20:04:57 Step 9/25 : COPY go.mod vendor* ./ 20:04:57 ---> c4228aff987e 20:04:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:57 ---> Running in 56059ad61d1c 20:04:58 Removing intermediate container 56059ad61d1c 20:04:58 ---> 40d62f71fb2a 20:04:58 Step 11/25 : COPY . . 20:04:58 ---> afc008361167 20:04:58 Step 12/25 : RUN $MAKE 20:04:58 ---> Running in 4d09ec025f08 20:04:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:05:07 Removing intermediate container 4d09ec025f08 20:05:07 ---> 13a1abb3ae9f 20:05:07 Step 13/25 : FROM alpine:3.14 20:05:07 3.14: Pulling from library/alpine 20:05:07 cfab2db72209: Pulling fs layer 20:05:07 cfab2db72209: Verifying Checksum 20:05:07 cfab2db72209: Download complete 20:05:07 cfab2db72209: Pull complete 20:05:07 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 20:05:07 Status: Downloaded newer image for alpine:3.14 20:05:07 ---> 84b07dd2d1fd 20:05:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:05:07 ---> Running in e0b6fd75a653 20:05:07 Removing intermediate container e0b6fd75a653 20:05:07 ---> a89291c2c590 20:05:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:05:07 ---> Running in dea75ceda880 20:05:07 Removing intermediate container dea75ceda880 20:05:07 ---> 939c340068ab 20:05:07 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:05:07 ---> Running in 4646a0c5ab70 20:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:05:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:05:07 (1/6) Installing dumb-init (1.2.5-r1) 20:05:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:05:08 (3/6) Installing libsodium (1.0.18-r0) 20:05:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:05:08 (5/6) Installing libzmq (4.3.4-r0) 20:05:08 (6/6) Installing zeromq (4.3.4-r0) 20:05:08 Executing busybox-1.33.1-r6.trigger 20:05:08 OK: 8 MiB in 20 packages 20:05:08 Removing intermediate container 4646a0c5ab70 20:05:08 ---> cc6bf54cc727 20:05:08 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:05:08 ---> fb1a103abbb3 20:05:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:05:08 ---> 1c8b715ae5a8 20:05:08 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:05:09 ---> 4754142660c4 20:05:09 Step 20/25 : EXPOSE 59986 20:05:09 ---> Running in 1d7e149df900 20:05:09 Removing intermediate container 1d7e149df900 20:05:09 ---> ad43ac42290e 20:05:09 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:05:09 ---> Running in 538382b56f1d 20:05:09 Removing intermediate container 538382b56f1d 20:05:09 ---> 5482efb2df39 20:05:09 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:05:09 ---> Running in 46d010713607 20:05:09 Removing intermediate container 46d010713607 20:05:09 ---> 5a7d1b1c514a 20:05:09 Step 23/25 : LABEL arch=amd64 20:05:09 ---> Running in c8c9fe6c553e 20:05:09 Removing intermediate container c8c9fe6c553e 20:05:09 ---> 5eedd8831a10 20:05:09 Step 24/25 : LABEL git_sha=adc96bab208d4995b9cc965dbf151073ed5ad656 20:05:09 ---> Running in f387296f2f46 20:05:09 Removing intermediate container f387296f2f46 20:05:09 ---> ed26b45957bb 20:05:09 Step 25/25 : LABEL version=0.0.0 20:05:09 ---> Running in e2cc341f9f46 20:05:09 Removing intermediate container e2cc341f9f46 20:05:09 ---> 7b350b3d92d9 20:05:09 [Warning] One or more build-args [ARCH] were not consumed 20:05:09 Successfully built 7b350b3d92d9 20:05:09 Successfully tagged device-rest:latest [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] sh 20:05:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:10 20:05:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:05:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:10 latest: Pulling from edgex-lftools-log-publisher 20:05:10 5eb5b503b376: Pulling fs layer 20:05:10 5c69ac0246d0: Pulling fs layer 20:05:10 ec43610c2a17: Pulling fs layer 20:05:10 3a2ae6a8a46f: Pulling fs layer 20:05:10 33b1e0a273af: Pulling fs layer 20:05:10 5d3b04190fa2: Pulling fs layer 20:05:10 2f39f015ded8: Pulling fs layer 20:05:10 3a2ae6a8a46f: Waiting 20:05:10 33b1e0a273af: Waiting 20:05:10 5d3b04190fa2: Waiting 20:05:10 2f39f015ded8: Waiting 20:05:10 5c69ac0246d0: Verifying Checksum 20:05:10 5c69ac0246d0: Download complete 20:05:10 3a2ae6a8a46f: Verifying Checksum 20:05:10 3a2ae6a8a46f: Download complete 20:05:10 33b1e0a273af: Verifying Checksum 20:05:10 33b1e0a273af: Download complete 20:05:10 5d3b04190fa2: Verifying Checksum 20:05:10 5d3b04190fa2: Download complete 20:05:11 ec43610c2a17: Verifying Checksum 20:05:11 ec43610c2a17: Download complete 20:05:11 5eb5b503b376: Verifying Checksum 20:05:11 5eb5b503b376: Download complete 20:05:11 2f39f015ded8: Download complete 20:05:12 5eb5b503b376: Pull complete 20:05:12 5c69ac0246d0: Pull complete 20:05:12 ec43610c2a17: Pull complete 20:05:12 3a2ae6a8a46f: Pull complete 20:05:13 33b1e0a273af: Pull complete 20:05:13 5d3b04190fa2: Pull complete 20:05:17 2f39f015ded8: Pull complete 20:05:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:05:17 prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container 20:05:17 $ 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-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:05:19 $ docker top 92db2dd7d804356685e52aca4614cbcf8634cfd07a2c168b5a51c390302ebeea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:19 ---> job-cost.sh 20:05:19 lf-activate-venv: SKIPPING 20:05:19 INFO: No Stack... 20:05:19 INFO: Retrieving Pricing Info for: v3-standard-8 20:05:20 INFO: Archiving Costs [Pipeline] sh 20:05:20 + cat /w/workspace/gexfoundry_device-rest-go_PR-167/archives/cost.csv 20:05:20 + cut -d, -f6 [Pipeline] lock 20:05:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] 20:05:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] did not exist. Created. 20:05:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:05:21 + echo total: 0.2199999988079071 [Pipeline] stash 20:05:21 Stashed 1 file(s) [Pipeline] } 20:05:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:05:21 $ docker stop --time=1 92db2dd7d804356685e52aca4614cbcf8634cfd07a2c168b5a51c390302ebeea 20:05:22 $ docker rm -f 92db2dd7d804356685e52aca4614cbcf8634cfd07a2c168b5a51c390302ebeea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:05:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10678 in /w/workspace/gexfoundry_device-rest-go_PR-167 [Pipeline] { [Pipeline] ws 20:05:49 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:05:49 The recommended git tool is: git 20:05:57 using credential edgex-jenkins-ssh 20:05:57 Cloning the remote Git repository 20:05:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:05:57 > git init /w/workspace/device-rest-go/1 # timeout=10 20:05:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:05:57 > git --version # timeout=10 20:05:57 > git --version # 'git version 2.25.1' 20:05:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:01 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit adc96bab208d4995b9cc965dbf151073ed5ad656 20:06:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:00 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:01 > git config core.sparsecheckout # timeout=10 20:06:01 > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # timeout=10 20:06:01 Merge succeeded, producing adc96bab208d4995b9cc965dbf151073ed5ad656 20:06:01 Checking out Revision adc96bab208d4995b9cc965dbf151073ed5ad656 (PR-167) 20:06:01 > git remote # timeout=10 20:06:01 > git config --get remote.origin.url # timeout=10 20:06:01 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:01 > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 20:06:01 > git rev-parse HEAD^{commit} # timeout=10 20:06:01 > git config core.sparsecheckout # timeout=10 20:06:01 > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # timeout=10 20:06:05 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:06:05 > git --version # timeout=10 20:06:05 > git --version # 'git version 2.25.1' 20:06:05 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:07 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:07 Dload Upload Total Spent Left Speed 20:06:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45903 0 --:--:-- --:--:-- --:--:-- 45903 [Pipeline] sh 20:06:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:07 + sudo tee /etc/docker/daemon.new 20:06:07 { 20:06:07 "registry-mirrors": [ 20:06:07 "https://nexus3.edgexfoundry.org:10001" 20:06:07 ], 20:06:07 "bip": "10.250.0.254/24", 20:06:07 "hosts": [ 20:06:07 "tcp://0.0.0.0:5555", 20:06:07 "unix:///var/run/docker.sock" 20:06:07 ], 20:06:07 "mtu": 1458, 20:06:07 "selinux-enabled": true, 20:06:07 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:07 } [Pipeline] sh 20:06:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:27 provisioning config files... 20:06:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1683803697663110606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:27 ---> docker-login.sh 20:06:27 nexus3.edgexfoundry.org:10001 20:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:28 Configure a credential helper to remove this warning. See 20:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:28 20:06:28 Login Succeeded 20:06:28 nexus3.edgexfoundry.org:10002 20:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:29 Configure a credential helper to remove this warning. See 20:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:29 20:06:29 Login Succeeded 20:06:29 nexus3.edgexfoundry.org:10003 20:06:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:29 Configure a credential helper to remove this warning. See 20:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:29 20:06:29 Login Succeeded 20:06:29 nexus3.edgexfoundry.org:10004 20:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:30 Configure a credential helper to remove this warning. See 20:06:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:30 20:06:30 Login Succeeded 20:06:30 docker.io 20:06:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:31 Configure a credential helper to remove this warning. See 20:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:31 20:06:31 Login Succeeded 20:06:31 ---> docker-login.sh ends [Pipeline] } 20:06:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:31 ========================================================= 20:06:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:06:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:06:31 + 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 . 20:06:31 Sending build context to Docker daemon 124.9kB 20:06:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:06:32 Step 2/12 : FROM ${BASE} AS builder 20:06:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:32 9b3977197b4f: Pulling fs layer 20:06:32 1a89e8eeedd5: Pulling fs layer 20:06:32 94645a83ff95: Pulling fs layer 20:06:32 3f3a8bcf1eab: Pulling fs layer 20:06:32 0c92f367c5e7: Pulling fs layer 20:06:32 f7c0051592d6: Pulling fs layer 20:06:32 a227ed2f7395: Pulling fs layer 20:06:32 7b1c46037f91: Pulling fs layer 20:06:32 0c92f367c5e7: Waiting 20:06:32 3f3a8bcf1eab: Waiting 20:06:32 f7c0051592d6: Waiting 20:06:32 a227ed2f7395: Waiting 20:06:32 7b1c46037f91: Waiting 20:06:32 94645a83ff95: Download complete 20:06:32 1a89e8eeedd5: Verifying Checksum 20:06:32 1a89e8eeedd5: Download complete 20:06:32 0c92f367c5e7: Verifying Checksum 20:06:32 0c92f367c5e7: Download complete 20:06:32 f7c0051592d6: Verifying Checksum 20:06:32 f7c0051592d6: Download complete 20:06:32 9b3977197b4f: Download complete 20:06:32 a227ed2f7395: Verifying Checksum 20:06:32 a227ed2f7395: Download complete 20:06:33 9b3977197b4f: Pull complete 20:06:33 1a89e8eeedd5: Pull complete 20:06:34 94645a83ff95: Pull complete 20:06:34 7b1c46037f91: Verifying Checksum 20:06:34 7b1c46037f91: Download complete 20:06:35 3f3a8bcf1eab: Download complete 20:06:47 3f3a8bcf1eab: Pull complete 20:06:47 0c92f367c5e7: Pull complete 20:06:47 f7c0051592d6: Pull complete 20:06:47 a227ed2f7395: Pull complete 20:06:53 7b1c46037f91: Pull complete 20:06:53 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:06:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:06:53 ---> f79e39bc4007 20:06:53 Step 3/12 : ARG MAKE='make build' 20:06:54 ---> Running in b09214d030a2 20:06:54 Removing intermediate container b09214d030a2 20:06:54 ---> a5b1270faf0d 20:06:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:54 ---> Running in e90cab53eeab 20:06:55 Removing intermediate container e90cab53eeab 20:06:55 ---> 21b500923332 20:06:55 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:06:55 ---> Running in 52caf1e3b50b 20:06:55 Removing intermediate container 52caf1e3b50b 20:06:55 ---> 70757cfaa228 20:06:55 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:55 ---> Running in 2424ccba24b7 20:06:57 Removing intermediate container 2424ccba24b7 20:06:57 ---> a6725649b337 20:06:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:57 ---> Running in fcd1fdc2896f 20:06:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:06:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:06:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:06:59 (2/4) Installing libedit (20210910.3.1-r0) 20:06:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:07:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:07:00 Executing busybox-1.34.1-r3.trigger 20:07:00 OK: 224 MiB in 56 packages 20:07:01 Removing intermediate container fcd1fdc2896f 20:07:01 ---> 26f5725a8735 20:07:01 Step 8/12 : WORKDIR /device-rest-go 20:07:01 ---> Running in 01d2b1864158 20:07:01 Removing intermediate container 01d2b1864158 20:07:01 ---> e90164ecce35 20:07:01 Step 9/12 : COPY go.mod vendor* ./ 20:07:02 ---> 7e74932785e5 20:07:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:02 ---> Running in 4b4112f19aa7 20:08:23 Removing intermediate container 4b4112f19aa7 20:08:23 ---> a0fde189dc16 20:08:23 Step 11/12 : COPY . . 20:08:23 ---> 5cdd6f04b55a 20:08:23 Step 12/12 : RUN $MAKE 20:08:23 ---> Running in 428c1e3cf12e 20:08:23 noop 20:08:23 Removing intermediate container 428c1e3cf12e 20:08:23 ---> f79873feafcb 20:08:23 Successfully built f79873feafcb 20:08:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:08:24 + docker inspect -f . ci-base-image-arm64 20:08:24 . [Pipeline] withDockerContainer 20:08:24 prd-ubuntu20.04-docker-arm64-4c-16g-10678 does not seem to be running inside a container 20:08:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:25 $ docker top 5d77faeb478078fa5c918fd43faccc9d3ae784945b0f7f7246165d2f4928de36 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:26 + go version 20:08:26 go version go1.17.6 linux/arm64 [Pipeline] } 20:08:26 $ docker stop --time=1 5d77faeb478078fa5c918fd43faccc9d3ae784945b0f7f7246165d2f4928de36 20:08:28 $ docker rm -f 5d77faeb478078fa5c918fd43faccc9d3ae784945b0f7f7246165d2f4928de36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:29 + docker inspect -f . ci-base-image-arm64 20:08:29 . [Pipeline] withDockerContainer 20:08:29 prd-ubuntu20.04-docker-arm64-4c-16g-10678 does not seem to be running inside a container 20:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:31 $ docker top 52810e7958d163250b7096f6f2208abe0bae240ba99d4d6b7baa888684ac4b42 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:08:32 + make test 20:08:32 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:08:33 ? github.com/edgexfoundry/device-rest-go [no test files] 20:09:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:09:30 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 56.0% of statements 20:09:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:09:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:09:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:09:45 ./bin/test-attribution-txt.sh [Pipeline] echo 20:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:09:46 $ docker stop --time=1 52810e7958d163250b7096f6f2208abe0bae240ba99d4d6b7baa888684ac4b42 20:09:48 $ docker rm -f 52810e7958d163250b7096f6f2208abe0bae240ba99d4d6b7baa888684ac4b42 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:09:49 Warning: overwriting stash ‘coverage-report’ 20:09:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:09:50 + ls -al . 20:09:50 total 176 20:09:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 20:09 . 20:09:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 20:05 .. 20:09:50 -rw-rw-r-- 1 jenkins jenkins 151 Apr 4 20:06 .dockerignore 20:09:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 20:06 .git 20:09:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:06 .github 20:09:50 -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 20:06 .gitignore 20:09:50 -rw-rw-r-- 1 jenkins jenkins 7192 Apr 4 20:06 Attribution.txt 20:09:50 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 4 20:06 CHANGELOG.md 20:09:50 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 4 20:06 Dockerfile 20:09:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 20:06 GOVERNANCE.md 20:09:50 -rw-rw-r-- 1 jenkins jenkins 680 Apr 4 20:06 Jenkinsfile 20:09:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 20:06 LICENSE 20:09:50 -rw-rw-r-- 1 jenkins jenkins 1078 Apr 4 20:06 Makefile 20:09:50 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 20:06 OWNERS.md 20:09:50 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 4 20:06 README.md 20:09:50 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 20:03 VERSION 20:09:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:06 bin 20:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:06 cmd 20:09:50 -rw-r--r-- 1 jenkins jenkins 9215 Apr 4 20:09 coverage.out 20:09:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:06 driver 20:09:50 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 4 20:06 go.mod 20:09:50 -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 20:06 go.sum 20:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:06 snap 20:09:50 -rw-rw-r-- 1 jenkins jenkins 713 Apr 4 20:06 version.go [Pipeline] isUnix [Pipeline] sh 20:09:51 + 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=adc96bab208d4995b9cc965dbf151073ed5ad656 --label arch=arm64 --label version=0.0.0 . 20:09:51 Sending build context to Docker daemon 134.7kB 20:09:51 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:09:51 Step 2/25 : FROM ${BASE} AS builder 20:09:51 ---> f79873feafcb 20:09:51 Step 3/25 : ARG MAKE='make build' 20:09:51 ---> Running in 94c446e79438 20:09:52 Removing intermediate container 94c446e79438 20:09:52 ---> d00e11d78629 20:09:52 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:52 ---> Running in 34525e2bd152 20:09:52 Removing intermediate container 34525e2bd152 20:09:52 ---> 6565d7c36bbd 20:09:52 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:09:52 ---> Running in 17142b79e4cd 20:09:53 Removing intermediate container 17142b79e4cd 20:09:53 ---> d8a2ba016e46 20:09:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:53 ---> Running in c127d459a955 20:09:55 Removing intermediate container c127d459a955 20:09:55 ---> 6dd51b413708 20:09:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:55 ---> Running in 89cbf167dc47 20:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:09:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:09:57 OK: 224 MiB in 56 packages 20:09:58 Removing intermediate container 89cbf167dc47 20:09:58 ---> 09be5f4bee6e 20:09:58 Step 8/25 : WORKDIR /device-rest-go 20:09:58 ---> Running in cf53337fef66 20:09:59 Removing intermediate container cf53337fef66 20:09:59 ---> 9e45242d981c 20:09:59 Step 9/25 : COPY go.mod vendor* ./ 20:09:59 ---> 80db5ffedec9 20:09:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:59 ---> Running in cdeac60fc360 20:10:01 Removing intermediate container cdeac60fc360 20:10:01 ---> 70a6c4a2aeb8 20:10:01 Step 11/25 : COPY . . 20:10:02 ---> 6455e01222e5 20:10:02 Step 12/25 : RUN $MAKE 20:10:02 ---> Running in d0529fd9153e 20:10:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:10:50 Removing intermediate container d0529fd9153e 20:10:50 ---> 0935a9b8d74a 20:10:50 Step 13/25 : FROM alpine:3.14 20:10:50 3.14: Pulling from library/alpine 20:10:50 810d54c7e01b: Pulling fs layer 20:10:50 810d54c7e01b: Verifying Checksum 20:10:50 810d54c7e01b: Download complete 20:10:50 810d54c7e01b: Pull complete 20:10:50 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 20:10:50 Status: Downloaded newer image for alpine:3.14 20:10:50 ---> cc3d11fa2d52 20:10:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:10:50 ---> Running in 5aefaa6bd7ce 20:10:50 Removing intermediate container 5aefaa6bd7ce 20:10:50 ---> 7a56c6fc521f 20:10:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:10:50 ---> Running in 795f9ffb7327 20:10:50 Removing intermediate container 795f9ffb7327 20:10:50 ---> 9dcdc51b01ea 20:10:50 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:10:50 ---> Running in 87a060e2369f 20:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:10:50 (1/6) Installing dumb-init (1.2.5-r1) 20:10:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:10:50 (3/6) Installing libsodium (1.0.18-r0) 20:10:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:10:50 (5/6) Installing libzmq (4.3.4-r0) 20:10:50 (6/6) Installing zeromq (4.3.4-r0) 20:10:50 Executing busybox-1.33.1-r6.trigger 20:10:50 OK: 8 MiB in 20 packages 20:10:50 Removing intermediate container 87a060e2369f 20:10:50 ---> cab6f6ca077b 20:10:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:10:51 ---> 513f7a5a6367 20:10:51 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:10:51 ---> 109e45c33a0f 20:10:51 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:10:52 ---> 0b55e3e4fbdd 20:10:52 Step 20/25 : EXPOSE 59986 20:10:52 ---> Running in 14216e9d59f0 20:10:52 Removing intermediate container 14216e9d59f0 20:10:52 ---> b96bcd39738b 20:10:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:10:52 ---> Running in 8be1fd84a239 20:10:53 Removing intermediate container 8be1fd84a239 20:10:53 ---> 10d7fb9f96e0 20:10:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:10:53 ---> Running in cc848bfa19ad 20:10:53 Removing intermediate container cc848bfa19ad 20:10:53 ---> e407a860c041 20:10:53 Step 23/25 : LABEL arch=arm64 20:10:53 ---> Running in f89cab098e57 20:10:54 Removing intermediate container f89cab098e57 20:10:54 ---> 9ed3473f3d2c 20:10:54 Step 24/25 : LABEL git_sha=adc96bab208d4995b9cc965dbf151073ed5ad656 20:10:54 ---> Running in 27931a6dc4e0 20:10:54 Removing intermediate container 27931a6dc4e0 20:10:54 ---> f59f0b86f550 20:10:54 Step 25/25 : LABEL version=0.0.0 20:10:54 ---> Running in eb59cafbc60f 20:10:54 Removing intermediate container eb59cafbc60f 20:10:54 ---> 465351e9891b 20:10:54 [Warning] One or more build-args [ARCH] were not consumed 20:10:54 Successfully built 465351e9891b 20:10:54 Successfully tagged device-rest-arm64:latest [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] sh 20:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:55 20:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:56 arm64: Pulling from edgex-lftools-log-publisher 20:10:56 8998bd30e6a1: Pulling fs layer 20:10:56 04944245beec: Pulling fs layer 20:10:56 699f458cf7ca: Pulling fs layer 20:10:56 765212b225bb: Pulling fs layer 20:10:56 f23df028b6ca: Pulling fs layer 20:10:56 d65c8cfc05b1: Pulling fs layer 20:10:56 2437ff75d9bd: Pulling fs layer 20:10:56 765212b225bb: Waiting 20:10:56 f23df028b6ca: Waiting 20:10:56 d65c8cfc05b1: Waiting 20:10:56 2437ff75d9bd: Waiting 20:10:56 04944245beec: Download complete 20:10:56 765212b225bb: Download complete 20:10:56 f23df028b6ca: Download complete 20:10:56 d65c8cfc05b1: Verifying Checksum 20:10:56 d65c8cfc05b1: Download complete 20:10:56 699f458cf7ca: Verifying Checksum 20:10:56 699f458cf7ca: Download complete 20:10:56 8998bd30e6a1: Verifying Checksum 20:10:56 8998bd30e6a1: Download complete 20:10:59 2437ff75d9bd: Verifying Checksum 20:10:59 2437ff75d9bd: Download complete 20:11:01 8998bd30e6a1: Pull complete 20:11:01 04944245beec: Pull complete 20:11:03 699f458cf7ca: Pull complete 20:11:03 765212b225bb: Pull complete 20:11:04 f23df028b6ca: Pull complete 20:11:04 d65c8cfc05b1: Pull complete 20:11:19 2437ff75d9bd: Pull complete 20:11:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:11:19 prd-ubuntu20.04-docker-arm64-4c-16g-10678 does not seem to be running inside a container 20:11:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:11:22 $ docker top 576ac3e9a9636f2caaef37b824ff89310b0f7b4ac2654a3a5487abf186cb52d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:23 ---> job-cost.sh 20:11:23 lf-activate-venv: SKIPPING 20:11:23 INFO: No Stack... 20:11:24 INFO: Retrieving Pricing Info for: v3-standard-4 20:11:25 INFO: Archiving Costs [Pipeline] sh 20:11:25 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:11:25 + cut -d, -f6 [Pipeline] lock 20:11:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] 20:11:25 Resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] did not exist. Created. 20:11:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:26 /w/workspace/device-rest-go/1@tmp/durable-b9ac0e77/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:11:27 + echo total: 0.10999999940395355 [Pipeline] stash 20:11:27 Warning: overwriting stash ‘stack-cost’ 20:11:27 Stashed 1 file(s) [Pipeline] } 20:11:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:27 $ docker stop --time=1 576ac3e9a9636f2caaef37b824ff89310b0f7b4ac2654a3a5487abf186cb52d9 20:11:29 $ docker rm -f 576ac3e9a9636f2caaef37b824ff89310b0f7b4ac2654a3a5487abf186cb52d9 [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 20:11:30 provisioning config files... 20:11:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config714133903223193064tmp [Pipeline] { [Pipeline] sh 20:11:30 + set +x 20:11:30 + curl -s https://codecov.io/bash 20:11:30 + bash -s -- 20:11:30 20:11:30 _____ _ 20:11:30 / ____| | | 20:11:30 | | ___ __| | ___ ___ _____ __ 20:11:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:11:30 | |___| (_) | (_| | __/ (_| (_) \ V / 20:11:30 \_____\___/ \__,_|\___|\___\___/ \_/ 20:11:30 Bash-1.0.6 20:11:30 20:11:30 20:11:30 ==> git version 2.25.1 found 20:11:30 ==> 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 20:11:30 Release-Date: 2020-01-08 20:11:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:11:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:11:30 ==> Jenkins CI detected. 20:11:30 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-167 20:11:30 project root: . 20:11:30 --> token set from env 20:11:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:11:30 ==> Running gcov in . (disable via -X gcov) 20:11:30 ==> Python coveragepy not found 20:11:30 ==> Searching for coverage reports in: 20:11:30 + . 20:11:30 -> Found 1 reports 20:11:30 ==> Detecting git/mercurial file structure 20:11:30 ==> Reading reports 20:11:30 + ./coverage.out bytes=9215 20:11:30 ==> Appending adjustments 20:11:30 https://docs.codecov.io/docs/fixing-reports 20:11:30 + Found adjustments 20:11:30 ==> Gzipping contents 20:11:30 4.0K /tmp/codecov.3HkJpU.gz 20:11:30 ==> Uploading reports 20:11:30 url: https://codecov.io 20:11:30 query: branch=PR-167&commit=adc96bab208d4995b9cc965dbf151073ed5ad656&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-167%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=167&job=&cmd_args= 20:11:30 -> Pinging Codecov 20:11:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-167&commit=adc96bab208d4995b9cc965dbf151073ed5ad656&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-167%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=167&job=&cmd_args= 20:11:31 -> Uploading to 20:11:31 https://storage.googleapis.com/codecov/v4/raw/2022-04-04/4E5D53B4F1F92C436F7061BF334D961C/adc96bab208d4995b9cc965dbf151073ed5ad656/1b36a812-ce76-4c31-b75a-5af9fd24df99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T201130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7a1609f554661e3e576d959921d311438e579475a5604a88a76b83298e3cf85 20:11:31 % Total % Received % Xferd Average Speed Time Time Time Current 20:11:31 Dload Upload Total Spent Left Speed 20:11:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 8062 --:--:-- --:--:-- --:--:-- 8062 20:11:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] } 20:11:31 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 20:11:33 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-167/archives ] 20:11:33 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-167/archives 20:11:33 total 16 20:11:33 drwxr-xr-x 3 root root 4096 Apr 4 20:05 . 20:11:33 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:05 .. 20:11:33 drwxr-xr-x 2 root root 4096 Apr 4 20:05 cost 20:11:33 -rw-r--r-- 1 root root 85 Apr 4 20:05 cost.csv 20:11:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-167/archives 20:11:33 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-167/archives 20:11:33 total 16 20:11:33 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 20:05 . 20:11:33 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:05 .. 20:11:33 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 20:05 cost 20:11:33 -rw-r--r-- 1 jenkins jenkins 85 Apr 4 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:11:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:11:34 ---> package-listing.sh 20:11:34 ++ facter osfamily 20:11:34 ++ tr '[:upper:]' '[:lower:]' 20:11:34 + OS_FAMILY=debian 20:11:34 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-167 20:11:34 + START_PACKAGES=/tmp/packages_start.txt 20:11:34 + END_PACKAGES=/tmp/packages_end.txt 20:11:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:11:34 + PACKAGES=/tmp/packages_start.txt 20:11:34 + '[' /w/workspace/gexfoundry_device-rest-go_PR-167 ']' 20:11:34 + PACKAGES=/tmp/packages_end.txt 20:11:34 + case "${OS_FAMILY}" in 20:11:34 + dpkg -l 20:11:34 + grep '^ii' 20:11:34 + '[' -f /tmp/packages_start.txt ']' 20:11:34 + '[' -f /tmp/packages_end.txt ']' 20:11:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:11:34 + '[' /w/workspace/gexfoundry_device-rest-go_PR-167 ']' 20:11:34 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-167/archives/ 20:11:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-167/archives/ [Pipeline] echo 20:11:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:11:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:11:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:35 . [Pipeline] withDockerContainer 20:11:35 prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container 20:11:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-167/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-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:11:35 $ docker top 53210e0e0daf0e27a26b4c2a22ceea8882cb0b02a149a35ff6445e25caa5814c -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:36 + touch /tmp/pre-build-complete [Pipeline] sh 20:11:36 + mkdir -p /var/log/sysstat [Pipeline] sh 20:11:37 + ls /var/log/sa-host 20:11:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:37 provisioning config files... 20:11:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config5829023323854422888tmp [Pipeline] { [Pipeline] echo 20:11:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:11:37 ---> create-netrc.sh [Pipeline] } 20:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:11:38 ---> python-tools-install.sh [Pipeline] echo 20:11:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:11:38 ---> sudo-logs.sh 20:11:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:11:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:11:38 ---> job-cost.sh 20:11:38 lf-activate-venv: SKIPPING 20:11:38 DEBUG: total: 0.2199999988079071 20:11:38 INFO: Retrieving Stack Cost... 20:11:39 INFO: Retrieving Pricing Info for: v3-standard-8 20:11:39 INFO: Archiving Costs [Pipeline] echo 20:11:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:11:40 ---> logs-deploy.sh 20:11:40 lf-activate-venv: SKIPPING 20:11:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-167/1 20:11:40 INFO: archiving workspace using pattern(s): 20:11:40 Archives upload complete. 20:11:40 INFO: archiving logs to Nexus