Pull request #370 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c05bf1e97fab19ef64b973e81dbf0d55230d2b1e+cac5c8aff02eeff20ea0733b686feb688efb88bb (56013d42d6dfc3bdb12c32abeaf399d920a504e6) 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-ssh15200880009117409253.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-ssh2520100739718480594.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-mqtt-go/branches/PR-370/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-mqtt-go/branches/PR-370/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12211930053199107619.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-mqtt-go/branches/PR-370/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2771854173711210927.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-ssh10697599965850998477.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-mqtt-go/branches/PR-370/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-mqtt-go/branches/PR-370/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9309767046484098312.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-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt 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-24979 in /w/workspace/gexfoundry_device-mqtt-go_PR-370 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-370 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c05bf1e97fab19ef64b973e81dbf0d55230d2b1e Merge succeeded, producing c05bf1e97fab19ef64b973e81dbf0d55230d2b1e Checking out Revision c05bf1e97fab19ef64b973e81dbf0d55230d2b1e (PR-370) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # 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 15:54:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:54:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:54:03 ========================================================= 15:54:03 EdgeX Global Pipelines Version Info 15:54:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:54:04 ------------------- 15:54:04 stable info: 15:54:04 ------------------- 15:54:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:54:04 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:54:04 Message: update stable to v1.0.221 15:54:04 ------------------- 15:54:04 experimental info: 15:54:04 ------------------- 15:54:04 Commited By: Emilio Reyes emilio.reyes@intel.com 15:54:04 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:54:04 Message: update experimental to v1.0.225 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:54:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c05bf1e [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:54:06 provisioning config files... 15:54:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/config7172651081881463823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:07 ---> docker-login.sh 15:54:07 nexus3.edgexfoundry.org:10001 15:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:07 Configure a credential helper to remove this warning. See 15:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:07 15:54:07 Login Succeeded 15:54:07 nexus3.edgexfoundry.org:10002 15:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:07 Configure a credential helper to remove this warning. See 15:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:07 15:54:07 Login Succeeded 15:54:07 nexus3.edgexfoundry.org:10003 15:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:07 Configure a credential helper to remove this warning. See 15:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:07 15:54:07 Login Succeeded 15:54:07 nexus3.edgexfoundry.org:10004 15:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:08 Configure a credential helper to remove this warning. See 15:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:08 15:54:08 Login Succeeded 15:54:08 docker.io 15:54:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:08 Configure a credential helper to remove this warning. See 15:54:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:08 15:54:08 Login Succeeded 15:54:08 ---> docker-login.sh ends [Pipeline] } 15:54:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:54:09 + git rev-list -1 --merges c05bf1e97fab19ef64b973e81dbf0d55230d2b1e~1..c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo 15:54:09 -----------> git rev-list -1 --merges c05bf1e97fab19ef64b973e81dbf0d55230d2b1e~1..c05bf1e97fab19ef64b973e81dbf0d55230d2b1e c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [false] [Pipeline] sh 15:54:09 + git log --format=format:%s -1 c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo 15:54:09 ========================================================= 15:54:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:54:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:54:10 + git log --format=format:%s -1 c05bf1e97fab19ef64b973e81dbf0d55230d2b1e [Pipeline] echo 15:54:10 [semverPrep] GIT_COMMIT: c05bf1e97fab19ef64b973e81dbf0d55230d2b1e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 15:54:10 [semverPrep] This is not a build commit. [Pipeline] sh 15:54:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:54:10 + grep -v github /etc/ssh/ssh_known_hosts 15:54:10 + [ -e /tmp/ssh_known_hosts ] 15:54:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:54:10 + + sudo tee -aecho /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:54:10 15:54:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:54:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:10 15:54:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:54:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:11 latest: Pulling from edgex-devops/git-semver 15:54:11 a0d0a0d46f8b: Pulling fs layer 15:54:11 3e5f54012d9b: Pulling fs layer 15:54:11 4c7163046ea9: Pulling fs layer 15:54:11 0c2d73faf560: Pulling fs layer 15:54:11 3e5f54012d9b: Verifying Checksum 15:54:11 3e5f54012d9b: Download complete 15:54:11 a0d0a0d46f8b: Verifying Checksum 15:54:11 a0d0a0d46f8b: Download complete 15:54:11 4c7163046ea9: Verifying Checksum 15:54:11 4c7163046ea9: Download complete 15:54:11 0c2d73faf560: Verifying Checksum 15:54:11 0c2d73faf560: Download complete 15:54:11 a0d0a0d46f8b: Pull complete 15:54:11 3e5f54012d9b: Pull complete 15:54:12 4c7163046ea9: Pull complete 15:54:12 0c2d73faf560: Pull complete 15:54:12 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:54:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:54:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:54:12 prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container 15:54:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 15:54:13 $ docker top 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:54:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:13 [ssh-agent] Looking for ssh-agent implementation... 15:54:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:13 $ docker exec 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent 15:54:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDFLmcp/agent.14 15:54:13 SSH_AGENT_PID=20 15:54:13 Running ssh-add (command line suppressed) 15:54:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_6774634404906303274.key (/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_6774634404906303274.key) 15:54:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:14 + git tag --points-at HEAD [Pipeline] } 15:54:14 $ docker exec --env ******** --env ******** 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent -k 15:54:14 unset SSH_AUTH_SOCK; 15:54:14 unset SSH_AGENT_PID; 15:54:14 echo Agent pid 20 killed; 15:54:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:54:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:54:14 [ssh-agent] Looking for ssh-agent implementation... 15:54:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:54:14 $ docker exec 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent 15:54:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgnBLND/agent.53 15:54:14 SSH_AGENT_PID=60 15:54:14 Running ssh-add (command line suppressed) 15:54:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_2506035330493329030.key (/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/private_key_2506035330493329030.key) 15:54:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:54:15 + git semver init 15:54:15 # -> Open(): unable to determine branch for HEAD 15:54:15 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-370/.git 15:54:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-370 15:54:15 # $SEMVER_REMOTE_NAME = origin 15:54:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:54:15 # $SEMVER_USER_NAME = edgex-jenkins 15:54:15 # $SEMVER_BRANCH = PR-370 15:54:15 # $SEMVER_TEMP = /tmp/semver-118873361 15:54:15 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 15:54:16 # '/tmp/semver-118873361' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-370/.semver' 15:54:16 # -> Force: false 15:54:16 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-370/.semver [Pipeline] } 15:54:16 $ docker exec --env ******** --env ******** 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 ssh-agent -k 15:54:16 unset SSH_AUTH_SOCK; 15:54:16 unset SSH_AGENT_PID; 15:54:16 echo Agent pid 60 killed; 15:54:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:54:17 + git semver [Pipeline] } 15:54:17 $ docker stop --time=1 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 15:54:18 $ docker rm -f 294f749fb08aa704f0632b304058be6abff13b1e167459f186c73fb4b626a7f6 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:54:19 Stashed 1 file(s) [Pipeline] echo 15:54:19 [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 15:54:20 provisioning config files... 15:54:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/config2544133456905096617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:54:20 ---> docker-login.sh 15:54:20 nexus3.edgexfoundry.org:10001 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 nexus3.edgexfoundry.org:10002 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 nexus3.edgexfoundry.org:10003 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:20 Configure a credential helper to remove this warning. See 15:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:20 15:54:20 Login Succeeded 15:54:20 nexus3.edgexfoundry.org:10004 15:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:21 Configure a credential helper to remove this warning. See 15:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:21 15:54:21 Login Succeeded 15:54:21 docker.io 15:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:54:21 Configure a credential helper to remove this warning. See 15:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:54:21 15:54:21 Login Succeeded 15:54:21 ---> docker-login.sh ends [Pipeline] } 15:54:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:54:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:54:21 ========================================================= 15:54:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:54:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:54:22 + 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 . 15:54:22 Sending build context to Docker daemon 5.822MB 15:54:22 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:54:22 Step 2/12 : FROM ${BASE} AS builder 15:54:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:22 59bf1c3509f3: Pulling fs layer 15:54:22 666ba61612fd: Pulling fs layer 15:54:22 8ed8ca486205: Pulling fs layer 15:54:22 4fe6c5a15a65: Pulling fs layer 15:54:22 22a0e8bec74d: Pulling fs layer 15:54:22 ca2b28591e48: Pulling fs layer 15:54:22 a51346096db8: Pulling fs layer 15:54:22 daebc70d1ce1: Pulling fs layer 15:54:22 0e18a0eac166: Pulling fs layer 15:54:22 4fe6c5a15a65: Waiting 15:54:22 22a0e8bec74d: Waiting 15:54:22 a51346096db8: Waiting 15:54:22 daebc70d1ce1: Waiting 15:54:22 0e18a0eac166: Waiting 15:54:22 ca2b28591e48: Waiting 15:54:22 8ed8ca486205: Verifying Checksum 15:54:22 8ed8ca486205: Download complete 15:54:22 666ba61612fd: Verifying Checksum 15:54:22 666ba61612fd: Download complete 15:54:22 22a0e8bec74d: Verifying Checksum 15:54:22 22a0e8bec74d: Download complete 15:54:22 ca2b28591e48: Verifying Checksum 15:54:22 ca2b28591e48: Download complete 15:54:22 a51346096db8: Verifying Checksum 15:54:22 a51346096db8: Download complete 15:54:22 59bf1c3509f3: Verifying Checksum 15:54:22 59bf1c3509f3: Download complete 15:54:22 59bf1c3509f3: Pull complete 15:54:22 daebc70d1ce1: Verifying Checksum 15:54:22 daebc70d1ce1: Download complete 15:54:22 666ba61612fd: Pull complete 15:54:22 8ed8ca486205: Pull complete 15:54:23 0e18a0eac166: Verifying Checksum 15:54:23 0e18a0eac166: Download complete 15:54:23 4fe6c5a15a65: Verifying Checksum 15:54:23 4fe6c5a15a65: Download complete 15:54:27 4fe6c5a15a65: Pull complete 15:54:27 22a0e8bec74d: Pull complete 15:54:27 ca2b28591e48: Pull complete 15:54:27 a51346096db8: Pull complete 15:54:28 daebc70d1ce1: Pull complete 15:54:30 0e18a0eac166: Pull complete 15:54:30 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:54:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:54:30 ---> f018257e8ee9 15:54:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:54:34 ---> Running in 4c5b30f4f7c0 15:54:34 Removing intermediate container 4c5b30f4f7c0 15:54:34 ---> 33f5ea9f0c2a 15:54:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:54:34 ---> Running in 6c731939f44e 15:54:34 Removing intermediate container 6c731939f44e 15:54:34 ---> 5582fc56b19d 15:54:34 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:54:34 ---> Running in 1ae5a8f39da0 15:54:35 Still waiting to schedule task 15:54:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:54:35 Removing intermediate container 1ae5a8f39da0 15:54:35 ---> 195bb15ebeb2 15:54:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:35 ---> Running in 43329547d1a4 15:54:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:54:37 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:54:37 (2/4) Installing libedit (20210910.3.1-r0) 15:54:37 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:54:37 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:54:37 Executing busybox-1.34.1-r3.trigger 15:54:37 OK: 224 MiB in 56 packages 15:54:37 Removing intermediate container 43329547d1a4 15:54:37 ---> eb33c5a12a34 15:54:37 Step 7/12 : WORKDIR /device-mqtt-go 15:54:37 ---> Running in 8741afa08202 15:54:37 Removing intermediate container 8741afa08202 15:54:37 ---> 16b814a2a2d8 15:54:37 Step 8/12 : COPY go.mod vendor* ./ 15:54:38 ---> f0ed723048f7 15:54:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:38 ---> Running in 76434ad67e0c 15:54:56 Removing intermediate container 76434ad67e0c 15:54:56 ---> 579809d1ce68 15:54:56 Step 10/12 : COPY . . 15:54:56 ---> 9b0992130ab2 15:54:56 Step 11/12 : ARG MAKE='make build' 15:54:56 ---> Running in cf2d920911a0 15:54:56 Removing intermediate container cf2d920911a0 15:54:56 ---> dac3deefc59c 15:54:56 Step 12/12 : RUN $MAKE 15:54:56 ---> Running in 68431b00b2eb 15:54:56 noop 15:54:56 Removing intermediate container 68431b00b2eb 15:54:56 ---> 775839055ec4 15:54:56 Successfully built 775839055ec4 15:54:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:54:56 + docker inspect -f . ci-base-image-x86_64 15:54:56 . [Pipeline] withDockerContainer 15:54:56 prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container 15:54:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 15:54:57 $ docker top a05e243a9e797f542b14e320bcad4430dc7e186892ce27a76e631acd1adb8d0f -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:57 + go version 15:54:57 go version go1.17.6 linux/amd64 [Pipeline] } 15:54:57 $ docker stop --time=1 a05e243a9e797f542b14e320bcad4430dc7e186892ce27a76e631acd1adb8d0f 15:54:59 $ docker rm -f a05e243a9e797f542b14e320bcad4430dc7e186892ce27a76e631acd1adb8d0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:59 + docker inspect -f . ci-base-image-x86_64 15:54:59 . [Pipeline] withDockerContainer 15:54:59 prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container 15:54:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 15:55:00 $ docker top 7eb6ade2aaabc6fc05c7beceeb8e8e9cc2fc36f744ecb547bee136ab2372f737 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:55:00 + make test 15:55:00 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:55:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:55:13 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:55:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 15:55:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:55:21 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:55:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:25 ./bin/test-attribution-txt.sh 15:55:25 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 15:55:25 make: *** [Makefile:48: test] Error 1 [Pipeline] } 15:55:25 $ docker stop --time=1 7eb6ade2aaabc6fc05c7beceeb8e8e9cc2fc36f744ecb547bee136ab2372f737 15:55:27 $ docker rm -f 7eb6ade2aaabc6fc05c7beceeb8e8e9cc2fc36f744ecb547bee136ab2372f737 [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 15:55:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:29 15:55:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:55:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:29 latest: Pulling from edgex-lftools-log-publisher 15:55:29 5eb5b503b376: Pulling fs layer 15:55:29 5c69ac0246d0: Pulling fs layer 15:55:29 ec43610c2a17: Pulling fs layer 15:55:29 3a2ae6a8a46f: Pulling fs layer 15:55:29 33b1e0a273af: Pulling fs layer 15:55:29 5d3b04190fa2: Pulling fs layer 15:55:29 2f39f015ded8: Pulling fs layer 15:55:29 33b1e0a273af: Waiting 15:55:29 5d3b04190fa2: Waiting 15:55:29 2f39f015ded8: Waiting 15:55:29 3a2ae6a8a46f: Waiting 15:55:29 5c69ac0246d0: Download complete 15:55:29 3a2ae6a8a46f: Verifying Checksum 15:55:29 3a2ae6a8a46f: Download complete 15:55:29 33b1e0a273af: Verifying Checksum 15:55:29 33b1e0a273af: Download complete 15:55:29 ec43610c2a17: Verifying Checksum 15:55:29 ec43610c2a17: Download complete 15:55:29 5d3b04190fa2: Verifying Checksum 15:55:29 5d3b04190fa2: Download complete 15:55:29 5eb5b503b376: Verifying Checksum 15:55:29 5eb5b503b376: Download complete 15:55:30 2f39f015ded8: Download complete 15:55:31 5eb5b503b376: Pull complete 15:55:31 5c69ac0246d0: Pull complete 15:55:32 ec43610c2a17: Pull complete 15:55:32 3a2ae6a8a46f: Pull complete 15:55:32 33b1e0a273af: Pull complete 15:55:32 5d3b04190fa2: Pull complete 15:55:37 2f39f015ded8: Pull complete 15:55:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:55:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:55:37 prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container 15:55:38 $ 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-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 15:55:41 $ docker top 758de1c240a18a66145feb9ef3661b93958ac29a14ff1dba66e0d66cecc6d738 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:41 ---> job-cost.sh 15:55:41 lf-activate-venv: SKIPPING 15:55:41 INFO: No Stack... 15:55:41 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:42 INFO: Archiving Costs [Pipeline] sh 15:55:42 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives/cost.csv 15:55:42 + cut -d, -f6 [Pipeline] lock 15:55:42 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] 15:55:42 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] did not exist. Created. 15:55:42 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:43 + echo total: 0.2199999988079071 [Pipeline] stash 15:55:43 Stashed 1 file(s) [Pipeline] } 15:55:43 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:43 $ docker stop --time=1 758de1c240a18a66145feb9ef3661b93958ac29a14ff1dba66e0d66cecc6d738 15:55:44 $ docker rm -f 758de1c240a18a66145feb9ef3661b93958ac29a14ff1dba66e0d66cecc6d738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:44 Failed in branch amd64 17:05:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-31338 in /w/workspace/gexfoundry_device-mqtt-go_PR-370 [Pipeline] { [Pipeline] ws 17:05:02 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 17:05:02 Selected Git installation does not exist. Using Default 17:05:02 The recommended git tool is: NONE 17:05:08 using credential edgex-jenkins-ssh 17:05:09 Cloning the remote Git repository 17:05:09 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:05:09 > git init /w/workspace/device-mqtt-go/1 # timeout=10 17:05:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:05:09 > git --version # timeout=10 17:05:09 > git --version # 'git version 2.25.1' 17:05:09 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:11 Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c05bf1e97fab19ef64b973e81dbf0d55230d2b1e 17:05:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:05:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:05:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:05:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:05:10 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:05:11 > git config core.sparsecheckout # timeout=10 17:05:11 > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # timeout=10 17:05:11 Merge succeeded, producing c05bf1e97fab19ef64b973e81dbf0d55230d2b1e 17:05:11 Checking out Revision c05bf1e97fab19ef64b973e81dbf0d55230d2b1e (PR-370) 17:05:11 > git remote # timeout=10 17:05:11 > git config --get remote.origin.url # timeout=10 17:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 17:05:11 > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 17:05:11 > git rev-parse HEAD^{commit} # timeout=10 17:05:11 > git config core.sparsecheckout # timeout=10 17:05:11 > git checkout -f c05bf1e97fab19ef64b973e81dbf0d55230d2b1e # timeout=10 17:05:15 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 17:05:15 > git --version # timeout=10 17:05:15 > git --version # 'git version 2.25.1' 17:05:15 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:05:16 % Total % Received % Xferd Average Speed Time Time Time Current 17:05:16 Dload Upload Total Spent Left Speed 17:05:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 80564 100 11843 100 11843 0 0 80020 0 --:--:-- --:--:-- --:--:-- 80020 [Pipeline] sh 17:05:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:05:17 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:05:17 sudo tee /etc/docker/daemon.new 17:05:17 { 17:05:17 "registry-mirrors": [ 17:05:17 "https://nexus3.edgexfoundry.org:10001" 17:05:17 ], 17:05:17 "bip": "10.250.0.254/24", 17:05:17 "hosts": [ 17:05:17 "tcp://0.0.0.0:5555", 17:05:17 "unix:///var/run/docker.sock" 17:05:17 ], 17:05:17 "mtu": 1458, 17:05:17 "selinux-enabled": true, 17:05:17 "seccomp-profile": "/etc/docker/seccomp.json" 17:05:17 } [Pipeline] sh 17:05:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:05:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:37 provisioning config files... 17:05:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8906404774166608986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:37 ---> docker-login.sh 17:05:37 nexus3.edgexfoundry.org:10001 17:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:38 Configure a credential helper to remove this warning. See 17:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:38 17:05:38 Login Succeeded 17:05:38 nexus3.edgexfoundry.org:10002 17:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:39 Configure a credential helper to remove this warning. See 17:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:39 17:05:39 Login Succeeded 17:05:39 nexus3.edgexfoundry.org:10003 17:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:39 Configure a credential helper to remove this warning. See 17:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:39 17:05:39 Login Succeeded 17:05:39 nexus3.edgexfoundry.org:10004 17:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:40 Configure a credential helper to remove this warning. See 17:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:40 17:05:40 Login Succeeded 17:05:40 docker.io 17:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:40 Configure a credential helper to remove this warning. See 17:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:40 17:05:40 Login Succeeded 17:05:40 ---> docker-login.sh ends [Pipeline] } 17:05:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:05:41 ========================================================= 17:05:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:05:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:05:41 + 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 . 17:05:42 Sending build context to Docker daemon 3.04MB 17:05:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:05:42 Step 2/12 : FROM ${BASE} AS builder 17:05:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:05:42 9b3977197b4f: Pulling fs layer 17:05:42 1a89e8eeedd5: Pulling fs layer 17:05:42 94645a83ff95: Pulling fs layer 17:05:42 3f3a8bcf1eab: Pulling fs layer 17:05:42 0c92f367c5e7: Pulling fs layer 17:05:42 3096ccb668a1: Pulling fs layer 17:05:42 e8cf19c19ddd: Pulling fs layer 17:05:42 a4caa8a26152: Pulling fs layer 17:05:42 3f3a8bcf1eab: Waiting 17:05:42 0c92f367c5e7: Waiting 17:05:42 3096ccb668a1: Waiting 17:05:42 e8cf19c19ddd: Waiting 17:05:42 a4caa8a26152: Waiting 17:05:42 94645a83ff95: Verifying Checksum 17:05:42 94645a83ff95: Download complete 17:05:42 1a89e8eeedd5: Verifying Checksum 17:05:42 1a89e8eeedd5: Download complete 17:05:42 0c92f367c5e7: Verifying Checksum 17:05:42 0c92f367c5e7: Download complete 17:05:42 3096ccb668a1: Verifying Checksum 17:05:42 3096ccb668a1: Download complete 17:05:42 9b3977197b4f: Download complete 17:05:42 e8cf19c19ddd: Verifying Checksum 17:05:42 e8cf19c19ddd: Download complete 17:05:43 9b3977197b4f: Pull complete 17:05:43 1a89e8eeedd5: Pull complete 17:05:44 94645a83ff95: Pull complete 17:05:44 a4caa8a26152: Verifying Checksum 17:05:44 a4caa8a26152: Download complete 17:05:45 3f3a8bcf1eab: Verifying Checksum 17:05:45 3f3a8bcf1eab: Download complete 17:05:57 3f3a8bcf1eab: Pull complete 17:05:57 0c92f367c5e7: Pull complete 17:05:57 3096ccb668a1: Pull complete 17:05:57 e8cf19c19ddd: Pull complete 17:06:04 a4caa8a26152: Pull complete 17:06:04 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:06:04 ---> 725f1c02e7f9 17:06:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:06:05 ---> Running in cc00e3454b6b 17:06:05 Removing intermediate container cc00e3454b6b 17:06:05 ---> 952bf9549266 17:06:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:06:05 ---> Running in 133004a6d84c 17:06:05 Removing intermediate container 133004a6d84c 17:06:05 ---> 01ed3adbc152 17:06:05 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:05 ---> Running in c1791595062f 17:06:07 Removing intermediate container c1791595062f 17:06:07 ---> 5ec2cc8f1f32 17:06:07 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:06:07 ---> Running in 304707d163a0 17:06:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:06:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:06:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:06:10 (2/4) Installing libedit (20210910.3.1-r0) 17:06:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:06:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:06:11 Executing busybox-1.34.1-r3.trigger 17:06:11 OK: 224 MiB in 56 packages 17:06:12 Removing intermediate container 304707d163a0 17:06:12 ---> 883e54e689cd 17:06:12 Step 7/12 : WORKDIR /device-mqtt-go 17:06:12 ---> Running in 010ea4e49362 17:06:12 Removing intermediate container 010ea4e49362 17:06:12 ---> 635bb95b3ff9 17:06:12 Step 8/12 : COPY go.mod vendor* ./ 17:06:12 ---> c4c0248070cd 17:06:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:06:12 ---> Running in c9b23101410b 17:06:59 Removing intermediate container c9b23101410b 17:06:59 ---> d2bd99ab7dec 17:06:59 Step 10/12 : COPY . . 17:06:59 ---> 7f28fa0f50a1 17:06:59 Step 11/12 : ARG MAKE='make build' 17:06:59 ---> Running in f7b3652cc1cc 17:06:59 Removing intermediate container f7b3652cc1cc 17:06:59 ---> f47fe11013e0 17:06:59 Step 12/12 : RUN $MAKE 17:06:59 ---> Running in b4f20d0828e9 17:06:59 noop 17:06:59 Removing intermediate container b4f20d0828e9 17:06:59 ---> 21fb0df308b2 17:06:59 Successfully built 21fb0df308b2 17:06:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:07:00 + docker inspect -f . ci-base-image-arm64 17:07:00 . [Pipeline] withDockerContainer 17:07:00 prd-ubuntu20.04-docker-arm64-4c-16g-31338 does not seem to be running inside a container 17:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 17:07:01 $ docker top adc4668882bfd1c02042df3dcb8f6ced9520254c31e322af7dda46132e09ddc3 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:02 + go version 17:07:02 go version go1.17.6 linux/arm64 [Pipeline] } 17:07:02 $ docker stop --time=1 adc4668882bfd1c02042df3dcb8f6ced9520254c31e322af7dda46132e09ddc3 17:07:04 $ docker rm -f adc4668882bfd1c02042df3dcb8f6ced9520254c31e322af7dda46132e09ddc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:07:05 + docker inspect -f . ci-base-image-arm64 17:07:05 . [Pipeline] withDockerContainer 17:07:05 prd-ubuntu20.04-docker-arm64-4c-16g-31338 does not seem to be running inside a container 17:07:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 17:07:06 $ docker top 62a9cf2e6d862a1159e607a66457868b73650c01fad256129f8eaf2c86bf1374 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:07:07 + make test 17:07:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:07:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:08:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:08:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 17:08:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:08:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:08:31 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:08:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:08:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:08:53 ./bin/test-attribution-txt.sh 17:08:53 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 17:08:53 make: *** [Makefile:48: test] Error 1 [Pipeline] } 17:08:53 $ docker stop --time=1 62a9cf2e6d862a1159e607a66457868b73650c01fad256129f8eaf2c86bf1374 17:08:55 $ docker rm -f 62a9cf2e6d862a1159e607a66457868b73650c01fad256129f8eaf2c86bf1374 [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 17:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:08:56 17:08:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:08:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:08:57 arm64: Pulling from edgex-lftools-log-publisher 17:08:57 8998bd30e6a1: Pulling fs layer 17:08:57 04944245beec: Pulling fs layer 17:08:57 699f458cf7ca: Pulling fs layer 17:08:57 765212b225bb: Pulling fs layer 17:08:57 f23df028b6ca: Pulling fs layer 17:08:57 d65c8cfc05b1: Pulling fs layer 17:08:57 2437ff75d9bd: Pulling fs layer 17:08:57 f23df028b6ca: Waiting 17:08:57 d65c8cfc05b1: Waiting 17:08:57 2437ff75d9bd: Waiting 17:08:57 765212b225bb: Waiting 17:08:57 04944245beec: Download complete 17:08:57 765212b225bb: Verifying Checksum 17:08:57 765212b225bb: Download complete 17:08:57 f23df028b6ca: Verifying Checksum 17:08:57 f23df028b6ca: Download complete 17:08:57 d65c8cfc05b1: Verifying Checksum 17:08:57 d65c8cfc05b1: Download complete 17:08:57 699f458cf7ca: Verifying Checksum 17:08:57 699f458cf7ca: Download complete 17:08:58 8998bd30e6a1: Verifying Checksum 17:08:58 8998bd30e6a1: Download complete 17:09:00 2437ff75d9bd: Verifying Checksum 17:09:00 2437ff75d9bd: Download complete 17:09:02 8998bd30e6a1: Pull complete 17:09:02 04944245beec: Pull complete 17:09:04 699f458cf7ca: Pull complete 17:09:04 765212b225bb: Pull complete 17:09:05 f23df028b6ca: Pull complete 17:09:05 d65c8cfc05b1: Pull complete 17:09:20 2437ff75d9bd: Pull complete 17:09:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:09:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:09:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:09:21 prd-ubuntu20.04-docker-arm64-4c-16g-31338 does not seem to be running inside a container 17:09:21 $ 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-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-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 17:09:23 $ docker top abab917bd0fe5eb319f47eeefec3a9f7f9434b43687553faccad3736ccc1d8ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:24 ---> job-cost.sh 17:09:24 lf-activate-venv: SKIPPING 17:09:24 INFO: No Stack... 17:09:24 INFO: Retrieving Pricing Info for: v3-standard-4 17:09:25 INFO: Archiving Costs [Pipeline] sh 17:09:26 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 17:09:26 + cut -d, -f6 [Pipeline] lock 17:09:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] 17:09:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] did not exist. Created. 17:09:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:09:27 /w/workspace/device-mqtt-go/1@tmp/durable-72aba823/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:09:28 + echo total: 0.10999999940395355 [Pipeline] stash 17:09:28 Warning: overwriting stash ‘stack-cost’ 17:09:28 Stashed 1 file(s) [Pipeline] } 17:09:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:09:28 $ docker stop --time=1 abab917bd0fe5eb319f47eeefec3a9f7f9434b43687553faccad3736ccc1d8ac 17:09:30 $ docker rm -f abab917bd0fe5eb319f47eeefec3a9f7f9434b43687553faccad3736ccc1d8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:09:30 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 17:09:33 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives ] 17:09:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives 17:09:33 total 16 17:09:33 drwxr-xr-x 3 root root 4096 Apr 26 15:55 . 17:09:33 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. 17:09:33 drwxr-xr-x 2 root root 4096 Apr 26 15:55 cost 17:09:33 -rw-r--r-- 1 root root 85 Apr 26 15:55 cost.csv 17:09:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives 17:09:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives 17:09:33 total 16 17:09:33 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:55 . 17:09:33 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. 17:09:33 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:55 cost 17:09:33 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:09:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:09:34 ---> package-listing.sh 17:09:34 ++ facter osfamily 17:09:34 ++ tr '[:upper:]' '[:lower:]' 17:09:34 + OS_FAMILY=debian 17:09:34 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-370 17:09:34 + START_PACKAGES=/tmp/packages_start.txt 17:09:34 + END_PACKAGES=/tmp/packages_end.txt 17:09:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:09:34 + PACKAGES=/tmp/packages_start.txt 17:09:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-370 ']' 17:09:34 + PACKAGES=/tmp/packages_end.txt 17:09:34 + case "${OS_FAMILY}" in 17:09:34 + dpkg -l 17:09:34 + grep '^ii' 17:09:34 + '[' -f /tmp/packages_start.txt ']' 17:09:34 + '[' -f /tmp/packages_end.txt ']' 17:09:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:09:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-370 ']' 17:09:34 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives/ 17:09:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-370/archives/ [Pipeline] echo 17:09:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:09:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:09:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:09:35 . [Pipeline] withDockerContainer 17:09:35 prd-ubuntu20.04-docker-8c-8g-24979 does not seem to be running inside a container 17:09:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-370/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-mqtt-go_PR-370 -v /w/workspace/gexfoundry_device-mqtt-go_PR-370:/w/workspace/gexfoundry_device-mqtt-go_PR-370:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-370@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 17:09:35 $ docker top 8611b87ebe44726bf9edf3affd46af39e4ecf2d8bebf8ceac319919378091aa2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:09:36 + touch /tmp/pre-build-complete [Pipeline] sh 17:09:36 + mkdir -p /var/log/sysstat [Pipeline] sh 17:09:37 + ls /var/log/sa-host 17:09:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:37 provisioning config files... 17:09:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-370@tmp/config2225886337337786797tmp [Pipeline] { [Pipeline] echo 17:09:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:09:37 ---> create-netrc.sh [Pipeline] } 17:09:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:09:38 ---> python-tools-install.sh [Pipeline] echo 17:09:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:09:38 ---> sudo-logs.sh 17:09:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:09:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:09:38 ---> job-cost.sh 17:09:38 lf-activate-venv: SKIPPING 17:09:38 DEBUG: total: 0.2199999988079071 17:09:38 INFO: Retrieving Stack Cost... 17:09:39 INFO: Retrieving Pricing Info for: v3-standard-8 17:09:39 INFO: Archiving Costs [Pipeline] echo 17:09:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:09:40 ---> logs-deploy.sh 17:09:40 lf-activate-venv: SKIPPING 17:09:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-370/1 17:09:40 INFO: archiving workspace using pattern(s): 17:09:41 Archives upload complete. 17:09:41 INFO: archiving logs to Nexus