Pull request #362 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4e7051dac283954dd7b887b67ac3e589ddc94b3+4d191eb3dac98c01714bec6e3dd8edd5055992ab (08cc3bf2c9afee42f095e7b48937e3ee131a16e5) 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-ssh15702288345538485993.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-ssh3730281604979125334.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-362/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-362/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15727596799128431951.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-362/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2945104413276918069.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-ssh11096754848805335446.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-362/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-362/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1148045859990671183.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-21170’ Running on prd-ubuntu20.04-docker-8c-8g-21176 in /w/workspace/gexfoundry_device-mqtt-go_PR-362 [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-362 # 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 e4e7051dac283954dd7b887b67ac3e589ddc94b3 Merge succeeded, producing e4e7051dac283954dd7b887b67ac3e589ddc94b3 Checking out Revision e4e7051dac283954dd7b887b67ac3e589ddc94b3 (PR-362) > 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/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4e7051dac283954dd7b887b67ac3e589ddc94b3 # 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 e4e7051dac283954dd7b887b67ac3e589ddc94b3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:24:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:01 ========================================================= 01:24:01 EdgeX Global Pipelines Version Info 01:24:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:24:01 ------------------- 01:24:01 stable info: 01:24:01 ------------------- 01:24:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:24:01 Message: update stable to v1.0.221 01:24:02 ------------------- 01:24:02 experimental info: 01:24:02 ------------------- 01:24:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:02 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 01:24:02 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-362 [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-362 [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-362 [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4e7051dac283954dd7b887b67ac3e589ddc94b3 [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4e7051 [Pipeline] echo 01:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:04 provisioning config files... 01:24:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/config4801028491365588925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:04 ---> docker-login.sh 01:24:04 nexus3.edgexfoundry.org:10001 01:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:04 Configure a credential helper to remove this warning. See 01:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:04 01:24:04 Login Succeeded 01:24:04 nexus3.edgexfoundry.org:10002 01:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:05 Configure a credential helper to remove this warning. See 01:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:05 01:24:05 Login Succeeded 01:24:05 nexus3.edgexfoundry.org:10003 01:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:05 Configure a credential helper to remove this warning. See 01:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:05 01:24:05 Login Succeeded 01:24:05 nexus3.edgexfoundry.org:10004 01:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:05 Configure a credential helper to remove this warning. See 01:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:05 01:24:05 Login Succeeded 01:24:05 docker.io 01:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:05 Configure a credential helper to remove this warning. See 01:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:05 01:24:05 Login Succeeded 01:24:05 ---> docker-login.sh ends [Pipeline] } 01:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:06 + git rev-list -1 --merges e4e7051dac283954dd7b887b67ac3e589ddc94b3~1..e4e7051dac283954dd7b887b67ac3e589ddc94b3 [Pipeline] echo 01:24:06 -----------> git rev-list -1 --merges e4e7051dac283954dd7b887b67ac3e589ddc94b3~1..e4e7051dac283954dd7b887b67ac3e589ddc94b3 e4e7051dac283954dd7b887b67ac3e589ddc94b3 [false] [Pipeline] sh 01:24:06 + git log --format=format:%s -1 e4e7051dac283954dd7b887b67ac3e589ddc94b3 [Pipeline] echo 01:24:06 ========================================================= 01:24:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:07 + git log --format=format:%s -1 e4e7051dac283954dd7b887b67ac3e589ddc94b3 [Pipeline] echo 01:24:07 [semverPrep] GIT_COMMIT: e4e7051dac283954dd7b887b67ac3e589ddc94b3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 01:24:07 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:08 + grep -v github /etc/ssh/ssh_known_hosts 01:24:08 + [ -e /tmp/ssh_known_hosts ] 01:24:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:08 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:08 sudo tee -a /etc/ssh/ssh_known_hosts 01:24:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:08 01:24:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:24:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:08 latest: Pulling from edgex-devops/git-semver 01:24:08 a0d0a0d46f8b: Pulling fs layer 01:24:08 3e5f54012d9b: Pulling fs layer 01:24:08 4c7163046ea9: Pulling fs layer 01:24:08 0c2d73faf560: Pulling fs layer 01:24:08 0c2d73faf560: Waiting 01:24:08 3e5f54012d9b: Verifying Checksum 01:24:08 3e5f54012d9b: Download complete 01:24:08 a0d0a0d46f8b: Download complete 01:24:09 0c2d73faf560: Verifying Checksum 01:24:09 0c2d73faf560: Download complete 01:24:09 4c7163046ea9: Verifying Checksum 01:24:09 a0d0a0d46f8b: Pull complete 01:24:09 3e5f54012d9b: Pull complete 01:24:09 4c7163046ea9: Pull complete 01:24:09 0c2d73faf560: Pull complete 01:24:09 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:24:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:24:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:24:09 prd-ubuntu20.04-docker-8c-8g-21176 does not seem to be running inside a container 01:24:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-362 -v /w/workspace/gexfoundry_device-mqtt-go_PR-362:/w/workspace/gexfoundry_device-mqtt-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-362@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 01:24:10 $ docker top 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:10 [ssh-agent] Looking for ssh-agent implementation... 01:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:10 $ docker exec 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d ssh-agent 01:24:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbdnmjl/agent.14 01:24:11 SSH_AGENT_PID=21 01:24:11 Running ssh-add (command line suppressed) 01:24:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/private_key_1243878936500016756.key (/w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/private_key_1243878936500016756.key) 01:24:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:11 + git tag --points-at HEAD [Pipeline] } 01:24:11 $ docker exec --env ******** --env ******** 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d ssh-agent -k 01:24:11 unset SSH_AUTH_SOCK; 01:24:11 unset SSH_AGENT_PID; 01:24:11 echo Agent pid 21 killed; 01:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:24:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:11 [ssh-agent] Looking for ssh-agent implementation... 01:24:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:11 $ docker exec 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d ssh-agent 01:24:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgAPIOO/agent.53 01:24:11 SSH_AGENT_PID=59 01:24:11 Running ssh-add (command line suppressed) 01:24:12 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/private_key_804689862888932609.key (/w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/private_key_804689862888932609.key) 01:24:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:12 + git semver init 01:24:12 # -> Open(): unable to determine branch for HEAD 01:24:12 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-362/.git 01:24:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-362 01:24:12 # $SEMVER_REMOTE_NAME = origin 01:24:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:24:12 # $SEMVER_USER_NAME = edgex-jenkins 01:24:12 # $SEMVER_BRANCH = PR-362 01:24:12 # $SEMVER_TEMP = /tmp/semver-183241154 01:24:12 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 01:24:13 # '/tmp/semver-183241154' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-362/.semver' 01:24:13 # -> Force: false 01:24:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-362/.semver [Pipeline] } 01:24:13 $ docker exec --env ******** --env ******** 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d ssh-agent -k 01:24:13 unset SSH_AUTH_SOCK; 01:24:13 unset SSH_AGENT_PID; 01:24:13 echo Agent pid 59 killed; 01:24:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:13 + git semver [Pipeline] } 01:24:14 $ docker stop --time=1 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d 01:24:15 $ docker rm -f 79907d0c0805bef2e540db70fad410c1942e55f4bc3a86bd638cf9791513855d [Pipeline] // withDockerContainer [Pipeline] sh 01:24:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:24:16 Stashed 1 file(s) [Pipeline] echo 01:24:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:16 provisioning config files... 01:24:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/config5898148442212342569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:17 ---> docker-login.sh 01:24:17 nexus3.edgexfoundry.org:10001 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 nexus3.edgexfoundry.org:10002 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 nexus3.edgexfoundry.org:10003 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 nexus3.edgexfoundry.org:10004 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 docker.io 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 ---> docker-login.sh ends [Pipeline] } 01:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:24:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:24:18 ========================================================= 01:24:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:24:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:24:18 + 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 . 01:24:18 Sending build context to Docker daemon 5.836MB 01:24:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:24:18 Step 2/12 : FROM ${BASE} AS builder 01:24:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:24:18 59bf1c3509f3: Pulling fs layer 01:24:18 666ba61612fd: Pulling fs layer 01:24:18 8ed8ca486205: Pulling fs layer 01:24:18 4fe6c5a15a65: Pulling fs layer 01:24:18 22a0e8bec74d: Pulling fs layer 01:24:18 640e595b4fbd: Pulling fs layer 01:24:18 763cafe07f6e: Pulling fs layer 01:24:18 0c0b528cf693: Pulling fs layer 01:24:18 10935f4eaf8b: Pulling fs layer 01:24:18 640e595b4fbd: Waiting 01:24:18 763cafe07f6e: Waiting 01:24:18 10935f4eaf8b: Waiting 01:24:18 0c0b528cf693: Waiting 01:24:18 4fe6c5a15a65: Waiting 01:24:18 22a0e8bec74d: Waiting 01:24:18 8ed8ca486205: Download complete 01:24:18 666ba61612fd: Download complete 01:24:18 22a0e8bec74d: Verifying Checksum 01:24:18 22a0e8bec74d: Download complete 01:24:18 640e595b4fbd: Download complete 01:24:18 763cafe07f6e: Download complete 01:24:18 59bf1c3509f3: Verifying Checksum 01:24:18 59bf1c3509f3: Download complete 01:24:18 0c0b528cf693: Verifying Checksum 01:24:18 0c0b528cf693: Download complete 01:24:18 59bf1c3509f3: Pull complete 01:24:19 666ba61612fd: Pull complete 01:24:19 8ed8ca486205: Pull complete 01:24:19 10935f4eaf8b: Verifying Checksum 01:24:19 10935f4eaf8b: Download complete 01:24:19 4fe6c5a15a65: Verifying Checksum 01:24:19 4fe6c5a15a65: Download complete 01:24:23 4fe6c5a15a65: Pull complete 01:24:23 22a0e8bec74d: Pull complete 01:24:23 640e595b4fbd: Pull complete 01:24:23 763cafe07f6e: Pull complete 01:24:24 0c0b528cf693: Pull complete 01:24:26 10935f4eaf8b: Pull complete 01:24:26 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:24:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:24:26 ---> 99d49a6021b9 01:24:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:24:28 ---> Running in 0497607f84b4 01:24:28 Removing intermediate container 0497607f84b4 01:24:28 ---> 2f05ee3e3959 01:24:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:24:28 ---> Running in 4db18d95476a 01:24:28 Removing intermediate container 4db18d95476a 01:24:28 ---> a71af61da816 01:24:28 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:24:28 ---> Running in d9c68e0a880a 01:24:28 Removing intermediate container d9c68e0a880a 01:24:28 ---> 328c55eeb958 01:24:28 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:24:28 ---> Running in 139b38ea0cbd 01:24:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:24:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:24:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:24:30 (2/4) Installing libedit (20210910.3.1-r0) 01:24:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:24:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:24:30 Executing busybox-1.34.1-r3.trigger 01:24:30 OK: 224 MiB in 56 packages 01:24:31 Removing intermediate container 139b38ea0cbd 01:24:31 ---> 68ffd2f21da5 01:24:31 Step 7/12 : WORKDIR /device-mqtt-go 01:24:31 ---> Running in 7b99d9a723c9 01:24:31 Removing intermediate container 7b99d9a723c9 01:24:31 ---> dd210b8aaab9 01:24:31 Step 8/12 : COPY go.mod vendor* ./ 01:24:31 ---> 091c0e3aa554 01:24:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:24:31 ---> Running in 7a47cdec9238 01:24:31 Still waiting to schedule task 01:24:31 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21174’ 01:24:53 Removing intermediate container 7a47cdec9238 01:24:53 ---> c75edca153dc 01:24:53 Step 10/12 : COPY . . 01:24:53 ---> 734aa096562a 01:24:53 Step 11/12 : ARG MAKE='make build' 01:24:53 ---> Running in c48b455cc28a 01:24:53 Removing intermediate container c48b455cc28a 01:24:53 ---> 721597a49d6e 01:24:53 Step 12/12 : RUN $MAKE 01:24:53 ---> Running in ae6160d5e538 01:24:53 noop 01:24:53 Removing intermediate container ae6160d5e538 01:24:53 ---> 17923b6cf38d 01:24:53 Successfully built 17923b6cf38d 01:24:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:24:53 + docker inspect -f . ci-base-image-x86_64 01:24:53 . [Pipeline] withDockerContainer 01:24:53 prd-ubuntu20.04-docker-8c-8g-21176 does not seem to be running inside a container 01:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-362 -v /w/workspace/gexfoundry_device-mqtt-go_PR-362:/w/workspace/gexfoundry_device-mqtt-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-362@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 01:24:55 $ docker top 7bd2dddad99ec09f36e52be81fbe3dd230741cd71e7cd9e18a979498e913a8dc -eo pid,comm [Pipeline] { [Pipeline] sh 01:24:55 + go version 01:24:55 go version go1.17.6 linux/amd64 [Pipeline] } 01:24:55 $ docker stop --time=1 7bd2dddad99ec09f36e52be81fbe3dd230741cd71e7cd9e18a979498e913a8dc 01:24:56 $ docker rm -f 7bd2dddad99ec09f36e52be81fbe3dd230741cd71e7cd9e18a979498e913a8dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:24:57 + docker inspect -f . ci-base-image-x86_64 01:24:57 . [Pipeline] withDockerContainer 01:24:57 prd-ubuntu20.04-docker-8c-8g-21176 does not seem to be running inside a container 01:24:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-362 -v /w/workspace/gexfoundry_device-mqtt-go_PR-362:/w/workspace/gexfoundry_device-mqtt-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-362@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 01:24:58 $ docker top 2126c51bf010a97cd070ab9f82f06c6e93288df065f86cc21222a1d65371fb04 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:24:58 + make test 01:24:58 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:24:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:25:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:25:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 01:25:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:25:14 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:25:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:25:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:25:18 ./bin/test-attribution-txt.sh [Pipeline] echo 01:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:25:18 $ docker stop --time=1 2126c51bf010a97cd070ab9f82f06c6e93288df065f86cc21222a1d65371fb04 01:25:20 $ docker rm -f 2126c51bf010a97cd070ab9f82f06c6e93288df065f86cc21222a1d65371fb04 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:25:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:25:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:25:22 + ls -al . 01:25:22 total 196 01:25:22 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 01:25 . 01:25:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:23 .. 01:25:22 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 01:23 .dockerignore 01:25:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:24 .git 01:25:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:23 .github 01:25:22 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 01:23 .gitignore 01:25:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 01:23 .golangci.yml 01:25:22 drwx------ 3 jenkins jenkins 4096 Apr 18 01:24 .semver 01:25:22 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 18 01:23 Attribution.txt 01:25:22 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 18 01:23 CHANGELOG.md 01:25:22 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:23 Dockerfile 01:25:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 01:23 GOVERNANCE.md 01:25:22 -rw-rw-r-- 1 jenkins jenkins 678 Apr 18 01:23 Jenkinsfile 01:25:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 01:23 LICENSE 01:25:22 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:23 Makefile 01:25:22 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 01:23 OWNERS.md 01:25:22 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 18 01:23 README.md 01:25:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 01:24 VERSION 01:25:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:23 bin 01:25:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:23 cmd 01:25:22 -rw-r--r-- 1 jenkins jenkins 17887 Apr 18 01:25 coverage.out 01:25:22 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 18 01:23 go.mod 01:25:22 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 18 01:23 go.sum 01:25:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:23 internal 01:25:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:23 mock 01:25:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:23 snap 01:25:22 -rw-rw-r-- 1 jenkins jenkins 227 Apr 18 01:23 version.go [Pipeline] isUnix [Pipeline] sh 01:25:22 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e4e7051dac283954dd7b887b67ac3e589ddc94b3 --label arch=amd64 --label version=0.0.0 . 01:25:22 Sending build context to Docker daemon 5.855MB 01:25:22 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:25:22 Step 2/24 : FROM ${BASE} AS builder 01:25:22 ---> 17923b6cf38d 01:25:22 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:25:22 ---> Running in ae14dcea3952 01:25:23 Removing intermediate container ae14dcea3952 01:25:23 ---> 0f1ec25dea09 01:25:23 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:25:23 ---> Running in 27fe4d5d72e0 01:25:23 Removing intermediate container 27fe4d5d72e0 01:25:23 ---> e0701157eb3b 01:25:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:23 ---> Running in 0819eeaef7fc 01:25:23 Removing intermediate container 0819eeaef7fc 01:25:23 ---> a72bf17b147c 01:25:23 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:23 ---> Running in 633c90bfa4d8 01:25:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:25:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:25:25 OK: 224 MiB in 56 packages 01:25:25 Removing intermediate container 633c90bfa4d8 01:25:25 ---> 1668ec7131a4 01:25:25 Step 7/24 : WORKDIR /device-mqtt-go 01:25:25 ---> Running in d43798c603ad 01:25:25 Removing intermediate container d43798c603ad 01:25:25 ---> ad68918b4b03 01:25:25 Step 8/24 : COPY go.mod vendor* ./ 01:25:25 ---> 1dec50a3d693 01:25:25 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:25 ---> Running in 2dab766d5048 01:25:26 Removing intermediate container 2dab766d5048 01:25:26 ---> 1e25fc36a0fb 01:25:26 Step 10/24 : COPY . . 01:25:26 ---> ca6d3a81eccd 01:25:26 Step 11/24 : ARG MAKE='make build' 01:25:26 ---> Running in 0634ee026326 01:25:27 Removing intermediate container 0634ee026326 01:25:27 ---> 76816bb2a951 01:25:27 Step 12/24 : RUN $MAKE 01:25:27 ---> Running in 6b5e73bf21b6 01:25:27 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:25:49 Removing intermediate container 6b5e73bf21b6 01:25:49 ---> c2a9703889d8 01:25:49 Step 13/24 : FROM alpine:3.14 01:25:49 3.14: Pulling from library/alpine 01:25:49 8663204ce13b: Pulling fs layer 01:25:49 8663204ce13b: Verifying Checksum 01:25:49 8663204ce13b: Download complete 01:25:49 8663204ce13b: Pull complete 01:25:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:25:49 Status: Downloaded newer image for alpine:3.14 01:25:49 ---> e04c818066af 01:25:49 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:25:49 ---> Running in 23414a232568 01:25:49 Removing intermediate container 23414a232568 01:25:49 ---> 525742729960 01:25:49 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:25:49 ---> Running in e02e57a44c39 01:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:25:49 (1/6) Installing dumb-init (1.2.5-r1) 01:25:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:25:49 (3/6) Installing libsodium (1.0.18-r0) 01:25:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:25:49 (5/6) Installing libzmq (4.3.4-r0) 01:25:49 (6/6) Installing zeromq (4.3.4-r0) 01:25:49 Executing busybox-1.33.1-r7.trigger 01:25:49 OK: 8 MiB in 20 packages 01:25:49 Removing intermediate container e02e57a44c39 01:25:49 ---> df96e37ea848 01:25:49 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:25:50 ---> 951207d65468 01:25:50 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:25:50 ---> d8e88c2acfd3 01:25:50 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:25:50 ---> 583f2b07c944 01:25:50 Step 19/24 : EXPOSE 59982 01:25:50 ---> Running in a160050a7246 01:25:50 Removing intermediate container a160050a7246 01:25:50 ---> 6cd3a6503d3d 01:25:50 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:25:50 ---> Running in d6816585b28b 01:25:50 Removing intermediate container d6816585b28b 01:25:50 ---> 3ab23030b25d 01:25:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:25:50 ---> Running in ede5c5c20797 01:25:50 Removing intermediate container ede5c5c20797 01:25:50 ---> 7ccfa8a063f9 01:25:50 Step 22/24 : LABEL arch=amd64 01:25:50 ---> Running in 15a5cae3a545 01:25:51 Removing intermediate container 15a5cae3a545 01:25:51 ---> c6799b0ad18a 01:25:51 Step 23/24 : LABEL git_sha=e4e7051dac283954dd7b887b67ac3e589ddc94b3 01:25:51 ---> Running in 339ae65a72e3 01:25:51 Removing intermediate container 339ae65a72e3 01:25:51 ---> c7283df7aad1 01:25:51 Step 24/24 : LABEL version=0.0.0 01:25:51 ---> Running in 871a080aed53 01:25:51 Removing intermediate container 871a080aed53 01:25:51 ---> b5ccba0e0131 01:25:51 [Warning] One or more build-args [ARCH] were not consumed 01:25:51 Successfully built b5ccba0e0131 01:25:51 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:25:52 01:25:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:25:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:25:52 latest: Pulling from edgex-lftools-log-publisher 01:25:52 5eb5b503b376: Pulling fs layer 01:25:52 5c69ac0246d0: Pulling fs layer 01:25:52 ec43610c2a17: Pulling fs layer 01:25:52 3a2ae6a8a46f: Pulling fs layer 01:25:52 33b1e0a273af: Pulling fs layer 01:25:52 5d3b04190fa2: Pulling fs layer 01:25:52 2f39f015ded8: Pulling fs layer 01:25:52 3a2ae6a8a46f: Waiting 01:25:52 33b1e0a273af: Waiting 01:25:52 5d3b04190fa2: Waiting 01:25:52 2f39f015ded8: Waiting 01:25:52 5c69ac0246d0: Download complete 01:25:52 3a2ae6a8a46f: Download complete 01:25:52 33b1e0a273af: Verifying Checksum 01:25:52 33b1e0a273af: Download complete 01:25:52 ec43610c2a17: Verifying Checksum 01:25:52 ec43610c2a17: Download complete 01:25:52 5eb5b503b376: Verifying Checksum 01:25:52 5eb5b503b376: Download complete 01:25:53 2f39f015ded8: Download complete 01:25:54 5eb5b503b376: Pull complete 01:25:54 5c69ac0246d0: Pull complete 01:25:54 ec43610c2a17: Pull complete 01:25:54 3a2ae6a8a46f: Pull complete 01:25:54 33b1e0a273af: Pull complete 01:25:55 5d3b04190fa2: Pull complete 01:25:59 2f39f015ded8: Pull complete 01:25:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:25:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:25:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:25:59 prd-ubuntu20.04-docker-8c-8g-21176 does not seem to be running inside a container 01:25:59 $ 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-362 -v /w/workspace/gexfoundry_device-mqtt-go_PR-362:/w/workspace/gexfoundry_device-mqtt-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-362@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 01:26:01 $ docker top 4f7933c2edcb89926bdcd5d3d4b24455110e3be5b1ca824e85b588649a61ff5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:01 ---> job-cost.sh 01:26:01 lf-activate-venv: SKIPPING 01:26:01 INFO: No Stack... 01:26:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:26:02 INFO: Archiving Costs [Pipeline] sh 01:26:03 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives/cost.csv 01:26:03 + cut -d, -f6 [Pipeline] lock 01:26:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] 01:26:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] did not exist. Created. 01:26:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:03 + echo total: 0.2199999988079071 [Pipeline] stash 01:26:03 Stashed 1 file(s) [Pipeline] } 01:26:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:03 $ docker stop --time=1 4f7933c2edcb89926bdcd5d3d4b24455110e3be5b1ca824e85b588649a61ff5a 01:26:04 $ docker rm -f 4f7933c2edcb89926bdcd5d3d4b24455110e3be5b1ca824e85b588649a61ff5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:27:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21179 in /w/workspace/gexfoundry_device-mqtt-go_PR-362 [Pipeline] { [Pipeline] ws 01:27:12 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:27:12 Selected Git installation does not exist. Using Default 01:27:12 The recommended git tool is: NONE 01:27:17 using credential edgex-jenkins-ssh 01:27:17 Cloning the remote Git repository 01:27:17 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:27:18 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:27:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:27:18 > git --version # timeout=10 01:27:18 > git --version # 'git version 2.25.1' 01:27:18 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:27:20 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit e4e7051dac283954dd7b887b67ac3e589ddc94b3 01:27:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:27:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:27:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:27:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/362/head:refs/remotes/origin/PR-362 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:27:20 > git config core.sparsecheckout # timeout=10 01:27:20 > git checkout -f e4e7051dac283954dd7b887b67ac3e589ddc94b3 # timeout=10 01:27:20 > git remote # timeout=10 01:27:20 > git config --get remote.origin.url # timeout=10 01:27:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:27:20 Merge succeeded, producing e4e7051dac283954dd7b887b67ac3e589ddc94b3 01:27:20 Checking out Revision e4e7051dac283954dd7b887b67ac3e589ddc94b3 (PR-362) 01:27:20 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 01:27:20 > git rev-parse HEAD^{commit} # timeout=10 01:27:20 > git config core.sparsecheckout # timeout=10 01:27:20 > git checkout -f e4e7051dac283954dd7b887b67ac3e589ddc94b3 # timeout=10 01:27:24 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 01:27:24 > git --version # timeout=10 01:27:24 > git --version # 'git version 2.25.1' 01:27:24 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:27:25 % Total % Received % Xferd Average Speed Time Time Time Current 01:27:25 Dload Upload Total Spent Left Speed 01:27:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83401 0 --:--:-- --:--:-- --:--:-- 82818 [Pipeline] sh 01:27:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:27:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:27:26 + sudo tee /etc/docker/daemon.new 01:27:26 { 01:27:26 "registry-mirrors": [ 01:27:26 "https://nexus3.edgexfoundry.org:10001" 01:27:26 ], 01:27:26 "bip": "10.250.0.254/24", 01:27:26 "hosts": [ 01:27:26 "tcp://0.0.0.0:5555", 01:27:26 "unix:///var/run/docker.sock" 01:27:26 ], 01:27:26 "mtu": 1458, 01:27:26 "selinux-enabled": true, 01:27:26 "seccomp-profile": "/etc/docker/seccomp.json" 01:27:26 } [Pipeline] sh 01:27:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:27:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:45 provisioning config files... 01:27:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3865761353653197903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:46 ---> docker-login.sh 01:27:46 nexus3.edgexfoundry.org:10001 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 nexus3.edgexfoundry.org:10002 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 nexus3.edgexfoundry.org:10003 01:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:48 Configure a credential helper to remove this warning. See 01:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:48 01:27:48 Login Succeeded 01:27:48 nexus3.edgexfoundry.org:10004 01:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:48 Configure a credential helper to remove this warning. See 01:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:48 01:27:48 Login Succeeded 01:27:48 docker.io 01:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:49 Configure a credential helper to remove this warning. See 01:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:49 01:27:49 Login Succeeded 01:27:49 ---> docker-login.sh ends [Pipeline] } 01:27:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:27:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:49 ========================================================= 01:27:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:27:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:27:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:27:50 Sending build context to Docker daemon 3.041MB 01:27:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:27:50 Step 2/12 : FROM ${BASE} AS builder 01:27:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:27:50 9b3977197b4f: Pulling fs layer 01:27:50 1a89e8eeedd5: Pulling fs layer 01:27:50 94645a83ff95: Pulling fs layer 01:27:50 3f3a8bcf1eab: Pulling fs layer 01:27:50 0c92f367c5e7: Pulling fs layer 01:27:50 f7c0051592d6: Pulling fs layer 01:27:50 a227ed2f7395: Pulling fs layer 01:27:50 7b1c46037f91: Pulling fs layer 01:27:50 3f3a8bcf1eab: Waiting 01:27:50 0c92f367c5e7: Waiting 01:27:50 f7c0051592d6: Waiting 01:27:50 a227ed2f7395: Waiting 01:27:50 7b1c46037f91: Waiting 01:27:50 94645a83ff95: Verifying Checksum 01:27:50 94645a83ff95: Download complete 01:27:50 1a89e8eeedd5: Verifying Checksum 01:27:50 1a89e8eeedd5: Download complete 01:27:50 0c92f367c5e7: Verifying Checksum 01:27:50 0c92f367c5e7: Download complete 01:27:50 f7c0051592d6: Verifying Checksum 01:27:50 f7c0051592d6: Download complete 01:27:50 9b3977197b4f: Download complete 01:27:50 a227ed2f7395: Verifying Checksum 01:27:50 a227ed2f7395: Download complete 01:27:51 9b3977197b4f: Pull complete 01:27:52 1a89e8eeedd5: Pull complete 01:27:52 94645a83ff95: Pull complete 01:27:53 7b1c46037f91: Verifying Checksum 01:27:53 7b1c46037f91: Download complete 01:27:53 3f3a8bcf1eab: Verifying Checksum 01:27:53 3f3a8bcf1eab: Download complete 01:28:06 3f3a8bcf1eab: Pull complete 01:28:06 0c92f367c5e7: Pull complete 01:28:06 f7c0051592d6: Pull complete 01:28:06 a227ed2f7395: Pull complete 01:28:13 7b1c46037f91: Pull complete 01:28:13 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:28:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:28:13 ---> f79e39bc4007 01:28:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:28:14 ---> Running in f11d5b284d57 01:28:14 Removing intermediate container f11d5b284d57 01:28:14 ---> 02cfb12cceff 01:28:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:28:14 ---> Running in 766cbc0e0eb4 01:28:14 Removing intermediate container 766cbc0e0eb4 01:28:14 ---> 4e34ecd33bcb 01:28:14 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:14 ---> Running in e068c2ac482b 01:28:16 Removing intermediate container e068c2ac482b 01:28:16 ---> 73952bd470a7 01:28:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:16 ---> Running in da28f28b03a3 01:28:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:28:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:28:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:28:19 (2/4) Installing libedit (20210910.3.1-r0) 01:28:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:28:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:28:20 Executing busybox-1.34.1-r3.trigger 01:28:20 OK: 224 MiB in 56 packages 01:28:21 Removing intermediate container da28f28b03a3 01:28:21 ---> c93778a68bc5 01:28:21 Step 7/12 : WORKDIR /device-mqtt-go 01:28:21 ---> Running in 7bc22c408cdf 01:28:21 Removing intermediate container 7bc22c408cdf 01:28:21 ---> d1e8c3bb71fc 01:28:21 Step 8/12 : COPY go.mod vendor* ./ 01:28:21 ---> 85ac71a894ee 01:28:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:22 ---> Running in 6ed4dba36ba4 01:29:09 Removing intermediate container 6ed4dba36ba4 01:29:09 ---> 37e45ec8b708 01:29:09 Step 10/12 : COPY . . 01:29:09 ---> 6f8e1e57e971 01:29:09 Step 11/12 : ARG MAKE='make build' 01:29:09 ---> Running in 34f8fa4913d5 01:29:09 Removing intermediate container 34f8fa4913d5 01:29:09 ---> 7f20e1087317 01:29:09 Step 12/12 : RUN $MAKE 01:29:09 ---> Running in 1699bed002f4 01:29:10 noop 01:29:11 Removing intermediate container 1699bed002f4 01:29:11 ---> 2cfefd4e82ac 01:29:11 Successfully built 2cfefd4e82ac 01:29:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:29:11 + docker inspect -f . ci-base-image-arm64 01:29:11 . [Pipeline] withDockerContainer 01:29:11 prd-ubuntu20.04-docker-arm64-4c-16g-21179 does not seem to be running inside a container 01:29:11 $ 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 01:29:13 $ docker top e2fd2037f65f406d4d3e4a3797d8ecb3a6c862f66d2dabe955cb31955e8f6f15 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:14 + go version 01:29:14 go version go1.17.6 linux/arm64 [Pipeline] } 01:29:14 $ docker stop --time=1 e2fd2037f65f406d4d3e4a3797d8ecb3a6c862f66d2dabe955cb31955e8f6f15 01:29:16 $ docker rm -f e2fd2037f65f406d4d3e4a3797d8ecb3a6c862f66d2dabe955cb31955e8f6f15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:29:16 + docker inspect -f . ci-base-image-arm64 01:29:16 . [Pipeline] withDockerContainer 01:29:17 prd-ubuntu20.04-docker-arm64-4c-16g-21179 does not seem to be running inside a container 01:29:17 $ 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 01:29:18 $ docker top 91a6a0fbd2484cf855d4a15cb1b28f6cee053a5413090143e6f87e28ece83c8a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:29:19 + make test 01:29:19 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:29:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:30:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:30:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements 01:30:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:30:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:30:58 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:31:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:31:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:31:21 ./bin/test-attribution-txt.sh [Pipeline] echo 01:31:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:31:21 $ docker stop --time=1 91a6a0fbd2484cf855d4a15cb1b28f6cee053a5413090143e6f87e28ece83c8a 01:31:23 $ docker rm -f 91a6a0fbd2484cf855d4a15cb1b28f6cee053a5413090143e6f87e28ece83c8a [Pipeline] // withDockerContainer [Pipeline] sh 01:31:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:31:24 Warning: overwriting stash ‘coverage-report’ 01:31:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:25 + ls -al . 01:31:25 total 192 01:31:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 01:31 . 01:31:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:27 .. 01:31:25 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 01:27 .dockerignore 01:31:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 01:27 .git 01:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:27 .github 01:31:25 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 01:27 .gitignore 01:31:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 01:27 .golangci.yml 01:31:25 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 18 01:27 Attribution.txt 01:31:25 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 18 01:27 CHANGELOG.md 01:31:25 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:27 Dockerfile 01:31:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 01:27 GOVERNANCE.md 01:31:25 -rw-rw-r-- 1 jenkins jenkins 678 Apr 18 01:27 Jenkinsfile 01:31:25 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 01:27 LICENSE 01:31:25 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 18 01:27 Makefile 01:31:25 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 01:27 OWNERS.md 01:31:25 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 18 01:27 README.md 01:31:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 01:24 VERSION 01:31:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:27 bin 01:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:27 cmd 01:31:25 -rw-r--r-- 1 jenkins jenkins 17887 Apr 18 01:30 coverage.out 01:31:25 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 18 01:27 go.mod 01:31:25 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 18 01:27 go.sum 01:31:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 01:27 internal 01:31:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 01:27 mock 01:31:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 01:27 snap 01:31:25 -rw-rw-r-- 1 jenkins jenkins 227 Apr 18 01:27 version.go [Pipeline] isUnix [Pipeline] sh 01:31:26 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e4e7051dac283954dd7b887b67ac3e589ddc94b3 --label arch=arm64 --label version=0.0.0 . 01:31:26 Sending build context to Docker daemon 3.06MB 01:31:26 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:31:26 Step 2/24 : FROM ${BASE} AS builder 01:31:26 ---> 2cfefd4e82ac 01:31:26 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:31:26 ---> Running in 739f004dbc46 01:31:26 Removing intermediate container 739f004dbc46 01:31:26 ---> e422f94a15f9 01:31:26 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:31:27 ---> Running in 898fe89ec1ac 01:31:27 Removing intermediate container 898fe89ec1ac 01:31:27 ---> 5cb8947305f6 01:31:27 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:31:27 ---> Running in 2accc573aee7 01:31:29 Removing intermediate container 2accc573aee7 01:31:29 ---> 79ac86429d0b 01:31:29 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:29 ---> Running in 5248b656dc4b 01:31:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:31:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:31:32 OK: 224 MiB in 56 packages 01:31:33 Removing intermediate container 5248b656dc4b 01:31:33 ---> 05615b1ca890 01:31:33 Step 7/24 : WORKDIR /device-mqtt-go 01:31:33 ---> Running in 494c00ab92f9 01:31:34 Removing intermediate container 494c00ab92f9 01:31:34 ---> d52d28a5294e 01:31:34 Step 8/24 : COPY go.mod vendor* ./ 01:31:34 ---> cea5e5e4f524 01:31:34 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:34 ---> Running in cea98063e571 01:31:36 Removing intermediate container cea98063e571 01:31:36 ---> 4e9a4b92f121 01:31:36 Step 10/24 : COPY . . 01:31:37 ---> b619d050bfba 01:31:37 Step 11/24 : ARG MAKE='make build' 01:31:37 ---> Running in 3ef5fbbdb0d4 01:31:38 Removing intermediate container 3ef5fbbdb0d4 01:31:38 ---> 2fef7061a388 01:31:38 Step 12/24 : RUN $MAKE 01:31:38 ---> Running in 1743ae154094 01:31:39 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:34:01 Removing intermediate container 1743ae154094 01:34:01 ---> 9190ea57eacf 01:34:01 Step 13/24 : FROM alpine:3.14 01:34:01 3.14: Pulling from library/alpine 01:34:01 455c02918c45: Pulling fs layer 01:34:01 455c02918c45: Verifying Checksum 01:34:01 455c02918c45: Download complete 01:34:01 455c02918c45: Pull complete 01:34:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:34:01 Status: Downloaded newer image for alpine:3.14 01:34:01 ---> ac73e934f311 01:34:01 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:34:01 ---> Running in 50aea6809501 01:34:01 Removing intermediate container 50aea6809501 01:34:01 ---> fbbcf3e2b011 01:34:01 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:34:01 ---> Running in 31d0ffeb0184 01:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:34:01 (1/6) Installing dumb-init (1.2.5-r1) 01:34:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:34:01 (3/6) Installing libsodium (1.0.18-r0) 01:34:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:34:01 (5/6) Installing libzmq (4.3.4-r0) 01:34:01 (6/6) Installing zeromq (4.3.4-r0) 01:34:01 Executing busybox-1.33.1-r7.trigger 01:34:01 OK: 8 MiB in 20 packages 01:34:01 Removing intermediate container 31d0ffeb0184 01:34:01 ---> 61a63e1b80fa 01:34:01 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:34:01 ---> 5e0eec828071 01:34:01 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:34:01 ---> 5a8fc97ad845 01:34:01 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:34:01 ---> b65b9bde5a49 01:34:01 Step 19/24 : EXPOSE 59982 01:34:01 ---> Running in 48414a4834f1 01:34:01 Removing intermediate container 48414a4834f1 01:34:01 ---> f92d7dd1f207 01:34:01 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:34:01 ---> Running in e4f24cc7eedb 01:34:01 Removing intermediate container e4f24cc7eedb 01:34:01 ---> 47c220fa6001 01:34:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:34:01 ---> Running in 2e0f22877b17 01:34:01 Removing intermediate container 2e0f22877b17 01:34:01 ---> 8b58954e5531 01:34:01 Step 22/24 : LABEL arch=arm64 01:34:01 ---> Running in ea421a9d2e4b 01:34:02 Removing intermediate container ea421a9d2e4b 01:34:02 ---> c0ce077ff71e 01:34:02 Step 23/24 : LABEL git_sha=e4e7051dac283954dd7b887b67ac3e589ddc94b3 01:34:02 ---> Running in c578bae07c0a 01:34:02 Removing intermediate container c578bae07c0a 01:34:02 ---> b89032cf4690 01:34:02 Step 24/24 : LABEL version=0.0.0 01:34:02 ---> Running in 539426fee178 01:34:03 Removing intermediate container 539426fee178 01:34:03 ---> fee16a344265 01:34:03 [Warning] One or more build-args [ARCH] were not consumed 01:34:03 Successfully built fee16a344265 01:34:03 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:03 01:34:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:34:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:04 arm64: Pulling from edgex-lftools-log-publisher 01:34:04 8998bd30e6a1: Pulling fs layer 01:34:04 04944245beec: Pulling fs layer 01:34:04 699f458cf7ca: Pulling fs layer 01:34:04 765212b225bb: Pulling fs layer 01:34:04 f23df028b6ca: Pulling fs layer 01:34:04 d65c8cfc05b1: Pulling fs layer 01:34:04 2437ff75d9bd: Pulling fs layer 01:34:04 f23df028b6ca: Waiting 01:34:04 765212b225bb: Waiting 01:34:04 d65c8cfc05b1: Waiting 01:34:04 2437ff75d9bd: Waiting 01:34:04 04944245beec: Download complete 01:34:04 765212b225bb: Verifying Checksum 01:34:04 765212b225bb: Download complete 01:34:04 f23df028b6ca: Verifying Checksum 01:34:04 f23df028b6ca: Download complete 01:34:04 d65c8cfc05b1: Verifying Checksum 01:34:04 d65c8cfc05b1: Download complete 01:34:04 699f458cf7ca: Verifying Checksum 01:34:04 699f458cf7ca: Download complete 01:34:04 8998bd30e6a1: Verifying Checksum 01:34:04 8998bd30e6a1: Download complete 01:34:07 2437ff75d9bd: Verifying Checksum 01:34:07 2437ff75d9bd: Download complete 01:34:09 8998bd30e6a1: Pull complete 01:34:09 04944245beec: Pull complete 01:34:11 699f458cf7ca: Pull complete 01:34:11 765212b225bb: Pull complete 01:34:12 f23df028b6ca: Pull complete 01:34:13 d65c8cfc05b1: Pull complete 01:34:28 2437ff75d9bd: Pull complete 01:34:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:34:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:34:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:34:28 prd-ubuntu20.04-docker-arm64-4c-16g-21179 does not seem to be running inside a container 01:34:28 $ 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 01:34:31 $ docker top c927c58ed9ca6a145bc4798cf01d9f66fc49477e966720a5774a70bfd6b33d10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:32 ---> job-cost.sh 01:34:32 lf-activate-venv: SKIPPING 01:34:32 INFO: No Stack... 01:34:32 INFO: Retrieving Pricing Info for: v3-standard-4 01:34:33 INFO: Archiving Costs [Pipeline] sh 01:34:34 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:34:34 + cut -d, -f6 [Pipeline] lock 01:34:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] 01:34:34 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] did not exist. Created. 01:34:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:34:35 /w/workspace/device-mqtt-go/1@tmp/durable-5b613c3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:34:35 + echo total: 0.10999999940395355 [Pipeline] stash 01:34:35 Warning: overwriting stash ‘stack-cost’ 01:34:35 Stashed 1 file(s) [Pipeline] } 01:34:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-362-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:34:35 $ docker stop --time=1 c927c58ed9ca6a145bc4798cf01d9f66fc49477e966720a5774a70bfd6b33d10 01:34:37 $ docker rm -f c927c58ed9ca6a145bc4798cf01d9f66fc49477e966720a5774a70bfd6b33d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:34:38 provisioning config files... 01:34:38 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/config5573347687553410799tmp [Pipeline] { [Pipeline] sh 01:34:38 + set +x 01:34:38 + curl -s https://codecov.io/bash 01:34:38 + bash -s -- 01:34:38 01:34:38 _____ _ 01:34:38 / ____| | | 01:34:38 | | ___ __| | ___ ___ _____ __ 01:34:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:34:38 | |___| (_) | (_| | __/ (_| (_) \ V / 01:34:38 \_____\___/ \__,_|\___|\___\___/ \_/ 01:34:38 Bash-1.0.6 01:34:38 01:34:38 01:34:38 ==> git version 2.25.1 found 01:34:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:34:38 Release-Date: 2020-01-08 01:34:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:34:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:34:38 ==> Jenkins CI detected. 01:34:38 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-362 01:34:38 project root: . 01:34:38 --> token set from env 01:34:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:34:38 ==> Running gcov in . (disable via -X gcov) 01:34:38 ==> Python coveragepy not found 01:34:38 ==> Searching for coverage reports in: 01:34:38 + . 01:34:38 -> Found 1 reports 01:34:38 ==> Detecting git/mercurial file structure 01:34:38 ==> Reading reports 01:34:39 + ./coverage.out bytes=17887 01:34:39 ==> Appending adjustments 01:34:39 https://docs.codecov.io/docs/fixing-reports 01:34:39 + Found adjustments 01:34:39 ==> Gzipping contents 01:34:39 4.0K /tmp/codecov.YjIgcw.gz 01:34:39 ==> Uploading reports 01:34:39 url: https://codecov.io 01:34:39 query: branch=PR-362&commit=e4e7051dac283954dd7b887b67ac3e589ddc94b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=362&job=&cmd_args= 01:34:39 -> Pinging Codecov 01:34:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-362&commit=e4e7051dac283954dd7b887b67ac3e589ddc94b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=362&job=&cmd_args= 01:34:39 -> Uploading to 01:34:39 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/7D719EC7BBE17E464838252E33014C33/e4e7051dac283954dd7b887b67ac3e589ddc94b3/a2ea0528-d3cc-417b-b667-7c3598945db4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T013439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=224952755e93716bdf6fdb4e569d81299fdb53c6c6a3bc8532103c802988a0c7 01:34:39 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:39 Dload Upload Total Spent Left Speed 01:34:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3240 0 0 100 3240 0 15355 --:--:-- --:--:-- --:--:-- 15283 100 3240 0 0 100 3240 0 12134 --:--:-- --:--:-- --:--:-- 12089 01:34:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/e4e7051dac283954dd7b887b67ac3e589ddc94b3 [Pipeline] } 01:34:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:34:41 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives ] 01:34:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives 01:34:41 total 16 01:34:41 drwxr-xr-x 3 root root 4096 Apr 18 01:26 . 01:34:41 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 01:26 .. 01:34:41 drwxr-xr-x 2 root root 4096 Apr 18 01:26 cost 01:34:41 -rw-r--r-- 1 root root 85 Apr 18 01:26 cost.csv 01:34:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives 01:34:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives 01:34:41 total 16 01:34:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 01:26 . 01:34:41 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 01:26 .. 01:34:41 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 01:26 cost 01:34:41 -rw-r--r-- 1 jenkins jenkins 85 Apr 18 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:34:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:34:42 ---> package-listing.sh 01:34:42 ++ facter osfamily 01:34:42 ++ tr '[:upper:]' '[:lower:]' 01:34:42 + OS_FAMILY=debian 01:34:42 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-362 01:34:42 + START_PACKAGES=/tmp/packages_start.txt 01:34:42 + END_PACKAGES=/tmp/packages_end.txt 01:34:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:34:42 + PACKAGES=/tmp/packages_start.txt 01:34:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-362 ']' 01:34:42 + PACKAGES=/tmp/packages_end.txt 01:34:42 + case "${OS_FAMILY}" in 01:34:42 + dpkg -l 01:34:42 + grep '^ii' 01:34:42 + '[' -f /tmp/packages_start.txt ']' 01:34:42 + '[' -f /tmp/packages_end.txt ']' 01:34:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:34:42 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-362 ']' 01:34:42 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives/ 01:34:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-362/archives/ [Pipeline] echo 01:34:42 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-362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:34:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:34:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:43 . [Pipeline] withDockerContainer 01:34:43 prd-ubuntu20.04-docker-8c-8g-21176 does not seem to be running inside a container 01:34:44 $ 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-362/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-362 -v /w/workspace/gexfoundry_device-mqtt-go_PR-362:/w/workspace/gexfoundry_device-mqtt-go_PR-362:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-362@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 01:34:44 $ docker top 91272eef2a6094537093930de0162cc0d2f00c2c68ad5dbaee76df8a11b4e8ae -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:44 + touch /tmp/pre-build-complete [Pipeline] sh 01:34:44 + mkdir -p /var/log/sysstat [Pipeline] sh 01:34:45 + ls /var/log/sa-host 01:34:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:45 provisioning config files... 01:34:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-362@tmp/config2111434793106225529tmp [Pipeline] { [Pipeline] echo 01:34:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:34:45 ---> create-netrc.sh [Pipeline] } 01:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:34:46 ---> python-tools-install.sh [Pipeline] echo 01:34:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:34:46 ---> sudo-logs.sh 01:34:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:34:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:34:47 ---> job-cost.sh 01:34:47 lf-activate-venv: SKIPPING 01:34:47 DEBUG: total: 0.2199999988079071 01:34:47 INFO: Retrieving Stack Cost... 01:34:47 INFO: Retrieving Pricing Info for: v3-standard-8 01:34:47 INFO: Archiving Costs [Pipeline] echo 01:34:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:34:48 ---> logs-deploy.sh 01:34:48 lf-activate-venv: SKIPPING 01:34:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-362/1 01:34:48 INFO: archiving workspace using pattern(s): 01:34:49 Archives upload complete. 01:34:49 INFO: archiving logs to Nexus