Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09392f8bc5cc30852166dbf6136aefae3b8fb876+4d191eb3dac98c01714bec6e3dd8edd5055992ab (3c1548d1c087f60bf581edfe1a25d441df003755) 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-ssh11002543618291337057.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-ssh13270549431925389295.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-368/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-368/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13517205177509053238.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-368/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9209465617628620318.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-ssh15187186613179760963.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-368/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-368/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11039483170698496448.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 ‘prd-ubuntu20.04-docker-8c-8g-21918’ Running on prd-ubuntu20.04-docker-8c-8g-21926 in /w/workspace/gexfoundry_device-mqtt-go_PR-368 [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-368 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 09392f8bc5cc30852166dbf6136aefae3b8fb876 Merge succeeded, producing 09392f8bc5cc30852166dbf6136aefae3b8fb876 Checking out Revision 09392f8bc5cc30852166dbf6136aefae3b8fb876 (PR-368) > 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/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # 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 02:11:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:12:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:12:00 ========================================================= 02:12:00 EdgeX Global Pipelines Version Info 02:12:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:12:00 ------------------- 02:12:00 stable info: 02:12:00 ------------------- 02:12:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:12:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:12:00 Message: update stable to v1.0.221 02:12:01 ------------------- 02:12:01 experimental info: 02:12:01 ------------------- 02:12:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:12:01 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 02:12:01 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:12:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:12:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:12:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:12:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:12:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:12:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo 02:12:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09392f8 [Pipeline] echo 02:12:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:03 provisioning config files... 02:12:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/config5029561319693293762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:03 ---> docker-login.sh 02:12:03 nexus3.edgexfoundry.org:10001 02:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:03 Configure a credential helper to remove this warning. See 02:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:03 02:12:03 Login Succeeded 02:12:03 nexus3.edgexfoundry.org:10002 02:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:03 Configure a credential helper to remove this warning. See 02:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:03 02:12:03 Login Succeeded 02:12:04 nexus3.edgexfoundry.org:10003 02:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:04 Configure a credential helper to remove this warning. See 02:12:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:04 02:12:04 Login Succeeded 02:12:04 nexus3.edgexfoundry.org:10004 02:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:04 Configure a credential helper to remove this warning. See 02:12:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:04 02:12:04 Login Succeeded 02:12:04 docker.io 02:12:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:04 Configure a credential helper to remove this warning. See 02:12:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:04 02:12:04 Login Succeeded 02:12:04 ---> docker-login.sh ends [Pipeline] } 02:12:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:12:05 + git rev-list -1 --merges 09392f8bc5cc30852166dbf6136aefae3b8fb876~1..09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo 02:12:05 -----------> git rev-list -1 --merges 09392f8bc5cc30852166dbf6136aefae3b8fb876~1..09392f8bc5cc30852166dbf6136aefae3b8fb876 09392f8bc5cc30852166dbf6136aefae3b8fb876 [false] [Pipeline] sh 02:12:05 + git log --format=format:%s -1 09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo 02:12:05 ========================================================= 02:12:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:12:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:06 + git log --format=format:%s -1 09392f8bc5cc30852166dbf6136aefae3b8fb876 [Pipeline] echo 02:12:06 [semverPrep] GIT_COMMIT: 09392f8bc5cc30852166dbf6136aefae3b8fb876, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 02:12:06 [semverPrep] This is not a build commit. [Pipeline] sh 02:12:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:12:06 + grep -v github /etc/ssh/ssh_known_hosts 02:12:06 + [ -e /tmp/ssh_known_hosts ] 02:12:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:12:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:12:06 + sudo tee -a /etc/ssh/ssh_known_hosts 02:12:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:12:06 02:12:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:12:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:12:07 latest: Pulling from edgex-devops/git-semver 02:12:07 a0d0a0d46f8b: Pulling fs layer 02:12:07 3e5f54012d9b: Pulling fs layer 02:12:07 4c7163046ea9: Pulling fs layer 02:12:07 0c2d73faf560: Pulling fs layer 02:12:07 0c2d73faf560: Waiting 02:12:07 a0d0a0d46f8b: Verifying Checksum 02:12:07 a0d0a0d46f8b: Download complete 02:12:07 0c2d73faf560: Verifying Checksum 02:12:07 0c2d73faf560: Download complete 02:12:07 4c7163046ea9: Verifying Checksum 02:12:07 4c7163046ea9: Download complete 02:12:07 a0d0a0d46f8b: Pull complete 02:12:07 3e5f54012d9b: Pull complete 02:12:07 4c7163046ea9: Pull complete 02:12:08 0c2d73faf560: Pull complete 02:12:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:12:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:12:08 prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container 02:12:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@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 02:12:09 $ docker top 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:12:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:12:09 [ssh-agent] Looking for ssh-agent implementation... 02:12:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:12:09 $ docker exec 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent 02:12:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCGKEIH/agent.13 02:12:09 SSH_AGENT_PID=19 02:12:09 Running ssh-add (command line suppressed) 02:12:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_6324047005534652881.key (/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_6324047005534652881.key) 02:12:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:12:09 + git tag --points-at HEAD [Pipeline] } 02:12:09 $ docker exec --env ******** --env ******** 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent -k 02:12:10 unset SSH_AUTH_SOCK; 02:12:10 unset SSH_AGENT_PID; 02:12:10 echo Agent pid 19 killed; 02:12:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:12:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:12:10 [ssh-agent] Looking for ssh-agent implementation... 02:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:12:10 $ docker exec 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent 02:12:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOIaGjM/agent.53 02:12:10 SSH_AGENT_PID=59 02:12:10 Running ssh-add (command line suppressed) 02:12:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_5903255297331434227.key (/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/private_key_5903255297331434227.key) 02:12:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:12:10 + git semver init 02:12:10 # -> Open(): unable to determine branch for HEAD 02:12:10 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-368/.git 02:12:10 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-368 02:12:10 # $SEMVER_REMOTE_NAME = origin 02:12:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:12:10 # $SEMVER_USER_NAME = edgex-jenkins 02:12:10 # $SEMVER_BRANCH = PR-368 02:12:10 # $SEMVER_TEMP = /tmp/semver-284280538 02:12:10 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 02:12:11 # '/tmp/semver-284280538' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-368/.semver' 02:12:11 # -> Force: false 02:12:11 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-368/.semver [Pipeline] } 02:12:11 $ docker exec --env ******** --env ******** 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 ssh-agent -k 02:12:12 unset SSH_AUTH_SOCK; 02:12:12 unset SSH_AGENT_PID; 02:12:12 echo Agent pid 59 killed; 02:12:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:12:12 + git semver [Pipeline] } 02:12:12 $ docker stop --time=1 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 02:12:13 $ docker rm -f 24b7001fdb6cb945919353b1d81149d1afd21d86c38f302d71de81728d304fe2 [Pipeline] // withDockerContainer [Pipeline] sh 02:12:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:12:14 Stashed 1 file(s) [Pipeline] echo 02:12:14 [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 02:12:15 provisioning config files... 02:12:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/config8000838157722392250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:15 ---> docker-login.sh 02:12:15 nexus3.edgexfoundry.org:10001 02:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:15 Configure a credential helper to remove this warning. See 02:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:15 02:12:15 Login Succeeded 02:12:15 nexus3.edgexfoundry.org:10002 02:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:15 Configure a credential helper to remove this warning. See 02:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:15 02:12:15 Login Succeeded 02:12:15 nexus3.edgexfoundry.org:10003 02:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:15 Configure a credential helper to remove this warning. See 02:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:15 02:12:15 Login Succeeded 02:12:15 nexus3.edgexfoundry.org:10004 02:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:16 Configure a credential helper to remove this warning. See 02:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:16 02:12:16 Login Succeeded 02:12:16 docker.io 02:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:16 Configure a credential helper to remove this warning. See 02:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:16 02:12:16 Login Succeeded 02:12:16 ---> docker-login.sh ends [Pipeline] } 02:12:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:12:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:16 ========================================================= 02:12:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:12:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:12:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 02:12:17 Sending build context to Docker daemon 5.818MB 02:12:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:12:17 Step 2/12 : FROM ${BASE} AS builder 02:12:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:12:17 59bf1c3509f3: Pulling fs layer 02:12:17 666ba61612fd: Pulling fs layer 02:12:17 8ed8ca486205: Pulling fs layer 02:12:17 4fe6c5a15a65: Pulling fs layer 02:12:17 22a0e8bec74d: Pulling fs layer 02:12:17 4fe6c5a15a65: Waiting 02:12:17 ca2b28591e48: Pulling fs layer 02:12:17 a51346096db8: Pulling fs layer 02:12:17 ca2b28591e48: Waiting 02:12:17 daebc70d1ce1: Pulling fs layer 02:12:17 0e18a0eac166: Pulling fs layer 02:12:17 a51346096db8: Waiting 02:12:17 daebc70d1ce1: Waiting 02:12:17 0e18a0eac166: Waiting 02:12:17 8ed8ca486205: Verifying Checksum 02:12:17 8ed8ca486205: Download complete 02:12:17 666ba61612fd: Verifying Checksum 02:12:17 666ba61612fd: Download complete 02:12:17 22a0e8bec74d: Download complete 02:12:17 ca2b28591e48: Verifying Checksum 02:12:17 ca2b28591e48: Download complete 02:12:17 59bf1c3509f3: Verifying Checksum 02:12:17 59bf1c3509f3: Download complete 02:12:17 a51346096db8: Verifying Checksum 02:12:17 a51346096db8: Download complete 02:12:17 daebc70d1ce1: Verifying Checksum 02:12:17 daebc70d1ce1: Download complete 02:12:17 59bf1c3509f3: Pull complete 02:12:17 666ba61612fd: Pull complete 02:12:17 8ed8ca486205: Pull complete 02:12:17 0e18a0eac166: Verifying Checksum 02:12:17 0e18a0eac166: Download complete 02:12:18 4fe6c5a15a65: Verifying Checksum 02:12:18 4fe6c5a15a65: Download complete 02:12:22 4fe6c5a15a65: Pull complete 02:12:22 22a0e8bec74d: Pull complete 02:12:22 ca2b28591e48: Pull complete 02:12:22 a51346096db8: Pull complete 02:12:22 daebc70d1ce1: Pull complete 02:12:24 0e18a0eac166: Pull complete 02:12:24 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:12:24 ---> f018257e8ee9 02:12:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:12:26 ---> Running in a4ab01be5b25 02:12:26 Removing intermediate container a4ab01be5b25 02:12:26 ---> 057ca6b5fc49 02:12:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:12:26 ---> Running in 08c7daaa3ac8 02:12:26 Removing intermediate container 08c7daaa3ac8 02:12:26 ---> ddf5a4ee26bd 02:12:26 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:12:26 ---> Running in a3d4ade9bb2b 02:12:26 Removing intermediate container a3d4ade9bb2b 02:12:26 ---> bcc6a9102aca 02:12:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:26 ---> Running in 8cb8f48224c9 02:12:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:12:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:12:28 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:12:28 (2/4) Installing libedit (20210910.3.1-r0) 02:12:28 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:12:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:12:28 Executing busybox-1.34.1-r3.trigger 02:12:28 OK: 224 MiB in 56 packages 02:12:29 Removing intermediate container 8cb8f48224c9 02:12:29 ---> 0ca744187baf 02:12:29 Step 7/12 : WORKDIR /device-mqtt-go 02:12:29 ---> Running in 49df50c0eec9 02:12:29 Removing intermediate container 49df50c0eec9 02:12:29 ---> 98e45cc464ed 02:12:29 Step 8/12 : COPY go.mod vendor* ./ 02:12:29 ---> 87327227da80 02:12:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:29 ---> Running in b6d5ff6d72bc 02:12:30 Still waiting to schedule task 02:12:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21922’ 02:12:44 Removing intermediate container b6d5ff6d72bc 02:12:44 ---> 7abeab35d77b 02:12:44 Step 10/12 : COPY . . 02:12:44 ---> 207ff0e7075c 02:12:44 Step 11/12 : ARG MAKE='make build' 02:12:44 ---> Running in a650bb195f6f 02:12:44 Removing intermediate container a650bb195f6f 02:12:44 ---> 1ca00b24dccb 02:12:44 Step 12/12 : RUN $MAKE 02:12:44 ---> Running in 23b875e48ed1 02:12:44 noop 02:12:44 Removing intermediate container 23b875e48ed1 02:12:44 ---> 5bd039c485ee 02:12:44 Successfully built 5bd039c485ee 02:12:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:12:44 + docker inspect -f . ci-base-image-x86_64 02:12:44 . [Pipeline] withDockerContainer 02:12:44 prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container 02:12:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@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 02:12:45 $ docker top 651b34b77c23dcd226ecd6e6c79504f4c9a8d54f44a1ee190c0c0104e372e4cb -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:45 + go version 02:12:45 go version go1.17.6 linux/amd64 [Pipeline] } 02:12:45 $ docker stop --time=1 651b34b77c23dcd226ecd6e6c79504f4c9a8d54f44a1ee190c0c0104e372e4cb 02:12:46 $ docker rm -f 651b34b77c23dcd226ecd6e6c79504f4c9a8d54f44a1ee190c0c0104e372e4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:12:47 + docker inspect -f . ci-base-image-x86_64 02:12:47 . [Pipeline] withDockerContainer 02:12:47 prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container 02:12:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@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 02:12:47 $ docker top e8446c0f818010e1b932a9f12d9aaa9e0f14f77b078c84fe0a15bec33c72b8dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:12:48 + make test 02:12:48 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:12:56 # github.com/edgexfoundry/device-sdk-go/v2/pkg/service 02:12:56 /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: 02:12:56 *"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) 02:12:57 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 02:12:57 make: *** [Makefile:37: unittest] Error 2 [Pipeline] } 02:12:57 $ docker stop --time=1 e8446c0f818010e1b932a9f12d9aaa9e0f14f77b078c84fe0a15bec33c72b8dc 02:12:58 $ docker rm -f e8446c0f818010e1b932a9f12d9aaa9e0f14f77b078c84fe0a15bec33c72b8dc [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 02:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:59 02:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:13:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:00 latest: Pulling from edgex-lftools-log-publisher 02:13:00 5eb5b503b376: Pulling fs layer 02:13:00 5c69ac0246d0: Pulling fs layer 02:13:00 ec43610c2a17: Pulling fs layer 02:13:00 3a2ae6a8a46f: Pulling fs layer 02:13:00 33b1e0a273af: Pulling fs layer 02:13:00 5d3b04190fa2: Pulling fs layer 02:13:00 2f39f015ded8: Pulling fs layer 02:13:00 33b1e0a273af: Waiting 02:13:00 5d3b04190fa2: Waiting 02:13:00 2f39f015ded8: Waiting 02:13:00 3a2ae6a8a46f: Waiting 02:13:00 5c69ac0246d0: Verifying Checksum 02:13:00 5c69ac0246d0: Download complete 02:13:00 3a2ae6a8a46f: Verifying Checksum 02:13:00 3a2ae6a8a46f: Download complete 02:13:00 33b1e0a273af: Verifying Checksum 02:13:00 33b1e0a273af: Download complete 02:13:00 5d3b04190fa2: Download complete 02:13:00 ec43610c2a17: Verifying Checksum 02:13:00 ec43610c2a17: Download complete 02:13:00 5eb5b503b376: Verifying Checksum 02:13:00 5eb5b503b376: Download complete 02:13:01 2f39f015ded8: Download complete 02:13:01 5eb5b503b376: Pull complete 02:13:01 5c69ac0246d0: Pull complete 02:13:02 ec43610c2a17: Pull complete 02:13:02 3a2ae6a8a46f: Pull complete 02:13:02 33b1e0a273af: Pull complete 02:13:02 5d3b04190fa2: Pull complete 02:13:07 2f39f015ded8: Pull complete 02:13:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:13:08 prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container 02:13:08 $ 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-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@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 02:13:09 $ docker top 1c476ba400f9d12f7b81ab3139731b0231dc72805bca32bb766839ea852e2ed4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:10 ---> job-cost.sh 02:13:10 lf-activate-venv: SKIPPING 02:13:10 INFO: No Stack... 02:13:10 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:11 INFO: Archiving Costs [Pipeline] sh 02:13:11 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives/cost.csv 02:13:11 + cut -d, -f6 [Pipeline] lock 02:13:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] 02:13:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] did not exist. Created. 02:13:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:11 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:11 Stashed 1 file(s) [Pipeline] } 02:13:11 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:12 $ docker stop --time=1 1c476ba400f9d12f7b81ab3139731b0231dc72805bca32bb766839ea852e2ed4 02:13:13 $ docker rm -f 1c476ba400f9d12f7b81ab3139731b0231dc72805bca32bb766839ea852e2ed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:13:13 Failed in branch amd64 02:15:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21930 in /w/workspace/gexfoundry_device-mqtt-go_PR-368 [Pipeline] { [Pipeline] ws 02:15:40 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:15:40 Selected Git installation does not exist. Using Default 02:15:40 The recommended git tool is: NONE 02:15:47 using credential edgex-jenkins-ssh 02:15:47 Cloning the remote Git repository 02:15:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:15:47 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:15:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:15:47 > git --version # timeout=10 02:15:47 > git --version # 'git version 2.25.1' 02:15:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:15:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:15:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:15:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:15:49 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 09392f8bc5cc30852166dbf6136aefae3b8fb876 02:15:50 Merge succeeded, producing 09392f8bc5cc30852166dbf6136aefae3b8fb876 02:15:50 Checking out Revision 09392f8bc5cc30852166dbf6136aefae3b8fb876 (PR-368) 02:15:49 > git config core.sparsecheckout # timeout=10 02:15:49 > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # timeout=10 02:15:49 > git remote # timeout=10 02:15:49 > git config --get remote.origin.url # timeout=10 02:15:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:49 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 02:15:49 > git rev-parse HEAD^{commit} # timeout=10 02:15:50 > git config core.sparsecheckout # timeout=10 02:15:50 > git checkout -f 09392f8bc5cc30852166dbf6136aefae3b8fb876 # timeout=10 02:15:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 02:15:54 > git --version # timeout=10 02:15:54 > git --version # 'git version 2.25.1' 02:15:54 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:15:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:15:55 Dload Upload Total Spent Left Speed 02:15:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 02:15:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:15:56 + sudo tee /etc/docker/daemon.new 02:15:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:15:56 { 02:15:56 "registry-mirrors": [ 02:15:56 "https://nexus3.edgexfoundry.org:10001" 02:15:56 ], 02:15:56 "bip": "10.250.0.254/24", 02:15:56 "hosts": [ 02:15:56 "tcp://0.0.0.0:5555", 02:15:56 "unix:///var/run/docker.sock" 02:15:56 ], 02:15:56 "mtu": 1458, 02:15:56 "selinux-enabled": true, 02:15:56 "seccomp-profile": "/etc/docker/seccomp.json" 02:15:56 } [Pipeline] sh 02:15:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:15:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:15 provisioning config files... 02:16:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3545898332867694068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:16 ---> docker-login.sh 02:16:16 nexus3.edgexfoundry.org:10001 02:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:17 Configure a credential helper to remove this warning. See 02:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:17 02:16:17 Login Succeeded 02:16:17 nexus3.edgexfoundry.org:10002 02:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:17 Configure a credential helper to remove this warning. See 02:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:17 02:16:17 Login Succeeded 02:16:17 nexus3.edgexfoundry.org:10003 02:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:18 Configure a credential helper to remove this warning. See 02:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:18 02:16:18 Login Succeeded 02:16:18 nexus3.edgexfoundry.org:10004 02:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:19 Configure a credential helper to remove this warning. See 02:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:19 02:16:19 Login Succeeded 02:16:19 docker.io 02:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:19 Configure a credential helper to remove this warning. See 02:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:19 02:16:19 Login Succeeded 02:16:19 ---> docker-login.sh ends [Pipeline] } 02:16:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:16:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:16:20 ========================================================= 02:16:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:16:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:16:20 + 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 . 02:16:21 Sending build context to Docker daemon 3.034MB 02:16:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:16:21 Step 2/12 : FROM ${BASE} AS builder 02:16:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:16:21 9b3977197b4f: Pulling fs layer 02:16:21 1a89e8eeedd5: Pulling fs layer 02:16:21 94645a83ff95: Pulling fs layer 02:16:21 3f3a8bcf1eab: Pulling fs layer 02:16:21 0c92f367c5e7: Pulling fs layer 02:16:21 3096ccb668a1: Pulling fs layer 02:16:21 e8cf19c19ddd: Pulling fs layer 02:16:21 a4caa8a26152: Pulling fs layer 02:16:21 3096ccb668a1: Waiting 02:16:21 e8cf19c19ddd: Waiting 02:16:21 a4caa8a26152: Waiting 02:16:21 3f3a8bcf1eab: Waiting 02:16:21 0c92f367c5e7: Waiting 02:16:21 94645a83ff95: Verifying Checksum 02:16:21 94645a83ff95: Download complete 02:16:21 1a89e8eeedd5: Verifying Checksum 02:16:21 1a89e8eeedd5: Download complete 02:16:21 0c92f367c5e7: Verifying Checksum 02:16:21 0c92f367c5e7: Download complete 02:16:21 3096ccb668a1: Verifying Checksum 02:16:21 3096ccb668a1: Download complete 02:16:21 9b3977197b4f: Verifying Checksum 02:16:21 9b3977197b4f: Download complete 02:16:21 e8cf19c19ddd: Verifying Checksum 02:16:21 e8cf19c19ddd: Download complete 02:16:22 9b3977197b4f: Pull complete 02:16:23 1a89e8eeedd5: Pull complete 02:16:23 94645a83ff95: Pull complete 02:16:23 a4caa8a26152: Verifying Checksum 02:16:24 3f3a8bcf1eab: Verifying Checksum 02:16:24 3f3a8bcf1eab: Download complete 02:16:36 3f3a8bcf1eab: Pull complete 02:16:37 0c92f367c5e7: Pull complete 02:16:37 3096ccb668a1: Pull complete 02:16:37 e8cf19c19ddd: Pull complete 02:16:44 a4caa8a26152: Pull complete 02:16:44 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:16:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:16:44 ---> 725f1c02e7f9 02:16:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:16:44 ---> Running in 53c5c98d3a74 02:16:45 Removing intermediate container 53c5c98d3a74 02:16:45 ---> 64d05494a9d8 02:16:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:16:45 ---> Running in cfdcbd8793ae 02:16:45 Removing intermediate container cfdcbd8793ae 02:16:45 ---> 1c2f5d42e24c 02:16:45 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:16:45 ---> Running in af7139c71e98 02:16:47 Removing intermediate container af7139c71e98 02:16:47 ---> 620adf2bbe6b 02:16:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:47 ---> Running in f09ce7b24dea 02:16:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:16:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:16:51 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:16:51 (2/4) Installing libedit (20210910.3.1-r0) 02:16:51 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:16:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:16:51 Executing busybox-1.34.1-r3.trigger 02:16:51 OK: 224 MiB in 56 packages 02:16:52 Removing intermediate container f09ce7b24dea 02:16:52 ---> e0f30c8cefee 02:16:52 Step 7/12 : WORKDIR /device-mqtt-go 02:16:52 ---> Running in b4a7975a39bf 02:16:53 Removing intermediate container b4a7975a39bf 02:16:53 ---> 7ee5af7f96bc 02:16:53 Step 8/12 : COPY go.mod vendor* ./ 02:16:53 ---> 0a6f80cf95f9 02:16:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:53 ---> Running in c688a91e920f 02:17:50 Removing intermediate container c688a91e920f 02:17:50 ---> d42b41b72dc7 02:17:50 Step 10/12 : COPY . . 02:17:50 ---> f89927f3687c 02:17:50 Step 11/12 : ARG MAKE='make build' 02:17:50 ---> Running in e9013e8351cf 02:17:50 Removing intermediate container e9013e8351cf 02:17:50 ---> 37691ab12ea5 02:17:50 Step 12/12 : RUN $MAKE 02:17:50 ---> Running in 488f633f7d5d 02:17:50 noop 02:17:50 Removing intermediate container 488f633f7d5d 02:17:50 ---> d42592c62e3c 02:17:50 Successfully built d42592c62e3c 02:17:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:17:50 + docker inspect -f . ci-base-image-arm64 02:17:50 . [Pipeline] withDockerContainer 02:17:51 prd-ubuntu20.04-docker-arm64-4c-16g-21930 does not seem to be running inside a container 02:17:51 $ 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 02:17:52 $ docker top 62ba03ff86b473dd5c43f873753667deb0b106d295838577dae1a4bd19b71e9f -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:53 + go version 02:17:53 go version go1.17.6 linux/arm64 [Pipeline] } 02:17:53 $ docker stop --time=1 62ba03ff86b473dd5c43f873753667deb0b106d295838577dae1a4bd19b71e9f 02:17:55 $ docker rm -f 62ba03ff86b473dd5c43f873753667deb0b106d295838577dae1a4bd19b71e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:17:56 + docker inspect -f . ci-base-image-arm64 02:17:56 . [Pipeline] withDockerContainer 02:17:56 prd-ubuntu20.04-docker-arm64-4c-16g-21930 does not seem to be running inside a container 02:17:56 $ 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 02:17:57 $ docker top 8db1981c1fc86e634f2022775796148b28ca3fe6cad68a010defcdeb615ff154 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:17:58 + make test 02:17:58 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:18:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:19:22 # github.com/edgexfoundry/device-sdk-go/v2/pkg/service 02:19:22 /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: 02:19:22 *"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) 02:19:24 FAIL github.com/edgexfoundry/device-mqtt-go/internal/driver [build failed] 02:19:25 make: *** [Makefile:37: unittest] Error 2 [Pipeline] } 02:19:25 $ docker stop --time=1 8db1981c1fc86e634f2022775796148b28ca3fe6cad68a010defcdeb615ff154 02:19:26 $ docker rm -f 8db1981c1fc86e634f2022775796148b28ca3fe6cad68a010defcdeb615ff154 [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 02:19:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:19:28 02:19:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:19:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:19:29 arm64: Pulling from edgex-lftools-log-publisher 02:19:29 8998bd30e6a1: Pulling fs layer 02:19:29 04944245beec: Pulling fs layer 02:19:29 699f458cf7ca: Pulling fs layer 02:19:29 765212b225bb: Pulling fs layer 02:19:29 f23df028b6ca: Pulling fs layer 02:19:29 d65c8cfc05b1: Pulling fs layer 02:19:29 2437ff75d9bd: Pulling fs layer 02:19:29 765212b225bb: Waiting 02:19:29 f23df028b6ca: Waiting 02:19:29 d65c8cfc05b1: Waiting 02:19:29 2437ff75d9bd: Waiting 02:19:29 04944245beec: Verifying Checksum 02:19:29 04944245beec: Download complete 02:19:29 765212b225bb: Verifying Checksum 02:19:29 765212b225bb: Download complete 02:19:29 f23df028b6ca: Verifying Checksum 02:19:29 f23df028b6ca: Download complete 02:19:29 d65c8cfc05b1: Verifying Checksum 02:19:29 d65c8cfc05b1: Download complete 02:19:29 699f458cf7ca: Verifying Checksum 02:19:29 699f458cf7ca: Download complete 02:19:29 8998bd30e6a1: Verifying Checksum 02:19:29 8998bd30e6a1: Download complete 02:19:31 2437ff75d9bd: Verifying Checksum 02:19:31 2437ff75d9bd: Download complete 02:19:34 8998bd30e6a1: Pull complete 02:19:34 04944245beec: Pull complete 02:19:36 699f458cf7ca: Pull complete 02:19:36 765212b225bb: Pull complete 02:19:37 f23df028b6ca: Pull complete 02:19:37 d65c8cfc05b1: Pull complete 02:19:52 2437ff75d9bd: Pull complete 02:19:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:19:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:19:53 prd-ubuntu20.04-docker-arm64-4c-16g-21930 does not seem to be running inside a container 02:19:53 $ 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 02:19:55 $ docker top 79b47f6ee2c9c34be007be424208a21d9119ffa77fd848c7c5bc276300e82d17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:19:56 ---> job-cost.sh 02:19:56 lf-activate-venv: SKIPPING 02:19:56 INFO: No Stack... 02:19:56 INFO: Retrieving Pricing Info for: v3-standard-4 02:19:57 INFO: Archiving Costs [Pipeline] sh 02:19:58 + + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:19:58 cut -d, -f6 [Pipeline] lock 02:19:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] 02:19:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] did not exist. Created. 02:19:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:19:59 /w/workspace/device-mqtt-go/1@tmp/durable-5f912284/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:20:00 + echo total: 0.10999999940395355 [Pipeline] stash 02:20:00 Warning: overwriting stash ‘stack-cost’ 02:20:00 Stashed 1 file(s) [Pipeline] } 02:20:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:20:00 $ docker stop --time=1 79b47f6ee2c9c34be007be424208a21d9119ffa77fd848c7c5bc276300e82d17 02:20:02 $ docker rm -f 79b47f6ee2c9c34be007be424208a21d9119ffa77fd848c7c5bc276300e82d17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:20:02 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 02:20:04 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives ] 02:20:04 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives 02:20:04 total 16 02:20:04 drwxr-xr-x 3 root root 4096 Apr 25 02:13 . 02:20:04 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. 02:20:04 drwxr-xr-x 2 root root 4096 Apr 25 02:13 cost 02:20:04 -rw-r--r-- 1 root root 85 Apr 25 02:13 cost.csv 02:20:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives 02:20:04 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives 02:20:04 total 16 02:20:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 02:13 . 02:20:04 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. 02:20:04 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 02:13 cost 02:20:04 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:20:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:20:06 ---> package-listing.sh 02:20:06 ++ facter osfamily 02:20:06 ++ tr '[:upper:]' '[:lower:]' 02:20:06 + OS_FAMILY=debian 02:20:06 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-368 02:20:06 + START_PACKAGES=/tmp/packages_start.txt 02:20:06 + END_PACKAGES=/tmp/packages_end.txt 02:20:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:20:06 + PACKAGES=/tmp/packages_start.txt 02:20:06 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-368 ']' 02:20:06 + PACKAGES=/tmp/packages_end.txt 02:20:06 + case "${OS_FAMILY}" in 02:20:06 + dpkg -l 02:20:06 + grep '^ii' 02:20:06 + '[' -f /tmp/packages_start.txt ']' 02:20:06 + '[' -f /tmp/packages_end.txt ']' 02:20:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:20:06 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-368 ']' 02:20:06 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives/ 02:20:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-368/archives/ [Pipeline] echo 02:20:06 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:20:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:20:07 . [Pipeline] withDockerContainer 02:20:07 prd-ubuntu20.04-docker-8c-8g-21926 does not seem to be running inside a container 02:20:07 $ 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-368/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-368 -v /w/workspace/gexfoundry_device-mqtt-go_PR-368:/w/workspace/gexfoundry_device-mqtt-go_PR-368:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-368@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 02:20:07 $ docker top e7849edec0bc88ff87c0ba8c21832c292d5d891bbd081ad3832f3ffe262c3300 -eo pid,comm [Pipeline] { [Pipeline] sh 02:20:08 + touch /tmp/pre-build-complete [Pipeline] sh 02:20:08 + mkdir -p /var/log/sysstat [Pipeline] sh 02:20:08 + ls /var/log/sa-host 02:20:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:20:09 provisioning config files... 02:20:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-368@tmp/config8161333788033935834tmp [Pipeline] { [Pipeline] echo 02:20:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:20:09 ---> create-netrc.sh [Pipeline] } 02:20:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:20:09 ---> python-tools-install.sh [Pipeline] echo 02:20:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:20:10 ---> sudo-logs.sh 02:20:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:20:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:20:10 ---> job-cost.sh 02:20:10 lf-activate-venv: SKIPPING 02:20:10 DEBUG: total: 0.2199999988079071 02:20:10 INFO: Retrieving Stack Cost... 02:20:10 INFO: Retrieving Pricing Info for: v3-standard-8 02:20:11 INFO: Archiving Costs [Pipeline] echo 02:20:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:20:11 ---> logs-deploy.sh 02:20:11 lf-activate-venv: SKIPPING 02:20:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-368/1 02:20:11 INFO: archiving workspace using pattern(s): 02:20:12 Archives upload complete. 02:20:12 INFO: archiving logs to Nexus