Pull request #369 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5252f7ab1b5ff57685e39e78547ae9ffd6b6506+cac5c8aff02eeff20ea0733b686feb688efb88bb (f1d13c1a645885601ae87f34631bc7b7a0cf34fd) 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-ssh7193988812884414348.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-ssh3937684006460502827.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-369/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-369/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7704073455704643020.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-369/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6336650945244805098.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-ssh16738502993499306438.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-369/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-369/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10226102508236111525.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-24971 in /w/workspace/gexfoundry_device-mqtt-go_PR-369 [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-369 # 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 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 Merge succeeded, producing c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 Checking out Revision c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 (PR-369) > 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/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # 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 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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:05 ------------------- 15:54:05 experimental info: 15:54:05 ------------------- 15:54:05 Commited By: Emilio Reyes emilio.reyes@intel.com 15:54:05 Commit SHA: 0296cfd70f3001d69e24c2db393b493f66f700db 15:54:05 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:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:54:06 [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-369 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-369 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-369 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo 15:54:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5252f7 [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-369@tmp/config547842632058341434tmp [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 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506~1..c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo 15:54:09 -----------> git rev-list -1 --merges c5252f7ab1b5ff57685e39e78547ae9ffd6b6506~1..c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [false] [Pipeline] sh 15:54:09 + git log --format=format:%s -1 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [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 c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 [Pipeline] echo 15:54:10 [semverPrep] GIT_COMMIT: c5252f7ab1b5ff57685e39e78547ae9ffd6b6506, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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 -a /etc/ssh/ssh_known_hosts 15:54:10 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 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 0c2d73faf560: Waiting 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 0c2d73faf560: Verifying Checksum 15:54:11 0c2d73faf560: Download complete 15:54:11 4c7163046ea9: Verifying Checksum 15:54:11 4c7163046ea9: 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-24971 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-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 -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 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 ssh-agent 15:54:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLbLfNb/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-369@tmp/private_key_7385061405929419676.key (/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/private_key_7385061405929419676.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 ******** 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 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 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 ssh-agent 15:54:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXapifCf/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-369@tmp/private_key_3601962678336941701.key (/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/private_key_3601962678336941701.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-369/.git 15:54:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-369 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-369 15:54:15 # $SEMVER_TEMP = /tmp/semver-512661608 15:54:15 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 15:54:16 # '/tmp/semver-512661608' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-369/.semver' 15:54:16 # -> Force: false 15:54:16 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-369/.semver [Pipeline] } 15:54:16 $ docker exec --env ******** --env ******** 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 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:16 + git semver [Pipeline] } 15:54:16 $ docker stop --time=1 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 15:54:18 $ docker rm -f 34eed7536c2af5fc0c061bca957c71e04c48dea650d0db77af09282a2afb4c41 [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-369@tmp/config3054051106732008307tmp [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: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 docker.io 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-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:21 + 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:21 Sending build context to Docker daemon 5.822MB 15:54:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:54:21 Step 2/12 : FROM ${BASE} AS builder 15:54:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:54:21 59bf1c3509f3: Pulling fs layer 15:54:21 666ba61612fd: Pulling fs layer 15:54:21 8ed8ca486205: Pulling fs layer 15:54:21 4fe6c5a15a65: Pulling fs layer 15:54:21 22a0e8bec74d: Pulling fs layer 15:54:21 ca2b28591e48: Pulling fs layer 15:54:21 a51346096db8: Pulling fs layer 15:54:21 daebc70d1ce1: Pulling fs layer 15:54:21 0e18a0eac166: Pulling fs layer 15:54:21 4fe6c5a15a65: Waiting 15:54:21 22a0e8bec74d: Waiting 15:54:21 ca2b28591e48: Waiting 15:54:21 a51346096db8: Waiting 15:54:21 0e18a0eac166: Waiting 15:54:21 daebc70d1ce1: 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 59bf1c3509f3: Verifying Checksum 15:54:22 59bf1c3509f3: Download complete 15:54:22 a51346096db8: Verifying Checksum 15:54:22 a51346096db8: Download complete 15:54:22 daebc70d1ce1: Download complete 15:54:22 59bf1c3509f3: Pull 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:27 daebc70d1ce1: Pull complete 15:54:29 0e18a0eac166: Pull complete 15:54:29 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:54:29 ---> f018257e8ee9 15:54:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:54:32 ---> Running in 8e1d0278a1bf 15:54:32 Removing intermediate container 8e1d0278a1bf 15:54:32 ---> a5510264aa1c 15:54:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:54:32 ---> Running in 4edfe95efaec 15:54:32 Removing intermediate container 4edfe95efaec 15:54:32 ---> 225b5032df76 15:54:32 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:54:33 ---> Running in 16f49c945156 15:54:34 Removing intermediate container 16f49c945156 15:54:34 ---> e2d652601acb 15:54:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:34 ---> Running in 939c8229b050 15:54:34 Still waiting to schedule task 15:54:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:54:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:54:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:54:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:54:36 (2/4) Installing libedit (20210910.3.1-r0) 15:54:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:54:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:54:36 Executing busybox-1.34.1-r3.trigger 15:54:36 OK: 224 MiB in 56 packages 15:54:37 Removing intermediate container 939c8229b050 15:54:37 ---> 0273a6c7645a 15:54:37 Step 7/12 : WORKDIR /device-mqtt-go 15:54:37 ---> Running in 7346cd0df9ee 15:54:37 Removing intermediate container 7346cd0df9ee 15:54:37 ---> 2d7d4ed57849 15:54:37 Step 8/12 : COPY go.mod vendor* ./ 15:54:37 ---> f4f0d0baae9f 15:54:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:37 ---> Running in 08233fa67483 15:54:55 Removing intermediate container 08233fa67483 15:54:55 ---> 74b35d6c7262 15:54:55 Step 10/12 : COPY . . 15:54:55 ---> 474c40099699 15:54:55 Step 11/12 : ARG MAKE='make build' 15:54:55 ---> Running in 69f07bca2810 15:54:55 Removing intermediate container 69f07bca2810 15:54:55 ---> 679b54c2ea12 15:54:55 Step 12/12 : RUN $MAKE 15:54:55 ---> Running in f219783a681b 15:54:55 noop 15:54:55 Removing intermediate container f219783a681b 15:54:55 ---> a50a2c4d201c 15:54:55 Successfully built a50a2c4d201c 15:54:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:54:55 + docker inspect -f . ci-base-image-x86_64 15:54:55 . [Pipeline] withDockerContainer 15:54:55 prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container 15:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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:56 $ docker top c21f312d3642861b5af52fb164103eb2a8dda30fc183a06adf07f12831e20fe0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:56 + go version 15:54:56 go version go1.17.6 linux/amd64 [Pipeline] } 15:54:56 $ docker stop --time=1 c21f312d3642861b5af52fb164103eb2a8dda30fc183a06adf07f12831e20fe0 15:54:58 $ docker rm -f c21f312d3642861b5af52fb164103eb2a8dda30fc183a06adf07f12831e20fe0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:54:58 + docker inspect -f . ci-base-image-x86_64 15:54:58 . [Pipeline] withDockerContainer 15:54:58 prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container 15:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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:59 $ docker top 280edf468568174502a62f0832cbec90300a78b262bd09c2c8737f5adeaa00ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:54:59 + make test 15:54:59 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:55:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:55:10 # github.com/edgexfoundry/device-sdk-go/v2/pkg/service 15:55:10 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.22/pkg/service/main.go:75:5: cannot use ds.config (type *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 15:55:10 *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 15:55:10 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 15:55:10 make: *** [Makefile:37: unittest] Error 2 [Pipeline] } 15:55:10 $ docker stop --time=1 280edf468568174502a62f0832cbec90300a78b262bd09c2c8737f5adeaa00ae 15:55:12 $ docker rm -f 280edf468568174502a62f0832cbec90300a78b262bd09c2c8737f5adeaa00ae [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:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:13 15:55:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:55:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:13 latest: Pulling from edgex-lftools-log-publisher 15:55:13 5eb5b503b376: Pulling fs layer 15:55:13 5c69ac0246d0: Pulling fs layer 15:55:13 ec43610c2a17: Pulling fs layer 15:55:13 3a2ae6a8a46f: Pulling fs layer 15:55:13 33b1e0a273af: Pulling fs layer 15:55:13 5d3b04190fa2: Pulling fs layer 15:55:13 2f39f015ded8: Pulling fs layer 15:55:13 33b1e0a273af: Waiting 15:55:13 5d3b04190fa2: Waiting 15:55:13 2f39f015ded8: Waiting 15:55:13 3a2ae6a8a46f: Waiting 15:55:13 5c69ac0246d0: Download complete 15:55:13 3a2ae6a8a46f: Verifying Checksum 15:55:13 3a2ae6a8a46f: Download complete 15:55:14 33b1e0a273af: Verifying Checksum 15:55:14 33b1e0a273af: Download complete 15:55:14 ec43610c2a17: Verifying Checksum 15:55:14 ec43610c2a17: Download complete 15:55:14 5d3b04190fa2: Download complete 15:55:14 5eb5b503b376: Verifying Checksum 15:55:14 5eb5b503b376: Download complete 15:55:15 2f39f015ded8: Download complete 15:55:15 5eb5b503b376: Pull complete 15:55:15 5c69ac0246d0: Pull complete 15:55:16 ec43610c2a17: Pull complete 15:55:16 3a2ae6a8a46f: Pull complete 15:55:16 33b1e0a273af: Pull complete 15:55:16 5d3b04190fa2: Pull complete 15:55:22 2f39f015ded8: Pull complete 15:55:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:55:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:55:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:55:22 prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container 15:55:22 $ 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-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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:25 $ docker top 39533f9669ad22237e544ff6a6341297f556d09863ed335aa2c47e5fceea324f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:25 ---> job-cost.sh 15:55:25 lf-activate-venv: SKIPPING 15:55:25 INFO: No Stack... 15:55:26 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:26 INFO: Archiving Costs [Pipeline] sh 15:55:26 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives/cost.csv 15:55:26 + cut -d, -f6 [Pipeline] lock 15:55:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] 15:55:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] did not exist. Created. 15:55:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:27 + echo total: 0.2199999988079071 [Pipeline] stash 15:55:27 Stashed 1 file(s) [Pipeline] } 15:55:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:27 $ docker stop --time=1 39533f9669ad22237e544ff6a6341297f556d09863ed335aa2c47e5fceea324f 15:55:28 $ docker rm -f 39533f9669ad22237e544ff6a6341297f556d09863ed335aa2c47e5fceea324f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:29 Failed in branch amd64 16:54:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-30665 in /w/workspace/gexfoundry_device-mqtt-go_PR-369 [Pipeline] { [Pipeline] ws 16:54:56 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 16:54:56 Selected Git installation does not exist. Using Default 16:54:56 The recommended git tool is: NONE 16:55:01 using credential edgex-jenkins-ssh 16:55:01 Cloning the remote Git repository 16:55:02 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:55:02 > git init /w/workspace/device-mqtt-go/1 # timeout=10 16:55:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:55:02 > git --version # timeout=10 16:55:02 > git --version # 'git version 2.25.1' 16:55:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:55:04 Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 16:55:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:55:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:55:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:55:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:55:04 > git config core.sparsecheckout # timeout=10 16:55:04 > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # timeout=10 16:55:04 Merge succeeded, producing c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 16:55:04 Checking out Revision c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 (PR-369) 16:55:04 > git remote # timeout=10 16:55:04 > git config --get remote.origin.url # timeout=10 16:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:55:04 > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 16:55:04 > git rev-parse HEAD^{commit} # timeout=10 16:55:04 > git config core.sparsecheckout # timeout=10 16:55:04 > git checkout -f c5252f7ab1b5ff57685e39e78547ae9ffd6b6506 # timeout=10 16:55:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 16:55:08 > git --version # timeout=10 16:55:08 > git --version # 'git version 2.25.1' 16:55:08 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:55:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:55:09 % Total % Received % Xferd Average Speed Time Time Time Current 16:55:09 Dload Upload Total Spent Left Speed 16:55:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 83992 [Pipeline] sh 16:55:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:55:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:55:10 + sudo tee /etc/docker/daemon.new 16:55:10 { 16:55:10 "registry-mirrors": [ 16:55:10 "https://nexus3.edgexfoundry.org:10001" 16:55:10 ], 16:55:10 "bip": "10.250.0.254/24", 16:55:10 "hosts": [ 16:55:10 "tcp://0.0.0.0:5555", 16:55:10 "unix:///var/run/docker.sock" 16:55:10 ], 16:55:10 "mtu": 1458, 16:55:10 "selinux-enabled": true, 16:55:10 "seccomp-profile": "/etc/docker/seccomp.json" 16:55:10 } [Pipeline] sh 16:55:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:55:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:55:29 provisioning config files... 16:55:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3592652301369089845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:55:30 ---> docker-login.sh 16:55:30 nexus3.edgexfoundry.org:10001 16:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:31 Configure a credential helper to remove this warning. See 16:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:31 16:55:31 Login Succeeded 16:55:31 nexus3.edgexfoundry.org:10002 16:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:31 Configure a credential helper to remove this warning. See 16:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:31 16:55:31 Login Succeeded 16:55:31 nexus3.edgexfoundry.org:10003 16:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:32 Configure a credential helper to remove this warning. See 16:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:32 16:55:32 Login Succeeded 16:55:32 nexus3.edgexfoundry.org:10004 16:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:32 Configure a credential helper to remove this warning. See 16:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:32 16:55:32 Login Succeeded 16:55:32 docker.io 16:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:55:33 Configure a credential helper to remove this warning. See 16:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:55:33 16:55:33 Login Succeeded 16:55:33 ---> docker-login.sh ends [Pipeline] } 16:55:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:55:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:55:34 ========================================================= 16:55:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:55:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:55:34 + 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 . 16:55:34 Sending build context to Docker daemon 3.04MB 16:55:34 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:55:34 Step 2/12 : FROM ${BASE} AS builder 16:55:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:55:35 9b3977197b4f: Pulling fs layer 16:55:35 1a89e8eeedd5: Pulling fs layer 16:55:35 94645a83ff95: Pulling fs layer 16:55:35 3f3a8bcf1eab: Pulling fs layer 16:55:35 0c92f367c5e7: Pulling fs layer 16:55:35 3096ccb668a1: Pulling fs layer 16:55:35 e8cf19c19ddd: Pulling fs layer 16:55:35 a4caa8a26152: Pulling fs layer 16:55:35 3f3a8bcf1eab: Waiting 16:55:35 0c92f367c5e7: Waiting 16:55:35 3096ccb668a1: Waiting 16:55:35 e8cf19c19ddd: Waiting 16:55:35 a4caa8a26152: Waiting 16:55:35 94645a83ff95: Verifying Checksum 16:55:35 94645a83ff95: Download complete 16:55:35 1a89e8eeedd5: Download complete 16:55:35 0c92f367c5e7: Verifying Checksum 16:55:35 0c92f367c5e7: Download complete 16:55:35 9b3977197b4f: Verifying Checksum 16:55:35 9b3977197b4f: Download complete 16:55:35 3096ccb668a1: Verifying Checksum 16:55:35 3096ccb668a1: Download complete 16:55:35 e8cf19c19ddd: Verifying Checksum 16:55:35 e8cf19c19ddd: Download complete 16:55:36 9b3977197b4f: Pull complete 16:55:36 1a89e8eeedd5: Pull complete 16:55:37 94645a83ff95: Pull complete 16:55:37 a4caa8a26152: Verifying Checksum 16:55:37 a4caa8a26152: Download complete 16:55:37 3f3a8bcf1eab: Verifying Checksum 16:55:37 3f3a8bcf1eab: Download complete 16:55:50 3f3a8bcf1eab: Pull complete 16:55:50 0c92f367c5e7: Pull complete 16:55:50 3096ccb668a1: Pull complete 16:55:50 e8cf19c19ddd: Pull complete 16:55:57 a4caa8a26152: Pull complete 16:55:57 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:55:57 ---> 725f1c02e7f9 16:55:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:55:57 ---> Running in 711661ada47e 16:55:57 Removing intermediate container 711661ada47e 16:55:57 ---> 8e08fae20687 16:55:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:55:58 ---> Running in 5e1f80ebbbf6 16:55:58 Removing intermediate container 5e1f80ebbbf6 16:55:58 ---> c9bd47b297e2 16:55:58 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:58 ---> Running in c362081948e7 16:56:01 Removing intermediate container c362081948e7 16:56:01 ---> fd8c744d7ad2 16:56:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:56:01 ---> Running in cd2e0f234b2f 16:56:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:56:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:56:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:56:04 (2/4) Installing libedit (20210910.3.1-r0) 16:56:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:56:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:56:04 Executing busybox-1.34.1-r3.trigger 16:56:04 OK: 224 MiB in 56 packages 16:56:05 Removing intermediate container cd2e0f234b2f 16:56:05 ---> 0904b30a6b68 16:56:05 Step 7/12 : WORKDIR /device-mqtt-go 16:56:05 ---> Running in 21a78e52c276 16:56:06 Removing intermediate container 21a78e52c276 16:56:06 ---> a25684174cb9 16:56:06 Step 8/12 : COPY go.mod vendor* ./ 16:56:06 ---> fa543ad64b29 16:56:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:56:06 ---> Running in cc2d84e6239c 16:56:53 Removing intermediate container cc2d84e6239c 16:56:53 ---> 7f7c55973b42 16:56:53 Step 10/12 : COPY . . 16:56:53 ---> 83008b1ba7e0 16:56:53 Step 11/12 : ARG MAKE='make build' 16:56:53 ---> Running in 9cc35c97c55b 16:56:53 Removing intermediate container 9cc35c97c55b 16:56:53 ---> 89a8f463acae 16:56:53 Step 12/12 : RUN $MAKE 16:56:53 ---> Running in 483d74985a47 16:56:53 noop 16:56:53 Removing intermediate container 483d74985a47 16:56:53 ---> a6ce8a577c21 16:56:53 Successfully built a6ce8a577c21 16:56:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:56:54 + docker inspect -f . ci-base-image-arm64 16:56:54 . [Pipeline] withDockerContainer 16:56:54 prd-ubuntu20.04-docker-arm64-4c-16g-30665 does not seem to be running inside a container 16:56:54 $ 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 16:56:55 $ docker top 8311d29da513ce06d1f138fdc85344cff95abb469a4b350a391b0e137ae42f39 -eo pid,comm [Pipeline] { [Pipeline] sh 16:56:56 + go version 16:56:56 go version go1.17.6 linux/arm64 [Pipeline] } 16:56:56 $ docker stop --time=1 8311d29da513ce06d1f138fdc85344cff95abb469a4b350a391b0e137ae42f39 16:56:58 $ docker rm -f 8311d29da513ce06d1f138fdc85344cff95abb469a4b350a391b0e137ae42f39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:56:59 + docker inspect -f . ci-base-image-arm64 16:56:59 . [Pipeline] withDockerContainer 16:56:59 prd-ubuntu20.04-docker-arm64-4c-16g-30665 does not seem to be running inside a container 16:56:59 $ 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 16:57:00 $ docker top cf01808e3b283adc3ea6ad8f41663a77d4312f65331ce8c39c3e7b540e241d0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:57:01 + make test 16:57:01 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:57:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:58:11 # github.com/edgexfoundry/device-sdk-go/v2/pkg/service 16:58:11 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.22/pkg/service/main.go:75:5: cannot use ds.config (type *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct) as type "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration in argument to bootstrap.Run: 16:58:11 *"github.com/edgexfoundry/device-sdk-go/v2/internal/config".ConfigurationStruct does not implement "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/interfaces".Configuration (missing GetTelemetryInfo method) 16:58:16 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 16:58:16 make: *** [Makefile:37: unittest] Error 2 [Pipeline] } 16:58:17 $ docker stop --time=1 cf01808e3b283adc3ea6ad8f41663a77d4312f65331ce8c39c3e7b540e241d0b 16:58:18 $ docker rm -f cf01808e3b283adc3ea6ad8f41663a77d4312f65331ce8c39c3e7b540e241d0b [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 16:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:58:20 16:58:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:58:20 arm64: Pulling from edgex-lftools-log-publisher 16:58:20 8998bd30e6a1: Pulling fs layer 16:58:20 04944245beec: Pulling fs layer 16:58:20 699f458cf7ca: Pulling fs layer 16:58:20 765212b225bb: Pulling fs layer 16:58:20 f23df028b6ca: Pulling fs layer 16:58:20 d65c8cfc05b1: Pulling fs layer 16:58:20 2437ff75d9bd: Pulling fs layer 16:58:20 f23df028b6ca: Waiting 16:58:20 d65c8cfc05b1: Waiting 16:58:20 765212b225bb: Waiting 16:58:20 2437ff75d9bd: Waiting 16:58:20 04944245beec: Verifying Checksum 16:58:20 04944245beec: Download complete 16:58:20 765212b225bb: Verifying Checksum 16:58:20 765212b225bb: Download complete 16:58:20 f23df028b6ca: Download complete 16:58:20 d65c8cfc05b1: Verifying Checksum 16:58:20 d65c8cfc05b1: Download complete 16:58:21 699f458cf7ca: Verifying Checksum 16:58:21 699f458cf7ca: Download complete 16:58:21 8998bd30e6a1: Verifying Checksum 16:58:21 8998bd30e6a1: Download complete 16:58:24 2437ff75d9bd: Verifying Checksum 16:58:24 2437ff75d9bd: Download complete 16:58:26 8998bd30e6a1: Pull complete 16:58:26 04944245beec: Pull complete 16:58:27 699f458cf7ca: Pull complete 16:58:28 765212b225bb: Pull complete 16:58:29 f23df028b6ca: Pull complete 16:58:29 d65c8cfc05b1: Pull complete 16:58:44 2437ff75d9bd: Pull complete 16:58:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:58:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:58:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:58:44 prd-ubuntu20.04-docker-arm64-4c-16g-30665 does not seem to be running inside a container 16:58:44 $ 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 16:58:47 $ docker top d8227159d60a7787174f1338fd15842762fd1b7d39b2a6d23cdc0b3df207d258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:47 ---> job-cost.sh 16:58:47 lf-activate-venv: SKIPPING 16:58:47 INFO: No Stack... 16:58:48 INFO: Retrieving Pricing Info for: v3-standard-4 16:58:49 INFO: Archiving Costs [Pipeline] sh 16:58:49 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 16:58:49 + cut -d, -f6 [Pipeline] lock 16:58:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] 16:58:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] did not exist. Created. 16:58:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:58:50 /w/workspace/device-mqtt-go/1@tmp/durable-bbd921e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:58:51 + echo total: 0.10999999940395355 [Pipeline] stash 16:58:51 Warning: overwriting stash ‘stack-cost’ 16:58:51 Stashed 1 file(s) [Pipeline] } 16:58:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:58:52 $ docker stop --time=1 d8227159d60a7787174f1338fd15842762fd1b7d39b2a6d23cdc0b3df207d258 16:58:53 $ docker rm -f d8227159d60a7787174f1338fd15842762fd1b7d39b2a6d23cdc0b3df207d258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:58:54 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 16:58:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives ] 16:58:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives 16:58:56 total 16 16:58:56 drwxr-xr-x 3 root root 4096 Apr 26 15:55 . 16:58:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. 16:58:56 drwxr-xr-x 2 root root 4096 Apr 26 15:55 cost 16:58:56 -rw-r--r-- 1 root root 85 Apr 26 15:55 cost.csv 16:58:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives 16:58:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives 16:58:56 total 16 16:58:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 15:55 . 16:58:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 15:55 .. 16:58:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 15:55 cost 16:58:56 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:58:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:58:57 ---> package-listing.sh 16:58:57 ++ facter osfamily 16:58:57 ++ tr '[:upper:]' '[:lower:]' 16:58:57 + OS_FAMILY=debian 16:58:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-369 16:58:57 + START_PACKAGES=/tmp/packages_start.txt 16:58:57 + END_PACKAGES=/tmp/packages_end.txt 16:58:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:58:57 + PACKAGES=/tmp/packages_start.txt 16:58:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-369 ']' 16:58:57 + PACKAGES=/tmp/packages_end.txt 16:58:57 + case "${OS_FAMILY}" in 16:58:57 + dpkg -l 16:58:57 + grep '^ii' 16:58:57 + '[' -f /tmp/packages_start.txt ']' 16:58:57 + '[' -f /tmp/packages_end.txt ']' 16:58:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:58:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-369 ']' 16:58:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives/ 16:58:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-369/archives/ [Pipeline] echo 16:58:57 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-369/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:58:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:58:58 . [Pipeline] withDockerContainer 16:58:58 prd-ubuntu20.04-docker-8c-8g-24971 does not seem to be running inside a container 16:58:58 $ 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-369/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-369 -v /w/workspace/gexfoundry_device-mqtt-go_PR-369:/w/workspace/gexfoundry_device-mqtt-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-369@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 16:58:58 $ docker top a8c035733664b66b7bc43a3b10ab2ae3b36aad783bf08838bee29ff00af10b12 -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:59 + touch /tmp/pre-build-complete [Pipeline] sh 16:58:59 + mkdir -p /var/log/sysstat [Pipeline] sh 16:58:59 + ls /var/log/sa-host 16:58:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:00 provisioning config files... 16:59:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-369@tmp/config4910559714491962677tmp [Pipeline] { [Pipeline] echo 16:59:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:59:00 ---> create-netrc.sh [Pipeline] } 16:59:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:59:01 ---> python-tools-install.sh [Pipeline] echo 16:59:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:59:01 ---> sudo-logs.sh 16:59:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:59:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:59:01 ---> job-cost.sh 16:59:01 lf-activate-venv: SKIPPING 16:59:01 DEBUG: total: 0.2199999988079071 16:59:01 INFO: Retrieving Stack Cost... 16:59:02 INFO: Retrieving Pricing Info for: v3-standard-8 16:59:02 INFO: Archiving Costs [Pipeline] echo 16:59:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:59:03 ---> logs-deploy.sh 16:59:03 lf-activate-venv: SKIPPING 16:59:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-369/1 16:59:03 INFO: archiving workspace using pattern(s): 16:59:03 Archives upload complete. 16:59:03 INFO: archiving logs to Nexus