Pull request #377 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe rather than 075872d028f988334355ba10b6757d4a91a9a369 Obtained Jenkinsfile from 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 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-ssh13878779437430088321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh6475215266136521066.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-377/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-377/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3081622039439920097.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-377/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14262755897090922004.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh15107538609279456438.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-377/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-377/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8030260817936691853.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40500 in /w/workspace/gexfoundry_device-mqtt-go_PR-377 [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-377 # 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 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe into PR head commit 075872d028f988334355ba10b6757d4a91a9a369 Merge succeeded, producing 075872d028f988334355ba10b6757d4a91a9a369 Checking out Revision 075872d028f988334355ba10b6757d4a91a9a369 (PR-377) > 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/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 075872d028f988334355ba10b6757d4a91a9a369 # 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 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 075872d028f988334355ba10b6757d4a91a9a369 # timeout=10 Commit message: "docs(snap): remove outdated release artifacts part" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:32:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:32:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:32:08 ========================================================= 14:32:08 EdgeX Global Pipelines Version Info 14:32:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:32:09 ------------------- 14:32:09 stable info: 14:32:09 ------------------- 14:32:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:32:09 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 14:32:09 Message: update stable to v1.0.227 14:32:10 ------------------- 14:32:10 experimental info: 14:32:10 ------------------- 14:32:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:32:10 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 14:32:10 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:32:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 075872d028f988334355ba10b6757d4a91a9a369 [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 075872d [Pipeline] echo 14:32:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:32:11 provisioning config files... 14:32:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/config8167129690852811836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:12 ---> docker-login.sh 14:32:12 nexus3.edgexfoundry.org:10001 14:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:12 Configure a credential helper to remove this warning. See 14:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:12 14:32:12 Login Succeeded 14:32:12 nexus3.edgexfoundry.org:10002 14:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:12 Configure a credential helper to remove this warning. See 14:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:12 14:32:12 Login Succeeded 14:32:12 nexus3.edgexfoundry.org:10003 14:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:12 Configure a credential helper to remove this warning. See 14:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:12 14:32:12 Login Succeeded 14:32:12 nexus3.edgexfoundry.org:10004 14:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:12 Configure a credential helper to remove this warning. See 14:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:12 14:32:12 Login Succeeded 14:32:12 docker.io 14:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:13 Configure a credential helper to remove this warning. See 14:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:13 14:32:13 Login Succeeded 14:32:13 ---> docker-login.sh ends [Pipeline] } 14:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:32:14 + git rev-list -1 --merges 075872d028f988334355ba10b6757d4a91a9a369~1..075872d028f988334355ba10b6757d4a91a9a369 [Pipeline] echo 14:32:14 -----------> git rev-list -1 --merges 075872d028f988334355ba10b6757d4a91a9a369~1..075872d028f988334355ba10b6757d4a91a9a369 075872d028f988334355ba10b6757d4a91a9a369 [false] [Pipeline] sh 14:32:14 + git log --format=format:%s -1 075872d028f988334355ba10b6757d4a91a9a369 [Pipeline] echo 14:32:14 ========================================================= 14:32:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:32:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:32:14 + git log --format=format:%s -1 075872d028f988334355ba10b6757d4a91a9a369 [Pipeline] echo 14:32:14 [semverPrep] GIT_COMMIT: 075872d028f988334355ba10b6757d4a91a9a369, Commit Message: docs(snap): remove outdated release artifacts part [Pipeline] echo 14:32:14 [semverPrep] This is not a build commit. [Pipeline] sh 14:32:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:32:15 + grep -v github /etc/ssh/ssh_known_hosts 14:32:15 + [ -e /tmp/ssh_known_hosts ] 14:32:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:32:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:32:15 + sudo tee -a /etc/ssh/ssh_known_hosts 14:32:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:32:15 14:32:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:32:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:32:16 latest: Pulling from edgex-devops/py-git-semver 14:32:16 1fe172e4850f: Pulling fs layer 14:32:16 caf521ccaac6: Pulling fs layer 14:32:16 3ead6fa29328: Pulling fs layer 14:32:16 5c2a1cbceb83: Pulling fs layer 14:32:16 a8d5f1318db7: Pulling fs layer 14:32:16 c427282e49a2: Pulling fs layer 14:32:16 1827001aaf11: Pulling fs layer 14:32:16 0714d37db230: Pulling fs layer 14:32:16 ac28cf19c067: Pulling fs layer 14:32:16 ca983d60f3e2: Pulling fs layer 14:32:16 9f894cec8388: Pulling fs layer 14:32:16 a8d5f1318db7: Waiting 14:32:16 1827001aaf11: Waiting 14:32:16 c427282e49a2: Waiting 14:32:16 0714d37db230: Waiting 14:32:16 9f894cec8388: Waiting 14:32:16 ac28cf19c067: Waiting 14:32:16 ca983d60f3e2: Waiting 14:32:16 5c2a1cbceb83: Waiting 14:32:16 caf521ccaac6: Download complete 14:32:16 5c2a1cbceb83: Verifying Checksum 14:32:16 5c2a1cbceb83: Download complete 14:32:16 a8d5f1318db7: Verifying Checksum 14:32:16 a8d5f1318db7: Download complete 14:32:16 c427282e49a2: Verifying Checksum 14:32:16 c427282e49a2: Download complete 14:32:16 3ead6fa29328: Verifying Checksum 14:32:16 3ead6fa29328: Download complete 14:32:16 0714d37db230: Verifying Checksum 14:32:16 0714d37db230: Download complete 14:32:16 ac28cf19c067: Verifying Checksum 14:32:16 ac28cf19c067: Download complete 14:32:16 ca983d60f3e2: Verifying Checksum 14:32:16 ca983d60f3e2: Download complete 14:32:16 9f894cec8388: Verifying Checksum 14:32:16 9f894cec8388: Download complete 14:32:16 1fe172e4850f: Verifying Checksum 14:32:16 1fe172e4850f: Download complete 14:32:17 1827001aaf11: Verifying Checksum 14:32:17 1827001aaf11: Download complete 14:32:17 1fe172e4850f: Pull complete 14:32:17 caf521ccaac6: Pull complete 14:32:18 3ead6fa29328: Pull complete 14:32:18 5c2a1cbceb83: Pull complete 14:32:19 a8d5f1318db7: Pull complete 14:32:19 c427282e49a2: Pull complete 14:32:21 1827001aaf11: Pull complete 14:32:21 0714d37db230: Pull complete 14:32:21 ac28cf19c067: Pull complete 14:32:21 ca983d60f3e2: Pull complete 14:32:21 9f894cec8388: Pull complete 14:32:21 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 14:32:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 14:32:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 14:32:21 prd-ubuntu20.04-docker-8c-8g-40500 does not seem to be running inside a container 14:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-377 -v /w/workspace/gexfoundry_device-mqtt-go_PR-377:/w/workspace/gexfoundry_device-mqtt-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-377@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-devops/py-git-semver:latest cat 14:32:23 $ docker top 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 -eo pid,comm 14:32:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:32:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:32:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:23 [ssh-agent] Looking for ssh-agent implementation... 14:32:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:23 $ docker exec 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 ssh-agent 14:32:23 SSH_AUTH_SOCK=/tmp/ssh-RAWY7cG3ouHm/agent.34 14:32:23 SSH_AGENT_PID=41 14:32:23 Running ssh-add (command line suppressed) 14:32:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/private_key_9156314850346936123.key (/w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/private_key_9156314850346936123.key) 14:32:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:24 + git tag --points-at HEAD [Pipeline] } 14:32:24 $ docker exec --env ******** --env ******** 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 ssh-agent -k 14:32:24 unset SSH_AUTH_SOCK; 14:32:24 unset SSH_AGENT_PID; 14:32:24 echo Agent pid 41 killed; 14:32:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:32:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:32:24 [ssh-agent] Looking for ssh-agent implementation... 14:32:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:32:24 $ docker exec 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 ssh-agent 14:32:24 SSH_AUTH_SOCK=/tmp/ssh-BOzqP0u2FtRR/agent.75 14:32:24 SSH_AGENT_PID=81 14:32:24 Running ssh-add (command line suppressed) 14:32:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/private_key_3258228825874737011.key (/w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/private_key_3258228825874737011.key) 14:32:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:32:25 + git semver init 14:32:25 2022-05-05 14:32:25,397 [run_init] DEBUG init version:0.0.0 force:False 14:32:25 2022-05-05 14:32:25,398 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver 14:32:25 2022-05-05 14:32:25,399 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver 14:32:25 2022-05-05 14:32:25,400 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-377, universal_newlines=False, shell=None, istream=None) 14:32:26 2022-05-05 14:32:26,242 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-377/.git/info/exclude 14:32:26 2022-05-05 14:32:26,243 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver/PR-377 with force:False 14:32:26 2022-05-05 14:32:26,243 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver/PR-377 14:32:26 2022-05-05 14:32:26,247 [execute] INFO git cat-file --batch-check 14:32:26 2022-05-05 14:32:26,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) 14:32:26 2022-05-05 14:32:26,254 [execute] INFO git cat-file --batch 14:32:26 2022-05-05 14:32:26,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver, universal_newlines=False, shell=None, istream=) 14:32:26 2022-05-05 14:32:26,258 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-377/.semver/PR-377 14:32:26 0.0.0 [Pipeline] } 14:32:26 $ docker exec --env ******** --env ******** 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 ssh-agent -k 14:32:26 unset SSH_AUTH_SOCK; 14:32:26 unset SSH_AGENT_PID; 14:32:26 echo Agent pid 81 killed; 14:32:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:32:26 + git semver [Pipeline] } 14:32:27 $ docker stop --time=1 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 14:32:28 $ docker rm -f 275ea5fc10de05c0a5ce5fa9f761a64011c28453a6410fe5225013769569fe85 [Pipeline] // withDockerContainer [Pipeline] sh 14:32:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:32:29 Stashed 1 file(s) [Pipeline] echo 14:32:29 [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 14:32:29 provisioning config files... 14:32:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/config8038222659100077992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:30 ---> docker-login.sh 14:32:30 nexus3.edgexfoundry.org:10001 14:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:30 Configure a credential helper to remove this warning. See 14:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:30 14:32:30 Login Succeeded 14:32:30 nexus3.edgexfoundry.org:10002 14:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:30 Configure a credential helper to remove this warning. See 14:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:30 14:32:30 Login Succeeded 14:32:30 nexus3.edgexfoundry.org:10003 14:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:30 Configure a credential helper to remove this warning. See 14:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:30 14:32:30 Login Succeeded 14:32:30 nexus3.edgexfoundry.org:10004 14:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:30 Configure a credential helper to remove this warning. See 14:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:30 14:32:30 Login Succeeded 14:32:30 docker.io 14:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:32:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:32:31 Configure a credential helper to remove this warning. See 14:32:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:32:31 14:32:31 Login Succeeded 14:32:31 ---> docker-login.sh ends [Pipeline] } 14:32:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:32:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:32:31 ========================================================= 14:32:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 14:32:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:32:31 + 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 . 14:32:31 Sending build context to Docker daemon 5.869MB 14:32:31 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:32:31 Step 2/12 : FROM ${BASE} AS builder 14:32:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 14:32:31 59bf1c3509f3: Pulling fs layer 14:32:31 666ba61612fd: Pulling fs layer 14:32:31 8ed8ca486205: Pulling fs layer 14:32:31 4fe6c5a15a65: Pulling fs layer 14:32:31 22a0e8bec74d: Pulling fs layer 14:32:31 ca2b28591e48: Pulling fs layer 14:32:31 a51346096db8: Pulling fs layer 14:32:31 daebc70d1ce1: Pulling fs layer 14:32:31 0e18a0eac166: Pulling fs layer 14:32:31 ca2b28591e48: Waiting 14:32:31 a51346096db8: Waiting 14:32:31 4fe6c5a15a65: Waiting 14:32:31 22a0e8bec74d: Waiting 14:32:31 0e18a0eac166: Waiting 14:32:31 8ed8ca486205: Verifying Checksum 14:32:31 8ed8ca486205: Download complete 14:32:31 666ba61612fd: Verifying Checksum 14:32:31 666ba61612fd: Download complete 14:32:31 22a0e8bec74d: Verifying Checksum 14:32:31 22a0e8bec74d: Download complete 14:32:31 ca2b28591e48: Verifying Checksum 14:32:31 ca2b28591e48: Download complete 14:32:31 59bf1c3509f3: Download complete 14:32:31 a51346096db8: Verifying Checksum 14:32:31 a51346096db8: Download complete 14:32:31 daebc70d1ce1: Verifying Checksum 14:32:31 daebc70d1ce1: Download complete 14:32:31 59bf1c3509f3: Pull complete 14:32:32 666ba61612fd: Pull complete 14:32:32 8ed8ca486205: Pull complete 14:32:32 0e18a0eac166: Verifying Checksum 14:32:32 0e18a0eac166: Download complete 14:32:32 4fe6c5a15a65: Verifying Checksum 14:32:32 4fe6c5a15a65: Download complete 14:32:36 4fe6c5a15a65: Pull complete 14:32:36 22a0e8bec74d: Pull complete 14:32:36 ca2b28591e48: Pull complete 14:32:36 a51346096db8: Pull complete 14:32:36 daebc70d1ce1: Pull complete 14:32:38 0e18a0eac166: Pull complete 14:32:38 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 14:32:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 14:32:38 ---> f018257e8ee9 14:32:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:32:40 ---> Running in 8e9c13172f52 14:32:40 Removing intermediate container 8e9c13172f52 14:32:40 ---> 998870ef844c 14:32:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:32:40 ---> Running in ff0ea5772088 14:32:40 Removing intermediate container ff0ea5772088 14:32:40 ---> dc45b99530ac 14:32:40 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:32:40 ---> Running in e11fdbb81945 14:32:41 Removing intermediate container e11fdbb81945 14:32:41 ---> 54e8fe44310d 14:32:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:32:41 ---> Running in 34955a9b9213 14:32:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:32:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:32:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:32:42 (2/4) Installing libedit (20210910.3.1-r0) 14:32:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:32:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:32:43 Executing busybox-1.34.1-r3.trigger 14:32:43 OK: 224 MiB in 56 packages 14:32:43 Removing intermediate container 34955a9b9213 14:32:43 ---> 0d0d81839f02 14:32:43 Step 7/12 : WORKDIR /device-mqtt-go 14:32:43 ---> Running in 3e5bd7923a46 14:32:43 Removing intermediate container 3e5bd7923a46 14:32:43 ---> 2fff8c78ce6d 14:32:43 Step 8/12 : COPY go.mod vendor* ./ 14:32:43 ---> cb119ea97609 14:32:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:32:43 ---> Running in 51b89ce74a6a 14:32:44 Still waiting to schedule task 14:32:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:33:02 Removing intermediate container 51b89ce74a6a 14:33:02 ---> 3b00317181ce 14:33:02 Step 10/12 : COPY . . 14:33:02 ---> 9fe509479165 14:33:02 Step 11/12 : ARG MAKE='make build' 14:33:02 ---> Running in 5f92c8f9b62d 14:33:02 Removing intermediate container 5f92c8f9b62d 14:33:02 ---> 69014b7ba00c 14:33:02 Step 12/12 : RUN $MAKE 14:33:02 ---> Running in e530d32d41c7 14:33:02 noop 14:33:02 Removing intermediate container e530d32d41c7 14:33:02 ---> c6a7fb84e263 14:33:02 Successfully built c6a7fb84e263 14:33:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:33:02 + docker inspect -f . ci-base-image-x86_64 14:33:02 . [Pipeline] withDockerContainer 14:33:02 prd-ubuntu20.04-docker-8c-8g-40500 does not seem to be running inside a container 14:33:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-377 -v /w/workspace/gexfoundry_device-mqtt-go_PR-377:/w/workspace/gexfoundry_device-mqtt-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-377@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:33:03 $ docker top e887d6d4a2f02529489b966826dd46c4cd181dfd4bcba708492dd9ead798f10c -eo pid,comm [Pipeline] { [Pipeline] sh 14:33:03 + go version 14:33:03 go version go1.17.6 linux/amd64 [Pipeline] } 14:33:03 $ docker stop --time=1 e887d6d4a2f02529489b966826dd46c4cd181dfd4bcba708492dd9ead798f10c 14:33:04 $ docker rm -f e887d6d4a2f02529489b966826dd46c4cd181dfd4bcba708492dd9ead798f10c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:33:05 + docker inspect -f . ci-base-image-x86_64 14:33:05 . [Pipeline] withDockerContainer 14:33:05 prd-ubuntu20.04-docker-8c-8g-40500 does not seem to be running inside a container 14:33:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-377 -v /w/workspace/gexfoundry_device-mqtt-go_PR-377:/w/workspace/gexfoundry_device-mqtt-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-377@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:33:06 $ docker top e0f6bd3193d1abd8fd8416da76ac8ba9124664152bd8ed79e973ce060ae0dd47 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:33:06 + make test 14:33:06 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:33:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:33:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:33:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 14:33:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:33:22 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:33:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:33:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:33:25 ./bin/test-attribution-txt.sh [Pipeline] echo 14:33:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:33:26 $ docker stop --time=1 e0f6bd3193d1abd8fd8416da76ac8ba9124664152bd8ed79e973ce060ae0dd47 14:33:27 $ docker rm -f e0f6bd3193d1abd8fd8416da76ac8ba9124664152bd8ed79e973ce060ae0dd47 [Pipeline] // withDockerContainer [Pipeline] sh 14:33:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:33:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:33:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:33:29 + ls -al . 14:33:29 total 176 14:33:29 drwxrwxr-x 10 jenkins jenkins 4096 May 5 14:33 . 14:33:29 drwxrwxr-x 4 jenkins jenkins 4096 May 5 14:32 .. 14:33:29 -rw-rw-r-- 1 jenkins jenkins 140 May 5 14:32 .dockerignore 14:33:29 drwxrwxr-x 8 jenkins jenkins 4096 May 5 14:32 .git 14:33:29 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:32 .github 14:33:29 -rw-rw-r-- 1 jenkins jenkins 329 May 5 14:32 .gitignore 14:33:29 -rw-rw-r-- 1 jenkins jenkins 41 May 5 14:32 .golangci.yml 14:33:29 drwxr-xr-x 3 jenkins jenkins 4096 May 5 14:32 .semver 14:33:29 -rw-rw-r-- 1 jenkins jenkins 8656 May 5 14:32 Attribution.txt 14:33:29 -rw-rw-r-- 1 jenkins jenkins 7447 May 5 14:32 CHANGELOG.md 14:33:29 -rw-rw-r-- 1 jenkins jenkins 1930 May 5 14:32 Dockerfile 14:33:29 -rw-rw-r-- 1 jenkins jenkins 677 May 5 14:32 GOVERNANCE.md 14:33:29 -rw-rw-r-- 1 jenkins jenkins 678 May 5 14:32 Jenkinsfile 14:33:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 14:32 LICENSE 14:33:29 -rw-rw-r-- 1 jenkins jenkins 1930 May 5 14:32 Makefile 14:33:29 -rw-rw-r-- 1 jenkins jenkins 620 May 5 14:32 OWNERS.md 14:33:29 -rw-rw-r-- 1 jenkins jenkins 2501 May 5 14:32 README.md 14:33:29 -rw-rw-r-- 1 jenkins jenkins 5 May 5 14:32 VERSION 14:33:29 drwxrwxr-x 2 jenkins jenkins 4096 May 5 14:32 bin 14:33:29 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:32 cmd 14:33:29 -rw-r--r-- 1 jenkins jenkins 17887 May 5 14:33 coverage.out 14:33:29 -rw-rw-r-- 1 jenkins jenkins 3309 May 5 14:32 go.mod 14:33:29 -rw-rw-r-- 1 jenkins jenkins 35490 May 5 14:32 go.sum 14:33:29 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:32 internal 14:33:29 drwxrwxr-x 2 jenkins jenkins 4096 May 5 14:32 mock 14:33:29 drwxrwxr-x 4 jenkins jenkins 4096 May 5 14:32 snap 14:33:29 -rw-rw-r-- 1 jenkins jenkins 227 May 5 14:32 version.go [Pipeline] isUnix [Pipeline] sh 14:33:30 + 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=075872d028f988334355ba10b6757d4a91a9a369 --label arch=amd64 --label version=0.0.0 . 14:33:30 Sending build context to Docker daemon 5.887MB 14:33:30 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 14:33:30 Step 2/24 : FROM ${BASE} AS builder 14:33:30 ---> c6a7fb84e263 14:33:30 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:33:30 ---> Running in 25f34e932521 14:33:30 Removing intermediate container 25f34e932521 14:33:30 ---> 8bf6e06fd94a 14:33:30 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 14:33:30 ---> Running in 7f9ec7b8a803 14:33:30 Removing intermediate container 7f9ec7b8a803 14:33:30 ---> a64db31686c8 14:33:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:33:30 ---> Running in 9b0bc3fd6433 14:33:30 Removing intermediate container 9b0bc3fd6433 14:33:30 ---> 022fa3cf2b2c 14:33:30 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:33:31 ---> Running in 91f0af12c8b3 14:33:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 14:33:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 14:33:32 OK: 224 MiB in 56 packages 14:33:32 Removing intermediate container 91f0af12c8b3 14:33:32 ---> 0b7ca5a6f5dc 14:33:32 Step 7/24 : WORKDIR /device-mqtt-go 14:33:32 ---> Running in e0027ae18d8f 14:33:33 Removing intermediate container e0027ae18d8f 14:33:33 ---> afd1d404ab4b 14:33:33 Step 8/24 : COPY go.mod vendor* ./ 14:33:33 ---> a8c3ad04e015 14:33:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:33:33 ---> Running in a2209a27e7a8 14:33:34 Removing intermediate container a2209a27e7a8 14:33:34 ---> 571dbd81e19f 14:33:34 Step 10/24 : COPY . . 14:33:34 ---> 67e3f266a3e8 14:33:34 Step 11/24 : ARG MAKE='make build' 14:33:34 ---> Running in 23cf5b851fe7 14:33:34 Removing intermediate container 23cf5b851fe7 14:33:34 ---> 92017dd149f5 14:33:34 Step 12/24 : RUN $MAKE 14:33:34 ---> Running in 0119fd54ef58 14:33:34 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 14:33:56 Removing intermediate container 0119fd54ef58 14:33:56 ---> 6332cf566b19 14:33:56 Step 13/24 : FROM alpine:3.14 14:33:56 3.14: Pulling from library/alpine 14:33:56 8663204ce13b: Pulling fs layer 14:33:56 8663204ce13b: Verifying Checksum 14:33:56 8663204ce13b: Download complete 14:33:56 8663204ce13b: Pull complete 14:33:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:33:56 Status: Downloaded newer image for alpine:3.14 14:33:56 ---> e04c818066af 14:33:56 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:33:56 ---> Running in 64d8f3a6c91a 14:33:56 Removing intermediate container 64d8f3a6c91a 14:33:56 ---> 5aa464cc569f 14:33:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:33:56 ---> Running in b86ce4515897 14:33:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:33:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:33:56 (1/6) Installing dumb-init (1.2.5-r1) 14:33:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:33:56 (3/6) Installing libsodium (1.0.18-r0) 14:33:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:33:56 (5/6) Installing libzmq (4.3.4-r0) 14:33:56 (6/6) Installing zeromq (4.3.4-r0) 14:33:56 Executing busybox-1.33.1-r7.trigger 14:33:56 OK: 8 MiB in 20 packages 14:33:56 Removing intermediate container b86ce4515897 14:33:56 ---> abd9719a4fe3 14:33:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 14:33:56 ---> b58d5297cca8 14:33:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 14:33:56 ---> 99e5b0ffdfb9 14:33:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:33:56 ---> 9cfa9b11eca8 14:33:56 Step 19/24 : EXPOSE 59982 14:33:56 ---> Running in 37effdf5e6b6 14:33:56 Removing intermediate container 37effdf5e6b6 14:33:56 ---> cabf850324f3 14:33:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 14:33:57 ---> Running in b05684954d86 14:33:57 Removing intermediate container b05684954d86 14:33:57 ---> cec1292ddbb8 14:33:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:33:57 ---> Running in 5afa5af262b6 14:33:57 Removing intermediate container 5afa5af262b6 14:33:57 ---> e8ab570ee669 14:33:57 Step 22/24 : LABEL arch=amd64 14:33:57 ---> Running in 2fa491b38476 14:33:57 Removing intermediate container 2fa491b38476 14:33:57 ---> 4446ce87b728 14:33:57 Step 23/24 : LABEL git_sha=075872d028f988334355ba10b6757d4a91a9a369 14:33:57 ---> Running in 5d1fff72039a 14:33:57 Removing intermediate container 5d1fff72039a 14:33:57 ---> 9e658c8dba6a 14:33:57 Step 24/24 : LABEL version=0.0.0 14:33:57 ---> Running in bd23ad1d764f 14:33:57 Removing intermediate container bd23ad1d764f 14:33:57 ---> 4461171d009c 14:33:57 [Warning] One or more build-args [ARCH] were not consumed 14:33:57 Successfully built 4461171d009c 14:33:57 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 14:33:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:33:58 14:33:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:33:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:33:58 latest: Pulling from edgex-lftools-log-publisher 14:33:58 5eb5b503b376: Pulling fs layer 14:33:58 5c69ac0246d0: Pulling fs layer 14:33:58 ec43610c2a17: Pulling fs layer 14:33:58 3a2ae6a8a46f: Pulling fs layer 14:33:58 33b1e0a273af: Pulling fs layer 14:33:58 3a2ae6a8a46f: Waiting 14:33:58 5d3b04190fa2: Pulling fs layer 14:33:58 2f39f015ded8: Pulling fs layer 14:33:58 33b1e0a273af: Waiting 14:33:58 5d3b04190fa2: Waiting 14:33:58 5c69ac0246d0: Download complete 14:33:58 3a2ae6a8a46f: Verifying Checksum 14:33:58 3a2ae6a8a46f: Download complete 14:33:58 33b1e0a273af: Verifying Checksum 14:33:58 33b1e0a273af: Download complete 14:33:58 ec43610c2a17: Verifying Checksum 14:33:58 ec43610c2a17: Download complete 14:33:58 5d3b04190fa2: Verifying Checksum 14:33:58 5d3b04190fa2: Download complete 14:33:59 5eb5b503b376: Verifying Checksum 14:33:59 5eb5b503b376: Download complete 14:33:59 2f39f015ded8: Download complete 14:34:00 5eb5b503b376: Pull complete 14:34:00 5c69ac0246d0: Pull complete 14:34:00 ec43610c2a17: Pull complete 14:34:01 3a2ae6a8a46f: Pull complete 14:34:01 33b1e0a273af: Pull complete 14:34:01 5d3b04190fa2: Pull complete 14:34:05 2f39f015ded8: Pull complete 14:34:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:34:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:34:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:34:05 prd-ubuntu20.04-docker-8c-8g-40500 does not seem to be running inside a container 14:34:05 $ 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-377 -v /w/workspace/gexfoundry_device-mqtt-go_PR-377:/w/workspace/gexfoundry_device-mqtt-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-377@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:34:07 $ docker top 99d72cd1b02e7cdcb34cecc571012530de08d29515e9923f1cc1df3aca614c1b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:08 ---> job-cost.sh 14:34:08 lf-activate-venv: SKIPPING 14:34:08 INFO: No Stack... 14:34:08 INFO: Retrieving Pricing Info for: v3-standard-8 14:34:09 INFO: Archiving Costs [Pipeline] sh 14:34:09 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives/cost.csv 14:34:09 + cut -d, -f6 [Pipeline] lock 14:34:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] 14:34:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] did not exist. Created. 14:34:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:34:09 + echo total: 0.2199999988079071 [Pipeline] stash 14:34:09 Stashed 1 file(s) [Pipeline] } 14:34:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:34:09 $ docker stop --time=1 99d72cd1b02e7cdcb34cecc571012530de08d29515e9923f1cc1df3aca614c1b 14:34:11 $ docker rm -f 99d72cd1b02e7cdcb34cecc571012530de08d29515e9923f1cc1df3aca614c1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:34:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40501 in /w/workspace/gexfoundry_device-mqtt-go_PR-377 [Pipeline] { [Pipeline] ws 14:34:18 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 14:34:19 Selected Git installation does not exist. Using Default 14:34:19 The recommended git tool is: NONE 14:34:25 using credential edgex-jenkins-ssh 14:34:25 Cloning the remote Git repository 14:34:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:34:25 > git init /w/workspace/device-mqtt-go/1 # timeout=10 14:34:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:34:25 > git --version # timeout=10 14:34:25 > git --version # 'git version 2.25.1' 14:34:25 using GIT_SSH to set credentials SSH Credentials for GitHub 14:34:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:34:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:34:27 Merging remotes/origin/main commit 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe into PR head commit 075872d028f988334355ba10b6757d4a91a9a369 14:34:27 Merge succeeded, producing 075872d028f988334355ba10b6757d4a91a9a369 14:34:27 Checking out Revision 075872d028f988334355ba10b6757d4a91a9a369 (PR-377) 14:34:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:34:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:34:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:34:27 using GIT_SSH to set credentials SSH Credentials for GitHub 14:34:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:34:27 > git config core.sparsecheckout # timeout=10 14:34:27 > git checkout -f 075872d028f988334355ba10b6757d4a91a9a369 # timeout=10 14:34:27 > git remote # timeout=10 14:34:27 > git config --get remote.origin.url # timeout=10 14:34:27 using GIT_SSH to set credentials SSH Credentials for GitHub 14:34:27 > git merge 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe # timeout=10 14:34:27 > git rev-parse HEAD^{commit} # timeout=10 14:34:27 > git config core.sparsecheckout # timeout=10 14:34:27 > git checkout -f 075872d028f988334355ba10b6757d4a91a9a369 # timeout=10 14:34:31 Commit message: "docs(snap): remove outdated release artifacts part" 14:34:32 > git --version # timeout=10 14:34:32 > git --version # 'git version 2.25.1' 14:34:32 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:34:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:34:33 % Total % Received % Xferd Average Speed Time Time Time Current 14:34:33 Dload Upload Total Spent Left Speed 14:34:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91100 100 11843 100 11843 0 0 91100 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh 14:34:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:34:34 + sudo tee /etc/docker/daemon.new 14:34:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:34:34 { 14:34:34 "registry-mirrors": [ 14:34:34 "https://nexus3.edgexfoundry.org:10001" 14:34:34 ], 14:34:34 "bip": "10.250.0.254/24", 14:34:34 "hosts": [ 14:34:34 "tcp://0.0.0.0:5555", 14:34:34 "unix:///var/run/docker.sock" 14:34:34 ], 14:34:34 "mtu": 1458, 14:34:34 "selinux-enabled": true, 14:34:34 "seccomp-profile": "/etc/docker/seccomp.json" 14:34:34 } [Pipeline] sh 14:34:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:34:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:53 provisioning config files... 14:34:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5548438542860654068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:53 ---> docker-login.sh 14:34:53 nexus3.edgexfoundry.org:10001 14:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:54 Configure a credential helper to remove this warning. See 14:34:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:54 14:34:54 Login Succeeded 14:34:54 nexus3.edgexfoundry.org:10002 14:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:55 Configure a credential helper to remove this warning. See 14:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:55 14:34:55 Login Succeeded 14:34:55 nexus3.edgexfoundry.org:10003 14:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:55 Configure a credential helper to remove this warning. See 14:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:55 14:34:55 Login Succeeded 14:34:55 nexus3.edgexfoundry.org:10004 14:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:56 Configure a credential helper to remove this warning. See 14:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:56 14:34:56 Login Succeeded 14:34:56 docker.io 14:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:56 Configure a credential helper to remove this warning. See 14:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:56 14:34:56 Login Succeeded 14:34:57 ---> docker-login.sh ends [Pipeline] } 14:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:34:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:34:57 ========================================================= 14:34:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 14:34:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:34:57 + 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 . 14:34:58 Sending build context to Docker daemon 3.045MB 14:34:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 14:34:58 Step 2/12 : FROM ${BASE} AS builder 14:34:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:34:58 9b3977197b4f: Pulling fs layer 14:34:58 1a89e8eeedd5: Pulling fs layer 14:34:58 94645a83ff95: Pulling fs layer 14:34:58 3f3a8bcf1eab: Pulling fs layer 14:34:58 0c92f367c5e7: Pulling fs layer 14:34:58 3096ccb668a1: Pulling fs layer 14:34:58 e8cf19c19ddd: Pulling fs layer 14:34:58 a4caa8a26152: Pulling fs layer 14:34:58 3096ccb668a1: Waiting 14:34:58 e8cf19c19ddd: Waiting 14:34:58 3f3a8bcf1eab: Waiting 14:34:58 0c92f367c5e7: Waiting 14:34:58 a4caa8a26152: Waiting 14:34:58 94645a83ff95: Verifying Checksum 14:34:58 94645a83ff95: Download complete 14:34:58 1a89e8eeedd5: Verifying Checksum 14:34:58 1a89e8eeedd5: Download complete 14:34:58 0c92f367c5e7: Verifying Checksum 14:34:58 0c92f367c5e7: Download complete 14:34:58 3096ccb668a1: Verifying Checksum 14:34:58 3096ccb668a1: Download complete 14:34:58 9b3977197b4f: Verifying Checksum 14:34:58 9b3977197b4f: Download complete 14:34:58 e8cf19c19ddd: Verifying Checksum 14:34:58 e8cf19c19ddd: Download complete 14:34:59 9b3977197b4f: Pull complete 14:34:59 1a89e8eeedd5: Pull complete 14:35:00 94645a83ff95: Pull complete 14:35:00 a4caa8a26152: Verifying Checksum 14:35:00 a4caa8a26152: Download complete 14:35:01 3f3a8bcf1eab: Verifying Checksum 14:35:01 3f3a8bcf1eab: Download complete 14:35:13 3f3a8bcf1eab: Pull complete 14:35:13 0c92f367c5e7: Pull complete 14:35:13 3096ccb668a1: Pull complete 14:35:13 e8cf19c19ddd: Pull complete 14:35:20 a4caa8a26152: Pull complete 14:35:20 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 14:35:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 14:35:20 ---> 725f1c02e7f9 14:35:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:35:21 ---> Running in fbfd291c905f 14:35:21 Removing intermediate container fbfd291c905f 14:35:21 ---> d5c5232a677e 14:35:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:35:21 ---> Running in 138b8fbf53ce 14:35:22 Removing intermediate container 138b8fbf53ce 14:35:22 ---> 888aa2a30b32 14:35:22 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:35:22 ---> Running in de7d8fb191e5 14:35:24 Removing intermediate container de7d8fb191e5 14:35:24 ---> e4e5aa959e2d 14:35:24 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:35:24 ---> Running in 35e4ba64d444 14:35:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:35:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:35:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 14:35:27 (2/4) Installing libedit (20210910.3.1-r0) 14:35:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 14:35:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 14:35:27 Executing busybox-1.34.1-r3.trigger 14:35:27 OK: 224 MiB in 56 packages 14:35:28 Removing intermediate container 35e4ba64d444 14:35:28 ---> eb049546a6bc 14:35:28 Step 7/12 : WORKDIR /device-mqtt-go 14:35:28 ---> Running in 3f081774f225 14:35:28 Removing intermediate container 3f081774f225 14:35:28 ---> a063c4850e19 14:35:28 Step 8/12 : COPY go.mod vendor* ./ 14:35:29 ---> 3f81667ba5fb 14:35:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:35:29 ---> Running in f6f1a6442e12 14:36:16 Removing intermediate container f6f1a6442e12 14:36:16 ---> 90ab4fc948f3 14:36:16 Step 10/12 : COPY . . 14:36:16 ---> ccd153e602e8 14:36:16 Step 11/12 : ARG MAKE='make build' 14:36:16 ---> Running in c951885f0b62 14:36:16 Removing intermediate container c951885f0b62 14:36:16 ---> a0dec478e4a3 14:36:16 Step 12/12 : RUN $MAKE 14:36:16 ---> Running in 7a5f243f4201 14:36:16 noop 14:36:16 Removing intermediate container 7a5f243f4201 14:36:16 ---> aa28e36943da 14:36:16 Successfully built aa28e36943da 14:36:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:36:16 + docker inspect -f . ci-base-image-arm64 14:36:16 . [Pipeline] withDockerContainer 14:36:16 prd-ubuntu20.04-docker-arm64-4c-16g-40501 does not seem to be running inside a container 14:36:16 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 14:36:18 $ docker top 2498dbb0ac7c425713d433389e5c9a2f6f0d9b5bd063e6206551f46d557b0597 -eo pid,comm [Pipeline] { [Pipeline] sh 14:36:19 + go version 14:36:19 go version go1.17.6 linux/arm64 [Pipeline] } 14:36:19 $ docker stop --time=1 2498dbb0ac7c425713d433389e5c9a2f6f0d9b5bd063e6206551f46d557b0597 14:36:20 $ docker rm -f 2498dbb0ac7c425713d433389e5c9a2f6f0d9b5bd063e6206551f46d557b0597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:36:21 + docker inspect -f . ci-base-image-arm64 14:36:21 . [Pipeline] withDockerContainer 14:36:21 prd-ubuntu20.04-docker-arm64-4c-16g-40501 does not seem to be running inside a container 14:36:21 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 14:36:23 $ docker top 2e8bed6f384af23f9968bcc25d638b34ae7099aa13b0896630b5f12727278f06 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:36:24 + make test 14:36:24 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:36:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:37:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:37:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 14:37:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:37:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:37:47 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:38:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:38:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:38:09 ./bin/test-attribution-txt.sh [Pipeline] echo 14:38:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:38:11 $ docker stop --time=1 2e8bed6f384af23f9968bcc25d638b34ae7099aa13b0896630b5f12727278f06 14:38:12 $ docker rm -f 2e8bed6f384af23f9968bcc25d638b34ae7099aa13b0896630b5f12727278f06 [Pipeline] // withDockerContainer [Pipeline] sh 14:38:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:38:13 Warning: overwriting stash ‘coverage-report’ 14:38:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:38:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:38:15 + ls -al . 14:38:15 total 172 14:38:15 drwxrwxr-x 9 jenkins jenkins 4096 May 5 14:38 . 14:38:15 drwxrwxr-x 4 jenkins jenkins 4096 May 5 14:34 .. 14:38:15 -rw-rw-r-- 1 jenkins jenkins 140 May 5 14:34 .dockerignore 14:38:15 drwxrwxr-x 8 jenkins jenkins 4096 May 5 14:34 .git 14:38:15 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:34 .github 14:38:15 -rw-rw-r-- 1 jenkins jenkins 329 May 5 14:34 .gitignore 14:38:15 -rw-rw-r-- 1 jenkins jenkins 41 May 5 14:34 .golangci.yml 14:38:15 -rw-rw-r-- 1 jenkins jenkins 8656 May 5 14:34 Attribution.txt 14:38:15 -rw-rw-r-- 1 jenkins jenkins 7447 May 5 14:34 CHANGELOG.md 14:38:15 -rw-rw-r-- 1 jenkins jenkins 1930 May 5 14:34 Dockerfile 14:38:15 -rw-rw-r-- 1 jenkins jenkins 677 May 5 14:34 GOVERNANCE.md 14:38:15 -rw-rw-r-- 1 jenkins jenkins 678 May 5 14:34 Jenkinsfile 14:38:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 14:34 LICENSE 14:38:15 -rw-rw-r-- 1 jenkins jenkins 1930 May 5 14:34 Makefile 14:38:15 -rw-rw-r-- 1 jenkins jenkins 620 May 5 14:34 OWNERS.md 14:38:15 -rw-rw-r-- 1 jenkins jenkins 2501 May 5 14:34 README.md 14:38:15 -rw-rw-r-- 1 jenkins jenkins 5 May 5 14:32 VERSION 14:38:15 drwxrwxr-x 2 jenkins jenkins 4096 May 5 14:34 bin 14:38:15 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:34 cmd 14:38:15 -rw-r--r-- 1 jenkins jenkins 17887 May 5 14:37 coverage.out 14:38:15 -rw-rw-r-- 1 jenkins jenkins 3309 May 5 14:34 go.mod 14:38:15 -rw-rw-r-- 1 jenkins jenkins 35490 May 5 14:34 go.sum 14:38:15 drwxrwxr-x 3 jenkins jenkins 4096 May 5 14:34 internal 14:38:15 drwxrwxr-x 2 jenkins jenkins 4096 May 5 14:34 mock 14:38:15 drwxrwxr-x 4 jenkins jenkins 4096 May 5 14:34 snap 14:38:15 -rw-rw-r-- 1 jenkins jenkins 227 May 5 14:34 version.go [Pipeline] isUnix [Pipeline] sh 14:38:15 + 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=075872d028f988334355ba10b6757d4a91a9a369 --label arch=arm64 --label version=0.0.0 . 14:38:16 Sending build context to Docker daemon 3.063MB 14:38:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 14:38:16 Step 2/24 : FROM ${BASE} AS builder 14:38:16 ---> aa28e36943da 14:38:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:38:16 ---> Running in 40f216c80b65 14:38:16 Removing intermediate container 40f216c80b65 14:38:16 ---> 5bd7c3a4d30a 14:38:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 14:38:16 ---> Running in a56471b82fe0 14:38:16 Removing intermediate container a56471b82fe0 14:38:16 ---> c5b9e3b6e9b2 14:38:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:38:17 ---> Running in 5bf642190d8e 14:38:19 Removing intermediate container 5bf642190d8e 14:38:19 ---> f22a3931f0f7 14:38:19 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:38:19 ---> Running in babfaf5ebf41 14:38:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 14:38:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 14:38:21 OK: 224 MiB in 56 packages 14:38:22 Removing intermediate container babfaf5ebf41 14:38:22 ---> 51e79b026641 14:38:22 Step 7/24 : WORKDIR /device-mqtt-go 14:38:22 ---> Running in 53d748244d3d 14:38:22 Removing intermediate container 53d748244d3d 14:38:22 ---> 475c0613b66e 14:38:22 Step 8/24 : COPY go.mod vendor* ./ 14:38:23 ---> 9a9d5aaedd8d 14:38:23 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:38:23 ---> Running in 16640d7ba592 14:38:25 Removing intermediate container 16640d7ba592 14:38:25 ---> f9e4a7d3ec15 14:38:25 Step 10/24 : COPY . . 14:38:26 ---> acd37403fe09 14:38:26 Step 11/24 : ARG MAKE='make build' 14:38:26 ---> Running in df314a75858f 14:38:26 Removing intermediate container df314a75858f 14:38:26 ---> 7de89e2a9d4e 14:38:26 Step 12/24 : RUN $MAKE 14:38:26 ---> Running in 651f2b9628bb 14:38: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 14:40:34 Removing intermediate container 651f2b9628bb 14:40:34 ---> b6907c56d569 14:40:34 Step 13/24 : FROM alpine:3.14 14:40:34 3.14: Pulling from library/alpine 14:40:34 455c02918c45: Pulling fs layer 14:40:34 455c02918c45: Download complete 14:40:34 455c02918c45: Pull complete 14:40:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 14:40:34 Status: Downloaded newer image for alpine:3.14 14:40:34 ---> ac73e934f311 14:40:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:40:34 ---> Running in 4026e06b2fc2 14:40:34 Removing intermediate container 4026e06b2fc2 14:40:34 ---> 2341527d904b 14:40:34 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 14:40:34 ---> Running in 348b9d847bdf 14:40:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:40:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:40:34 (1/6) Installing dumb-init (1.2.5-r1) 14:40:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:40:34 (3/6) Installing libsodium (1.0.18-r0) 14:40:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:40:34 (5/6) Installing libzmq (4.3.4-r0) 14:40:34 (6/6) Installing zeromq (4.3.4-r0) 14:40:34 Executing busybox-1.33.1-r7.trigger 14:40:34 OK: 8 MiB in 20 packages 14:40:34 Removing intermediate container 348b9d847bdf 14:40:34 ---> 863d6407fe93 14:40:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 14:40:34 ---> 9d8bf41ad855 14:40:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 14:40:34 ---> 7c070b0422c1 14:40:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:40:34 ---> 80bd2e42b8f7 14:40:34 Step 19/24 : EXPOSE 59982 14:40:34 ---> Running in 2bd8fbc7aa05 14:40:34 Removing intermediate container 2bd8fbc7aa05 14:40:34 ---> 70fe58c44662 14:40:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 14:40:34 ---> Running in 87405e4898e3 14:40:34 Removing intermediate container 87405e4898e3 14:40:34 ---> 75a651914233 14:40:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:40:34 ---> Running in bfed55952c23 14:40:34 Removing intermediate container bfed55952c23 14:40:34 ---> de85c9347021 14:40:34 Step 22/24 : LABEL arch=arm64 14:40:34 ---> Running in 7ffdfd6a1ebd 14:40:34 Removing intermediate container 7ffdfd6a1ebd 14:40:34 ---> 78423de77d55 14:40:34 Step 23/24 : LABEL git_sha=075872d028f988334355ba10b6757d4a91a9a369 14:40:34 ---> Running in dbd1e3e1f1e0 14:40:34 Removing intermediate container dbd1e3e1f1e0 14:40:34 ---> 5f0477615a61 14:40:34 Step 24/24 : LABEL version=0.0.0 14:40:34 ---> Running in 20479096587a 14:40:34 Removing intermediate container 20479096587a 14:40:34 ---> a4e0f0b9a399 14:40:34 [Warning] One or more build-args [ARCH] were not consumed 14:40:34 Successfully built a4e0f0b9a399 14:40:34 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 14:40:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:40:35 14:40:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:40:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:40:35 arm64: Pulling from edgex-lftools-log-publisher 14:40:35 8998bd30e6a1: Pulling fs layer 14:40:35 04944245beec: Pulling fs layer 14:40:35 699f458cf7ca: Pulling fs layer 14:40:35 765212b225bb: Pulling fs layer 14:40:35 f23df028b6ca: Pulling fs layer 14:40:35 d65c8cfc05b1: Pulling fs layer 14:40:35 2437ff75d9bd: Pulling fs layer 14:40:35 f23df028b6ca: Waiting 14:40:35 d65c8cfc05b1: Waiting 14:40:35 2437ff75d9bd: Waiting 14:40:35 765212b225bb: Waiting 14:40:35 04944245beec: Verifying Checksum 14:40:35 04944245beec: Download complete 14:40:35 765212b225bb: Verifying Checksum 14:40:35 765212b225bb: Download complete 14:40:35 f23df028b6ca: Verifying Checksum 14:40:35 f23df028b6ca: Download complete 14:40:35 d65c8cfc05b1: Verifying Checksum 14:40:35 d65c8cfc05b1: Download complete 14:40:36 699f458cf7ca: Verifying Checksum 14:40:36 699f458cf7ca: Download complete 14:40:36 8998bd30e6a1: Download complete 14:40:38 2437ff75d9bd: Verifying Checksum 14:40:38 2437ff75d9bd: Download complete 14:40:40 8998bd30e6a1: Pull complete 14:40:41 04944245beec: Pull complete 14:40:42 699f458cf7ca: Pull complete 14:40:42 765212b225bb: Pull complete 14:40:43 f23df028b6ca: Pull complete 14:40:43 d65c8cfc05b1: Pull complete 14:40:58 2437ff75d9bd: Pull complete 14:40:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:40:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:40:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:40:59 prd-ubuntu20.04-docker-arm64-4c-16g-40501 does not seem to be running inside a container 14:40: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/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:41:01 $ docker top bd78c97a00f1e71e86234e4e6b248b1d5bb312dc737bbf56073c07bc37a313f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:41:02 ---> job-cost.sh 14:41:02 lf-activate-venv: SKIPPING 14:41:02 INFO: No Stack... 14:41:03 INFO: Retrieving Pricing Info for: v3-standard-4 14:41:03 INFO: Archiving Costs [Pipeline] sh 14:41:04 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 14:41:04 + cut -d, -f6 [Pipeline] lock 14:41:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] 14:41:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] did not exist. Created. 14:41:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:41:05 /w/workspace/device-mqtt-go/1@tmp/durable-7816d7e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:41:06 + echo total: 0.10999999940395355 [Pipeline] stash 14:41:06 Warning: overwriting stash ‘stack-cost’ 14:41:06 Stashed 1 file(s) [Pipeline] } 14:41:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-377-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:41:06 $ docker stop --time=1 bd78c97a00f1e71e86234e4e6b248b1d5bb312dc737bbf56073c07bc37a313f1 14:41:07 $ docker rm -f bd78c97a00f1e71e86234e4e6b248b1d5bb312dc737bbf56073c07bc37a313f1 [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 14:41:08 provisioning config files... 14:41:08 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/config4621594964628776672tmp [Pipeline] { [Pipeline] sh 14:41:09 + set +x 14:41:09 + curl -s https://codecov.io/bash 14:41:09 + bash -s -- 14:41:09 14:41:09 _____ _ 14:41:09 / ____| | | 14:41:09 | | ___ __| | ___ ___ _____ __ 14:41:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:41:09 | |___| (_) | (_| | __/ (_| (_) \ V / 14:41:09 \_____\___/ \__,_|\___|\___\___/ \_/ 14:41:09 Bash-1.0.6 14:41:09 14:41:09 14:41:09 ==> git version 2.25.1 found 14:41:09 ==> 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 14:41:09 Release-Date: 2020-01-08 14:41:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:41:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:41:09 ==> Jenkins CI detected. 14:41:09 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-377 14:41:09 project root: . 14:41:09 --> token set from env 14:41:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:41:09 ==> Running gcov in . (disable via -X gcov) 14:41:09 ==> Python coveragepy not found 14:41:09 ==> Searching for coverage reports in: 14:41:09 + . 14:41:09 -> Found 1 reports 14:41:09 ==> Detecting git/mercurial file structure 14:41:09 ==> Reading reports 14:41:09 + ./coverage.out bytes=17887 14:41:09 ==> Appending adjustments 14:41:09 https://docs.codecov.io/docs/fixing-reports 14:41:09 + Found adjustments 14:41:09 ==> Gzipping contents 14:41:09 4.0K /tmp/codecov.WMvpWS.gz 14:41:09 ==> Uploading reports 14:41:09 url: https://codecov.io 14:41:09 query: branch=PR-377&commit=075872d028f988334355ba10b6757d4a91a9a369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=377&job=&cmd_args= 14:41:09 -> Pinging Codecov 14:41:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-377&commit=075872d028f988334355ba10b6757d4a91a9a369&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=377&job=&cmd_args= 14:41:09 -> Uploading to 14:41:09 https://storage.googleapis.com/codecov/v4/raw/2022-05-05/7D719EC7BBE17E464838252E33014C33/075872d028f988334355ba10b6757d4a91a9a369/2a43c4ff-c261-4203-98b2-62bd77d3ffd4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T144109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=600340b7a49a49e3cd3e7346556e8901367256690fb192aeffbb8048de0e59e7 14:41:09 % Total % Received % Xferd Average Speed Time Time Time Current 14:41:09 Dload Upload Total Spent Left Speed 14:41:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14751 --:--:-- --:--:-- --:--:-- 14751 14:41:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/075872d028f988334355ba10b6757d4a91a9a369 [Pipeline] } 14:41:10 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 14:41:11 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives ] 14:41:11 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives 14:41:11 total 16 14:41:11 drwxr-xr-x 3 root root 4096 May 5 14:34 . 14:41:11 drwxrwxr-x 11 jenkins jenkins 4096 May 5 14:34 .. 14:41:11 drwxr-xr-x 2 root root 4096 May 5 14:34 cost 14:41:11 -rw-r--r-- 1 root root 85 May 5 14:34 cost.csv 14:41:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives 14:41:11 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives 14:41:11 total 16 14:41:11 drwxr-xr-x 3 jenkins jenkins 4096 May 5 14:34 . 14:41:11 drwxrwxr-x 11 jenkins jenkins 4096 May 5 14:34 .. 14:41:11 drwxr-xr-x 2 jenkins jenkins 4096 May 5 14:34 cost 14:41:11 -rw-r--r-- 1 jenkins jenkins 85 May 5 14:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:41:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:41:13 ---> package-listing.sh 14:41:13 ++ facter osfamily 14:41:13 ++ tr '[:upper:]' '[:lower:]' 14:41:13 + OS_FAMILY=debian 14:41:13 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-377 14:41:13 + START_PACKAGES=/tmp/packages_start.txt 14:41:13 + END_PACKAGES=/tmp/packages_end.txt 14:41:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:41:13 + PACKAGES=/tmp/packages_start.txt 14:41:13 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-377 ']' 14:41:13 + PACKAGES=/tmp/packages_end.txt 14:41:13 + case "${OS_FAMILY}" in 14:41:13 + dpkg -l 14:41:13 + grep '^ii' 14:41:13 + '[' -f /tmp/packages_start.txt ']' 14:41:13 + '[' -f /tmp/packages_end.txt ']' 14:41:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:41:13 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-377 ']' 14:41:13 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives/ 14:41:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-377/archives/ [Pipeline] echo 14:41:13 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:41:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:41:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:41:13 . [Pipeline] withDockerContainer 14:41:14 prd-ubuntu20.04-docker-8c-8g-40500 does not seem to be running inside a container 14:41:14 $ 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-377/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-377 -v /w/workspace/gexfoundry_device-mqtt-go_PR-377:/w/workspace/gexfoundry_device-mqtt-go_PR-377:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-377@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:41:14 $ docker top fbca443889868d61856ba14300bc6f6e35d4faf2228bf5c0f24de0b801e6d950 -eo pid,comm [Pipeline] { [Pipeline] sh 14:41:14 + touch /tmp/pre-build-complete [Pipeline] sh 14:41:15 + mkdir -p /var/log/sysstat [Pipeline] sh 14:41:15 + ls /var/log/sa-host 14:41:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:41:15 provisioning config files... 14:41:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-377@tmp/config2964753593010598669tmp [Pipeline] { [Pipeline] echo 14:41:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:41:16 ---> create-netrc.sh [Pipeline] } 14:41:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:41:16 ---> python-tools-install.sh [Pipeline] echo 14:41:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:41:16 ---> sudo-logs.sh 14:41:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:41:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:41:17 ---> job-cost.sh 14:41:17 lf-activate-venv: SKIPPING 14:41:17 DEBUG: total: 0.2199999988079071 14:41:17 INFO: Retrieving Stack Cost... 14:41:17 INFO: Retrieving Pricing Info for: v3-standard-8 14:41:18 INFO: Archiving Costs [Pipeline] echo 14:41:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:41:18 ---> logs-deploy.sh 14:41:18 lf-activate-venv: SKIPPING 14:41:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-377/1 14:41:18 INFO: archiving workspace using pattern(s): 14:41:19 Archives upload complete. 14:41:19 INFO: archiving logs to Nexus