Pull request #168 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2177555e95d41f0f45d633ce741e967a7a8317c6+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (eb483e1ca58ebacaeaf31d3506850b22be6dc845) 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-ssh10243535251485790848.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-ssh9899264466646708207.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-168/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-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3192774781540642171.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-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10295987157648328589.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-ssh8885736690082955525.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-168/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-168/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12696877287385704791.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10677 in /w/workspace/gexfoundry_device-rest-go_PR-168 [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-168 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 2177555e95d41f0f45d633ce741e967a7a8317c6 Merge succeeded, producing 2177555e95d41f0f45d633ce741e967a7a8317c6 Checking out Revision 2177555e95d41f0f45d633ce741e967a7a8317c6 (PR-168) > 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/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:05:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:05:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:01 ========================================================= 20:05:01 EdgeX Global Pipelines Version Info 20:05:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:02 ------------------- 20:05:02 stable info: 20:05:02 ------------------- 20:05:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:05:02 Message: update stable to v1.0.221 20:05:02 ------------------- 20:05:02 experimental info: 20:05:02 ------------------- 20:05:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:05:02 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2177555 [Pipeline] echo 20:05:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:04 provisioning config files... 20:05:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/config2606463190200565009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:04 ---> docker-login.sh 20:05:04 nexus3.edgexfoundry.org:10001 20:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:05 Configure a credential helper to remove this warning. See 20:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:05 20:05:05 Login Succeeded 20:05:05 nexus3.edgexfoundry.org:10002 20:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:05 Configure a credential helper to remove this warning. See 20:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:05 20:05:05 Login Succeeded 20:05:05 nexus3.edgexfoundry.org:10003 20:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:05 Configure a credential helper to remove this warning. See 20:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:05 20:05:05 Login Succeeded 20:05:05 nexus3.edgexfoundry.org:10004 20:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:05 Configure a credential helper to remove this warning. See 20:05:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:05 20:05:05 Login Succeeded 20:05:05 docker.io 20:05:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:06 Configure a credential helper to remove this warning. See 20:05:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:06 20:05:06 Login Succeeded 20:05:06 ---> docker-login.sh ends [Pipeline] } 20:05:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:06 + git rev-list -1 --merges 2177555e95d41f0f45d633ce741e967a7a8317c6~1..2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo 20:05:07 -----------> git rev-list -1 --merges 2177555e95d41f0f45d633ce741e967a7a8317c6~1..2177555e95d41f0f45d633ce741e967a7a8317c6 2177555e95d41f0f45d633ce741e967a7a8317c6 [false] [Pipeline] sh 20:05:07 + git log --format=format:%s -1 2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo 20:05:07 ========================================================= 20:05:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:07 + git log --format=format:%s -1 2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo 20:05:07 [semverPrep] GIT_COMMIT: 2177555e95d41f0f45d633ce741e967a7a8317c6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:05:07 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:08 + grep -v github /etc/ssh/ssh_known_hosts 20:05:08 + [ -e /tmp/ssh_known_hosts ] 20:05:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:08 + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:05:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:08 20:05:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:05:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:09 latest: Pulling from edgex-devops/git-semver 20:05:09 a0d0a0d46f8b: Pulling fs layer 20:05:09 3e5f54012d9b: Pulling fs layer 20:05:09 4c7163046ea9: Pulling fs layer 20:05:09 0c2d73faf560: Pulling fs layer 20:05:09 0c2d73faf560: Waiting 20:05:09 3e5f54012d9b: Verifying Checksum 20:05:09 3e5f54012d9b: Download complete 20:05:09 a0d0a0d46f8b: Download complete 20:05:09 0c2d73faf560: Download complete 20:05:09 4c7163046ea9: Verifying Checksum 20:05:09 4c7163046ea9: Download complete 20:05:09 a0d0a0d46f8b: Pull complete 20:05:09 3e5f54012d9b: Pull complete 20:05:09 4c7163046ea9: Pull complete 20:05:09 0c2d73faf560: Pull complete 20:05:09 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:05:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:05:10 prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container 20:05:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:05:10 $ docker top f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:10 [ssh-agent] Looking for ssh-agent implementation... 20:05:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:11 $ docker exec f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent 20:05:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBNccNI/agent.15 20:05:11 SSH_AGENT_PID=21 20:05:11 Running ssh-add (command line suppressed) 20:05:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_5669805757349283031.key (/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_5669805757349283031.key) 20:05:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:11 + git tag --points-at HEAD [Pipeline] } 20:05:11 $ docker exec --env ******** --env ******** f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent -k 20:05:11 unset SSH_AUTH_SOCK; 20:05:11 unset SSH_AGENT_PID; 20:05:11 echo Agent pid 21 killed; 20:05:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:11 [ssh-agent] Looking for ssh-agent implementation... 20:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:12 $ docker exec f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent 20:05:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNfBCIb/agent.55 20:05:12 SSH_AGENT_PID=61 20:05:12 Running ssh-add (command line suppressed) 20:05:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_4688792962403493086.key (/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_4688792962403493086.key) 20:05:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:12 + git semver init 20:05:12 # -> Open(): unable to determine branch for HEAD 20:05:12 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-168/.git 20:05:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-168 20:05:12 # $SEMVER_REMOTE_NAME = origin 20:05:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:05:12 # $SEMVER_USER_NAME = edgex-jenkins 20:05:12 # $SEMVER_BRANCH = PR-168 20:05:12 # $SEMVER_TEMP = /tmp/semver-831632464 20:05:12 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:05:14 # '/tmp/semver-831632464' -> '/w/workspace/gexfoundry_device-rest-go_PR-168/.semver' 20:05:14 # -> Force: false 20:05:14 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-168/.semver [Pipeline] } 20:05:14 $ docker exec --env ******** --env ******** f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent -k 20:05:14 unset SSH_AUTH_SOCK; 20:05:14 unset SSH_AGENT_PID; 20:05:14 echo Agent pid 61 killed; 20:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:14 + git semver [Pipeline] } 20:05:14 $ docker stop --time=1 f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 20:05:16 $ docker rm -f f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:16 Stashed 1 file(s) [Pipeline] echo 20:05:16 [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:05:17 provisioning config files... 20:05:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/config8378662160180307907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:17 ---> docker-login.sh 20:05:17 nexus3.edgexfoundry.org:10001 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:17 Configure a credential helper to remove this warning. See 20:05:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:17 20:05:17 Login Succeeded 20:05:17 nexus3.edgexfoundry.org:10002 20:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 nexus3.edgexfoundry.org:10003 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 nexus3.edgexfoundry.org:10004 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 docker.io 20:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:18 Configure a credential helper to remove this warning. See 20:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:18 20:05:18 Login Succeeded 20:05:18 ---> docker-login.sh ends [Pipeline] } 20:05:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:19 ========================================================= 20:05:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:05:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:05:19 + 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:05:19 Sending build context to Docker daemon 10.55MB 20:05:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:05:19 Step 2/12 : FROM ${BASE} AS builder 20:05:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:19 59bf1c3509f3: Pulling fs layer 20:05:19 666ba61612fd: Pulling fs layer 20:05:19 8ed8ca486205: Pulling fs layer 20:05:19 4fe6c5a15a65: Pulling fs layer 20:05:19 22a0e8bec74d: Pulling fs layer 20:05:19 640e595b4fbd: Pulling fs layer 20:05:19 763cafe07f6e: Pulling fs layer 20:05:19 0c0b528cf693: Pulling fs layer 20:05:19 10935f4eaf8b: Pulling fs layer 20:05:19 4fe6c5a15a65: Waiting 20:05:19 763cafe07f6e: Waiting 20:05:19 22a0e8bec74d: Waiting 20:05:19 0c0b528cf693: Waiting 20:05:19 640e595b4fbd: Waiting 20:05:19 8ed8ca486205: Verifying Checksum 20:05:19 8ed8ca486205: Download complete 20:05:19 666ba61612fd: Verifying Checksum 20:05:19 666ba61612fd: Download complete 20:05:19 22a0e8bec74d: Verifying Checksum 20:05:19 22a0e8bec74d: Download complete 20:05:19 640e595b4fbd: Verifying Checksum 20:05:19 640e595b4fbd: Download complete 20:05:19 59bf1c3509f3: Download complete 20:05:19 763cafe07f6e: Verifying Checksum 20:05:19 763cafe07f6e: Download complete 20:05:19 0c0b528cf693: Verifying Checksum 20:05:19 0c0b528cf693: Download complete 20:05:19 59bf1c3509f3: Pull complete 20:05:20 666ba61612fd: Pull complete 20:05:20 8ed8ca486205: Pull complete 20:05:20 10935f4eaf8b: Verifying Checksum 20:05:20 10935f4eaf8b: Download complete 20:05:20 4fe6c5a15a65: Verifying Checksum 20:05:20 4fe6c5a15a65: Download complete 20:05:24 4fe6c5a15a65: Pull complete 20:05:24 22a0e8bec74d: Pull complete 20:05:24 640e595b4fbd: Pull complete 20:05:24 763cafe07f6e: Pull complete 20:05:24 0c0b528cf693: Pull complete 20:05:27 10935f4eaf8b: Pull complete 20:05:27 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:05:27 ---> 99d49a6021b9 20:05:27 Step 3/12 : ARG MAKE='make build' 20:05:27 ---> Running in 6d202da7338b 20:05:28 Removing intermediate container 6d202da7338b 20:05:28 ---> efbfb19be29f 20:05:28 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:28 ---> Running in 883adde5e49b 20:05:28 Removing intermediate container 883adde5e49b 20:05:28 ---> 53950d8d2059 20:05:28 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:05:28 ---> Running in cd04c8df94d3 20:05:28 Removing intermediate container cd04c8df94d3 20:05:28 ---> 0003ac387bee 20:05:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:28 ---> Running in a64a2fae7881 20:05:29 Removing intermediate container a64a2fae7881 20:05:29 ---> 47c7240aefc4 20:05:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:29 ---> Running in 3d74e36afac9 20:05:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:05:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:05:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:05:30 (2/4) Installing libedit (20210910.3.1-r0) 20:05:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:05:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:05:30 Executing busybox-1.34.1-r3.trigger 20:05:30 OK: 224 MiB in 56 packages 20:05:31 Removing intermediate container 3d74e36afac9 20:05:31 ---> 966f2fd80ff0 20:05:31 Step 8/12 : WORKDIR /device-rest-go 20:05:31 ---> Running in 42bf1ba86e97 20:05:31 Removing intermediate container 42bf1ba86e97 20:05:31 ---> f7aac1bb5c61 20:05:31 Step 9/12 : COPY go.mod vendor* ./ 20:05:31 ---> 1b3bcde1f27f 20:05:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:31 ---> Running in 8d80e605c24c 20:05:32 Still waiting to schedule task 20:05:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-10678’ is offline 20:05:46 Removing intermediate container 8d80e605c24c 20:05:46 ---> 47d4f8d2df9c 20:05:46 Step 11/12 : COPY . . 20:05:46 ---> 1a7147607a9b 20:05:46 Step 12/12 : RUN $MAKE 20:05:46 ---> Running in 3f50d5e4dbb5 20:05:46 noop 20:05:46 Removing intermediate container 3f50d5e4dbb5 20:05:46 ---> 9fc70672beaa 20:05:46 Successfully built 9fc70672beaa 20:05:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:05:46 + docker inspect -f . ci-base-image-x86_64 20:05:46 . [Pipeline] withDockerContainer 20:05:47 prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container 20:05:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:47 $ docker top 74ae6e0e4e8c8de1bd29cbe5df2d35aa0998332af55eb9f980fbece6619ebd63 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:47 + go version 20:05:47 go version go1.17.6 linux/amd64 [Pipeline] } 20:05:47 $ docker stop --time=1 74ae6e0e4e8c8de1bd29cbe5df2d35aa0998332af55eb9f980fbece6619ebd63 20:05:49 $ docker rm -f 74ae6e0e4e8c8de1bd29cbe5df2d35aa0998332af55eb9f980fbece6619ebd63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:05:49 + docker inspect -f . ci-base-image-x86_64 20:05:49 . [Pipeline] withDockerContainer 20:05:49 prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container 20:05:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:50 $ docker top 749e5ed4e2ad7ebae4aaba1a5ad97648cc3ee10ce9adb24b2ed185e81d75cd38 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:05:50 + make test 20:05:50 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:05:51 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:01 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements 20:06:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:06:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:03 ./bin/test-attribution-txt.sh 20:06:04 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 20:06:04 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 20:06:04 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 20:06:04 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 20:06:04 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 20:06:04 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 20:06:04 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 20:06:04 make: *** [Makefile:31: test] Error 1 [Pipeline] } 20:06:04 $ docker stop --time=1 749e5ed4e2ad7ebae4aaba1a5ad97648cc3ee10ce9adb24b2ed185e81d75cd38 20:06:05 $ docker rm -f 749e5ed4e2ad7ebae4aaba1a5ad97648cc3ee10ce9adb24b2ed185e81d75cd38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:06 20:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:07 latest: Pulling from edgex-lftools-log-publisher 20:06:07 5eb5b503b376: Pulling fs layer 20:06:07 5c69ac0246d0: Pulling fs layer 20:06:07 ec43610c2a17: Pulling fs layer 20:06:07 3a2ae6a8a46f: Pulling fs layer 20:06:07 33b1e0a273af: Pulling fs layer 20:06:07 5d3b04190fa2: Pulling fs layer 20:06:07 2f39f015ded8: Pulling fs layer 20:06:07 3a2ae6a8a46f: Waiting 20:06:07 33b1e0a273af: Waiting 20:06:07 2f39f015ded8: Waiting 20:06:07 5d3b04190fa2: Waiting 20:06:07 5c69ac0246d0: Verifying Checksum 20:06:07 5c69ac0246d0: Download complete 20:06:07 3a2ae6a8a46f: Verifying Checksum 20:06:07 3a2ae6a8a46f: Download complete 20:06:07 ec43610c2a17: Verifying Checksum 20:06:07 ec43610c2a17: Download complete 20:06:07 33b1e0a273af: Verifying Checksum 20:06:07 33b1e0a273af: Download complete 20:06:07 5d3b04190fa2: Download complete 20:06:07 5eb5b503b376: Verifying Checksum 20:06:07 5eb5b503b376: Download complete 20:06:08 2f39f015ded8: Download complete 20:06:09 5eb5b503b376: Pull complete 20:06:09 5c69ac0246d0: Pull complete 20:06:09 ec43610c2a17: Pull complete 20:06:09 3a2ae6a8a46f: Pull complete 20:06:09 33b1e0a273af: Pull complete 20:06:09 5d3b04190fa2: Pull complete 20:06:14 2f39f015ded8: Pull complete 20:06:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:06:14 prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container 20:06:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:15 $ docker top 7bcee1724620e11f099f162840b1bf841aadfc10a1ac6634efaa3de933814a5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:16 ---> job-cost.sh 20:06:16 lf-activate-venv: SKIPPING 20:06:16 INFO: No Stack... 20:06:16 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:17 INFO: Archiving Costs [Pipeline] sh 20:06:17 + + cat /w/workspace/gexfoundry_device-rest-go_PR-168/archives/cost.csv 20:06:17 cut -d, -f6 [Pipeline] lock 20:06:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] 20:06:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] did not exist. Created. 20:06:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:17 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:17 Stashed 1 file(s) [Pipeline] } 20:06:17 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:17 $ docker stop --time=1 7bcee1724620e11f099f162840b1bf841aadfc10a1ac6634efaa3de933814a5e 20:06:19 $ docker rm -f 7bcee1724620e11f099f162840b1bf841aadfc10a1ac6634efaa3de933814a5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:19 Failed in branch amd64 20:07:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10679 in /w/workspace/gexfoundry_device-rest-go_PR-168 [Pipeline] { [Pipeline] ws 20:07:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:07:45 The recommended git tool is: git 20:07:54 using credential edgex-jenkins-ssh 20:07:54 Cloning the remote Git repository 20:07:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:07:54 > git init /w/workspace/device-rest-go/1 # timeout=10 20:07:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:54 > git --version # timeout=10 20:07:54 > git --version # 'git version 2.25.1' 20:07:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:57 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 2177555e95d41f0f45d633ce741e967a7a8317c6 20:07:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:57 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:07:58 Merge succeeded, producing 2177555e95d41f0f45d633ce741e967a7a8317c6 20:07:58 Checking out Revision 2177555e95d41f0f45d633ce741e967a7a8317c6 (PR-168) 20:07:57 > git config core.sparsecheckout # timeout=10 20:07:57 > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 20:07:58 > git remote # timeout=10 20:07:58 > git config --get remote.origin.url # timeout=10 20:07:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:58 > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 20:07:58 > git rev-parse HEAD^{commit} # timeout=10 20:07:58 > git config core.sparsecheckout # timeout=10 20:07:58 > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 20:08:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:08:02 > git --version # timeout=10 20:08:02 > git --version # 'git version 2.25.1' 20:08:02 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:04 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:04 Dload Upload Total Spent Left Speed 20:08:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 20:08:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:05 + sudo tee /etc/docker/daemon.new 20:08:05 { 20:08:05 "registry-mirrors": [ 20:08:05 "https://nexus3.edgexfoundry.org:10001" 20:08:05 ], 20:08:05 "bip": "10.250.0.254/24", 20:08:05 "hosts": [ 20:08:05 "tcp://0.0.0.0:5555", 20:08:05 "unix:///var/run/docker.sock" 20:08:05 ], 20:08:05 "mtu": 1458, 20:08:05 "selinux-enabled": true, 20:08:05 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:05 } [Pipeline] sh 20:08:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:24 provisioning config files... 20:08:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6055493141971717697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:24 ---> docker-login.sh 20:08:24 nexus3.edgexfoundry.org:10001 20:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:25 Configure a credential helper to remove this warning. See 20:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:25 20:08:25 Login Succeeded 20:08:25 nexus3.edgexfoundry.org:10002 20:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:26 Configure a credential helper to remove this warning. See 20:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:26 20:08:26 Login Succeeded 20:08:26 nexus3.edgexfoundry.org:10003 20:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:26 Configure a credential helper to remove this warning. See 20:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:26 20:08:26 Login Succeeded 20:08:26 nexus3.edgexfoundry.org:10004 20:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:27 Configure a credential helper to remove this warning. See 20:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:27 20:08:27 Login Succeeded 20:08:27 docker.io 20:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:28 Configure a credential helper to remove this warning. See 20:08:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:28 20:08:28 Login Succeeded 20:08:28 ---> docker-login.sh ends [Pipeline] } 20:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:28 ========================================================= 20:08:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:08:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:08:28 + 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:08:28 Sending build context to Docker daemon 125.4kB 20:08:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:08:29 Step 2/12 : FROM ${BASE} AS builder 20:08:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:29 9b3977197b4f: Pulling fs layer 20:08:29 1a89e8eeedd5: Pulling fs layer 20:08:29 94645a83ff95: Pulling fs layer 20:08:29 3f3a8bcf1eab: Pulling fs layer 20:08:29 0c92f367c5e7: Pulling fs layer 20:08:29 f7c0051592d6: Pulling fs layer 20:08:29 a227ed2f7395: Pulling fs layer 20:08:29 7b1c46037f91: Pulling fs layer 20:08:29 3f3a8bcf1eab: Waiting 20:08:29 0c92f367c5e7: Waiting 20:08:29 f7c0051592d6: Waiting 20:08:29 a227ed2f7395: Waiting 20:08:29 7b1c46037f91: Waiting 20:08:29 94645a83ff95: Download complete 20:08:29 1a89e8eeedd5: Verifying Checksum 20:08:29 1a89e8eeedd5: Download complete 20:08:29 0c92f367c5e7: Download complete 20:08:29 f7c0051592d6: Verifying Checksum 20:08:29 f7c0051592d6: Download complete 20:08:29 9b3977197b4f: Verifying Checksum 20:08:29 9b3977197b4f: Download complete 20:08:29 a227ed2f7395: Verifying Checksum 20:08:29 a227ed2f7395: Download complete 20:08:30 9b3977197b4f: Pull complete 20:08:30 1a89e8eeedd5: Pull complete 20:08:31 94645a83ff95: Pull complete 20:08:31 7b1c46037f91: Verifying Checksum 20:08:31 7b1c46037f91: Download complete 20:08:32 3f3a8bcf1eab: Verifying Checksum 20:08:32 3f3a8bcf1eab: Download complete 20:08:44 3f3a8bcf1eab: Pull complete 20:08:44 0c92f367c5e7: Pull complete 20:08:44 f7c0051592d6: Pull complete 20:08:45 a227ed2f7395: Pull complete 20:08:52 7b1c46037f91: Pull complete 20:08:52 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:08:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:08:52 ---> f79e39bc4007 20:08:52 Step 3/12 : ARG MAKE='make build' 20:08:52 ---> Running in 112508c16fa9 20:08:52 Removing intermediate container 112508c16fa9 20:08:52 ---> e96860e63f12 20:08:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:08:52 ---> Running in e644d9017362 20:08:53 Removing intermediate container e644d9017362 20:08:53 ---> b67b6b9f2723 20:08:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:08:53 ---> Running in 41479290b291 20:08:53 Removing intermediate container 41479290b291 20:08:53 ---> 35434063aab4 20:08:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:53 ---> Running in 2365d5480b9d 20:08:55 Removing intermediate container 2365d5480b9d 20:08:55 ---> 9a95d875ef2d 20:08:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:55 ---> Running in aedfdaded74a 20:08:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:08:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:08:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:08:58 (2/4) Installing libedit (20210910.3.1-r0) 20:08:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:08:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:08:58 Executing busybox-1.34.1-r3.trigger 20:08:58 OK: 224 MiB in 56 packages 20:08:59 Removing intermediate container aedfdaded74a 20:08:59 ---> 699b44b311f3 20:08:59 Step 8/12 : WORKDIR /device-rest-go 20:08:59 ---> Running in 2ef76e596d85 20:09:00 Removing intermediate container 2ef76e596d85 20:09:00 ---> 035a5e5d8f95 20:09:00 Step 9/12 : COPY go.mod vendor* ./ 20:09:00 ---> 4e98729e4c8c 20:09:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:00 ---> Running in 736e981b7bbd 20:09:57 Removing intermediate container 736e981b7bbd 20:09:57 ---> a53e31499b56 20:09:57 Step 11/12 : COPY . . 20:09:57 ---> d5dc6b3e9bc4 20:09:57 Step 12/12 : RUN $MAKE 20:09:57 ---> Running in 9238617c3b11 20:09:57 noop 20:09:57 Removing intermediate container 9238617c3b11 20:09:57 ---> 5cbd1f9e1585 20:09:57 Successfully built 5cbd1f9e1585 20:09:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:09:57 + docker inspect -f . ci-base-image-arm64 20:09:57 . [Pipeline] withDockerContainer 20:09:57 prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container 20:09:58 $ 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:09:59 $ docker top 7df3d4aaf73ae90010a1569ca3a74e53aea5285353744855fcd962c3dc0d2222 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:00 + go version 20:10:00 go version go1.17.6 linux/arm64 [Pipeline] } 20:10:00 $ docker stop --time=1 7df3d4aaf73ae90010a1569ca3a74e53aea5285353744855fcd962c3dc0d2222 20:10:02 $ docker rm -f 7df3d4aaf73ae90010a1569ca3a74e53aea5285353744855fcd962c3dc0d2222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:02 + docker inspect -f . ci-base-image-arm64 20:10:02 . [Pipeline] withDockerContainer 20:10:03 prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container 20:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:10:04 $ docker top 691bca50f2aced88277496045756ba763bc469c6cfc2ecec2bef947582e3fe36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:10:05 + make test 20:10:05 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:10:07 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:29 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 56.0% of statements 20:11:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:11:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:55 ./bin/test-attribution-txt.sh 20:11:55 An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add 20:11:55 An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add 20:11:55 An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add 20:11:55 An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add 20:11:55 An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add 20:11:55 An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add 20:11:55 An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add 20:11:55 make: *** [Makefile:31: test] Error 1 [Pipeline] } 20:11:55 $ docker stop --time=1 691bca50f2aced88277496045756ba763bc469c6cfc2ecec2bef947582e3fe36 20:11:57 $ docker rm -f 691bca50f2aced88277496045756ba763bc469c6cfc2ecec2bef947582e3fe36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:11:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:59 20:11:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:11:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:59 arm64: Pulling from edgex-lftools-log-publisher 20:11:59 8998bd30e6a1: Pulling fs layer 20:11:59 04944245beec: Pulling fs layer 20:11:59 699f458cf7ca: Pulling fs layer 20:11:59 765212b225bb: Pulling fs layer 20:11:59 f23df028b6ca: Pulling fs layer 20:11:59 d65c8cfc05b1: Pulling fs layer 20:11:59 2437ff75d9bd: Pulling fs layer 20:11:59 765212b225bb: Waiting 20:11:59 f23df028b6ca: Waiting 20:11:59 d65c8cfc05b1: Waiting 20:11:59 2437ff75d9bd: Waiting 20:11:59 04944245beec: Verifying Checksum 20:11:59 04944245beec: Download complete 20:11:59 765212b225bb: Download complete 20:12:00 f23df028b6ca: Verifying Checksum 20:12:00 f23df028b6ca: Download complete 20:12:00 d65c8cfc05b1: Download complete 20:12:00 699f458cf7ca: Verifying Checksum 20:12:00 699f458cf7ca: Download complete 20:12:00 8998bd30e6a1: Download complete 20:12:03 2437ff75d9bd: Verifying Checksum 20:12:03 2437ff75d9bd: Download complete 20:12:05 8998bd30e6a1: Pull complete 20:12:05 04944245beec: Pull complete 20:12:06 699f458cf7ca: Pull complete 20:12:06 765212b225bb: Pull complete 20:12:07 f23df028b6ca: Pull complete 20:12:07 d65c8cfc05b1: Pull complete 20:12:22 2437ff75d9bd: Pull complete 20:12:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:12:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:12:23 prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container 20:12:23 $ 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:12:25 $ docker top e29f1178e8c79d2a0251d3dfa029ce1c8a3d51b57dd6816bc7cc6747f5025116 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:26 ---> job-cost.sh 20:12:26 lf-activate-venv: SKIPPING 20:12:26 INFO: No Stack... 20:12:26 INFO: Retrieving Pricing Info for: v3-standard-4 20:12:27 INFO: Archiving Costs [Pipeline] sh 20:12:28 + cut -d, -f6 20:12:28 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:12:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] 20:12:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] did not exist. Created. 20:12:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:12:29 /w/workspace/device-rest-go/1@tmp/durable-30a2f463/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:12:30 + echo total: 0.10999999940395355 [Pipeline] stash 20:12:30 Warning: overwriting stash ‘stack-cost’ 20:12:30 Stashed 1 file(s) [Pipeline] } 20:12:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:12:30 $ docker stop --time=1 e29f1178e8c79d2a0251d3dfa029ce1c8a3d51b57dd6816bc7cc6747f5025116 20:12:32 $ docker rm -f e29f1178e8c79d2a0251d3dfa029ce1c8a3d51b57dd6816bc7cc6747f5025116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:12:32 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:12:34 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-168/archives ] 20:12:34 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-168/archives 20:12:34 total 16 20:12:34 drwxr-xr-x 3 root root 4096 Apr 4 20:06 . 20:12:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:06 .. 20:12:34 drwxr-xr-x 2 root root 4096 Apr 4 20:06 cost 20:12:34 -rw-r--r-- 1 root root 85 Apr 4 20:06 cost.csv 20:12:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-168/archives 20:12:34 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-168/archives 20:12:34 total 16 20:12:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 20:06 . 20:12:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:06 .. 20:12:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 20:06 cost 20:12:34 -rw-r--r-- 1 jenkins jenkins 85 Apr 4 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:12:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:35 ---> package-listing.sh 20:12:35 ++ facter osfamily 20:12:35 ++ tr '[:upper:]' '[:lower:]' 20:12:36 + OS_FAMILY=debian 20:12:36 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-168 20:12:36 + START_PACKAGES=/tmp/packages_start.txt 20:12:36 + END_PACKAGES=/tmp/packages_end.txt 20:12:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:36 + PACKAGES=/tmp/packages_start.txt 20:12:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-168 ']' 20:12:36 + PACKAGES=/tmp/packages_end.txt 20:12:36 + case "${OS_FAMILY}" in 20:12:36 + dpkg -l 20:12:36 + grep '^ii' 20:12:36 + '[' -f /tmp/packages_start.txt ']' 20:12:36 + '[' -f /tmp/packages_end.txt ']' 20:12:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-168 ']' 20:12:36 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-168/archives/ 20:12:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-168/archives/ [Pipeline] echo 20:12:36 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-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:12:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:37 . [Pipeline] withDockerContainer 20:12:37 prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container 20:12:37 $ 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-168/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-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@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:12:37 $ docker top 26a7827ead6b994c6c1fd1b2cb42a80d2bef14a15dd38c9ff0746ceb3e1284a5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:37 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:38 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:38 + ls /var/log/sa-host 20:12:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:38 provisioning config files... 20:12:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/config8972321275977885005tmp [Pipeline] { [Pipeline] echo 20:12:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:39 ---> create-netrc.sh [Pipeline] } 20:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:39 ---> python-tools-install.sh [Pipeline] echo 20:12:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:39 ---> sudo-logs.sh 20:12:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:12:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:40 ---> job-cost.sh 20:12:40 lf-activate-venv: SKIPPING 20:12:40 DEBUG: total: 0.2199999988079071 20:12:40 INFO: Retrieving Stack Cost... 20:12:40 INFO: Retrieving Pricing Info for: v3-standard-8 20:12:41 INFO: Archiving Costs [Pipeline] echo 20:12:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:41 ---> logs-deploy.sh 20:12:41 lf-activate-venv: SKIPPING 20:12:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-168/1 20:12:41 INFO: archiving workspace using pattern(s): 20:12:42 Archives upload complete. 20:12:42 INFO: archiving logs to Nexus