Pull request #178 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8d801ee3c7418469ddcf61a2cd193651b7327a7b+238d080d640a7e3d9ba0ccf186e4988c74ba76ef (8841c6bfbdba8196fa6508ef0827024b53a24d14) 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-ssh12345768735638783057.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-ssh17567238849354717282.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-178/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-178/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5235340191043105698.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-178/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4996049822510578465.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-ssh8714276619749687760.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-178/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-178/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12377142295430800136.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22645 in /w/workspace/gexfoundry_device-rest-go_PR-178 [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-178 # 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 8d801ee3c7418469ddcf61a2cd193651b7327a7b Merge succeeded, producing 8d801ee3c7418469ddcf61a2cd193651b7327a7b Checking out Revision 8d801ee3c7418469ddcf61a2cd193651b7327a7b (PR-178) > 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/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d801ee3c7418469ddcf61a2cd193651b7327a7b # 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 8d801ee3c7418469ddcf61a2cd193651b7327a7b # 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:13:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:59 ========================================================= 20:13:59 EdgeX Global Pipelines Version Info 20:13:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:14:00 ------------------- 20:14:00 stable info: 20:14:00 ------------------- 20:14:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:14:00 Message: update stable to v1.0.221 20:14:00 ------------------- 20:14:00 experimental info: 20:14:00 ------------------- 20:14:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:14:00 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 20:14:00 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:14:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-178 [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-178 [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-178 [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d801ee3c7418469ddcf61a2cd193651b7327a7b [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d801ee [Pipeline] echo 20:14:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:02 provisioning config files... 20:14:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-178@tmp/config1008389597175356856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:02 ---> docker-login.sh 20:14:02 nexus3.edgexfoundry.org:10001 20:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:03 Configure a credential helper to remove this warning. See 20:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:03 20:14:03 Login Succeeded 20:14:03 nexus3.edgexfoundry.org:10002 20:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:03 Configure a credential helper to remove this warning. See 20:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:03 20:14:03 Login Succeeded 20:14:03 nexus3.edgexfoundry.org:10003 20:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:03 Configure a credential helper to remove this warning. See 20:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:03 20:14:03 Login Succeeded 20:14:03 nexus3.edgexfoundry.org:10004 20:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:03 Configure a credential helper to remove this warning. See 20:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:03 20:14:03 Login Succeeded 20:14:03 docker.io 20:14:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:04 Configure a credential helper to remove this warning. See 20:14:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:04 20:14:04 Login Succeeded 20:14:04 ---> docker-login.sh ends [Pipeline] } 20:14:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:14:04 + git rev-list -1 --merges 8d801ee3c7418469ddcf61a2cd193651b7327a7b~1..8d801ee3c7418469ddcf61a2cd193651b7327a7b [Pipeline] echo 20:14:05 -----------> git rev-list -1 --merges 8d801ee3c7418469ddcf61a2cd193651b7327a7b~1..8d801ee3c7418469ddcf61a2cd193651b7327a7b 8d801ee3c7418469ddcf61a2cd193651b7327a7b [false] [Pipeline] sh 20:14:05 + git log --format=format:%s -1 8d801ee3c7418469ddcf61a2cd193651b7327a7b [Pipeline] echo 20:14:05 ========================================================= 20:14:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:14:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:14:05 + git log --format=format:%s -1 8d801ee3c7418469ddcf61a2cd193651b7327a7b [Pipeline] echo 20:14:05 [semverPrep] GIT_COMMIT: 8d801ee3c7418469ddcf61a2cd193651b7327a7b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:14:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:14:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:14:06 + grep -v github /etc/ssh/ssh_known_hosts 20:14:06 + [ -e /tmp/ssh_known_hosts ] 20:14:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:14:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:14:06 + sudo tee -a /etc/ssh/ssh_known_hosts 20:14:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:14:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:14:06 20:14:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:14:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:14:07 latest: Pulling from edgex-devops/git-semver 20:14:07 a0d0a0d46f8b: Pulling fs layer 20:14:07 3e5f54012d9b: Pulling fs layer 20:14:07 4c7163046ea9: Pulling fs layer 20:14:07 0c2d73faf560: Pulling fs layer 20:14:07 0c2d73faf560: Waiting 20:14:07 3e5f54012d9b: Download complete 20:14:07 a0d0a0d46f8b: Verifying Checksum 20:14:07 a0d0a0d46f8b: Download complete 20:14:07 0c2d73faf560: Verifying Checksum 20:14:07 0c2d73faf560: Download complete 20:14:07 4c7163046ea9: Verifying Checksum 20:14:07 4c7163046ea9: Download complete 20:14:07 a0d0a0d46f8b: Pull complete 20:14:07 3e5f54012d9b: Pull complete 20:14:07 4c7163046ea9: Pull complete 20:14:08 0c2d73faf560: Pull complete 20:14:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:14:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:14:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:14:08 prd-ubuntu20.04-docker-8c-8g-22645 does not seem to be running inside a container 20:14:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-178 -v /w/workspace/gexfoundry_device-rest-go_PR-178:/w/workspace/gexfoundry_device-rest-go_PR-178:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-178@tmp:/w/workspace/gexfoundry_device-rest-go_PR-178@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:14:09 $ docker top 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:14:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:09 [ssh-agent] Looking for ssh-agent implementation... 20:14:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:09 $ docker exec 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 ssh-agent 20:14:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfnJnOj/agent.13 20:14:09 SSH_AGENT_PID=19 20:14:09 Running ssh-add (command line suppressed) 20:14:09 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-178@tmp/private_key_5454192714271388886.key (/w/workspace/gexfoundry_device-rest-go_PR-178@tmp/private_key_5454192714271388886.key) 20:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:09 + git tag --points-at HEAD [Pipeline] } 20:14:10 $ docker exec --env ******** --env ******** 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 ssh-agent -k 20:14:10 unset SSH_AUTH_SOCK; 20:14:10 unset SSH_AGENT_PID; 20:14:10 echo Agent pid 19 killed; 20:14:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:14:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:14:10 [ssh-agent] Looking for ssh-agent implementation... 20:14:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:14:10 $ docker exec 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 ssh-agent 20:14:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiKEnGj/agent.52 20:14:10 SSH_AGENT_PID=58 20:14:10 Running ssh-add (command line suppressed) 20:14:10 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-178@tmp/private_key_1642547303421794787.key (/w/workspace/gexfoundry_device-rest-go_PR-178@tmp/private_key_1642547303421794787.key) 20:14:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:14:10 + git semver init 20:14:10 # -> Open(): unable to determine branch for HEAD 20:14:10 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-178/.git 20:14:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-178 20:14:10 # $SEMVER_REMOTE_NAME = origin 20:14:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:14:10 # $SEMVER_USER_NAME = edgex-jenkins 20:14:10 # $SEMVER_BRANCH = PR-178 20:14:10 # $SEMVER_TEMP = /tmp/semver-457035797 20:14:10 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:14:12 # '/tmp/semver-457035797' -> '/w/workspace/gexfoundry_device-rest-go_PR-178/.semver' 20:14:12 # -> Force: false 20:14:12 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-178/.semver [Pipeline] } 20:14:12 $ docker exec --env ******** --env ******** 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 ssh-agent -k 20:14:12 unset SSH_AUTH_SOCK; 20:14:12 unset SSH_AGENT_PID; 20:14:12 echo Agent pid 58 killed; 20:14:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:14:12 + git semver [Pipeline] } 20:14:12 $ docker stop --time=1 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 20:14:14 $ docker rm -f 3b792df18c32a081bdbf5b42f8fb5bf528e1345a2e6aea93d4c11f5a30037a71 [Pipeline] // withDockerContainer [Pipeline] sh 20:14:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:14:15 Stashed 1 file(s) [Pipeline] echo 20:14:15 [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:14:15 provisioning config files... 20:14:15 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-178@tmp/config4580956351784650908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:16 ---> docker-login.sh 20:14:16 nexus3.edgexfoundry.org:10001 20:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:16 Configure a credential helper to remove this warning. See 20:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:16 20:14:16 Login Succeeded 20:14:16 nexus3.edgexfoundry.org:10002 20:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:16 Configure a credential helper to remove this warning. See 20:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:16 20:14:16 Login Succeeded 20:14:16 nexus3.edgexfoundry.org:10003 20:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:16 Configure a credential helper to remove this warning. See 20:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:16 20:14:16 Login Succeeded 20:14:16 nexus3.edgexfoundry.org:10004 20:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:16 Configure a credential helper to remove this warning. See 20:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:16 20:14:16 Login Succeeded 20:14:16 docker.io 20:14:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:16 Configure a credential helper to remove this warning. See 20:14:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:16 20:14:16 Login Succeeded 20:14:16 ---> docker-login.sh ends [Pipeline] } 20:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:17 ========================================================= 20:14:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:14:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:17 + 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:14:17 Sending build context to Docker daemon 10.58MB 20:14:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:14:17 Step 2/12 : FROM ${BASE} AS builder 20:14:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:17 59bf1c3509f3: Pulling fs layer 20:14:17 666ba61612fd: Pulling fs layer 20:14:17 8ed8ca486205: Pulling fs layer 20:14:17 4fe6c5a15a65: Pulling fs layer 20:14:17 22a0e8bec74d: Pulling fs layer 20:14:17 4fe6c5a15a65: Waiting 20:14:17 ca2b28591e48: Pulling fs layer 20:14:17 a51346096db8: Pulling fs layer 20:14:17 daebc70d1ce1: Pulling fs layer 20:14:17 22a0e8bec74d: Waiting 20:14:17 a51346096db8: Waiting 20:14:17 ca2b28591e48: Waiting 20:14:17 0e18a0eac166: Pulling fs layer 20:14:17 0e18a0eac166: Waiting 20:14:17 daebc70d1ce1: Waiting 20:14:17 8ed8ca486205: Verifying Checksum 20:14:17 8ed8ca486205: Download complete 20:14:17 666ba61612fd: Download complete 20:14:17 22a0e8bec74d: Download complete 20:14:17 ca2b28591e48: Download complete 20:14:17 59bf1c3509f3: Verifying Checksum 20:14:17 59bf1c3509f3: Download complete 20:14:17 a51346096db8: Verifying Checksum 20:14:17 a51346096db8: Download complete 20:14:17 daebc70d1ce1: Verifying Checksum 20:14:17 daebc70d1ce1: Download complete 20:14:17 59bf1c3509f3: Pull complete 20:14:18 666ba61612fd: Pull complete 20:14:18 8ed8ca486205: Pull complete 20:14:18 0e18a0eac166: Download complete 20:14:18 4fe6c5a15a65: Verifying Checksum 20:14:18 4fe6c5a15a65: Download complete 20:14:22 4fe6c5a15a65: Pull complete 20:14:22 22a0e8bec74d: Pull complete 20:14:22 ca2b28591e48: Pull complete 20:14:22 a51346096db8: Pull complete 20:14:22 daebc70d1ce1: Pull complete 20:14:24 0e18a0eac166: Pull complete 20:14:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:14:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:14:24 ---> f018257e8ee9 20:14:24 Step 3/12 : ARG MAKE='make build' 20:14:26 ---> Running in 0fbc0c197837 20:14:26 Removing intermediate container 0fbc0c197837 20:14:26 ---> 0e52cf405429 20:14:26 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:14:26 ---> Running in 3b7c67bebe5f 20:14:26 Removing intermediate container 3b7c67bebe5f 20:14:26 ---> 685da1965a5b 20:14:26 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:14:26 ---> Running in 6fa6ebfab34f 20:14:26 Removing intermediate container 6fa6ebfab34f 20:14:26 ---> 241e56b03057 20:14:26 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:26 ---> Running in 6512ca7c3269 20:14:27 Removing intermediate container 6512ca7c3269 20:14:27 ---> 55ee3301f4ac 20:14:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:27 ---> Running in 76b59409b5b8 20:14:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:14:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:14:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:14:28 (2/4) Installing libedit (20210910.3.1-r0) 20:14:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:14:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:14:29 Executing busybox-1.34.1-r3.trigger 20:14:29 OK: 224 MiB in 56 packages 20:14:29 Removing intermediate container 76b59409b5b8 20:14:29 ---> 6ead15922cb9 20:14:29 Step 8/12 : WORKDIR /device-rest-go 20:14:29 ---> Running in 1c4e8fdc389e 20:14:30 Removing intermediate container 1c4e8fdc389e 20:14:30 ---> f31e3a4402d6 20:14:30 Step 9/12 : COPY go.mod vendor* ./ 20:14:30 ---> 3230c876752f 20:14:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:30 ---> Running in 173a7e72ab36 20:14:30 Still waiting to schedule task 20:14:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:14:44 Removing intermediate container 173a7e72ab36 20:14:44 ---> 0e65a32320af 20:14:44 Step 11/12 : COPY . . 20:14:44 ---> e071e1a607d2 20:14:44 Step 12/12 : RUN $MAKE 20:14:44 ---> Running in 1a4d46ad07d2 20:14:44 noop 20:14:44 Removing intermediate container 1a4d46ad07d2 20:14:44 ---> e7b98bb1f0ca 20:14:44 Successfully built e7b98bb1f0ca 20:14:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:14:45 + docker inspect -f . ci-base-image-x86_64 20:14:45 . [Pipeline] withDockerContainer 20:14:45 prd-ubuntu20.04-docker-8c-8g-22645 does not seem to be running inside a container 20:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-178 -v /w/workspace/gexfoundry_device-rest-go_PR-178:/w/workspace/gexfoundry_device-rest-go_PR-178:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-178@tmp:/w/workspace/gexfoundry_device-rest-go_PR-178@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:14:45 $ docker top a76083668a2fea059ac39ff76747ff7a797eb7b5d596135d4c3f542246d207ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:46 + go version 20:14:46 go version go1.17.6 linux/amd64 [Pipeline] } 20:14:46 $ docker stop --time=1 a76083668a2fea059ac39ff76747ff7a797eb7b5d596135d4c3f542246d207ed 20:14:47 $ docker rm -f a76083668a2fea059ac39ff76747ff7a797eb7b5d596135d4c3f542246d207ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:48 + docker inspect -f . ci-base-image-x86_64 20:14:48 . [Pipeline] withDockerContainer 20:14:48 prd-ubuntu20.04-docker-8c-8g-22645 does not seem to be running inside a container 20:14:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-178 -v /w/workspace/gexfoundry_device-rest-go_PR-178:/w/workspace/gexfoundry_device-rest-go_PR-178:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-178@tmp:/w/workspace/gexfoundry_device-rest-go_PR-178@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:14:48 $ docker top 98a12a35ff43ad1ec7db3081f1a9c0973b55f15fb9e2f401e51419142fdd07b3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:14:49 + make test 20:14:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:14:49 ? github.com/edgexfoundry/device-rest-go [no test files] 20:14:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:14:59 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 20:15:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:09 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:10 $ docker stop --time=1 98a12a35ff43ad1ec7db3081f1a9c0973b55f15fb9e2f401e51419142fdd07b3 20:15:12 $ docker rm -f 98a12a35ff43ad1ec7db3081f1a9c0973b55f15fb9e2f401e51419142fdd07b3 [Pipeline] // withDockerContainer [Pipeline] sh 20:15:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:13 + ls -al . 20:15:13 total 192 20:15:13 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 20:15 . 20:15:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:13 .. 20:15:13 -rw-rw-r-- 1 jenkins jenkins 151 Apr 25 20:13 .dockerignore 20:15:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:13 .git 20:15:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:13 .github 20:15:13 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 20:13 .gitignore 20:15:13 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 20:13 .golangci.yml 20:15:13 drwx------ 3 jenkins jenkins 4096 Apr 25 20:14 .semver 20:15:13 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 25 20:13 Attribution.txt 20:15:13 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 25 20:13 CHANGELOG.md 20:15:13 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 25 20:13 Dockerfile 20:15:13 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 20:13 GOVERNANCE.md 20:15:13 -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 20:13 Jenkinsfile 20:15:13 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 20:13 LICENSE 20:15:13 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 25 20:13 Makefile 20:15:13 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 20:13 OWNERS.md 20:15:13 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 25 20:13 README.md 20:15:13 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 20:14 VERSION 20:15:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:13 bin 20:15:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:13 cmd 20:15:13 -rw-r--r-- 1 jenkins jenkins 9355 Apr 25 20:14 coverage.out 20:15:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:13 driver 20:15:13 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 25 20:13 go.mod 20:15:13 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 25 20:13 go.sum 20:15:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:13 snap 20:15:13 -rw-rw-r-- 1 jenkins jenkins 713 Apr 25 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:15:14 + 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=8d801ee3c7418469ddcf61a2cd193651b7327a7b --label arch=amd64 --label version=0.0.0 . 20:15:14 Sending build context to Docker daemon 10.59MB 20:15:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:15:14 Step 2/25 : FROM ${BASE} AS builder 20:15:14 ---> e7b98bb1f0ca 20:15:14 Step 3/25 : ARG MAKE='make build' 20:15:14 ---> Running in babfd3eb7638 20:15:14 Removing intermediate container babfd3eb7638 20:15:14 ---> 9923c9039293 20:15:14 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:15:14 ---> Running in f99f508fcc81 20:15:14 Removing intermediate container f99f508fcc81 20:15:14 ---> 62c98129ffa4 20:15:14 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:15:14 ---> Running in 1cd3b630957b 20:15:14 Removing intermediate container 1cd3b630957b 20:15:14 ---> 30eb8fc222b1 20:15:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:14 ---> Running in 5c611a43824f 20:15:15 Removing intermediate container 5c611a43824f 20:15:15 ---> 13618d94141f 20:15:15 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:15 ---> Running in 6b1c5f05440d 20:15:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:16 OK: 224 MiB in 56 packages 20:15:17 Removing intermediate container 6b1c5f05440d 20:15:17 ---> bb619ddd911d 20:15:17 Step 8/25 : WORKDIR /device-rest-go 20:15:17 ---> Running in e1e3d11d6820 20:15:17 Removing intermediate container e1e3d11d6820 20:15:17 ---> 1aca6ed49f9a 20:15:17 Step 9/25 : COPY go.mod vendor* ./ 20:15:17 ---> 989dc389ab68 20:15:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:17 ---> Running in 0718da6364e7 20:15:18 Removing intermediate container 0718da6364e7 20:15:18 ---> 327913307e6a 20:15:18 Step 11/25 : COPY . . 20:15:19 ---> b78451499ac4 20:15:19 Step 12/25 : RUN $MAKE 20:15:19 ---> Running in 708771a3ff7b 20:15:19 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:15:41 Removing intermediate container 708771a3ff7b 20:15:41 ---> 5d3b647ad12d 20:15:41 Step 13/25 : FROM alpine:3.14 20:15:41 3.14: Pulling from library/alpine 20:15:41 8663204ce13b: Pulling fs layer 20:15:41 8663204ce13b: Verifying Checksum 20:15:41 8663204ce13b: Download complete 20:15:41 8663204ce13b: Pull complete 20:15:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:15:41 Status: Downloaded newer image for alpine:3.14 20:15:41 ---> e04c818066af 20:15:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:15:41 ---> Running in f934552f42c8 20:15:41 Removing intermediate container f934552f42c8 20:15:41 ---> d6065f658769 20:15:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:15:41 ---> Running in 87c2ffb16ad7 20:15:41 Removing intermediate container 87c2ffb16ad7 20:15:41 ---> 1e038a81fc95 20:15:41 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:15:41 ---> Running in 950a1725a8e3 20:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:15:41 (1/6) Installing dumb-init (1.2.5-r1) 20:15:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:15:41 (3/6) Installing libsodium (1.0.18-r0) 20:15:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:15:41 (5/6) Installing libzmq (4.3.4-r0) 20:15:41 (6/6) Installing zeromq (4.3.4-r0) 20:15:41 Executing busybox-1.33.1-r7.trigger 20:15:41 OK: 8 MiB in 20 packages 20:15:41 Removing intermediate container 950a1725a8e3 20:15:41 ---> 0fb8cf1cf92a 20:15:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:15:41 ---> e99f45e93b12 20:15:41 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:15:41 ---> 8afeb38bfcb3 20:15:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:15:41 ---> 6103ca8d9b73 20:15:41 Step 20/25 : EXPOSE 59986 20:15:41 ---> Running in 16c9ae1bc043 20:15:42 Removing intermediate container 16c9ae1bc043 20:15:42 ---> d2e680e24bf9 20:15:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:15:42 ---> Running in 9630bdaa1d1d 20:15:42 Removing intermediate container 9630bdaa1d1d 20:15:42 ---> a1d6bf735526 20:15:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:15:42 ---> Running in f6a589a52860 20:15:42 Removing intermediate container f6a589a52860 20:15:42 ---> be9f434eac5b 20:15:42 Step 23/25 : LABEL arch=amd64 20:15:42 ---> Running in 6b3dc128b2f7 20:15:42 Removing intermediate container 6b3dc128b2f7 20:15:42 ---> b1c6bbd88ec0 20:15:42 Step 24/25 : LABEL git_sha=8d801ee3c7418469ddcf61a2cd193651b7327a7b 20:15:42 ---> Running in fe3654eb37f4 20:15:42 Removing intermediate container fe3654eb37f4 20:15:42 ---> 63be4183cb58 20:15:42 Step 25/25 : LABEL version=0.0.0 20:15:42 ---> Running in f299fac957ab 20:15:42 Removing intermediate container f299fac957ab 20:15:42 ---> 02e3acc95cf2 20:15:42 [Warning] One or more build-args [ARCH] were not consumed 20:15:42 Successfully built 02e3acc95cf2 20:15:42 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:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:43 20:15:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:15:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:43 latest: Pulling from edgex-lftools-log-publisher 20:15:43 5eb5b503b376: Pulling fs layer 20:15:43 5c69ac0246d0: Pulling fs layer 20:15:43 ec43610c2a17: Pulling fs layer 20:15:43 3a2ae6a8a46f: Pulling fs layer 20:15:43 33b1e0a273af: Pulling fs layer 20:15:43 5d3b04190fa2: Pulling fs layer 20:15:43 2f39f015ded8: Pulling fs layer 20:15:43 3a2ae6a8a46f: Waiting 20:15:43 33b1e0a273af: Waiting 20:15:43 5d3b04190fa2: Waiting 20:15:43 2f39f015ded8: Waiting 20:15:43 5c69ac0246d0: Verifying Checksum 20:15:43 5c69ac0246d0: Download complete 20:15:43 33b1e0a273af: Verifying Checksum 20:15:43 33b1e0a273af: Download complete 20:15:43 5d3b04190fa2: Download complete 20:15:43 ec43610c2a17: Verifying Checksum 20:15:43 ec43610c2a17: Download complete 20:15:43 5eb5b503b376: Verifying Checksum 20:15:43 5eb5b503b376: Download complete 20:15:44 2f39f015ded8: Download complete 20:15:45 5eb5b503b376: Pull complete 20:15:45 5c69ac0246d0: Pull complete 20:15:45 ec43610c2a17: Pull complete 20:15:45 3a2ae6a8a46f: Pull complete 20:15:45 33b1e0a273af: Pull complete 20:15:46 5d3b04190fa2: Pull complete 20:15:50 2f39f015ded8: Pull complete 20:15:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:15:50 prd-ubuntu20.04-docker-8c-8g-22645 does not seem to be running inside a container 20:15:50 $ 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-178 -v /w/workspace/gexfoundry_device-rest-go_PR-178:/w/workspace/gexfoundry_device-rest-go_PR-178:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-178@tmp:/w/workspace/gexfoundry_device-rest-go_PR-178@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:52 $ docker top 126ca71c80aee162af00a26e42f0c81094d43ec2fb059e8efc5401a75ef9c1f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:52 ---> job-cost.sh 20:15:52 lf-activate-venv: SKIPPING 20:15:52 INFO: No Stack... 20:15:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:53 INFO: Archiving Costs [Pipeline] sh 20:15:53 + cat /w/workspace/gexfoundry_device-rest-go_PR-178/archives/cost.csv 20:15:53 + cut -d, -f6 [Pipeline] lock 20:15:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] 20:15:53 Resource [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] did not exist. Created. 20:15:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:15:54 Stashed 1 file(s) [Pipeline] } 20:15:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:54 $ docker stop --time=1 126ca71c80aee162af00a26e42f0c81094d43ec2fb059e8efc5401a75ef9c1f2 20:15:55 $ docker rm -f 126ca71c80aee162af00a26e42f0c81094d43ec2fb059e8efc5401a75ef9c1f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:45:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23512 in /w/workspace/gexfoundry_device-rest-go_PR-178 [Pipeline] { [Pipeline] ws 20:45:05 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:45:05 The recommended git tool is: git 20:45:14 using credential edgex-jenkins-ssh 20:45:14 Cloning the remote Git repository 20:45:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:45:14 > git init /w/workspace/device-rest-go/1 # timeout=10 20:45:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:15 > git --version # timeout=10 20:45:15 > git --version # 'git version 2.25.1' 20:45:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:18 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 8d801ee3c7418469ddcf61a2cd193651b7327a7b 20:45:18 Merge succeeded, producing 8d801ee3c7418469ddcf61a2cd193651b7327a7b 20:45:18 Checking out Revision 8d801ee3c7418469ddcf61a2cd193651b7327a7b (PR-178) 20:45:18 > git config core.sparsecheckout # timeout=10 20:45:18 > git checkout -f 8d801ee3c7418469ddcf61a2cd193651b7327a7b # timeout=10 20:45:18 > git remote # timeout=10 20:45:18 > git config --get remote.origin.url # timeout=10 20:45:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:18 > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 20:45:18 > git rev-parse HEAD^{commit} # timeout=10 20:45:18 > git config core.sparsecheckout # timeout=10 20:45:18 > git checkout -f 8d801ee3c7418469ddcf61a2cd193651b7327a7b # timeout=10 20:45:23 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:45:23 > git --version # timeout=10 20:45:23 > git --version # 'git version 2.25.1' 20:45:23 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:24 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:24 Dload Upload Total Spent Left Speed 20:45:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh 20:45:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:25 + sudo tee /etc/docker/daemon.new 20:45:25 { 20:45:25 "registry-mirrors": [ 20:45:25 "https://nexus3.edgexfoundry.org:10001" 20:45:25 ], 20:45:25 "bip": "10.250.0.254/24", 20:45:25 "hosts": [ 20:45:25 "tcp://0.0.0.0:5555", 20:45:25 "unix:///var/run/docker.sock" 20:45:25 ], 20:45:25 "mtu": 1458, 20:45:25 "selinux-enabled": true, 20:45:25 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:25 } [Pipeline] sh 20:45:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:44 provisioning config files... 20:45:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config443018902171026161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:45 ---> docker-login.sh 20:45:45 nexus3.edgexfoundry.org:10001 20:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:46 Configure a credential helper to remove this warning. See 20:45:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:46 20:45:46 Login Succeeded 20:45:46 nexus3.edgexfoundry.org:10002 20:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:47 Configure a credential helper to remove this warning. See 20:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:47 20:45:47 Login Succeeded 20:45:47 nexus3.edgexfoundry.org:10003 20:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:47 Configure a credential helper to remove this warning. See 20:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:47 20:45:47 Login Succeeded 20:45:47 nexus3.edgexfoundry.org:10004 20:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:48 Configure a credential helper to remove this warning. See 20:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:48 20:45:48 Login Succeeded 20:45:48 docker.io 20:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:49 Configure a credential helper to remove this warning. See 20:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:49 20:45:49 Login Succeeded 20:45:49 ---> docker-login.sh ends [Pipeline] } 20:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:49 ========================================================= 20:45:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:45:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:45:50 + 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:45:50 Sending build context to Docker daemon 129.5kB 20:45:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:45:50 Step 2/12 : FROM ${BASE} AS builder 20:45:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:51 9b3977197b4f: Pulling fs layer 20:45:51 1a89e8eeedd5: Pulling fs layer 20:45:51 94645a83ff95: Pulling fs layer 20:45:51 3f3a8bcf1eab: Pulling fs layer 20:45:51 0c92f367c5e7: Pulling fs layer 20:45:51 3096ccb668a1: Pulling fs layer 20:45:51 e8cf19c19ddd: Pulling fs layer 20:45:51 a4caa8a26152: Pulling fs layer 20:45:51 0c92f367c5e7: Waiting 20:45:51 3096ccb668a1: Waiting 20:45:51 e8cf19c19ddd: Waiting 20:45:51 3f3a8bcf1eab: Waiting 20:45:51 a4caa8a26152: Waiting 20:45:51 94645a83ff95: Verifying Checksum 20:45:51 94645a83ff95: Download complete 20:45:51 1a89e8eeedd5: Download complete 20:45:51 0c92f367c5e7: Download complete 20:45:51 3096ccb668a1: Verifying Checksum 20:45:51 3096ccb668a1: Download complete 20:45:51 9b3977197b4f: Verifying Checksum 20:45:51 9b3977197b4f: Download complete 20:45:51 e8cf19c19ddd: Verifying Checksum 20:45:51 e8cf19c19ddd: Download complete 20:45:51 9b3977197b4f: Pull complete 20:45:52 1a89e8eeedd5: Pull complete 20:45:52 94645a83ff95: Pull complete 20:45:53 a4caa8a26152: Verifying Checksum 20:45:53 a4caa8a26152: Download complete 20:45:53 3f3a8bcf1eab: Verifying Checksum 20:45:53 3f3a8bcf1eab: Download complete 20:46:06 3f3a8bcf1eab: Pull complete 20:46:06 0c92f367c5e7: Pull complete 20:46:06 3096ccb668a1: Pull complete 20:46:06 e8cf19c19ddd: Pull complete 20:46:13 a4caa8a26152: Pull complete 20:46:13 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:46:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:46:13 ---> 725f1c02e7f9 20:46:13 Step 3/12 : ARG MAKE='make build' 20:46:15 ---> Running in cdcf91aa022d 20:46:15 Removing intermediate container cdcf91aa022d 20:46:15 ---> 8a6c084b4775 20:46:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:46:15 ---> Running in 101dae427d0b 20:46:16 Removing intermediate container 101dae427d0b 20:46:16 ---> 47d83b87484f 20:46:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:46:16 ---> Running in 2d356616dd65 20:46:17 Removing intermediate container 2d356616dd65 20:46:17 ---> 2ab9ef65bc95 20:46:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:17 ---> Running in e9bdf246a9bd 20:46:19 Removing intermediate container e9bdf246a9bd 20:46:19 ---> 5967a07c39a3 20:46:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:19 ---> Running in 1e1f97f6918a 20:46:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:46:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:46:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:46:23 (2/4) Installing libedit (20210910.3.1-r0) 20:46:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:46:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:46:23 Executing busybox-1.34.1-r3.trigger 20:46:23 OK: 224 MiB in 56 packages 20:46:25 Removing intermediate container 1e1f97f6918a 20:46:25 ---> 12226601472e 20:46:25 Step 8/12 : WORKDIR /device-rest-go 20:46:25 ---> Running in be8f122abe4e 20:46:25 Removing intermediate container be8f122abe4e 20:46:25 ---> e92cf939fb2b 20:46:25 Step 9/12 : COPY go.mod vendor* ./ 20:46:25 ---> 454bd033aca9 20:46:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:26 ---> Running in bf716b109757 20:47:22 Removing intermediate container bf716b109757 20:47:22 ---> 38d5f8e3b2dd 20:47:22 Step 11/12 : COPY . . 20:47:22 ---> fe7763999894 20:47:22 Step 12/12 : RUN $MAKE 20:47:22 ---> Running in d947c598cbbb 20:47:22 noop 20:47:22 Removing intermediate container d947c598cbbb 20:47:22 ---> 3f5f53e0a55a 20:47:22 Successfully built 3f5f53e0a55a 20:47:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:47:23 + docker inspect -f . ci-base-image-arm64 20:47:23 . [Pipeline] withDockerContainer 20:47:23 prd-ubuntu20.04-docker-arm64-4c-16g-23512 does not seem to be running inside a container 20:47:23 $ 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:47:25 $ docker top b8d9669aaf0c1de245aeb10251f461b4a2576716dc883d3f9d518e20a427c53e -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:26 + go version 20:47:26 go version go1.17.6 linux/arm64 [Pipeline] } 20:47:26 $ docker stop --time=1 b8d9669aaf0c1de245aeb10251f461b4a2576716dc883d3f9d518e20a427c53e 20:47:27 $ docker rm -f b8d9669aaf0c1de245aeb10251f461b4a2576716dc883d3f9d518e20a427c53e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:47:28 + docker inspect -f . ci-base-image-arm64 20:47:28 . [Pipeline] withDockerContainer 20:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-23512 does not seem to be running inside a container 20:47:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:30 $ docker top 299f298f9f5052a9d9adbee1d9c364ec720b6bb752c3813851cdd6d03c1dec96 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:47:31 + make test 20:47:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:47:33 ? github.com/edgexfoundry/device-rest-go [no test files] 20:49:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:49:10 ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 55.2% of statements 20:49:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:49:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:43 ./bin/test-attribution-txt.sh [Pipeline] echo 20:49:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:49:43 $ docker stop --time=1 299f298f9f5052a9d9adbee1d9c364ec720b6bb752c3813851cdd6d03c1dec96 20:49:45 $ docker rm -f 299f298f9f5052a9d9adbee1d9c364ec720b6bb752c3813851cdd6d03c1dec96 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:46 Warning: overwriting stash ‘coverage-report’ 20:49:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:47 + ls -al . 20:49:47 total 188 20:49:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:49 . 20:49:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 .. 20:49:47 -rw-rw-r-- 1 jenkins jenkins 151 Apr 25 20:45 .dockerignore 20:49:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:45 .git 20:49:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:45 .github 20:49:47 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 20:45 .gitignore 20:49:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 20:45 .golangci.yml 20:49:47 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 25 20:45 Attribution.txt 20:49:47 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 25 20:45 CHANGELOG.md 20:49:47 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 25 20:45 Dockerfile 20:49:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 20:45 GOVERNANCE.md 20:49:47 -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 20:45 Jenkinsfile 20:49:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 20:45 LICENSE 20:49:47 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 25 20:45 Makefile 20:49:47 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 20:45 OWNERS.md 20:49:47 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 25 20:45 README.md 20:49:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 20:14 VERSION 20:49:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 bin 20:49:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:45 cmd 20:49:47 -rw-r--r-- 1 jenkins jenkins 9355 Apr 25 20:49 coverage.out 20:49:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 driver 20:49:47 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 25 20:45 go.mod 20:49:47 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 25 20:45 go.sum 20:49:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:45 snap 20:49:47 -rw-rw-r-- 1 jenkins jenkins 713 Apr 25 20:45 version.go [Pipeline] isUnix [Pipeline] sh 20:49:48 + 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=8d801ee3c7418469ddcf61a2cd193651b7327a7b --label arch=arm64 --label version=0.0.0 . 20:49:48 Sending build context to Docker daemon 139.8kB 20:49:48 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:49:48 Step 2/25 : FROM ${BASE} AS builder 20:49:48 ---> 3f5f53e0a55a 20:49:48 Step 3/25 : ARG MAKE='make build' 20:49:48 ---> Running in eed95e005e2d 20:49:49 Removing intermediate container eed95e005e2d 20:49:49 ---> cf88e0005751 20:49:49 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:49:49 ---> Running in b4d8889c3f40 20:49:49 Removing intermediate container b4d8889c3f40 20:49:49 ---> 52b788d363e9 20:49:49 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:49:49 ---> Running in 95e65fe2baaf 20:49:50 Removing intermediate container 95e65fe2baaf 20:49:50 ---> 8c2ae93b9c7f 20:49:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:49:50 ---> Running in 28b533368d30 20:49:52 Removing intermediate container 28b533368d30 20:49:52 ---> 90f0c04a061e 20:49:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:52 ---> Running in 7aacaeeefd63 20:49:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:49:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:49:55 OK: 224 MiB in 56 packages 20:49:56 Removing intermediate container 7aacaeeefd63 20:49:56 ---> b8853b454aee 20:49:56 Step 8/25 : WORKDIR /device-rest-go 20:49:56 ---> Running in 828b15ce74f5 20:49:56 Removing intermediate container 828b15ce74f5 20:49:56 ---> 4075873e1150 20:49:56 Step 9/25 : COPY go.mod vendor* ./ 20:49:57 ---> a3339010a49c 20:49:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:57 ---> Running in 0d195ffc351e 20:49:59 Removing intermediate container 0d195ffc351e 20:49:59 ---> 567df2cbffb2 20:49:59 Step 11/25 : COPY . . 20:50:00 ---> d4f7e358a942 20:50:00 Step 12/25 : RUN $MAKE 20:50:00 ---> Running in 1b00f5b7bca0 20:50:01 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:52:23 Removing intermediate container 1b00f5b7bca0 20:52:23 ---> 6547e214ca66 20:52:23 Step 13/25 : FROM alpine:3.14 20:52:23 3.14: Pulling from library/alpine 20:52:23 455c02918c45: Pulling fs layer 20:52:23 455c02918c45: Download complete 20:52:23 455c02918c45: Pull complete 20:52:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:52:23 Status: Downloaded newer image for alpine:3.14 20:52:23 ---> ac73e934f311 20:52:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:52:23 ---> Running in f1ade1ecbc89 20:52:23 Removing intermediate container f1ade1ecbc89 20:52:23 ---> 728a847d6e1c 20:52:23 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:52:23 ---> Running in 88ce6148f39f 20:52:23 Removing intermediate container 88ce6148f39f 20:52:23 ---> d64aabab06d1 20:52:23 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:52:23 ---> Running in fc26a0523c54 20:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:52:23 (1/6) Installing dumb-init (1.2.5-r1) 20:52:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:52:23 (3/6) Installing libsodium (1.0.18-r0) 20:52:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:52:23 (5/6) Installing libzmq (4.3.4-r0) 20:52:23 (6/6) Installing zeromq (4.3.4-r0) 20:52:23 Executing busybox-1.33.1-r7.trigger 20:52:23 OK: 8 MiB in 20 packages 20:52:24 Removing intermediate container fc26a0523c54 20:52:24 ---> 4f2eaf15c600 20:52:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:52:25 ---> 2b45f123ed32 20:52:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:52:26 ---> 8500bc8a5f56 20:52:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:52:27 ---> 490756eec50f 20:52:27 Step 20/25 : EXPOSE 59986 20:52:27 ---> Running in 4438dfae0386 20:52:27 Removing intermediate container 4438dfae0386 20:52:27 ---> 7fa160af2c38 20:52:27 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:52:27 ---> Running in b482eb9f6a69 20:52:28 Removing intermediate container b482eb9f6a69 20:52:28 ---> f4bec0540104 20:52:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:52:28 ---> Running in db78f695962d 20:52:28 Removing intermediate container db78f695962d 20:52:28 ---> 74749eca30cb 20:52:28 Step 23/25 : LABEL arch=arm64 20:52:28 ---> Running in 2157930f4f1d 20:52:28 Removing intermediate container 2157930f4f1d 20:52:28 ---> 0db459655049 20:52:28 Step 24/25 : LABEL git_sha=8d801ee3c7418469ddcf61a2cd193651b7327a7b 20:52:28 ---> Running in 4b909a1d2065 20:52:29 Removing intermediate container 4b909a1d2065 20:52:29 ---> 592d88e6d361 20:52:29 Step 25/25 : LABEL version=0.0.0 20:52:29 ---> Running in 15467e3ce3ff 20:52:29 Removing intermediate container 15467e3ce3ff 20:52:29 ---> 8df2e5d7b936 20:52:29 [Warning] One or more build-args [ARCH] were not consumed 20:52:29 Successfully built 8df2e5d7b936 20:52:29 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:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:30 20:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:31 arm64: Pulling from edgex-lftools-log-publisher 20:52:31 8998bd30e6a1: Pulling fs layer 20:52:31 04944245beec: Pulling fs layer 20:52:31 699f458cf7ca: Pulling fs layer 20:52:31 765212b225bb: Pulling fs layer 20:52:31 f23df028b6ca: Pulling fs layer 20:52:31 d65c8cfc05b1: Pulling fs layer 20:52:31 2437ff75d9bd: Pulling fs layer 20:52:31 f23df028b6ca: Waiting 20:52:31 d65c8cfc05b1: Waiting 20:52:31 2437ff75d9bd: Waiting 20:52:31 765212b225bb: Waiting 20:52:31 04944245beec: Download complete 20:52:31 765212b225bb: Download complete 20:52:31 f23df028b6ca: Verifying Checksum 20:52:31 f23df028b6ca: Download complete 20:52:31 d65c8cfc05b1: Verifying Checksum 20:52:31 d65c8cfc05b1: Download complete 20:52:31 699f458cf7ca: Verifying Checksum 20:52:31 699f458cf7ca: Download complete 20:52:31 8998bd30e6a1: Verifying Checksum 20:52:31 8998bd30e6a1: Download complete 20:52:34 2437ff75d9bd: Verifying Checksum 20:52:34 2437ff75d9bd: Download complete 20:52:35 8998bd30e6a1: Pull complete 20:52:36 04944245beec: Pull complete 20:52:37 699f458cf7ca: Pull complete 20:52:38 765212b225bb: Pull complete 20:52:38 f23df028b6ca: Pull complete 20:52:38 d65c8cfc05b1: Pull complete 20:52:54 2437ff75d9bd: Pull complete 20:52:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:52:54 prd-ubuntu20.04-docker-arm64-4c-16g-23512 does not seem to be running inside a container 20:52:54 $ 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:52:57 $ docker top e81fde7427b0c2c84211dca8a1f35564f0df09d0bece94609ac85ac3d31a7d96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:58 ---> job-cost.sh 20:52:58 lf-activate-venv: SKIPPING 20:52:58 INFO: No Stack... 20:52:59 INFO: Retrieving Pricing Info for: v3-standard-4 20:53:00 INFO: Archiving Costs [Pipeline] sh 20:53:00 + + cut -d,cat -f6 /w/workspace/device-rest-go/1/archives/cost.csv 20:53:00 [Pipeline] lock 20:53:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] 20:53:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] did not exist. Created. 20:53:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:53:01 /w/workspace/device-rest-go/1@tmp/durable-bd7c41e4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:53:02 + echo total: 0.10999999940395355 [Pipeline] stash 20:53:02 Warning: overwriting stash ‘stack-cost’ 20:53:02 Stashed 1 file(s) [Pipeline] } 20:53:02 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-178-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:53:02 $ docker stop --time=1 e81fde7427b0c2c84211dca8a1f35564f0df09d0bece94609ac85ac3d31a7d96 20:53:04 $ docker rm -f e81fde7427b0c2c84211dca8a1f35564f0df09d0bece94609ac85ac3d31a7d96 [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:53:05 provisioning config files... 20:53:05 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-178@tmp/config2904985629973462168tmp [Pipeline] { [Pipeline] sh 20:53:05 + set +x 20:53:05 + bash -s -- 20:53:05 + curl -s https://codecov.io/bash 20:53:05 20:53:05 _____ _ 20:53:05 / ____| | | 20:53:05 | | ___ __| | ___ ___ _____ __ 20:53:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:53:05 | |___| (_) | (_| | __/ (_| (_) \ V / 20:53:05 \_____\___/ \__,_|\___|\___\___/ \_/ 20:53:05 Bash-1.0.6 20:53:05 20:53:05 20:53:05 ==> git version 2.25.1 found 20:53:05 ==> 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:53:05 Release-Date: 2020-01-08 20:53:05 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:53:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:53:05 ==> Jenkins CI detected. 20:53:05 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-178 20:53:05 project root: . 20:53:05 --> token set from env 20:53:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:53:05 ==> Running gcov in . (disable via -X gcov) 20:53:05 ==> Python coveragepy not found 20:53:05 ==> Searching for coverage reports in: 20:53:05 + . 20:53:05 -> Found 1 reports 20:53:05 ==> Detecting git/mercurial file structure 20:53:05 ==> Reading reports 20:53:05 + ./coverage.out bytes=9355 20:53:05 ==> Appending adjustments 20:53:05 https://docs.codecov.io/docs/fixing-reports 20:53:05 + Found adjustments 20:53:05 ==> Gzipping contents 20:53:05 4.0K /tmp/codecov.hf6l3n.gz 20:53:05 ==> Uploading reports 20:53:05 url: https://codecov.io 20:53:05 query: branch=PR-178&commit=8d801ee3c7418469ddcf61a2cd193651b7327a7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-178%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=178&job=&cmd_args= 20:53:05 -> Pinging Codecov 20:53:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-178&commit=8d801ee3c7418469ddcf61a2cd193651b7327a7b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-178%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=178&job=&cmd_args= 20:53:05 -> Uploading to 20:53:05 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/4E5D53B4F1F92C436F7061BF334D961C/8d801ee3c7418469ddcf61a2cd193651b7327a7b/aca57276-a81d-46e4-bed4-750e3f6b7677.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T205305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7fc5f2d2759c1e1bc5b61a851bf3df4731bdcf436e9e34b433498e88455523fb 20:53:05 % Total % Received % Xferd Average Speed Time Time Time Current 20:53:05 Dload Upload Total Spent Left Speed 20:53:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1811 0 0 100 1811 0 8965 --:--:-- --:--:-- --:--:-- 8921 100 1811 0 0 100 1811 0 8048 --:--:-- --:--:-- --:--:-- 8013 20:53:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8d801ee3c7418469ddcf61a2cd193651b7327a7b [Pipeline] } 20:53:06 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:53:07 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-178/archives ] 20:53:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-178/archives 20:53:07 total 16 20:53:07 drwxr-xr-x 3 root root 4096 Apr 25 20:15 . 20:53:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:15 .. 20:53:07 drwxr-xr-x 2 root root 4096 Apr 25 20:15 cost 20:53:07 -rw-r--r-- 1 root root 85 Apr 25 20:15 cost.csv 20:53:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-178/archives 20:53:07 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-178/archives 20:53:07 total 16 20:53:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 20:15 . 20:53:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:15 .. 20:53:07 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 20:15 cost 20:53:07 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:53:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:09 ---> package-listing.sh 20:53:09 ++ facter osfamily 20:53:09 ++ tr '[:upper:]' '[:lower:]' 20:53:09 + OS_FAMILY=debian 20:53:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-178 20:53:09 + START_PACKAGES=/tmp/packages_start.txt 20:53:09 + END_PACKAGES=/tmp/packages_end.txt 20:53:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:09 + PACKAGES=/tmp/packages_start.txt 20:53:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-178 ']' 20:53:09 + PACKAGES=/tmp/packages_end.txt 20:53:09 + case "${OS_FAMILY}" in 20:53:09 + dpkg -l 20:53:09 + grep '^ii' 20:53:09 + '[' -f /tmp/packages_start.txt ']' 20:53:09 + '[' -f /tmp/packages_end.txt ']' 20:53:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-178 ']' 20:53:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-178/archives/ 20:53:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-178/archives/ [Pipeline] echo 20:53:09 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-178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:53:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:53:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:10 . [Pipeline] withDockerContainer 20:53:10 prd-ubuntu20.04-docker-8c-8g-22645 does not seem to be running inside a container 20:53:10 $ 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-178/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-178 -v /w/workspace/gexfoundry_device-rest-go_PR-178:/w/workspace/gexfoundry_device-rest-go_PR-178:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-178@tmp:/w/workspace/gexfoundry_device-rest-go_PR-178@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:53:10 $ docker top fdffdaca4cd9784841000e920dac8d16b0441c73c8f606be74904515806b280d -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:11 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:11 + mkdir -p /var/log/sysstat [Pipeline] sh 20:53:11 + ls /var/log/sa-host 20:53:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:11 provisioning config files... 20:53:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-178@tmp/config7838349273364712923tmp [Pipeline] { [Pipeline] echo 20:53:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:12 ---> create-netrc.sh [Pipeline] } 20:53:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:53:12 ---> python-tools-install.sh [Pipeline] echo 20:53:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:13 ---> sudo-logs.sh 20:53:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:13 ---> job-cost.sh 20:53:13 lf-activate-venv: SKIPPING 20:53:13 DEBUG: total: 0.2199999988079071 20:53:13 INFO: Retrieving Stack Cost... 20:53:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:14 INFO: Archiving Costs [Pipeline] echo 20:53:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:14 ---> logs-deploy.sh 20:53:14 lf-activate-venv: SKIPPING 20:53:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-178/1 20:53:14 INFO: archiving workspace using pattern(s): 20:53:15 Archives upload complete. 20:53:15 INFO: archiving logs to Nexus 20:53:16 ---> uname -a: 20:53:16 Linux prd-ubuntu20-04-docker-8c-8g-22645 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 20:53:16 20:53:16 20:53:16 ---> lscpu: 20:53:16 Architecture: x86_64 20:53:16 CPU op-mode(s): 32-bit, 64-bit 20:53:16 Byte Order: Little Endian 20:53:16 Address sizes: 40 bits physical, 48 bits virtual 20:53:16 CPU(s): 8 20:53:16 On-line CPU(s) list: 0-7 20:53:16 Thread(s) per core: 1 20:53:16 Core(s) per socket: 1 20:53:16 Socket(s): 8 20:53:16 NUMA node(s): 1 20:53:16 Vendor ID: AuthenticAMD 20:53:16 CPU family: 23 20:53:16 Model: 49 20:53:16 Model name: AMD EPYC-Rome Processor 20:53:16 Stepping: 0 20:53:16 CPU MHz: 2799.998 20:53:16 BogoMIPS: 5599.99 20:53:16 Virtualization: AMD-V 20:53:16 Hypervisor vendor: KVM 20:53:16 Virtualization type: full 20:53:16 L1d cache: 256 KiB 20:53:16 L1i cache: 256 KiB 20:53:16 L2 cache: 4 MiB 20:53:16 L3 cache: 128 MiB 20:53:16 NUMA node0 CPU(s): 0-7 20:53:16 Vulnerability Itlb multihit: Not affected 20:53:16 Vulnerability L1tf: Not affected 20:53:16 Vulnerability Mds: Not affected 20:53:16 Vulnerability Meltdown: Not affected 20:53:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:53:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:53:16 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:53:16 Vulnerability Srbds: Not affected 20:53:16 Vulnerability Tsx async abort: Not affected 20:53:16 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:53:16 20:53:16