Pull request #175 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e+238d080d640a7e3d9ba0ccf186e4988c74ba76ef (2a29b65d64b84f5f7931107ba81d3248c307b174) 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-ssh12997645781219174913.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-ssh15988251360778133430.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-175/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-175/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14532274731242784480.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-175/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16299800939660293643.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-ssh5188486291216475609.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-175/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-175/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16133363465256802572.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-21239 in /w/workspace/gexfoundry_device-rest-go_PR-175 [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-175 # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e Merge succeeded, producing 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e Checking out Revision 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e (PR-175) > 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/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/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:06:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:06:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:06:19 ========================================================= 20:06:19 EdgeX Global Pipelines Version Info 20:06:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:06:20 ------------------- 20:06:20 stable info: 20:06:20 ------------------- 20:06:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:06:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:06:20 Message: update stable to v1.0.221 20:06:21 ------------------- 20:06:21 experimental info: 20:06:21 ------------------- 20:06:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:06:21 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 20:06:21 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:06:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-175 [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-175 [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-175 [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dfa2f0 [Pipeline] echo 20:06:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:22 provisioning config files... 20:06:22 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config2336469674572051955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:23 ---> docker-login.sh 20:06:23 nexus3.edgexfoundry.org:10001 20:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:23 Configure a credential helper to remove this warning. See 20:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:23 20:06:23 Login Succeeded 20:06:23 nexus3.edgexfoundry.org:10002 20:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:23 Configure a credential helper to remove this warning. See 20:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:23 20:06:23 Login Succeeded 20:06:23 nexus3.edgexfoundry.org:10003 20:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:23 Configure a credential helper to remove this warning. See 20:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:23 20:06:23 Login Succeeded 20:06:23 nexus3.edgexfoundry.org:10004 20:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:23 Configure a credential helper to remove this warning. See 20:06:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:23 20:06:23 Login Succeeded 20:06:23 docker.io 20:06:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:24 Configure a credential helper to remove this warning. See 20:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:24 20:06:24 Login Succeeded 20:06:24 ---> docker-login.sh ends [Pipeline] } 20:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:06:25 + git rev-list -1 --merges 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e~1..8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo 20:06:25 -----------> git rev-list -1 --merges 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e~1..8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [false] [Pipeline] sh 20:06:25 + git log --format=format:%s -1 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo 20:06:25 ========================================================= 20:06:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:06:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:26 + git log --format=format:%s -1 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo 20:06:26 [semverPrep] GIT_COMMIT: 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:06:26 [semverPrep] This is not a build commit. [Pipeline] sh 20:06:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:06:26 + grep -v github /etc/ssh/ssh_known_hosts 20:06:26 + [ -e /tmp/ssh_known_hosts ] 20:06:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:06:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:06:26 + sudo tee -a /etc/ssh/ssh_known_hosts 20:06:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:06:27 20:06:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:06:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:06:27 latest: Pulling from edgex-devops/git-semver 20:06:27 a0d0a0d46f8b: Pulling fs layer 20:06:27 3e5f54012d9b: Pulling fs layer 20:06:27 4c7163046ea9: Pulling fs layer 20:06:27 0c2d73faf560: Pulling fs layer 20:06:27 0c2d73faf560: Waiting 20:06:27 3e5f54012d9b: Verifying Checksum 20:06:27 3e5f54012d9b: Download complete 20:06:27 a0d0a0d46f8b: Verifying Checksum 20:06:27 a0d0a0d46f8b: Download complete 20:06:27 0c2d73faf560: Verifying Checksum 20:06:27 0c2d73faf560: Download complete 20:06:27 4c7163046ea9: Verifying Checksum 20:06:27 4c7163046ea9: Download complete 20:06:27 a0d0a0d46f8b: Pull complete 20:06:27 3e5f54012d9b: Pull complete 20:06:28 4c7163046ea9: Pull complete 20:06:28 0c2d73faf560: Pull complete 20:06:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:06:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:06:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:06:28 prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container 20:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:06:29 $ docker top 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:06:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:06:29 [ssh-agent] Looking for ssh-agent implementation... 20:06:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:06:29 $ docker exec 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent 20:06:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBbcjiG/agent.13 20:06:29 SSH_AGENT_PID=20 20:06:29 Running ssh-add (command line suppressed) 20:06:29 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_2634871448975489246.key (/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_2634871448975489246.key) 20:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:06:30 + git tag --points-at HEAD [Pipeline] } 20:06:30 $ docker exec --env ******** --env ******** 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent -k 20:06:30 unset SSH_AUTH_SOCK; 20:06:30 unset SSH_AGENT_PID; 20:06:30 echo Agent pid 20 killed; 20:06:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:06:30 [ssh-agent] Looking for ssh-agent implementation... 20:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:06:30 $ docker exec 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent 20:06:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkblphM/agent.54 20:06:30 SSH_AGENT_PID=61 20:06:30 Running ssh-add (command line suppressed) 20:06:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_3077296900524336492.key (/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_3077296900524336492.key) 20:06:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:06:31 + git semver init 20:06:31 # -> Open(): unable to determine branch for HEAD 20:06:31 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-175/.git 20:06:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-175 20:06:31 # $SEMVER_REMOTE_NAME = origin 20:06:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:06:31 # $SEMVER_USER_NAME = edgex-jenkins 20:06:31 # $SEMVER_BRANCH = PR-175 20:06:31 # $SEMVER_TEMP = /tmp/semver-175888154 20:06:31 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:06:32 # '/tmp/semver-175888154' -> '/w/workspace/gexfoundry_device-rest-go_PR-175/.semver' 20:06:32 # -> Force: false 20:06:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-175/.semver [Pipeline] } 20:06:32 $ docker exec --env ******** --env ******** 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent -k 20:06:32 unset SSH_AUTH_SOCK; 20:06:32 unset SSH_AGENT_PID; 20:06:32 echo Agent pid 61 killed; 20:06:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:06:33 + git semver [Pipeline] } 20:06:33 $ docker stop --time=1 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf 20:06:34 $ docker rm -f 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf [Pipeline] // withDockerContainer [Pipeline] sh 20:06:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:06:35 Stashed 1 file(s) [Pipeline] echo 20:06:35 [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:06:36 provisioning config files... 20:06:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config1127422855713277656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:36 ---> docker-login.sh 20:06:36 nexus3.edgexfoundry.org:10001 20:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:36 Configure a credential helper to remove this warning. See 20:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:36 20:06:36 Login Succeeded 20:06:36 nexus3.edgexfoundry.org:10002 20:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:36 Configure a credential helper to remove this warning. See 20:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:36 20:06:36 Login Succeeded 20:06:36 nexus3.edgexfoundry.org:10003 20:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:36 Configure a credential helper to remove this warning. See 20:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:36 20:06:36 Login Succeeded 20:06:36 nexus3.edgexfoundry.org:10004 20:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:36 Configure a credential helper to remove this warning. See 20:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:36 20:06:36 Login Succeeded 20:06:36 docker.io 20:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:37 Configure a credential helper to remove this warning. See 20:06:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:37 20:06:37 Login Succeeded 20:06:37 ---> docker-login.sh ends [Pipeline] } 20:06:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:37 ========================================================= 20:06:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:06:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:06:37 + 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:06:37 Sending build context to Docker daemon 10.58MB 20:06:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:06:37 Step 2/12 : FROM ${BASE} AS builder 20:06:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:06:37 59bf1c3509f3: Pulling fs layer 20:06:37 666ba61612fd: Pulling fs layer 20:06:37 8ed8ca486205: Pulling fs layer 20:06:37 4fe6c5a15a65: Pulling fs layer 20:06:37 22a0e8bec74d: Pulling fs layer 20:06:37 640e595b4fbd: Pulling fs layer 20:06:37 763cafe07f6e: Pulling fs layer 20:06:37 0c0b528cf693: Pulling fs layer 20:06:37 4fe6c5a15a65: Waiting 20:06:37 10935f4eaf8b: Pulling fs layer 20:06:37 763cafe07f6e: Waiting 20:06:37 0c0b528cf693: Waiting 20:06:37 22a0e8bec74d: Waiting 20:06:38 8ed8ca486205: Verifying Checksum 20:06:38 8ed8ca486205: Download complete 20:06:38 666ba61612fd: Download complete 20:06:38 22a0e8bec74d: Verifying Checksum 20:06:38 640e595b4fbd: Download complete 20:06:38 59bf1c3509f3: Verifying Checksum 20:06:38 59bf1c3509f3: Download complete 20:06:38 763cafe07f6e: Download complete 20:06:38 0c0b528cf693: Verifying Checksum 20:06:38 0c0b528cf693: Download complete 20:06:38 59bf1c3509f3: Pull complete 20:06:38 666ba61612fd: Pull complete 20:06:38 8ed8ca486205: Pull complete 20:06:38 10935f4eaf8b: Verifying Checksum 20:06:38 10935f4eaf8b: Download complete 20:06:38 4fe6c5a15a65: Verifying Checksum 20:06:38 4fe6c5a15a65: Download complete 20:06:42 4fe6c5a15a65: Pull complete 20:06:42 22a0e8bec74d: Pull complete 20:06:42 640e595b4fbd: Pull complete 20:06:42 763cafe07f6e: Pull complete 20:06:42 0c0b528cf693: Pull complete 20:06:45 10935f4eaf8b: Pull complete 20:06:45 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:06:45 ---> 99d49a6021b9 20:06:45 Step 3/12 : ARG MAKE='make build' 20:06:46 ---> Running in cbeca86fd091 20:06:46 Removing intermediate container cbeca86fd091 20:06:46 ---> 1fe714a41056 20:06:46 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:46 ---> Running in 780e034346cb 20:06:46 Removing intermediate container 780e034346cb 20:06:46 ---> 5ec1ea919a07 20:06:46 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:06:46 ---> Running in dcc4269c88b4 20:06:46 Removing intermediate container dcc4269c88b4 20:06:46 ---> b98319a70b01 20:06:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:46 ---> Running in 8665dcc72736 20:06:47 Removing intermediate container 8665dcc72736 20:06:47 ---> 7e5203a2c0fb 20:06:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:47 ---> Running in 8c96bd17b079 20:06:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:06:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/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:49 Removing intermediate container 8c96bd17b079 20:06:49 ---> 278d34cc91ca 20:06:49 Step 8/12 : WORKDIR /device-rest-go 20:06:49 ---> Running in 67e7cff9a236 20:06:50 Removing intermediate container 67e7cff9a236 20:06:50 ---> 890686bb9db4 20:06:50 Step 9/12 : COPY go.mod vendor* ./ 20:06:50 ---> 2db4798d19cb 20:06:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:50 ---> Running in 16b45576747d 20:06:50 Still waiting to schedule task 20:06:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:07:08 Removing intermediate container 16b45576747d 20:07:08 ---> 54516ff0a866 20:07:08 Step 11/12 : COPY . . 20:07:08 ---> d623fd82e7a5 20:07:08 Step 12/12 : RUN $MAKE 20:07:08 ---> Running in 180bfd7cc4cb 20:07:08 noop 20:07:08 Removing intermediate container 180bfd7cc4cb 20:07:08 ---> 88dd134537a5 20:07:08 Successfully built 88dd134537a5 20:07:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:07:08 + docker inspect -f . ci-base-image-x86_64 20:07:08 . [Pipeline] withDockerContainer 20:07:08 prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container 20:07:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@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-x86_64 cat 20:07:09 $ docker top 66d4e6dde721ffed5a72a6f2f66bec80f95f84676ae99806a326c57df0438541 -eo pid,comm [Pipeline] { [Pipeline] sh 20:07:09 + go version 20:07:09 go version go1.17.6 linux/amd64 [Pipeline] } 20:07:09 $ docker stop --time=1 66d4e6dde721ffed5a72a6f2f66bec80f95f84676ae99806a326c57df0438541 20:07:10 $ docker rm -f 66d4e6dde721ffed5a72a6f2f66bec80f95f84676ae99806a326c57df0438541 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:07:11 + docker inspect -f . ci-base-image-x86_64 20:07:11 . [Pipeline] withDockerContainer 20:07:11 prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container 20:07:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@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-x86_64 cat 20:07:12 $ docker top 3e1be48d0c259206447e0f88a28c1b5bb3bee190ce56e3de99db5cf6695139cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:07:12 + make test 20:07:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:07:13 ? github.com/edgexfoundry/device-rest-go [no test files] 20:07:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:07:23 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:07:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:07:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:07:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:07:35 ./bin/test-attribution-txt.sh [Pipeline] echo 20:07:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:07:36 $ docker stop --time=1 3e1be48d0c259206447e0f88a28c1b5bb3bee190ce56e3de99db5cf6695139cb 20:07:37 $ docker rm -f 3e1be48d0c259206447e0f88a28c1b5bb3bee190ce56e3de99db5cf6695139cb [Pipeline] // withDockerContainer [Pipeline] sh 20:07:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:07:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:39 + ls -al . 20:07:39 total 192 20:07:39 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 20:07 . 20:07:39 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:06 .. 20:07:39 -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 20:06 .dockerignore 20:07:39 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:06 .git 20:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:06 .github 20:07:39 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 20:06 .gitignore 20:07:39 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 20:06 .golangci.yml 20:07:39 drwx------ 3 jenkins jenkins 4096 Apr 18 20:06 .semver 20:07:39 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 18 20:06 Attribution.txt 20:07:39 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 18 20:06 CHANGELOG.md 20:07:39 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 18 20:06 Dockerfile 20:07:39 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 20:06 GOVERNANCE.md 20:07:39 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 20:06 Jenkinsfile 20:07:39 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 20:06 LICENSE 20:07:39 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 18 20:06 Makefile 20:07:39 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 20:06 OWNERS.md 20:07:39 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 18 20:06 README.md 20:07:39 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 20:06 VERSION 20:07:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:06 bin 20:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:06 cmd 20:07:39 -rw-r--r-- 1 jenkins jenkins 9355 Apr 18 20:07 coverage.out 20:07:39 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:06 driver 20:07:39 -rw-rw-r-- 1 jenkins jenkins 3241 Apr 18 20:06 go.mod 20:07:39 -rw-rw-r-- 1 jenkins jenkins 54160 Apr 18 20:06 go.sum 20:07:39 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:06 snap 20:07:39 -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 20:06 version.go [Pipeline] isUnix [Pipeline] sh 20:07:40 + 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=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e --label arch=amd64 --label version=0.0.0 . 20:07:40 Sending build context to Docker daemon 10.59MB 20:07:40 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:07:40 Step 2/25 : FROM ${BASE} AS builder 20:07:40 ---> 88dd134537a5 20:07:40 Step 3/25 : ARG MAKE='make build' 20:07:40 ---> Running in 30769e79060a 20:07:40 Removing intermediate container 30769e79060a 20:07:40 ---> b1035ed293fc 20:07:40 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:40 ---> Running in 107e70986e32 20:07:40 Removing intermediate container 107e70986e32 20:07:40 ---> c9dd9381e2b9 20:07:40 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:07:40 ---> Running in 95d2e1f64e97 20:07:40 Removing intermediate container 95d2e1f64e97 20:07:40 ---> 73f1145b33f0 20:07:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:40 ---> Running in 33027137d186 20:07:41 Removing intermediate container 33027137d186 20:07:41 ---> 4fbd981de8f7 20:07:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:41 ---> Running in 206542a90bad 20:07:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:07:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:07:42 OK: 224 MiB in 56 packages 20:07:43 Removing intermediate container 206542a90bad 20:07:43 ---> 158b7ed31552 20:07:43 Step 8/25 : WORKDIR /device-rest-go 20:07:43 ---> Running in c0372eebb60c 20:07:43 Removing intermediate container c0372eebb60c 20:07:43 ---> 400563989ea5 20:07:43 Step 9/25 : COPY go.mod vendor* ./ 20:07:43 ---> 6bb56ccf0022 20:07:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:43 ---> Running in c83e2fc729de 20:07:44 Removing intermediate container c83e2fc729de 20:07:44 ---> 3dfc82213dcd 20:07:44 Step 11/25 : COPY . . 20:07:44 ---> 2ea8c15fad5b 20:07:44 Step 12/25 : RUN $MAKE 20:07:44 ---> Running in 4f687145f9dc 20:07:44 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:08:06 Removing intermediate container 4f687145f9dc 20:08:06 ---> d5f9cca54f8d 20:08:06 Step 13/25 : FROM alpine:3.14 20:08:06 3.14: Pulling from library/alpine 20:08:06 8663204ce13b: Pulling fs layer 20:08:06 8663204ce13b: Download complete 20:08:06 8663204ce13b: Pull complete 20:08:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:08:06 Status: Downloaded newer image for alpine:3.14 20:08:06 ---> e04c818066af 20:08:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:08:06 ---> Running in 3c3914b43b2e 20:08:06 Removing intermediate container 3c3914b43b2e 20:08:06 ---> 1dbf2e08b40f 20:08:06 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:08:06 ---> Running in 1f8444876e96 20:08:06 Removing intermediate container 1f8444876e96 20:08:06 ---> b12e9b011190 20:08:06 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:08:06 ---> Running in 45ea4e7ff89a 20:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:08:06 (1/6) Installing dumb-init (1.2.5-r1) 20:08:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:08:06 (3/6) Installing libsodium (1.0.18-r0) 20:08:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:08:06 (5/6) Installing libzmq (4.3.4-r0) 20:08:07 (6/6) Installing zeromq (4.3.4-r0) 20:08:07 Executing busybox-1.33.1-r7.trigger 20:08:07 OK: 8 MiB in 20 packages 20:08:07 Removing intermediate container 45ea4e7ff89a 20:08:07 ---> 6b1bffbaca39 20:08:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:08:08 ---> cf679c5ed3f6 20:08:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:08:08 ---> bce2fe8b3b8e 20:08:08 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:08:08 ---> a6ddb0f4e6f9 20:08:08 Step 20/25 : EXPOSE 59986 20:08:08 ---> Running in cd7ce8f425e2 20:08:08 Removing intermediate container cd7ce8f425e2 20:08:08 ---> 83ce04e6dad0 20:08:08 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:08:08 ---> Running in 97a430176511 20:08:08 Removing intermediate container 97a430176511 20:08:08 ---> cb75bb1296ac 20:08:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:08:08 ---> Running in efc2c9e13add 20:08:09 Removing intermediate container efc2c9e13add 20:08:09 ---> 4bb274c8aae6 20:08:09 Step 23/25 : LABEL arch=amd64 20:08:09 ---> Running in 971302f26c05 20:08:09 Removing intermediate container 971302f26c05 20:08:09 ---> 4613d99b436a 20:08:09 Step 24/25 : LABEL git_sha=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e 20:08:09 ---> Running in dcfdc7936080 20:08:09 Removing intermediate container dcfdc7936080 20:08:09 ---> ef308258565a 20:08:09 Step 25/25 : LABEL version=0.0.0 20:08:09 ---> Running in aa95218d1b60 20:08:09 Removing intermediate container aa95218d1b60 20:08:09 ---> a2744f37389d 20:08:09 [Warning] One or more build-args [ARCH] were not consumed 20:08:09 Successfully built a2744f37389d 20:08: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:08:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:10 20:08:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:08:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:10 latest: Pulling from edgex-lftools-log-publisher 20:08:10 5eb5b503b376: Pulling fs layer 20:08:10 5c69ac0246d0: Pulling fs layer 20:08:10 ec43610c2a17: Pulling fs layer 20:08:10 3a2ae6a8a46f: Pulling fs layer 20:08:10 33b1e0a273af: Pulling fs layer 20:08:10 5d3b04190fa2: Pulling fs layer 20:08:10 2f39f015ded8: Pulling fs layer 20:08:10 3a2ae6a8a46f: Waiting 20:08:10 33b1e0a273af: Waiting 20:08:10 5d3b04190fa2: Waiting 20:08:10 2f39f015ded8: Waiting 20:08:10 5c69ac0246d0: Download complete 20:08:10 3a2ae6a8a46f: Download complete 20:08:10 33b1e0a273af: Verifying Checksum 20:08:10 33b1e0a273af: Download complete 20:08:10 5d3b04190fa2: Download complete 20:08:10 ec43610c2a17: Verifying Checksum 20:08:10 ec43610c2a17: Download complete 20:08:10 5eb5b503b376: Download complete 20:08:11 2f39f015ded8: Verifying Checksum 20:08:11 2f39f015ded8: Download complete 20:08:12 5eb5b503b376: Pull complete 20:08:12 5c69ac0246d0: Pull complete 20:08:13 ec43610c2a17: Pull complete 20:08:13 3a2ae6a8a46f: Pull complete 20:08:13 33b1e0a273af: Pull complete 20:08:13 5d3b04190fa2: Pull complete 20:08:18 2f39f015ded8: Pull complete 20:08:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:08:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:08:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:08:18 prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container 20:08:18 $ 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-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@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:latest cat 20:08:20 $ docker top 1aa68989ca36960923d477f5dbeb37328edcec5851fcfb10442ece2a91d69a25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:21 ---> job-cost.sh 20:08:21 lf-activate-venv: SKIPPING 20:08:21 INFO: No Stack... 20:08:21 INFO: Retrieving Pricing Info for: v3-standard-8 20:08:22 INFO: Archiving Costs [Pipeline] sh 20:08:22 + cat /w/workspace/gexfoundry_device-rest-go_PR-175/archives/cost.csv 20:08:22 + cut -d, -f6 [Pipeline] lock 20:08:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] 20:08:22 Resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] did not exist. Created. 20:08:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:08:22 + echo total: 0.2199999988079071 [Pipeline] stash 20:08:22 Stashed 1 file(s) [Pipeline] } 20:08:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:08:23 $ docker stop --time=1 1aa68989ca36960923d477f5dbeb37328edcec5851fcfb10442ece2a91d69a25 20:08:24 $ docker rm -f 1aa68989ca36960923d477f5dbeb37328edcec5851fcfb10442ece2a91d69a25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:08:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21241 in /w/workspace/gexfoundry_device-rest-go_PR-175 [Pipeline] { [Pipeline] ws 20:08:27 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:08:28 The recommended git tool is: git 20:08:35 using credential edgex-jenkins-ssh 20:08:35 Cloning the remote Git repository 20:08:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:35 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:35 > git --version # timeout=10 20:08:35 > git --version # 'git version 2.25.1' 20:08:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:37 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:38 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e 20:08:38 Merge succeeded, producing 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e 20:08:38 Checking out Revision 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e (PR-175) 20:08:38 > git config core.sparsecheckout # timeout=10 20:08:38 > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 20:08:38 > git remote # timeout=10 20:08:38 > git config --get remote.origin.url # timeout=10 20:08:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:38 > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 20:08:38 > git rev-parse HEAD^{commit} # timeout=10 20:08:38 > git config core.sparsecheckout # timeout=10 20:08:38 > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 20:08:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:08:43 > git --version # timeout=10 20:08:43 > git --version # 'git version 2.25.1' 20:08:43 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:44 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:44 Dload Upload Total Spent Left Speed 20:08:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47372 0 --:--:-- --:--:-- --:--:-- 47372 [Pipeline] sh 20:08:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:45 + sudo tee /etc/docker/daemon.new 20:08:45 { 20:08:45 "registry-mirrors": [ 20:08:45 "https://nexus3.edgexfoundry.org:10001" 20:08:45 ], 20:08:45 "bip": "10.250.0.254/24", 20:08:45 "hosts": [ 20:08:45 "tcp://0.0.0.0:5555", 20:08:45 "unix:///var/run/docker.sock" 20:08:45 ], 20:08:45 "mtu": 1458, 20:08:45 "selinux-enabled": true, 20:08:45 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:45 } [Pipeline] sh 20:08:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:09:04 provisioning config files... 20:09:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7167471345714613803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:09:05 ---> docker-login.sh 20:09:05 nexus3.edgexfoundry.org:10001 20:09:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:05 Configure a credential helper to remove this warning. See 20:09:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:05 20:09:05 Login Succeeded 20:09:05 nexus3.edgexfoundry.org:10002 20:09:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:06 Configure a credential helper to remove this warning. See 20:09:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:06 20:09:06 Login Succeeded 20:09:06 nexus3.edgexfoundry.org:10003 20:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:07 Configure a credential helper to remove this warning. See 20:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:07 20:09:07 Login Succeeded 20:09:07 nexus3.edgexfoundry.org:10004 20:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:07 Configure a credential helper to remove this warning. See 20:09:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:07 20:09:07 Login Succeeded 20:09:07 docker.io 20:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:09:08 Configure a credential helper to remove this warning. See 20:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:09:08 20:09:08 Login Succeeded 20:09:08 ---> docker-login.sh ends [Pipeline] } 20:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:09:08 ========================================================= 20:09:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:09:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:09:09 + 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:09:09 Sending build context to Docker daemon 129.5kB 20:09:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:09:09 Step 2/12 : FROM ${BASE} AS builder 20:09:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:09:09 9b3977197b4f: Pulling fs layer 20:09:09 1a89e8eeedd5: Pulling fs layer 20:09:09 94645a83ff95: Pulling fs layer 20:09:09 3f3a8bcf1eab: Pulling fs layer 20:09:09 0c92f367c5e7: Pulling fs layer 20:09:09 f7c0051592d6: Pulling fs layer 20:09:09 a227ed2f7395: Pulling fs layer 20:09:09 7b1c46037f91: Pulling fs layer 20:09:09 3f3a8bcf1eab: Waiting 20:09:09 0c92f367c5e7: Waiting 20:09:09 f7c0051592d6: Waiting 20:09:09 a227ed2f7395: Waiting 20:09:09 7b1c46037f91: Waiting 20:09:09 94645a83ff95: Verifying Checksum 20:09:09 94645a83ff95: Download complete 20:09:09 1a89e8eeedd5: Verifying Checksum 20:09:09 1a89e8eeedd5: Download complete 20:09:09 0c92f367c5e7: Verifying Checksum 20:09:09 0c92f367c5e7: Download complete 20:09:09 f7c0051592d6: Download complete 20:09:09 9b3977197b4f: Download complete 20:09:09 a227ed2f7395: Verifying Checksum 20:09:09 a227ed2f7395: Download complete 20:09:10 9b3977197b4f: Pull complete 20:09:10 1a89e8eeedd5: Pull complete 20:09:11 94645a83ff95: Pull complete 20:09:11 7b1c46037f91: Verifying Checksum 20:09:11 7b1c46037f91: Download complete 20:09:12 3f3a8bcf1eab: Download complete 20:09:24 3f3a8bcf1eab: Pull complete 20:09:24 0c92f367c5e7: Pull complete 20:09:25 f7c0051592d6: Pull complete 20:09:25 a227ed2f7395: Pull complete 20:09:31 7b1c46037f91: Pull complete 20:09:31 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:09:31 ---> f79e39bc4007 20:09:31 Step 3/12 : ARG MAKE='make build' 20:09:32 ---> Running in c133e146305c 20:09:32 Removing intermediate container c133e146305c 20:09:32 ---> 8374ec25c7cd 20:09:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:32 ---> Running in 7842ac7d254c 20:09:32 Removing intermediate container 7842ac7d254c 20:09:32 ---> 504cbe5ad910 20:09:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:09:32 ---> Running in 1a799fb50b43 20:09:33 Removing intermediate container 1a799fb50b43 20:09:33 ---> b15ce01aaeef 20:09:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:33 ---> Running in 15dcb6f580a8 20:09:35 Removing intermediate container 15dcb6f580a8 20:09:35 ---> ab3c96e2602c 20:09:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:35 ---> Running in 933575330b46 20:09:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:09:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:09:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:09:38 (2/4) Installing libedit (20210910.3.1-r0) 20:09:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:09:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:09:38 Executing busybox-1.34.1-r3.trigger 20:09:38 OK: 224 MiB in 56 packages 20:09:39 Removing intermediate container 933575330b46 20:09:39 ---> c5a0d90ca321 20:09:39 Step 8/12 : WORKDIR /device-rest-go 20:09:39 ---> Running in 6649dbcbe98f 20:09:40 Removing intermediate container 6649dbcbe98f 20:09:40 ---> 42d89e73c660 20:09:40 Step 9/12 : COPY go.mod vendor* ./ 20:09:40 ---> c0a85fda33ec 20:09:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:40 ---> Running in 04dd45af383b 20:10:27 Removing intermediate container 04dd45af383b 20:10:27 ---> d3adeb2d034d 20:10:27 Step 11/12 : COPY . . 20:10:28 ---> 7e4382073876 20:10:28 Step 12/12 : RUN $MAKE 20:10:28 ---> Running in 20a9f363431e 20:10:29 noop 20:10:30 Removing intermediate container 20a9f363431e 20:10:30 ---> 6eb3202b7048 20:10:30 Successfully built 6eb3202b7048 20:10:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:10:30 + docker inspect -f . ci-base-image-arm64 20:10:30 . [Pipeline] withDockerContainer 20:10:30 prd-ubuntu20.04-docker-arm64-4c-16g-21241 does not seem to be running inside a container 20:10:31 $ 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:10:32 $ docker top 01a70c93a53464b94127dcaaa484502524bba887502f34eb5268f6e7cf00c2dc -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:33 + go version 20:10:33 go version go1.17.6 linux/arm64 [Pipeline] } 20:10:33 $ docker stop --time=1 01a70c93a53464b94127dcaaa484502524bba887502f34eb5268f6e7cf00c2dc 20:10:35 $ docker rm -f 01a70c93a53464b94127dcaaa484502524bba887502f34eb5268f6e7cf00c2dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:35 + docker inspect -f . ci-base-image-arm64 20:10:35 . [Pipeline] withDockerContainer 20:10:36 prd-ubuntu20.04-docker-arm64-4c-16g-21241 does not seem to be running inside a container 20:10:36 $ 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:10:37 $ docker top 503c2085cb12a128923d3f4f016dc4e63a8077124b8b037679f7b23e9ceb688c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:10:38 + make test 20:10:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:10:40 ? github.com/edgexfoundry/device-rest-go [no test files] 20:12:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:12:02 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 20:12:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:12:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:12:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:12:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:12:29 ./bin/test-attribution-txt.sh [Pipeline] echo 20:12:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:12:30 $ docker stop --time=1 503c2085cb12a128923d3f4f016dc4e63a8077124b8b037679f7b23e9ceb688c 20:12:32 $ docker rm -f 503c2085cb12a128923d3f4f016dc4e63a8077124b8b037679f7b23e9ceb688c [Pipeline] // withDockerContainer [Pipeline] sh 20:12:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:12:33 Warning: overwriting stash ‘coverage-report’ 20:12:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:12:35 + ls -al . 20:12:35 total 188 20:12:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:12 . 20:12:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:08 .. 20:12:35 -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 20:08 .dockerignore 20:12:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:08 .git 20:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:08 .github 20:12:35 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 20:08 .gitignore 20:12:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 20:08 .golangci.yml 20:12:35 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 18 20:08 Attribution.txt 20:12:35 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 18 20:08 CHANGELOG.md 20:12:35 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 18 20:08 Dockerfile 20:12:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 20:08 GOVERNANCE.md 20:12:35 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 20:08 Jenkinsfile 20:12:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 20:08 LICENSE 20:12:35 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 18 20:08 Makefile 20:12:35 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 20:08 OWNERS.md 20:12:35 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 18 20:08 README.md 20:12:35 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 20:06 VERSION 20:12:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:08 bin 20:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:08 cmd 20:12:35 -rw-r--r-- 1 jenkins jenkins 9355 Apr 18 20:11 coverage.out 20:12:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:08 driver 20:12:35 -rw-rw-r-- 1 jenkins jenkins 3241 Apr 18 20:08 go.mod 20:12:35 -rw-rw-r-- 1 jenkins jenkins 54160 Apr 18 20:08 go.sum 20:12:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:08 snap 20:12:35 -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 20:08 version.go [Pipeline] isUnix [Pipeline] sh 20:12:35 + 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=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e --label arch=arm64 --label version=0.0.0 . 20:12:35 Sending build context to Docker daemon 139.8kB 20:12:35 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:12:35 Step 2/25 : FROM ${BASE} AS builder 20:12:35 ---> 6eb3202b7048 20:12:35 Step 3/25 : ARG MAKE='make build' 20:12:35 ---> Running in e4e6ba7b2a32 20:12:36 Removing intermediate container e4e6ba7b2a32 20:12:36 ---> 3f24193c5271 20:12:36 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:12:36 ---> Running in ce5b9d585d38 20:12:36 Removing intermediate container ce5b9d585d38 20:12:36 ---> a0215d897d1a 20:12:36 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:12:36 ---> Running in 05b26e282efb 20:12:37 Removing intermediate container 05b26e282efb 20:12:37 ---> bc08c848895c 20:12:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:37 ---> Running in 98d1560203d2 20:12:38 Removing intermediate container 98d1560203d2 20:12:38 ---> c37927033799 20:12:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:39 ---> Running in f1c3d264f9eb 20:12:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:12:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:12:41 OK: 224 MiB in 56 packages 20:12:42 Removing intermediate container f1c3d264f9eb 20:12:42 ---> 88db94846f33 20:12:42 Step 8/25 : WORKDIR /device-rest-go 20:12:42 ---> Running in 87bc487f22c2 20:12:42 Removing intermediate container 87bc487f22c2 20:12:42 ---> 816152058f21 20:12:42 Step 9/25 : COPY go.mod vendor* ./ 20:12:43 ---> d6f7f3f3c290 20:12:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:43 ---> Running in 7eca253b2a0a 20:12:45 Removing intermediate container 7eca253b2a0a 20:12:45 ---> 32ae5134a495 20:12:45 Step 11/25 : COPY . . 20:12:45 ---> 54628dfca7dd 20:12:45 Step 12/25 : RUN $MAKE 20:12:46 ---> Running in 1c00c265b0df 20:12:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:14:54 Removing intermediate container 1c00c265b0df 20:14:54 ---> 7b81511d0cc8 20:14:54 Step 13/25 : FROM alpine:3.14 20:14:54 3.14: Pulling from library/alpine 20:14:54 455c02918c45: Pulling fs layer 20:14:54 455c02918c45: Verifying Checksum 20:14:54 455c02918c45: Download complete 20:14:54 455c02918c45: Pull complete 20:14:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:14:54 Status: Downloaded newer image for alpine:3.14 20:14:54 ---> ac73e934f311 20:14:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:14:54 ---> Running in aa9257fd21a3 20:14:54 Removing intermediate container aa9257fd21a3 20:14:54 ---> bb57d712cd39 20:14:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:14:54 ---> Running in 8f1ac9caa951 20:14:54 Removing intermediate container 8f1ac9caa951 20:14:54 ---> 3852526e1d90 20:14:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:14:54 ---> Running in 07c92fe7f5f9 20:14:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:14:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:14:54 (1/6) Installing dumb-init (1.2.5-r1) 20:14:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:14:54 (3/6) Installing libsodium (1.0.18-r0) 20:14:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:14:54 (5/6) Installing libzmq (4.3.4-r0) 20:14:54 (6/6) Installing zeromq (4.3.4-r0) 20:14:54 Executing busybox-1.33.1-r7.trigger 20:14:54 OK: 8 MiB in 20 packages 20:14:55 Removing intermediate container 07c92fe7f5f9 20:14:55 ---> 333dfaf12384 20:14:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:14:57 ---> d524322cbb84 20:14:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:14:57 ---> d3bad82d8aa7 20:14:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:14:58 ---> 02e4a1d6f989 20:14:58 Step 20/25 : EXPOSE 59986 20:14:58 ---> Running in ba410b59d15a 20:14:58 Removing intermediate container ba410b59d15a 20:14:58 ---> 1f1f9e2ad5aa 20:14:58 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:14:58 ---> Running in 72b5d14b74a9 20:14:58 Removing intermediate container 72b5d14b74a9 20:14:58 ---> ab81c921cf7f 20:14:58 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:14:58 ---> Running in ebc6c5c13284 20:14:59 Removing intermediate container ebc6c5c13284 20:14:59 ---> caf1730fbf9d 20:14:59 Step 23/25 : LABEL arch=arm64 20:14:59 ---> Running in 0a9e3400b0a4 20:14:59 Removing intermediate container 0a9e3400b0a4 20:14:59 ---> 266b82ad6819 20:14:59 Step 24/25 : LABEL git_sha=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e 20:14:59 ---> Running in d97d2c419fee 20:15:00 Removing intermediate container d97d2c419fee 20:15:00 ---> 989266c55a5b 20:15:00 Step 25/25 : LABEL version=0.0.0 20:15:00 ---> Running in 803f81809a0a 20:15:00 Removing intermediate container 803f81809a0a 20:15:00 ---> 41f2ad3d15d0 20:15:00 [Warning] One or more build-args [ARCH] were not consumed 20:15:00 Successfully built 41f2ad3d15d0 20:15:00 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:15:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:01 20:15:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:15:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:01 arm64: Pulling from edgex-lftools-log-publisher 20:15:01 8998bd30e6a1: Pulling fs layer 20:15:01 04944245beec: Pulling fs layer 20:15:01 699f458cf7ca: Pulling fs layer 20:15:01 765212b225bb: Pulling fs layer 20:15:01 f23df028b6ca: Pulling fs layer 20:15:01 d65c8cfc05b1: Pulling fs layer 20:15:01 2437ff75d9bd: Pulling fs layer 20:15:01 f23df028b6ca: Waiting 20:15:01 d65c8cfc05b1: Waiting 20:15:01 2437ff75d9bd: Waiting 20:15:01 765212b225bb: Waiting 20:15:01 04944245beec: Verifying Checksum 20:15:01 04944245beec: Download complete 20:15:01 765212b225bb: Download complete 20:15:01 f23df028b6ca: Verifying Checksum 20:15:01 f23df028b6ca: Download complete 20:15:01 d65c8cfc05b1: Verifying Checksum 20:15:01 d65c8cfc05b1: Download complete 20:15:02 699f458cf7ca: Verifying Checksum 20:15:02 699f458cf7ca: Download complete 20:15:02 8998bd30e6a1: Verifying Checksum 20:15:02 8998bd30e6a1: Download complete 20:15:05 2437ff75d9bd: Verifying Checksum 20:15:05 2437ff75d9bd: Download complete 20:15:07 8998bd30e6a1: Pull complete 20:15:07 04944245beec: Pull complete 20:15:08 699f458cf7ca: Pull complete 20:15:09 765212b225bb: Pull complete 20:15:10 f23df028b6ca: Pull complete 20:15:10 d65c8cfc05b1: Pull complete 20:15:25 2437ff75d9bd: Pull complete 20:15:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:15:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:15:25 prd-ubuntu20.04-docker-arm64-4c-16g-21241 does not seem to be running inside a container 20:15:25 $ 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:15:28 $ docker top 45625f55f6b24904a2901e7fa28b7c48e1b33ddea930cb2ee408fb466fbc2e44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:29 ---> job-cost.sh 20:15:29 lf-activate-venv: SKIPPING 20:15:29 INFO: No Stack... 20:15:29 INFO: Retrieving Pricing Info for: v3-standard-4 20:15:30 INFO: Archiving Costs [Pipeline] sh 20:15:31 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:15:31 + cut -d, -f6 [Pipeline] lock 20:15:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] 20:15:31 Resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] did not exist. Created. 20:15:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:32 /w/workspace/device-rest-go/1@tmp/durable-faaed0d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:15:33 + echo total: 0.10999999940395355 [Pipeline] stash 20:15:33 Warning: overwriting stash ‘stack-cost’ 20:15:33 Stashed 1 file(s) [Pipeline] } 20:15:33 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:33 $ docker stop --time=1 45625f55f6b24904a2901e7fa28b7c48e1b33ddea930cb2ee408fb466fbc2e44 20:15:34 $ docker rm -f 45625f55f6b24904a2901e7fa28b7c48e1b33ddea930cb2ee408fb466fbc2e44 [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:15:35 provisioning config files... 20:15:35 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config8462917215529394192tmp [Pipeline] { [Pipeline] sh 20:15:36 + set +x 20:15:36 + bash -s -- 20:15:36 + curl -s https://codecov.io/bash 20:15:36 20:15:36 _____ _ 20:15:36 / ____| | | 20:15:36 | | ___ __| | ___ ___ _____ __ 20:15:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:15:36 | |___| (_) | (_| | __/ (_| (_) \ V / 20:15:36 \_____\___/ \__,_|\___|\___\___/ \_/ 20:15:36 Bash-1.0.6 20:15:36 20:15:36 20:15:36 ==> git version 2.25.1 found 20:15:36 ==> 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:15:36 Release-Date: 2020-01-08 20:15:36 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:15:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:15:36 ==> Jenkins CI detected. 20:15:36 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-175 20:15:36 project root: . 20:15:36 --> token set from env 20:15:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:15:36 ==> Running gcov in . (disable via -X gcov) 20:15:36 ==> Python coveragepy not found 20:15:36 ==> Searching for coverage reports in: 20:15:36 + . 20:15:36 -> Found 1 reports 20:15:36 ==> Detecting git/mercurial file structure 20:15:36 ==> Reading reports 20:15:36 + ./coverage.out bytes=9355 20:15:36 ==> Appending adjustments 20:15:36 https://docs.codecov.io/docs/fixing-reports 20:15:36 + Found adjustments 20:15:36 ==> Gzipping contents 20:15:36 4.0K /tmp/codecov.uIvtD7.gz 20:15:36 ==> Uploading reports 20:15:36 url: https://codecov.io 20:15:36 query: branch=PR-175&commit=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=175&job=&cmd_args= 20:15:36 -> Pinging Codecov 20:15:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-175&commit=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=175&job=&cmd_args= 20:15:36 -> Uploading to 20:15:36 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/4E5D53B4F1F92C436F7061BF334D961C/8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e/47541345-4cb5-435c-aa6b-a06f43e7fbb7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T201536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01dcf6b2ca91a54b767a94874eb8ec5afd13e135a38dca143c4bb44de35e3000 20:15:36 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:36 Dload Upload Total Spent Left Speed 20:15:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7171 --:--:-- --:--:-- --:--:-- 7171 20:15:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] } 20:15:37 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:15:38 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-175/archives ] 20:15:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-175/archives 20:15:38 total 16 20:15:38 drwxr-xr-x 3 root root 4096 Apr 18 20:08 . 20:15:38 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 20:08 .. 20:15:38 drwxr-xr-x 2 root root 4096 Apr 18 20:08 cost 20:15:38 -rw-r--r-- 1 root root 85 Apr 18 20:08 cost.csv 20:15:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-175/archives 20:15:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-175/archives 20:15:38 total 16 20:15:38 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 20:08 . 20:15:38 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 20:08 .. 20:15:38 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 20:08 cost 20:15:38 -rw-r--r-- 1 jenkins jenkins 85 Apr 18 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:15:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:15:40 ---> package-listing.sh 20:15:40 ++ facter osfamily 20:15:40 ++ tr '[:upper:]' '[:lower:]' 20:15:40 + OS_FAMILY=debian 20:15:40 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-175 20:15:40 + START_PACKAGES=/tmp/packages_start.txt 20:15:40 + END_PACKAGES=/tmp/packages_end.txt 20:15:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:15:40 + PACKAGES=/tmp/packages_start.txt 20:15:40 + '[' /w/workspace/gexfoundry_device-rest-go_PR-175 ']' 20:15:40 + PACKAGES=/tmp/packages_end.txt 20:15:40 + case "${OS_FAMILY}" in 20:15:40 + dpkg -l 20:15:40 + grep '^ii' 20:15:40 + '[' -f /tmp/packages_start.txt ']' 20:15:40 + '[' -f /tmp/packages_end.txt ']' 20:15:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:15:40 + '[' /w/workspace/gexfoundry_device-rest-go_PR-175 ']' 20:15:40 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-175/archives/ 20:15:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-175/archives/ [Pipeline] echo 20:15:40 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-175/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:15:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:41 . [Pipeline] withDockerContainer 20:15:41 prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container 20:15:41 $ 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-175/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-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@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:15:41 $ docker top 45fef17143bd861a0fcda1c01b1c9aefe5cc2e99d32237bd0d107c02038609a9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:42 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:42 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:42 + ls /var/log/sa-host 20:15:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:43 provisioning config files... 20:15:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config695809034723009452tmp [Pipeline] { [Pipeline] echo 20:15:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:15:43 ---> create-netrc.sh [Pipeline] } 20:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:15:43 ---> python-tools-install.sh [Pipeline] echo 20:15:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:15:44 ---> sudo-logs.sh 20:15:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:15:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:15:44 ---> job-cost.sh 20:15:44 lf-activate-venv: SKIPPING 20:15:44 DEBUG: total: 0.2199999988079071 20:15:44 INFO: Retrieving Stack Cost... 20:15:44 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:45 INFO: Archiving Costs [Pipeline] echo 20:15:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:15:45 ---> logs-deploy.sh 20:15:45 lf-activate-venv: SKIPPING 20:15:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-175/1 20:15:45 INFO: archiving workspace using pattern(s): 20:15:46 Archives upload complete. 20:15:46 INFO: archiving logs to Nexus