Pull request #161 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee2e6e81ad487de87278d539e48b56c24f1169b0+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (335f540a247ba94629573f37f34b15d462e77e74) 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-ssh12726810714493952298.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-ssh15502945538693264448.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-161/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-161/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16044382532936297669.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-161/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1115674567764965920.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-ssh9713726398246499179.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-161/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-161/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8786557659987409671.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8447 in /w/workspace/gexfoundry_device-rest-go_PR-161 [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-161 # 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 ee2e6e81ad487de87278d539e48b56c24f1169b0 Merge succeeded, producing ee2e6e81ad487de87278d539e48b56c24f1169b0 Checking out Revision ee2e6e81ad487de87278d539e48b56c24f1169b0 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee2e6e81ad487de87278d539e48b56c24f1169b0 # 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 ee2e6e81ad487de87278d539e48b56c24f1169b0 # 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:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:03:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:03:33 ========================================================= 20:03:33 EdgeX Global Pipelines Version Info 20:03:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:03:33 ------------------- 20:03:33 stable info: 20:03:33 ------------------- 20:03:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:03:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:03:33 Message: update stable to v1.0.221 20:03:34 ------------------- 20:03:34 experimental info: 20:03:34 ------------------- 20:03:34 Commited By: **** collab-it+edgex@linuxfoundation.org 20:03:34 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:03:34 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:03:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:03:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:03:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:03:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:03:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo 20:03:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo 20:03:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo 20:03:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo 20:03:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee2e6e8 [Pipeline] echo 20:03:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:36 provisioning config files... 20:03:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config1447911291314457629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:36 ---> docker-login.sh 20:03:36 nexus3.edgexfoundry.org:10001 20:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:37 Configure a credential helper to remove this warning. See 20:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:37 20:03:37 Login Succeeded 20:03:37 nexus3.edgexfoundry.org:10002 20:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:37 Configure a credential helper to remove this warning. See 20:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:37 20:03:37 Login Succeeded 20:03:37 nexus3.edgexfoundry.org:10003 20:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:37 Configure a credential helper to remove this warning. See 20:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:37 20:03:37 Login Succeeded 20:03:37 nexus3.edgexfoundry.org:10004 20:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:38 Configure a credential helper to remove this warning. See 20:03:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:38 20:03:38 Login Succeeded 20:03:38 docker.io 20:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:38 Configure a credential helper to remove this warning. See 20:03:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:38 20:03:38 Login Succeeded 20:03:38 ---> docker-login.sh ends [Pipeline] } 20:03:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:03:39 + git rev-list -1 --merges ee2e6e81ad487de87278d539e48b56c24f1169b0~1..ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo 20:03:39 -----------> git rev-list -1 --merges ee2e6e81ad487de87278d539e48b56c24f1169b0~1..ee2e6e81ad487de87278d539e48b56c24f1169b0 ee2e6e81ad487de87278d539e48b56c24f1169b0 [false] [Pipeline] sh 20:03:39 + git log --format=format:%s -1 ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo 20:03:39 ========================================================= 20:03:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:03:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:39 + git log --format=format:%s -1 ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo 20:03:39 [semverPrep] GIT_COMMIT: ee2e6e81ad487de87278d539e48b56c24f1169b0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:03:40 [semverPrep] This is not a build commit. [Pipeline] sh 20:03:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:03:40 + grep -v github /etc/ssh/ssh_known_hosts 20:03:40 + [ -e /tmp/ssh_known_hosts ] 20:03:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:03:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:03:40 + sudo tee -a /etc/ssh/ssh_known_hosts 20:03:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:40 20:03:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:03:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:41 latest: Pulling from edgex-devops/git-semver 20:03:41 a0d0a0d46f8b: Pulling fs layer 20:03:41 3e5f54012d9b: Pulling fs layer 20:03:41 4c7163046ea9: Pulling fs layer 20:03:41 0c2d73faf560: Pulling fs layer 20:03:41 0c2d73faf560: Waiting 20:03:41 3e5f54012d9b: Verifying Checksum 20:03:41 3e5f54012d9b: Download complete 20:03:41 a0d0a0d46f8b: Verifying Checksum 20:03:41 a0d0a0d46f8b: Download complete 20:03:41 0c2d73faf560: Verifying Checksum 20:03:41 0c2d73faf560: Download complete 20:03:41 4c7163046ea9: Verifying Checksum 20:03:41 4c7163046ea9: Download complete 20:03:41 a0d0a0d46f8b: Pull complete 20:03:41 3e5f54012d9b: Pull complete 20:03:42 4c7163046ea9: Pull complete 20:03:42 0c2d73faf560: Pull complete 20:03:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:03:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:03:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:03:42 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 20:03:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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:43 $ docker top 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:43 [ssh-agent] Looking for ssh-agent implementation... 20:03:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:43 $ docker exec 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent 20:03:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjJiMlN/agent.14 20:03:43 SSH_AGENT_PID=20 20:03:43 Running ssh-add (command line suppressed) 20:03:43 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_2482958405447804541.key (/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_2482958405447804541.key) 20:03:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:44 + git tag --points-at HEAD [Pipeline] } 20:03:44 $ docker exec --env ******** --env ******** 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent -k 20:03:44 unset SSH_AUTH_SOCK; 20:03:44 unset SSH_AGENT_PID; 20:03:44 echo Agent pid 20 killed; 20:03:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:03:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:44 [ssh-agent] Looking for ssh-agent implementation... 20:03:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:44 $ docker exec 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent 20:03:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXADfmac/agent.54 20:03:44 SSH_AGENT_PID=60 20:03:44 Running ssh-add (command line suppressed) 20:03:44 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_7542249522562203907.key (/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_7542249522562203907.key) 20:03:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:45 + git semver init 20:03:45 # -> Open(): unable to determine branch for HEAD 20:03:45 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-161/.git 20:03:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-161 20:03:45 # $SEMVER_REMOTE_NAME = origin 20:03:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:03:45 # $SEMVER_USER_NAME = edgex-jenkins 20:03:45 # $SEMVER_BRANCH = PR-161 20:03:45 # $SEMVER_TEMP = /tmp/semver-262393815 20:03:45 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:03:46 # '/tmp/semver-262393815' -> '/w/workspace/gexfoundry_device-rest-go_PR-161/.semver' 20:03:46 # -> Force: false 20:03:46 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-161/.semver [Pipeline] } 20:03:46 $ docker exec --env ******** --env ******** 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent -k 20:03:46 unset SSH_AUTH_SOCK; 20:03:46 unset SSH_AGENT_PID; 20:03:46 echo Agent pid 60 killed; 20:03:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:47 + git semver [Pipeline] } 20:03:47 $ docker stop --time=1 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa 20:03:48 $ docker rm -f 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa [Pipeline] // withDockerContainer [Pipeline] sh 20:03:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:03:49 Stashed 1 file(s) [Pipeline] echo 20:03:49 [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:49 provisioning config files... 20:03:49 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config1973220512555776690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:50 ---> docker-login.sh 20:03:50 nexus3.edgexfoundry.org:10001 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 nexus3.edgexfoundry.org:10002 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 nexus3.edgexfoundry.org:10003 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 nexus3.edgexfoundry.org:10004 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:50 Configure a credential helper to remove this warning. See 20:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:50 20:03:50 Login Succeeded 20:03:50 docker.io 20:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:51 Configure a credential helper to remove this warning. See 20:03:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:51 20:03:51 Login Succeeded 20:03:51 ---> docker-login.sh ends [Pipeline] } 20:03:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:03:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:51 ========================================================= 20:03:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:03:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:03:51 + 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:51 Sending build context to Docker daemon 10.55MB 20:03:51 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:03:51 Step 2/12 : FROM ${BASE} AS builder 20:03:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:03:51 59bf1c3509f3: Pulling fs layer 20:03:51 666ba61612fd: Pulling fs layer 20:03:51 8ed8ca486205: Pulling fs layer 20:03:51 4fe6c5a15a65: Pulling fs layer 20:03:51 22a0e8bec74d: Pulling fs layer 20:03:51 640e595b4fbd: Pulling fs layer 20:03:51 4fe6c5a15a65: Waiting 20:03:51 22a0e8bec74d: Waiting 20:03:51 640e595b4fbd: Waiting 20:03:51 763cafe07f6e: Pulling fs layer 20:03:51 0c0b528cf693: Pulling fs layer 20:03:51 10935f4eaf8b: Pulling fs layer 20:03:51 763cafe07f6e: Waiting 20:03:51 0c0b528cf693: Waiting 20:03:52 8ed8ca486205: Verifying Checksum 20:03:52 8ed8ca486205: Download complete 20:03:52 666ba61612fd: Verifying Checksum 20:03:52 666ba61612fd: Download complete 20:03:52 22a0e8bec74d: Download complete 20:03:52 640e595b4fbd: Verifying Checksum 20:03:52 640e595b4fbd: Download complete 20:03:52 59bf1c3509f3: Verifying Checksum 20:03:52 59bf1c3509f3: Download complete 20:03:52 763cafe07f6e: Download complete 20:03:52 0c0b528cf693: Verifying Checksum 20:03:52 0c0b528cf693: Download complete 20:03:52 59bf1c3509f3: Pull complete 20:03:52 666ba61612fd: Pull complete 20:03:52 8ed8ca486205: Pull complete 20:03:52 10935f4eaf8b: Verifying Checksum 20:03:52 10935f4eaf8b: Download complete 20:03:52 4fe6c5a15a65: Verifying Checksum 20:03:52 4fe6c5a15a65: Download complete 20:03:56 4fe6c5a15a65: Pull complete 20:03:56 22a0e8bec74d: Pull complete 20:03:56 640e595b4fbd: Pull complete 20:03:56 763cafe07f6e: Pull complete 20:03:57 0c0b528cf693: Pull complete 20:03:59 10935f4eaf8b: Pull complete 20:03:59 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:03:59 ---> 99d49a6021b9 20:03:59 Step 3/12 : ARG MAKE='make build' 20:04:01 ---> Running in 716198f10ada 20:04:01 Removing intermediate container 716198f10ada 20:04:01 ---> f11a43af6cfa 20:04:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:01 ---> Running in 3900cde6bef4 20:04:01 Removing intermediate container 3900cde6bef4 20:04:01 ---> d453d2db1366 20:04:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:04:01 ---> Running in ce87f4879df2 20:04:01 Removing intermediate container ce87f4879df2 20:04:01 ---> c4ba5664d6d0 20:04:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:01 ---> Running in c48b57e1f072 20:04:02 Removing intermediate container c48b57e1f072 20:04:02 ---> 2a438324fa70 20:04:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:02 ---> Running in 9092583746b2 20:04:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:04:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:04:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:04:03 (2/4) Installing libedit (20210910.3.1-r0) 20:04:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:04:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:04:04 Executing busybox-1.34.1-r3.trigger 20:04:04 OK: 224 MiB in 56 packages 20:04:04 Removing intermediate container 9092583746b2 20:04:04 ---> eef57dc43ea5 20:04:04 Step 8/12 : WORKDIR /device-rest-go 20:04:04 ---> Running in f945ff9ec00d 20:04:04 Still waiting to schedule task 20:04:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:04 Removing intermediate container f945ff9ec00d 20:04:04 ---> a6226975b61d 20:04:04 Step 9/12 : COPY go.mod vendor* ./ 20:04:04 ---> 8eda6c10d5cd 20:04:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:04 ---> Running in f36cea9d3e78 20:04:31 Removing intermediate container f36cea9d3e78 20:04:31 ---> 038e6d33f345 20:04:31 Step 11/12 : COPY . . 20:04:31 ---> b282dbb8f631 20:04:31 Step 12/12 : RUN $MAKE 20:04:31 ---> Running in 4461065d7bd9 20:04:31 noop 20:04:31 Removing intermediate container 4461065d7bd9 20:04:31 ---> 51c870a71485 20:04:31 Successfully built 51c870a71485 20:04:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:04:32 + docker inspect -f . ci-base-image-x86_64 20:04:32 . [Pipeline] withDockerContainer 20:04:32 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 20:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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:32 $ docker top fab4f59ca5e92916600eaf0032ea00fbe2eff0bc9ce79d30f312513786fe3137 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:33 + go version 20:04:33 go version go1.17.6 linux/amd64 [Pipeline] } 20:04:33 $ docker stop --time=1 fab4f59ca5e92916600eaf0032ea00fbe2eff0bc9ce79d30f312513786fe3137 20:04:34 $ docker rm -f fab4f59ca5e92916600eaf0032ea00fbe2eff0bc9ce79d30f312513786fe3137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [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-8447 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-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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:35 $ docker top 9ae71f855eee59e6395da2db34a1228c10d4174963d9c3141fabbc74362a9eaf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:04:36 + make test 20:04:36 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:04:36 ? github.com/edgexfoundry/device-rest-go [no test files] 20:04:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:04:43 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 56.0% of statements 20:04:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:04:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:04:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:04:46 ./bin/test-attribution-txt.sh [Pipeline] echo 20:04:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:04:46 $ docker stop --time=1 9ae71f855eee59e6395da2db34a1228c10d4174963d9c3141fabbc74362a9eaf 20:04:48 $ docker rm -f 9ae71f855eee59e6395da2db34a1228c10d4174963d9c3141fabbc74362a9eaf [Pipeline] // withDockerContainer [Pipeline] sh 20:04:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:04:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:04:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:50 + ls -al . 20:04:50 total 180 20:04:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 20:04 . 20:04:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 20:03 .. 20:04:50 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 20:03 .dockerignore 20:04:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 20:03 .git 20:04:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:03 .github 20:04:50 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 20:03 .gitignore 20:04:50 drwx------ 3 jenkins jenkins 4096 Mar 21 20:03 .semver 20:04:50 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 21 20:03 Attribution.txt 20:04:50 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 21 20:03 CHANGELOG.md 20:04:50 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 21 20:03 Dockerfile 20:04:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 20:03 GOVERNANCE.md 20:04:50 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 20:03 Jenkinsfile 20:04:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 20:03 LICENSE 20:04:50 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 21 20:03 Makefile 20:04:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 20:03 OWNERS.md 20:04:50 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 21 20:03 README.md 20:04:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 20:03 VERSION 20:04:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:03 bin 20:04:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:03 cmd 20:04:50 -rw-r--r-- 1 jenkins jenkins 9215 Mar 21 20:04 coverage.out 20:04:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:03 driver 20:04:50 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 21 20:03 go.mod 20:04:50 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 20:03 go.sum 20:04:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:03 snap 20:04:50 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 20:03 version.go [Pipeline] isUnix [Pipeline] sh 20:04:50 + 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=ee2e6e81ad487de87278d539e48b56c24f1169b0 --label arch=amd64 --label version=0.0.0 . 20:04:50 Sending build context to Docker daemon 10.56MB 20:04:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:04:50 Step 2/25 : FROM ${BASE} AS builder 20:04:50 ---> 51c870a71485 20:04:50 Step 3/25 : ARG MAKE='make build' 20:04:50 ---> Running in f4f6dcdb29f0 20:04:50 Removing intermediate container f4f6dcdb29f0 20:04:50 ---> d45cdff76398 20:04:50 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:50 ---> Running in 712c9fa9f3cc 20:04:50 Removing intermediate container 712c9fa9f3cc 20:04:50 ---> 183abcd7b4b3 20:04:50 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:04:50 ---> Running in 91ca5518708a 20:04:51 Removing intermediate container 91ca5518708a 20:04:51 ---> 4c818405200c 20:04:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:51 ---> Running in 363164edfd4f 20:04:51 Removing intermediate container 363164edfd4f 20:04:51 ---> aa5a16b809d3 20:04:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:51 ---> Running in c967b11065e4 20:04:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:04:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:04:53 OK: 224 MiB in 56 packages 20:04:53 Removing intermediate container c967b11065e4 20:04:53 ---> b50fb146ccb6 20:04:53 Step 8/25 : WORKDIR /device-rest-go 20:04:53 ---> Running in a5ecf4b7794d 20:04:53 Removing intermediate container a5ecf4b7794d 20:04:53 ---> 237f9bc19d97 20:04:53 Step 9/25 : COPY go.mod vendor* ./ 20:04:53 ---> f9e6cad09f1b 20:04:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:54 ---> Running in b774f80a1a98 20:04:54 Removing intermediate container b774f80a1a98 20:04:54 ---> fedae9d3ed20 20:04:54 Step 11/25 : COPY . . 20:04:54 ---> 3853626f4f4d 20:04:54 Step 12/25 : RUN $MAKE 20:04:54 ---> Running in e314d03464da 20:04:55 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:03 Removing intermediate container e314d03464da 20:05:03 ---> 9fca00d912ee 20:05:03 Step 13/25 : FROM alpine:3.14 20:05:03 3.14: Pulling from library/alpine 20:05:03 36ccefbf3d8a: Pulling fs layer 20:05:03 36ccefbf3d8a: Verifying Checksum 20:05:03 36ccefbf3d8a: Download complete 20:05:03 36ccefbf3d8a: Pull complete 20:05:03 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 20:05:03 Status: Downloaded newer image for alpine:3.14 20:05:03 ---> a33ac4f1069a 20:05:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:05:03 ---> Running in 32cde8b459f4 20:05:03 Removing intermediate container 32cde8b459f4 20:05:03 ---> c81d81bf2bd5 20:05:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:05:03 ---> Running in 878c27eb7b18 20:05:03 Removing intermediate container 878c27eb7b18 20:05:03 ---> f57b21a15f5d 20:05:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:05:03 ---> Running in f0efb43f48ad 20:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:05:04 (1/6) Installing dumb-init (1.2.5-r1) 20:05:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:05:04 (3/6) Installing libsodium (1.0.18-r0) 20:05:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:05:04 (5/6) Installing libzmq (4.3.4-r0) 20:05:04 (6/6) Installing zeromq (4.3.4-r0) 20:05:04 Executing busybox-1.33.1-r6.trigger 20:05:04 OK: 8 MiB in 20 packages 20:05:04 Removing intermediate container f0efb43f48ad 20:05:04 ---> ccb4cf8281e4 20:05:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:05:05 ---> 0097c08d6ec5 20:05:05 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:05:05 ---> f9fe95df8d90 20:05:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:05:05 ---> 7018aca4cb27 20:05:05 Step 20/25 : EXPOSE 59986 20:05:05 ---> Running in 03eb27fc772a 20:05:05 Removing intermediate container 03eb27fc772a 20:05:05 ---> cd7094156307 20:05:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:05:05 ---> Running in 9c14dc7872cf 20:05:05 Removing intermediate container 9c14dc7872cf 20:05:05 ---> 11830c2ae06a 20:05:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:05:06 ---> Running in b2273290c059 20:05:06 Removing intermediate container b2273290c059 20:05:06 ---> fe30ea854908 20:05:06 Step 23/25 : LABEL arch=amd64 20:05:06 ---> Running in 823553e7ee9c 20:05:06 Removing intermediate container 823553e7ee9c 20:05:06 ---> bab2482e1396 20:05:06 Step 24/25 : LABEL git_sha=ee2e6e81ad487de87278d539e48b56c24f1169b0 20:05:06 ---> Running in 6caf5ad7e1ad 20:05:06 Removing intermediate container 6caf5ad7e1ad 20:05:06 ---> 019bceb95efb 20:05:06 Step 25/25 : LABEL version=0.0.0 20:05:06 ---> Running in 34bf6f21c347 20:05:06 Removing intermediate container 34bf6f21c347 20:05:06 ---> 0a40b58f9d6a 20:05:06 [Warning] One or more build-args [ARCH] were not consumed 20:05:06 Successfully built 0a40b58f9d6a 20:05:06 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:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:07 20:05:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:05:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:07 latest: Pulling from edgex-lftools-log-publisher 20:05:07 5eb5b503b376: Pulling fs layer 20:05:07 5c69ac0246d0: Pulling fs layer 20:05:07 ec43610c2a17: Pulling fs layer 20:05:07 3a2ae6a8a46f: Pulling fs layer 20:05:07 33b1e0a273af: Pulling fs layer 20:05:07 5d3b04190fa2: Pulling fs layer 20:05:07 2f39f015ded8: Pulling fs layer 20:05:07 33b1e0a273af: Waiting 20:05:07 5d3b04190fa2: Waiting 20:05:07 2f39f015ded8: Waiting 20:05:07 3a2ae6a8a46f: Waiting 20:05:07 5c69ac0246d0: Verifying Checksum 20:05:07 5c69ac0246d0: Download complete 20:05:07 3a2ae6a8a46f: Verifying Checksum 20:05:07 3a2ae6a8a46f: Download complete 20:05:07 33b1e0a273af: Verifying Checksum 20:05:07 33b1e0a273af: Download complete 20:05:07 ec43610c2a17: Verifying Checksum 20:05:07 ec43610c2a17: Download complete 20:05:07 5d3b04190fa2: Verifying Checksum 20:05:07 5d3b04190fa2: Download complete 20:05:07 5eb5b503b376: Verifying Checksum 20:05:07 5eb5b503b376: Download complete 20:05:08 2f39f015ded8: Download complete 20:05:08 5eb5b503b376: Pull complete 20:05:09 5c69ac0246d0: Pull complete 20:05:09 ec43610c2a17: Pull complete 20:05:09 3a2ae6a8a46f: Pull complete 20:05:09 33b1e0a273af: Pull complete 20:05:09 5d3b04190fa2: Pull complete 20:05:14 2f39f015ded8: Pull complete 20:05:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:05:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:05:14 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 20:05:14 $ 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-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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:16 $ docker top d2cbc6402676929c2242d96bf686308591a587e22027a283c3700180873cd37d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:16 ---> job-cost.sh 20:05:16 lf-activate-venv: SKIPPING 20:05:16 INFO: No Stack... 20:05:17 INFO: Retrieving Pricing Info for: v3-standard-8 20:05:17 INFO: Archiving Costs [Pipeline] sh 20:05:17 + cat /w/workspace/gexfoundry_device-rest-go_PR-161/archives/cost.csv 20:05:17 + cut -d, -f6 [Pipeline] lock 20:05:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] 20:05:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] did not exist. Created. 20:05:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:05:18 + echo total: 0.2199999988079071 [Pipeline] stash 20:05:18 Stashed 1 file(s) [Pipeline] } 20:05:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:05:18 $ docker stop --time=1 d2cbc6402676929c2242d96bf686308591a587e22027a283c3700180873cd37d 20:05:19 $ docker rm -f d2cbc6402676929c2242d96bf686308591a587e22027a283c3700180873cd37d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:05:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8449 in /w/workspace/gexfoundry_device-rest-go_PR-161 [Pipeline] { [Pipeline] ws 20:05:38 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:05:38 The recommended git tool is: git 20:05:46 using credential edgex-jenkins-ssh 20:05:46 Cloning the remote Git repository 20:05:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:05:46 > git init /w/workspace/device-rest-go/1 # timeout=10 20:05:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:05:46 > git --version # timeout=10 20:05:46 > git --version # 'git version 2.25.1' 20:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:05:49 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit ee2e6e81ad487de87278d539e48b56c24f1169b0 20:05:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:05:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:05:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:05:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:05:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:05:49 > git config core.sparsecheckout # timeout=10 20:05:49 > git checkout -f ee2e6e81ad487de87278d539e48b56c24f1169b0 # timeout=10 20:05:50 Merge succeeded, producing ee2e6e81ad487de87278d539e48b56c24f1169b0 20:05:50 Checking out Revision ee2e6e81ad487de87278d539e48b56c24f1169b0 (PR-161) 20:05:50 > git remote # timeout=10 20:05:50 > git config --get remote.origin.url # timeout=10 20:05:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:05:50 > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 20:05:50 > git rev-parse HEAD^{commit} # timeout=10 20:05:50 > git config core.sparsecheckout # timeout=10 20:05:50 > git checkout -f ee2e6e81ad487de87278d539e48b56c24f1169b0 # timeout=10 20:05:54 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:05:54 > git --version # timeout=10 20:05:54 > git --version # 'git version 2.25.1' 20:05:54 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:05:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:05:55 Dload Upload Total Spent Left Speed 20:05:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44355 [Pipeline] sh 20:05:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:05:56 + sudo tee /etc/docker/daemon.new 20:05:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:05:56 { 20:05:56 "registry-mirrors": [ 20:05:56 "https://nexus3.edgexfoundry.org:10001" 20:05:56 ], 20:05:56 "bip": "10.250.0.254/24", 20:05:56 "hosts": [ 20:05:56 "tcp://0.0.0.0:5555", 20:05:56 "unix:///var/run/docker.sock" 20:05:56 ], 20:05:56 "mtu": 1458, 20:05:56 "selinux-enabled": true, 20:05:56 "seccomp-profile": "/etc/docker/seccomp.json" 20:05:56 } [Pipeline] sh 20:05:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:05:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:15 provisioning config files... 20:06:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1427121808010233444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:16 ---> docker-login.sh 20:06:16 nexus3.edgexfoundry.org:10001 20:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:17 Configure a credential helper to remove this warning. See 20:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:17 20:06:17 Login Succeeded 20:06:17 nexus3.edgexfoundry.org:10002 20:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:17 Configure a credential helper to remove this warning. See 20:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:17 20:06:17 Login Succeeded 20:06:17 nexus3.edgexfoundry.org:10003 20:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:18 Configure a credential helper to remove this warning. See 20:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:18 20:06:18 Login Succeeded 20:06:18 nexus3.edgexfoundry.org:10004 20:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:18 Configure a credential helper to remove this warning. See 20:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:18 20:06:18 Login Succeeded 20:06:18 docker.io 20:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:19 Configure a credential helper to remove this warning. See 20:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:19 20:06:19 Login Succeeded 20:06:19 ---> docker-login.sh ends [Pipeline] } 20:06:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:20 ========================================================= 20:06:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:06:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:06:20 + 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:20 Sending build context to Docker daemon 124.9kB 20:06:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:06:20 Step 2/12 : FROM ${BASE} AS builder 20:06:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:21 9b3977197b4f: Pulling fs layer 20:06:21 1a89e8eeedd5: Pulling fs layer 20:06:21 94645a83ff95: Pulling fs layer 20:06:21 3f3a8bcf1eab: Pulling fs layer 20:06:21 3f3a8bcf1eab: Waiting 20:06:21 0c92f367c5e7: Pulling fs layer 20:06:21 f7c0051592d6: Pulling fs layer 20:06:21 a227ed2f7395: Pulling fs layer 20:06:21 7b1c46037f91: Pulling fs layer 20:06:21 0c92f367c5e7: Waiting 20:06:21 a227ed2f7395: Waiting 20:06:21 f7c0051592d6: Waiting 20:06:21 94645a83ff95: Verifying Checksum 20:06:21 94645a83ff95: Download complete 20:06:21 1a89e8eeedd5: Verifying Checksum 20:06:21 1a89e8eeedd5: Download complete 20:06:21 0c92f367c5e7: Verifying Checksum 20:06:21 0c92f367c5e7: Download complete 20:06:21 f7c0051592d6: Verifying Checksum 20:06:21 f7c0051592d6: Download complete 20:06:21 9b3977197b4f: Download complete 20:06:21 a227ed2f7395: Verifying Checksum 20:06:21 a227ed2f7395: Download complete 20:06:21 9b3977197b4f: Pull complete 20:06:22 1a89e8eeedd5: Pull complete 20:06:22 94645a83ff95: Pull complete 20:06:23 7b1c46037f91: Verifying Checksum 20:06:23 7b1c46037f91: Download complete 20:06:23 3f3a8bcf1eab: Verifying Checksum 20:06:23 3f3a8bcf1eab: Download complete 20:06:36 3f3a8bcf1eab: Pull complete 20:06:36 0c92f367c5e7: Pull complete 20:06:36 f7c0051592d6: Pull complete 20:06:36 a227ed2f7395: Pull complete 20:06:43 7b1c46037f91: Pull complete 20:06:43 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:06:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:06:43 ---> f79e39bc4007 20:06:43 Step 3/12 : ARG MAKE='make build' 20:06:43 ---> Running in 18940bc1b703 20:06:43 Removing intermediate container 18940bc1b703 20:06:43 ---> 370571a723ee 20:06:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:43 ---> Running in 8a6969d221dc 20:06:44 Removing intermediate container 8a6969d221dc 20:06:44 ---> 8e11df0fed5f 20:06:44 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:06:44 ---> Running in bff474dcad69 20:06:44 Removing intermediate container bff474dcad69 20:06:44 ---> 05bb18406e3d 20:06:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:44 ---> Running in 8396c753229f 20:06:46 Removing intermediate container 8396c753229f 20:06:46 ---> 5bd49519d1ae 20:06:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:46 ---> Running in eb19e466695f 20:06:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:06:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:06:49 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:06:49 (2/4) Installing libedit (20210910.3.1-r0) 20:06:49 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:06:49 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:06:49 Executing busybox-1.34.1-r3.trigger 20:06:49 OK: 224 MiB in 56 packages 20:06:50 Removing intermediate container eb19e466695f 20:06:50 ---> 9d069d823594 20:06:50 Step 8/12 : WORKDIR /device-rest-go 20:06:50 ---> Running in 71f6b69bc6c1 20:06:50 Removing intermediate container 71f6b69bc6c1 20:06:50 ---> bb1aecd577e7 20:06:50 Step 9/12 : COPY go.mod vendor* ./ 20:06:51 ---> 5f355dd46b8d 20:06:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:51 ---> Running in 66ef25b6776e 20:08:13 Removing intermediate container 66ef25b6776e 20:08:13 ---> 53b80f16f668 20:08:13 Step 11/12 : COPY . . 20:08:13 ---> 44976580d450 20:08:13 Step 12/12 : RUN $MAKE 20:08:13 ---> Running in 36eeaf4f9e7e 20:08:13 noop 20:08:13 Removing intermediate container 36eeaf4f9e7e 20:08:13 ---> 1bf44bf9933f 20:08:13 Successfully built 1bf44bf9933f 20:08:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:08:13 + docker inspect -f . ci-base-image-arm64 20:08:13 . [Pipeline] withDockerContainer 20:08:14 prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container 20:08:14 $ 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:15 $ docker top 3ba99896e12690767e7abb2e9697687ac42448c921e05f9cfe42bc2f7daac4e2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:16 + go version 20:08:16 go version go1.17.6 linux/arm64 [Pipeline] } 20:08:16 $ docker stop --time=1 3ba99896e12690767e7abb2e9697687ac42448c921e05f9cfe42bc2f7daac4e2 20:08:17 $ docker rm -f 3ba99896e12690767e7abb2e9697687ac42448c921e05f9cfe42bc2f7daac4e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:18 + docker inspect -f . ci-base-image-arm64 20:08:18 . [Pipeline] withDockerContainer 20:08:19 prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container 20:08:19 $ 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:20 $ docker top 793f303e46343f5048c9310eca598b6b27d3b5c1d2b44063cc02e4435be463a4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:08:21 + make test 20:08:21 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:08:22 ? github.com/edgexfoundry/device-rest-go [no test files] 20:09:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:09:12 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 56.0% of statements 20:09:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:09:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:09:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:09:34 ./bin/test-attribution-txt.sh [Pipeline] echo 20:09:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:09:34 $ docker stop --time=1 793f303e46343f5048c9310eca598b6b27d3b5c1d2b44063cc02e4435be463a4 20:09:36 $ docker rm -f 793f303e46343f5048c9310eca598b6b27d3b5c1d2b44063cc02e4435be463a4 [Pipeline] // withDockerContainer [Pipeline] sh 20:09:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:09:37 Warning: overwriting stash ‘coverage-report’ 20:09:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:09:38 + ls -al . 20:09:38 total 176 20:09:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 20:09 . 20:09:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 20:05 .. 20:09:38 -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 20:05 .dockerignore 20:09:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 20:05 .git 20:09:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:05 .github 20:09:38 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 20:05 .gitignore 20:09:38 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 21 20:05 Attribution.txt 20:09:38 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 21 20:05 CHANGELOG.md 20:09:38 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 21 20:05 Dockerfile 20:09:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 20:05 GOVERNANCE.md 20:09:38 -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 20:05 Jenkinsfile 20:09:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 20:05 LICENSE 20:09:38 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 21 20:05 Makefile 20:09:38 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 20:05 OWNERS.md 20:09:38 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 21 20:05 README.md 20:09:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 20:03 VERSION 20:09:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:05 bin 20:09:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:05 cmd 20:09:38 -rw-r--r-- 1 jenkins jenkins 9215 Mar 21 20:09 coverage.out 20:09:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:05 driver 20:09:38 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 21 20:05 go.mod 20:09:38 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 20:05 go.sum 20:09:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:05 snap 20:09:38 -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 20:05 version.go [Pipeline] isUnix [Pipeline] sh 20:09:39 + 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=ee2e6e81ad487de87278d539e48b56c24f1169b0 --label arch=arm64 --label version=0.0.0 . 20:09:39 Sending build context to Docker daemon 134.7kB 20:09:39 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:09:39 Step 2/25 : FROM ${BASE} AS builder 20:09:39 ---> 1bf44bf9933f 20:09:39 Step 3/25 : ARG MAKE='make build' 20:09:39 ---> Running in 860a3c0a22c1 20:09:40 Removing intermediate container 860a3c0a22c1 20:09:40 ---> bd3cf73911bf 20:09:40 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:40 ---> Running in 336e90910b21 20:09:40 Removing intermediate container 336e90910b21 20:09:40 ---> a73c40ba23a0 20:09:40 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:09:40 ---> Running in 0d548b767b03 20:09:40 Removing intermediate container 0d548b767b03 20:09:40 ---> b98d5ac863d3 20:09:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:40 ---> Running in cc4031505244 20:09:42 Removing intermediate container cc4031505244 20:09:42 ---> a723aa24ca53 20:09:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:42 ---> Running in 53392326a579 20:09:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:09:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:09:45 OK: 224 MiB in 56 packages 20:09:46 Removing intermediate container 53392326a579 20:09:46 ---> 2a0f582c8c3a 20:09:46 Step 8/25 : WORKDIR /device-rest-go 20:09:46 ---> Running in cecbf9d329e7 20:09:46 Removing intermediate container cecbf9d329e7 20:09:46 ---> 3499e65b41b6 20:09:46 Step 9/25 : COPY go.mod vendor* ./ 20:09:46 ---> 8f035e39a5e1 20:09:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:46 ---> Running in cda8a41bb5fd 20:09:49 Removing intermediate container cda8a41bb5fd 20:09:49 ---> 4daba6715e94 20:09:49 Step 11/25 : COPY . . 20:09:49 ---> 2b50b3dda29d 20:09:49 Step 12/25 : RUN $MAKE 20:09:49 ---> Running in 25cdb1c38ab6 20:09:50 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:37 Removing intermediate container 25cdb1c38ab6 20:10:37 ---> b0f503cc4c4d 20:10:37 Step 13/25 : FROM alpine:3.14 20:10:37 3.14: Pulling from library/alpine 20:10:37 93a1719cf261: Pulling fs layer 20:10:37 93a1719cf261: Verifying Checksum 20:10:37 93a1719cf261: Download complete 20:10:37 93a1719cf261: Pull complete 20:10:37 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 20:10:37 Status: Downloaded newer image for alpine:3.14 20:10:37 ---> 71a2028e5025 20:10:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:10:37 ---> Running in ca7bfd3be864 20:10:37 Removing intermediate container ca7bfd3be864 20:10:37 ---> 376d3005d7a1 20:10:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:10:37 ---> Running in f912107655b3 20:10:37 Removing intermediate container f912107655b3 20:10:37 ---> 9da17b84e4bc 20:10:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:10:37 ---> Running in c02cc7357965 20:10:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:10:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:10:37 (1/6) Installing dumb-init (1.2.5-r1) 20:10:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:10:37 (3/6) Installing libsodium (1.0.18-r0) 20:10:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:10:37 (5/6) Installing libzmq (4.3.4-r0) 20:10:37 (6/6) Installing zeromq (4.3.4-r0) 20:10:37 Executing busybox-1.33.1-r6.trigger 20:10:37 OK: 8 MiB in 20 packages 20:10:37 Removing intermediate container c02cc7357965 20:10:37 ---> 4363c1da8f65 20:10:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:10:37 ---> 35abedf12ece 20:10:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:10:37 ---> dd5f820a9057 20:10:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:10:37 ---> 729f3398fe3d 20:10:37 Step 20/25 : EXPOSE 59986 20:10:38 ---> Running in 8aafaae8eda0 20:10:38 Removing intermediate container 8aafaae8eda0 20:10:38 ---> 630941308148 20:10:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:10:38 ---> Running in adfa20b33b17 20:10:38 Removing intermediate container adfa20b33b17 20:10:38 ---> e0983c39109f 20:10:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:10:38 ---> Running in 014f114a53a7 20:10:39 Removing intermediate container 014f114a53a7 20:10:39 ---> 235ead93a03d 20:10:39 Step 23/25 : LABEL arch=arm64 20:10:39 ---> Running in 343d71b84dfe 20:10:39 Removing intermediate container 343d71b84dfe 20:10:39 ---> 04b0bb91c926 20:10:39 Step 24/25 : LABEL git_sha=ee2e6e81ad487de87278d539e48b56c24f1169b0 20:10:39 ---> Running in e5f80a8b1b09 20:10:39 Removing intermediate container e5f80a8b1b09 20:10:39 ---> 0fa4b2098160 20:10:39 Step 25/25 : LABEL version=0.0.0 20:10:40 ---> Running in f68b48b25bc1 20:10:40 Removing intermediate container f68b48b25bc1 20:10:40 ---> be250655ce5c 20:10:40 [Warning] One or more build-args [ARCH] were not consumed 20:10:40 Successfully built be250655ce5c 20:10:40 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:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:41 20:10:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:10:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:41 arm64: Pulling from edgex-lftools-log-publisher 20:10:41 8998bd30e6a1: Pulling fs layer 20:10:41 04944245beec: Pulling fs layer 20:10:41 699f458cf7ca: Pulling fs layer 20:10:41 765212b225bb: Pulling fs layer 20:10:41 f23df028b6ca: Pulling fs layer 20:10:41 d65c8cfc05b1: Pulling fs layer 20:10:41 2437ff75d9bd: Pulling fs layer 20:10:41 f23df028b6ca: Waiting 20:10:41 d65c8cfc05b1: Waiting 20:10:41 2437ff75d9bd: Waiting 20:10:41 765212b225bb: Waiting 20:10:41 04944245beec: Verifying Checksum 20:10:41 04944245beec: Download complete 20:10:41 765212b225bb: Verifying Checksum 20:10:41 765212b225bb: Download complete 20:10:41 f23df028b6ca: Download complete 20:10:41 d65c8cfc05b1: Verifying Checksum 20:10:41 d65c8cfc05b1: Download complete 20:10:42 699f458cf7ca: Verifying Checksum 20:10:42 699f458cf7ca: Download complete 20:10:42 8998bd30e6a1: Verifying Checksum 20:10:42 8998bd30e6a1: Download complete 20:10:44 2437ff75d9bd: Verifying Checksum 20:10:44 2437ff75d9bd: Download complete 20:10:46 8998bd30e6a1: Pull complete 20:10:46 04944245beec: Pull complete 20:10:48 699f458cf7ca: Pull complete 20:10:48 765212b225bb: Pull complete 20:10:49 f23df028b6ca: Pull complete 20:10:49 d65c8cfc05b1: Pull complete 20:11:05 2437ff75d9bd: Pull complete 20:11:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:11:05 prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container 20:11:05 $ 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:07 $ docker top 411f96ffe5a8a49e407e391d58adcf88af979d80e25debbc8bd0231a47e766cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:08 ---> job-cost.sh 20:11:08 lf-activate-venv: SKIPPING 20:11:08 INFO: No Stack... 20:11:09 INFO: Retrieving Pricing Info for: v3-standard-4 20:11:10 INFO: Archiving Costs [Pipeline] sh 20:11:10 + cut -d, -f6 20:11:10 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:11:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] 20:11:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] did not exist. Created. 20:11:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:11 /w/workspace/device-rest-go/1@tmp/durable-617fc4f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:11:12 + echo total: 0.10999999940395355 [Pipeline] stash 20:11:12 Warning: overwriting stash ‘stack-cost’ 20:11:12 Stashed 1 file(s) [Pipeline] } 20:11:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:12 $ docker stop --time=1 411f96ffe5a8a49e407e391d58adcf88af979d80e25debbc8bd0231a47e766cf 20:11:14 $ docker rm -f 411f96ffe5a8a49e407e391d58adcf88af979d80e25debbc8bd0231a47e766cf [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:15 provisioning config files... 20:11:15 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config3723478137111141181tmp [Pipeline] { [Pipeline] sh 20:11:15 + set +x 20:11:15 + curl -s https://codecov.io/bash 20:11:15 + bash -s -- 20:11:15 20:11:15 _____ _ 20:11:15 / ____| | | 20:11:15 | | ___ __| | ___ ___ _____ __ 20:11:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:11:15 | |___| (_) | (_| | __/ (_| (_) \ V / 20:11:15 \_____\___/ \__,_|\___|\___\___/ \_/ 20:11:15 Bash-1.0.6 20:11:15 20:11:15 20:11:15 ==> git version 2.25.1 found 20:11:15 ==> 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:15 Release-Date: 2020-01-08 20:11:15 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:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:11:15 ==> Jenkins CI detected. 20:11:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-161 20:11:15 project root: . 20:11:15 --> token set from env 20:11:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:11:15 ==> Running gcov in . (disable via -X gcov) 20:11:15 ==> Python coveragepy not found 20:11:15 ==> Searching for coverage reports in: 20:11:15 + . 20:11:15 -> Found 1 reports 20:11:15 ==> Detecting git/mercurial file structure 20:11:15 ==> Reading reports 20:11:15 + ./coverage.out bytes=9215 20:11:15 ==> Appending adjustments 20:11:15 https://docs.codecov.io/docs/fixing-reports 20:11:15 + Found adjustments 20:11:15 ==> Gzipping contents 20:11:15 4.0K /tmp/codecov.weeOd5.gz 20:11:15 ==> Uploading reports 20:11:15 url: https://codecov.io 20:11:15 query: branch=PR-161&commit=ee2e6e81ad487de87278d539e48b56c24f1169b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=161&job=&cmd_args= 20:11:15 -> Pinging Codecov 20:11:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-161&commit=ee2e6e81ad487de87278d539e48b56c24f1169b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=161&job=&cmd_args= 20:11:15 -> Uploading to 20:11:15 https://storage.googleapis.com/codecov/v4/raw/2022-03-21/4E5D53B4F1F92C436F7061BF334D961C/ee2e6e81ad487de87278d539e48b56c24f1169b0/cfef7cc1-8d95-4818-9b00-25c98a181551.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T201115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02ba0536fb2791a2e78210307d611c87b73dd578c43f08d9042a64656b18068e 20:11:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:11:15 Dload Upload Total Spent Left Speed 20:11:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 6996 --:--:-- --:--:-- --:--:-- 6996 20:11:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] } 20:11:16 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:17 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-161/archives ] 20:11:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-161/archives 20:11:17 total 16 20:11:17 drwxr-xr-x 3 root root 4096 Mar 21 20:05 . 20:11:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 20:05 .. 20:11:17 drwxr-xr-x 2 root root 4096 Mar 21 20:05 cost 20:11:17 -rw-r--r-- 1 root root 85 Mar 21 20:05 cost.csv 20:11:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-161/archives 20:11:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-161/archives 20:11:17 total 16 20:11:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 20:05 . 20:11:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 20:05 .. 20:11:17 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 20:05 cost 20:11:17 -rw-r--r-- 1 jenkins jenkins 85 Mar 21 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:11:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:11:19 ---> package-listing.sh 20:11:19 ++ facter osfamily 20:11:19 ++ tr '[:upper:]' '[:lower:]' 20:11:19 + OS_FAMILY=debian 20:11:19 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-161 20:11:19 + START_PACKAGES=/tmp/packages_start.txt 20:11:19 + END_PACKAGES=/tmp/packages_end.txt 20:11:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:11:19 + PACKAGES=/tmp/packages_start.txt 20:11:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-161 ']' 20:11:19 + PACKAGES=/tmp/packages_end.txt 20:11:19 + case "${OS_FAMILY}" in 20:11:19 + dpkg -l 20:11:19 + grep '^ii' 20:11:19 + '[' -f /tmp/packages_start.txt ']' 20:11:19 + '[' -f /tmp/packages_end.txt ']' 20:11:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:11:19 + '[' /w/workspace/gexfoundry_device-rest-go_PR-161 ']' 20:11:19 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-161/archives/ 20:11:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-161/archives/ [Pipeline] echo 20:11:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:11:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:11:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:20 . [Pipeline] withDockerContainer 20:11:20 prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container 20:11:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-161/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-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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:20 $ docker top c3ca16ee1d9bacd5c363fa14c80895ebef97a878d1ef8ec7c7579e0352f69977 -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:21 + touch /tmp/pre-build-complete [Pipeline] sh 20:11:21 + mkdir -p /var/log/sysstat [Pipeline] sh 20:11:21 + ls /var/log/sa-host 20:11:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:22 provisioning config files... 20:11:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config5389637082269729317tmp [Pipeline] { [Pipeline] echo 20:11:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:11:22 ---> create-netrc.sh [Pipeline] } 20:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:11:22 ---> python-tools-install.sh [Pipeline] echo 20:11:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:11:23 ---> sudo-logs.sh 20:11:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:11:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:11:23 ---> job-cost.sh 20:11:23 lf-activate-venv: SKIPPING 20:11:23 DEBUG: total: 0.2199999988079071 20:11:23 INFO: Retrieving Stack Cost... 20:11:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:11:24 INFO: Archiving Costs [Pipeline] echo 20:11:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:11:24 ---> logs-deploy.sh 20:11:24 lf-activate-venv: SKIPPING 20:11:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-161/1 20:11:24 INFO: archiving workspace using pattern(s): 20:11:25 Archives upload complete. 20:11:25 INFO: archiving logs to Nexus