Pull request #380 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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f rather than 5146f07a7e4aea3a50b663a0541c825f3751f5f6 Obtained Jenkinsfile from ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 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-ssh12773020688566808076.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-ssh13429535008075131256.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-380/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-380/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11459222784405973111.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-380/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14615167644928558448.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-ssh17047012355294152667.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-380/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-380/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10977776584440668767.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-46897 in /w/workspace/gexfoundry_device-mqtt-go_PR-380 [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-380 # 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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f into PR head commit 5146f07a7e4aea3a50b663a0541c825f3751f5f6 Merge succeeded, producing 5146f07a7e4aea3a50b663a0541c825f3751f5f6 Checking out Revision 5146f07a7e4aea3a50b663a0541c825f3751f5f6 (PR-380) > 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/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5146f07a7e4aea3a50b663a0541c825f3751f5f6 # 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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5146f07a7e4aea3a50b663a0541c825f3751f5f6 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 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 09:23:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:59 ========================================================= 09:23:59 EdgeX Global Pipelines Version Info 09:23:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:24:00 ------------------- 09:24:00 stable info: 09:24:00 ------------------- 09:24:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:24:00 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 09:24:00 Message: update stable to v1.0.227 09:24:01 ------------------- 09:24:01 experimental info: 09:24:01 ------------------- 09:24:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:24:01 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 09:24:01 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:24:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo 09:24:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5146f07a7e4aea3a50b663a0541c825f3751f5f6 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5146f07 [Pipeline] echo 09:24:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:03 provisioning config files... 09:24:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config4486461358379579144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:03 ---> docker-login.sh 09:24:03 nexus3.edgexfoundry.org:10001 09:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:03 Configure a credential helper to remove this warning. See 09:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:03 09:24:03 Login Succeeded 09:24:03 nexus3.edgexfoundry.org:10002 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 nexus3.edgexfoundry.org:10003 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 nexus3.edgexfoundry.org:10004 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 docker.io 09:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:04 Configure a credential helper to remove this warning. See 09:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:04 09:24:04 Login Succeeded 09:24:04 ---> docker-login.sh ends [Pipeline] } 09:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:24:05 + git rev-list -1 --merges 5146f07a7e4aea3a50b663a0541c825f3751f5f6~1..5146f07a7e4aea3a50b663a0541c825f3751f5f6 [Pipeline] echo 09:24:05 -----------> git rev-list -1 --merges 5146f07a7e4aea3a50b663a0541c825f3751f5f6~1..5146f07a7e4aea3a50b663a0541c825f3751f5f6 5146f07a7e4aea3a50b663a0541c825f3751f5f6 [false] [Pipeline] sh 09:24:06 + git log --format=format:%s -1 5146f07a7e4aea3a50b663a0541c825f3751f5f6 [Pipeline] echo 09:24:06 ========================================================= 09:24:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:06 + git log --format=format:%s -1 5146f07a7e4aea3a50b663a0541c825f3751f5f6 [Pipeline] echo 09:24:06 [semverPrep] GIT_COMMIT: 5146f07a7e4aea3a50b663a0541c825f3751f5f6, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo 09:24:06 [semverPrep] This is not a build commit. [Pipeline] sh 09:24:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:07 + grep -v github /etc/ssh/ssh_known_hosts 09:24:07 + [ -e /tmp/ssh_known_hosts ] 09:24:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:24:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:24:07 + sudo tee -a /etc/ssh/ssh_known_hosts 09:24:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:24:07 09:24:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:24:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:24:07 latest: Pulling from edgex-devops/py-git-semver 09:24:07 1fe172e4850f: Pulling fs layer 09:24:07 caf521ccaac6: Pulling fs layer 09:24:07 3ead6fa29328: Pulling fs layer 09:24:07 5c2a1cbceb83: Pulling fs layer 09:24:07 a8d5f1318db7: Pulling fs layer 09:24:07 c427282e49a2: Pulling fs layer 09:24:07 1827001aaf11: Pulling fs layer 09:24:07 0714d37db230: Pulling fs layer 09:24:07 ac28cf19c067: Pulling fs layer 09:24:07 ca983d60f3e2: Pulling fs layer 09:24:07 9f894cec8388: Pulling fs layer 09:24:07 a8d5f1318db7: Waiting 09:24:07 ac28cf19c067: Waiting 09:24:07 5c2a1cbceb83: Waiting 09:24:07 ca983d60f3e2: Waiting 09:24:07 9f894cec8388: Waiting 09:24:07 c427282e49a2: Waiting 09:24:07 0714d37db230: Waiting 09:24:07 1827001aaf11: Waiting 09:24:07 caf521ccaac6: Download complete 09:24:07 5c2a1cbceb83: Download complete 09:24:08 a8d5f1318db7: Verifying Checksum 09:24:08 a8d5f1318db7: Download complete 09:24:08 3ead6fa29328: Verifying Checksum 09:24:08 3ead6fa29328: Download complete 09:24:08 c427282e49a2: Verifying Checksum 09:24:08 c427282e49a2: Download complete 09:24:08 0714d37db230: Verifying Checksum 09:24:08 0714d37db230: Download complete 09:24:08 ac28cf19c067: Verifying Checksum 09:24:08 ac28cf19c067: Download complete 09:24:08 ca983d60f3e2: Verifying Checksum 09:24:08 ca983d60f3e2: Download complete 09:24:08 9f894cec8388: Download complete 09:24:08 1fe172e4850f: Download complete 09:24:08 1827001aaf11: Verifying Checksum 09:24:08 1827001aaf11: Download complete 09:24:09 1fe172e4850f: Pull complete 09:24:09 caf521ccaac6: Pull complete 09:24:10 3ead6fa29328: Pull complete 09:24:10 5c2a1cbceb83: Pull complete 09:24:10 a8d5f1318db7: Pull complete 09:24:10 c427282e49a2: Pull complete 09:24:12 1827001aaf11: Pull complete 09:24:12 0714d37db230: Pull complete 09:24:12 ac28cf19c067: Pull complete 09:24:12 ca983d60f3e2: Pull complete 09:24:12 9f894cec8388: Pull complete 09:24:12 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:24:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:24:13 prd-ubuntu20.04-docker-8c-8g-46897 does not seem to be running inside a container 09:24:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 09:24:14 $ docker top f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 -eo pid,comm 09:24:14 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). 09:24:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:14 [ssh-agent] Looking for ssh-agent implementation... 09:24:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:15 $ docker exec f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 ssh-agent 09:24:15 SSH_AUTH_SOCK=/tmp/ssh-Pnlj2J8zdwVI/agent.33 09:24:15 SSH_AGENT_PID=41 09:24:15 Running ssh-add (command line suppressed) 09:24:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_7825574950208189337.key (/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_7825574950208189337.key) 09:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:15 + git tag --points-at HEAD [Pipeline] } 09:24:15 $ docker exec --env ******** --env ******** f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 ssh-agent -k 09:24:15 unset SSH_AUTH_SOCK; 09:24:15 unset SSH_AGENT_PID; 09:24:15 echo Agent pid 41 killed; 09:24:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:24:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:15 [ssh-agent] Looking for ssh-agent implementation... 09:24:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:16 $ docker exec f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 ssh-agent 09:24:16 SSH_AUTH_SOCK=/tmp/ssh-c10sKsnQIhBW/agent.73 09:24:16 SSH_AGENT_PID=80 09:24:16 Running ssh-add (command line suppressed) 09:24:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_5954109818817820297.key (/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_5954109818817820297.key) 09:24:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:16 + git semver init 09:24:16 2022-05-10 09:24:16,862 [run_init] DEBUG init version:0.0.0 force:False 09:24:16 2022-05-10 09:24:16,862 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver 09:24:16 2022-05-10 09:24:16,863 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver 09:24:16 2022-05-10 09:24:16,863 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380, universal_newlines=False, shell=None, istream=None) 09:24:17 2022-05-10 09:24:17,697 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.git/info/exclude 09:24:17 2022-05-10 09:24:17,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 with force:False 09:24:17 2022-05-10 09:24:17,698 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 09:24:17 2022-05-10 09:24:17,703 [execute] INFO git cat-file --batch-check 09:24:17 2022-05-10 09:24:17,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 09:24:17 2022-05-10 09:24:17,711 [execute] INFO git cat-file --batch 09:24:17 2022-05-10 09:24:17,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 09:24:17 2022-05-10 09:24:17,718 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 09:24:17 0.0.0 [Pipeline] } 09:24:17 $ docker exec --env ******** --env ******** f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 ssh-agent -k 09:24:18 unset SSH_AUTH_SOCK; 09:24:18 unset SSH_AGENT_PID; 09:24:18 echo Agent pid 80 killed; 09:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:18 + git semver [Pipeline] } 09:24:18 $ docker stop --time=1 f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 09:24:20 $ docker rm -f f4d71793ab5a2190584d0b843fb36aaf2758057b943ac7609a531f0b9fe5d064 [Pipeline] // withDockerContainer [Pipeline] sh 09:24:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:24:20 Stashed 1 file(s) [Pipeline] echo 09:24:20 [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 09:24:21 provisioning config files... 09:24:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config9116994303794168025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:21 ---> docker-login.sh 09:24:21 nexus3.edgexfoundry.org:10001 09:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:21 Configure a credential helper to remove this warning. See 09:24:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:21 09:24:21 Login Succeeded 09:24:21 nexus3.edgexfoundry.org:10002 09:24:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 nexus3.edgexfoundry.org:10003 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 nexus3.edgexfoundry.org:10004 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 docker.io 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 ---> docker-login.sh ends [Pipeline] } 09:24:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:22 ========================================================= 09:24:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:24:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:24:23 + 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 . 09:24:23 Sending build context to Docker daemon 5.919MB 09:24:23 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:24:23 Step 2/12 : FROM ${BASE} AS builder 09:24:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:24:23 59bf1c3509f3: Pulling fs layer 09:24:23 666ba61612fd: Pulling fs layer 09:24:23 8ed8ca486205: Pulling fs layer 09:24:23 4fe6c5a15a65: Pulling fs layer 09:24:23 22a0e8bec74d: Pulling fs layer 09:24:23 ca2b28591e48: Pulling fs layer 09:24:23 a51346096db8: Pulling fs layer 09:24:23 daebc70d1ce1: Pulling fs layer 09:24:23 0e18a0eac166: Pulling fs layer 09:24:23 4fe6c5a15a65: Waiting 09:24:23 22a0e8bec74d: Waiting 09:24:23 ca2b28591e48: Waiting 09:24:23 a51346096db8: Waiting 09:24:23 0e18a0eac166: Waiting 09:24:23 8ed8ca486205: Download complete 09:24:23 666ba61612fd: Download complete 09:24:23 22a0e8bec74d: Verifying Checksum 09:24:23 22a0e8bec74d: Download complete 09:24:23 ca2b28591e48: Verifying Checksum 09:24:23 ca2b28591e48: Download complete 09:24:23 59bf1c3509f3: Verifying Checksum 09:24:23 a51346096db8: Download complete 09:24:23 daebc70d1ce1: Verifying Checksum 09:24:23 daebc70d1ce1: Download complete 09:24:23 59bf1c3509f3: Pull complete 09:24:23 666ba61612fd: Pull complete 09:24:23 8ed8ca486205: Pull complete 09:24:24 0e18a0eac166: Verifying Checksum 09:24:24 0e18a0eac166: Download complete 09:24:24 4fe6c5a15a65: Verifying Checksum 09:24:24 4fe6c5a15a65: Download complete 09:24:28 4fe6c5a15a65: Pull complete 09:24:28 22a0e8bec74d: Pull complete 09:24:28 ca2b28591e48: Pull complete 09:24:28 a51346096db8: Pull complete 09:24:28 daebc70d1ce1: Pull complete 09:24:31 0e18a0eac166: Pull complete 09:24:31 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:24:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:24:31 ---> f018257e8ee9 09:24:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:24:32 ---> Running in bc5ffbc8af7f 09:24:32 Removing intermediate container bc5ffbc8af7f 09:24:32 ---> ccd26f442e5d 09:24:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:24:32 ---> Running in 527bb9ff60ee 09:24:32 Removing intermediate container 527bb9ff60ee 09:24:32 ---> 8cf655d8fcda 09:24:32 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:32 ---> Running in 33e348a6f6ae 09:24:33 Removing intermediate container 33e348a6f6ae 09:24:33 ---> 07b50393c611 09:24:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:33 ---> Running in 7d96ed99bd43 09:24:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:24:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:24:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:24:35 (2/4) Installing libedit (20210910.3.1-r0) 09:24:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:24:35 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:24:35 Executing busybox-1.34.1-r3.trigger 09:24:35 OK: 224 MiB in 56 packages 09:24:36 Removing intermediate container 7d96ed99bd43 09:24:36 ---> f3b988f0844a 09:24:36 Step 7/12 : WORKDIR /device-mqtt-go 09:24:36 ---> Running in ad3f414c0870 09:24:36 Removing intermediate container ad3f414c0870 09:24:36 ---> faa2ab72ca1f 09:24:36 Step 8/12 : COPY go.mod vendor* ./ 09:24:36 Still waiting to schedule task 09:24:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:24:36 ---> 97c701f8fd50 09:24:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:36 ---> Running in ce3306c764b3 09:24:51 Removing intermediate container ce3306c764b3 09:24:51 ---> 818bd7c2739c 09:24:51 Step 10/12 : COPY . . 09:24:51 ---> 99576f560e10 09:24:51 Step 11/12 : ARG MAKE='make build' 09:24:51 ---> Running in b4c16fb36854 09:24:51 Removing intermediate container b4c16fb36854 09:24:51 ---> bc4ce42b0d6d 09:24:51 Step 12/12 : RUN $MAKE 09:24:51 ---> Running in cce6c93ce8c0 09:24:51 noop 09:24:52 Removing intermediate container cce6c93ce8c0 09:24:52 ---> e8084e2e4b58 09:24:52 Successfully built e8084e2e4b58 09:24:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:24:52 + docker inspect -f . ci-base-image-x86_64 09:24:52 . [Pipeline] withDockerContainer 09:24:52 prd-ubuntu20.04-docker-8c-8g-46897 does not seem to be running inside a container 09:24:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 09:24:52 $ docker top 3592382fb0b665ebfbb49743a0540b6b43f6704af3c657d1ddf6a3f277bedd21 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:53 + go version 09:24:53 go version go1.17.6 linux/amd64 [Pipeline] } 09:24:53 $ docker stop --time=1 3592382fb0b665ebfbb49743a0540b6b43f6704af3c657d1ddf6a3f277bedd21 09:24:54 $ docker rm -f 3592382fb0b665ebfbb49743a0540b6b43f6704af3c657d1ddf6a3f277bedd21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:55 + docker inspect -f . ci-base-image-x86_64 09:24:55 . [Pipeline] withDockerContainer 09:24:55 prd-ubuntu20.04-docker-8c-8g-46897 does not seem to be running inside a container 09:24:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 09:24:55 $ docker top 03eb87957c546839a64d6dcde86ad94eb3a17881af0fc6346e030df73a8985ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:24:56 + make test 09:24:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:24:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:25:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:25:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 09:25:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:25:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:25:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:17 ./bin/test-attribution-txt.sh [Pipeline] echo 09:25:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:17 $ docker stop --time=1 03eb87957c546839a64d6dcde86ad94eb3a17881af0fc6346e030df73a8985ab 09:25:19 $ docker rm -f 03eb87957c546839a64d6dcde86ad94eb3a17881af0fc6346e030df73a8985ab [Pipeline] // withDockerContainer [Pipeline] sh 09:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:21 + ls -al . 09:25:21 total 180 09:25:21 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:25 . 09:25:21 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:23 .. 09:25:21 -rw-rw-r-- 1 jenkins jenkins 140 May 10 09:23 .dockerignore 09:25:21 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:24 .git 09:25:21 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 .github 09:25:21 -rw-rw-r-- 1 jenkins jenkins 329 May 10 09:23 .gitignore 09:25:21 -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:23 .golangci.yml 09:25:21 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:24 .semver 09:25:21 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 09:23 Attribution.txt 09:25:21 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 09:23 CHANGELOG.md 09:25:21 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 09:23 Dockerfile 09:25:21 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:23 GOVERNANCE.md 09:25:21 -rw-rw-r-- 1 jenkins jenkins 678 May 10 09:23 Jenkinsfile 09:25:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:23 LICENSE 09:25:21 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 09:23 Makefile 09:25:21 -rw-rw-r-- 1 jenkins jenkins 620 May 10 09:23 OWNERS.md 09:25:21 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 09:23 README.md 09:25:21 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:24 VERSION 09:25:21 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:23 bin 09:25:21 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 cmd 09:25:21 -rw-r--r-- 1 jenkins jenkins 17887 May 10 09:25 coverage.out 09:25:21 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 09:23 go.mod 09:25:21 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 09:23 go.sum 09:25:21 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 internal 09:25:21 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:23 mock 09:25:21 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:23 snap 09:25:21 -rw-rw-r-- 1 jenkins jenkins 227 May 10 09:23 version.go [Pipeline] isUnix [Pipeline] sh 09:25:21 + 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=5146f07a7e4aea3a50b663a0541c825f3751f5f6 --label arch=amd64 --label version=0.0.0 . 09:25:21 Sending build context to Docker daemon 5.937MB 09:25:21 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:25:21 Step 2/24 : FROM ${BASE} AS builder 09:25:21 ---> e8084e2e4b58 09:25:21 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:25:21 ---> Running in 325415490ad6 09:25:21 Removing intermediate container 325415490ad6 09:25:21 ---> dd1e71ffefc7 09:25:21 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:25:21 ---> Running in 89e8581cf7b1 09:25:21 Removing intermediate container 89e8581cf7b1 09:25:21 ---> 98e72c690558 09:25:21 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:22 ---> Running in 8ca298d8eb49 09:25:22 Removing intermediate container 8ca298d8eb49 09:25:22 ---> ce9b1db07bd5 09:25:22 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:22 ---> Running in 487ca196d5d2 09:25:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:25:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:25:23 OK: 224 MiB in 56 packages 09:25:24 Removing intermediate container 487ca196d5d2 09:25:24 ---> 4edee6406f3e 09:25:24 Step 7/24 : WORKDIR /device-mqtt-go 09:25:24 ---> Running in f77d2620858b 09:25:24 Removing intermediate container f77d2620858b 09:25:24 ---> ed49e8d910a3 09:25:24 Step 8/24 : COPY go.mod vendor* ./ 09:25:24 ---> a141f81c35a6 09:25:24 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:24 ---> Running in 490ac0183716 09:25:25 Removing intermediate container 490ac0183716 09:25:25 ---> 94558c7b5a43 09:25:25 Step 10/24 : COPY . . 09:25:25 ---> 4728683b6405 09:25:25 Step 11/24 : ARG MAKE='make build' 09:25:25 ---> Running in fabc43e7c0dd 09:25:25 Removing intermediate container fabc43e7c0dd 09:25:25 ---> dba8b5933914 09:25:25 Step 12/24 : RUN $MAKE 09:25:25 ---> Running in a56871ad9866 09:25:25 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 09:25:47 Removing intermediate container a56871ad9866 09:25:47 ---> 89e5dd1a9d64 09:25:47 Step 13/24 : FROM alpine:3.14 09:25:47 3.14: Pulling from library/alpine 09:25:47 8663204ce13b: Pulling fs layer 09:25:47 8663204ce13b: Download complete 09:25:47 8663204ce13b: Pull complete 09:25:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:25:47 Status: Downloaded newer image for alpine:3.14 09:25:47 ---> e04c818066af 09:25:47 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:25:47 ---> Running in e9df4b511387 09:25:47 Removing intermediate container e9df4b511387 09:25:47 ---> c8c079dc39a6 09:25:47 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:25:47 ---> Running in f90da87b1326 09:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:25:47 (1/6) Installing dumb-init (1.2.5-r1) 09:25:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:25:47 (3/6) Installing libsodium (1.0.18-r0) 09:25:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:25:48 (5/6) Installing libzmq (4.3.4-r0) 09:25:48 (6/6) Installing zeromq (4.3.4-r0) 09:25:48 Executing busybox-1.33.1-r7.trigger 09:25:48 OK: 8 MiB in 20 packages 09:25:48 Removing intermediate container f90da87b1326 09:25:48 ---> 204fa09c1711 09:25:48 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:25:49 ---> 1194e467e31b 09:25:49 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:25:49 ---> 2e9d92a06bcb 09:25:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:25:49 ---> d7143269a291 09:25:49 Step 19/24 : EXPOSE 59982 09:25:49 ---> Running in da5753f6f291 09:25:49 Removing intermediate container da5753f6f291 09:25:49 ---> 12ee79b498f3 09:25:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:25:49 ---> Running in 38cd227dee07 09:25:49 Removing intermediate container 38cd227dee07 09:25:49 ---> 05e9334744ee 09:25:49 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:25:49 ---> Running in c8f8d581fc9b 09:25:49 Removing intermediate container c8f8d581fc9b 09:25:49 ---> 0b2e545261d9 09:25:49 Step 22/24 : LABEL arch=amd64 09:25:49 ---> Running in 125e66281023 09:25:50 Removing intermediate container 125e66281023 09:25:50 ---> bcdc0ad34509 09:25:50 Step 23/24 : LABEL git_sha=5146f07a7e4aea3a50b663a0541c825f3751f5f6 09:25:50 ---> Running in d84cd5187254 09:25:50 Removing intermediate container d84cd5187254 09:25:50 ---> 2f0f702ec15e 09:25:50 Step 24/24 : LABEL version=0.0.0 09:25:50 ---> Running in 4881b02dd9ae 09:25:50 Removing intermediate container 4881b02dd9ae 09:25:50 ---> 3a708e759404 09:25:50 [Warning] One or more build-args [ARCH] were not consumed 09:25:50 Successfully built 3a708e759404 09:25:50 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 09:25:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:51 09:25:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:25:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:51 latest: Pulling from edgex-lftools-log-publisher 09:25:51 5eb5b503b376: Pulling fs layer 09:25:51 5c69ac0246d0: Pulling fs layer 09:25:51 ec43610c2a17: Pulling fs layer 09:25:51 3a2ae6a8a46f: Pulling fs layer 09:25:51 33b1e0a273af: Pulling fs layer 09:25:51 5d3b04190fa2: Pulling fs layer 09:25:51 3a2ae6a8a46f: Waiting 09:25:51 33b1e0a273af: Waiting 09:25:51 2f39f015ded8: Pulling fs layer 09:25:51 5d3b04190fa2: Waiting 09:25:51 5c69ac0246d0: Download complete 09:25:51 3a2ae6a8a46f: Verifying Checksum 09:25:51 3a2ae6a8a46f: Download complete 09:25:51 33b1e0a273af: Verifying Checksum 09:25:51 33b1e0a273af: Download complete 09:25:51 5d3b04190fa2: Verifying Checksum 09:25:51 5d3b04190fa2: Download complete 09:25:51 ec43610c2a17: Verifying Checksum 09:25:51 ec43610c2a17: Download complete 09:25:51 5eb5b503b376: Download complete 09:25:52 2f39f015ded8: Verifying Checksum 09:25:52 2f39f015ded8: Download complete 09:25:53 5eb5b503b376: Pull complete 09:25:53 5c69ac0246d0: Pull complete 09:25:53 ec43610c2a17: Pull complete 09:25:53 3a2ae6a8a46f: Pull complete 09:25:54 33b1e0a273af: Pull complete 09:25:54 5d3b04190fa2: Pull complete 09:25:58 2f39f015ded8: Pull complete 09:25:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:25:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:25:58 prd-ubuntu20.04-docker-8c-8g-46897 does not seem to be running inside a container 09:25:58 $ 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-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 09:26:00 $ docker top e2b7f59ef74e2c4c215bcc09bffd3a55e08fb4d350276c992c6b34d7667c4b81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:00 ---> job-cost.sh 09:26:00 lf-activate-venv: SKIPPING 09:26:00 INFO: No Stack... 09:26:01 INFO: Retrieving Pricing Info for: v3-standard-8 09:26:01 INFO: Archiving Costs [Pipeline] sh 09:26:02 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/cost.csv 09:26:02 + cut -d, -f6 [Pipeline] lock 09:26:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] 09:26:02 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] did not exist. Created. 09:26:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:26:02 + echo total: 0.2199999988079071 [Pipeline] stash 09:26:02 Stashed 1 file(s) [Pipeline] } 09:26:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:26:02 $ docker stop --time=1 e2b7f59ef74e2c4c215bcc09bffd3a55e08fb4d350276c992c6b34d7667c4b81 09:26:03 $ docker rm -f e2b7f59ef74e2c4c215bcc09bffd3a55e08fb4d350276c992c6b34d7667c4b81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:34:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47176 in /w/workspace/gexfoundry_device-mqtt-go_PR-380 [Pipeline] { [Pipeline] ws 09:34:48 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 09:34:49 Selected Git installation does not exist. Using Default 09:34:49 The recommended git tool is: NONE 09:34:55 using credential edgex-jenkins-ssh 09:34:55 Cloning the remote Git repository 09:34:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:34:55 > git init /w/workspace/device-mqtt-go/1 # timeout=10 09:34:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:34:55 > git --version # timeout=10 09:34:55 > git --version # 'git version 2.25.1' 09:34:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:57 Merging remotes/origin/main commit ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f into PR head commit 5146f07a7e4aea3a50b663a0541c825f3751f5f6 09:34:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:34:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:34:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:34:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:34:57 > git config core.sparsecheckout # timeout=10 09:34:57 > git checkout -f 5146f07a7e4aea3a50b663a0541c825f3751f5f6 # timeout=10 09:34:57 > git remote # timeout=10 09:34:57 > git config --get remote.origin.url # timeout=10 09:34:58 using GIT_SSH to set credentials SSH Credentials for GitHub 09:34:58 > git merge ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 09:34:58 > git rev-parse HEAD^{commit} # timeout=10 09:34:58 Merge succeeded, producing 5146f07a7e4aea3a50b663a0541c825f3751f5f6 09:34:58 Checking out Revision 5146f07a7e4aea3a50b663a0541c825f3751f5f6 (PR-380) 09:34:58 > git config core.sparsecheckout # timeout=10 09:34:58 > git checkout -f 5146f07a7e4aea3a50b663a0541c825f3751f5f6 # timeout=10 09:35:02 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 09:35:02 > git --version # timeout=10 09:35:02 > git --version # 'git version 2.25.1' 09:35:02 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:35:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:35:03 % Total % Received % Xferd Average Speed Time Time Time Current 09:35:03 Dload Upload Total Spent Left Speed 09:35:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 90404 [Pipeline] sh 09:35:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:35:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:35:04 + sudo tee /etc/docker/daemon.new 09:35:04 { 09:35:04 "registry-mirrors": [ 09:35:04 "https://nexus3.edgexfoundry.org:10001" 09:35:04 ], 09:35:04 "bip": "10.250.0.254/24", 09:35:04 "hosts": [ 09:35:04 "tcp://0.0.0.0:5555", 09:35:04 "unix:///var/run/docker.sock" 09:35:04 ], 09:35:04 "mtu": 1458, 09:35:04 "selinux-enabled": true, 09:35:04 "seccomp-profile": "/etc/docker/seccomp.json" 09:35:04 } [Pipeline] sh 09:35:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:35:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:35:23 provisioning config files... 09:35:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6693569441791251113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:35:24 ---> docker-login.sh 09:35:24 nexus3.edgexfoundry.org:10001 09:35:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:24 Configure a credential helper to remove this warning. See 09:35:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:24 09:35:24 Login Succeeded 09:35:24 nexus3.edgexfoundry.org:10002 09:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:25 Configure a credential helper to remove this warning. See 09:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:25 09:35:25 Login Succeeded 09:35:25 nexus3.edgexfoundry.org:10003 09:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:25 Configure a credential helper to remove this warning. See 09:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:25 09:35:25 Login Succeeded 09:35:25 nexus3.edgexfoundry.org:10004 09:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:26 Configure a credential helper to remove this warning. See 09:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:26 09:35:26 Login Succeeded 09:35:26 docker.io 09:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:35:26 Configure a credential helper to remove this warning. See 09:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:35:26 09:35:26 Login Succeeded 09:35:26 ---> docker-login.sh ends [Pipeline] } 09:35:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:35:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:35:27 ========================================================= 09:35:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:35:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:35:27 + 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 . 09:35:28 Sending build context to Docker daemon 3.074MB 09:35:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:35:28 Step 2/12 : FROM ${BASE} AS builder 09:35:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:35:28 9b3977197b4f: Pulling fs layer 09:35:28 1a89e8eeedd5: Pulling fs layer 09:35:28 94645a83ff95: Pulling fs layer 09:35:28 3f3a8bcf1eab: Pulling fs layer 09:35:28 0c92f367c5e7: Pulling fs layer 09:35:28 3096ccb668a1: Pulling fs layer 09:35:28 e8cf19c19ddd: Pulling fs layer 09:35:28 a4caa8a26152: Pulling fs layer 09:35:28 3f3a8bcf1eab: Waiting 09:35:28 0c92f367c5e7: Waiting 09:35:28 3096ccb668a1: Waiting 09:35:28 e8cf19c19ddd: Waiting 09:35:28 a4caa8a26152: Waiting 09:35:28 94645a83ff95: Verifying Checksum 09:35:28 94645a83ff95: Download complete 09:35:28 1a89e8eeedd5: Download complete 09:35:28 0c92f367c5e7: Download complete 09:35:28 3096ccb668a1: Verifying Checksum 09:35:28 3096ccb668a1: Download complete 09:35:28 9b3977197b4f: Verifying Checksum 09:35:28 9b3977197b4f: Download complete 09:35:28 e8cf19c19ddd: Verifying Checksum 09:35:28 e8cf19c19ddd: Download complete 09:35:29 9b3977197b4f: Pull complete 09:35:29 1a89e8eeedd5: Pull complete 09:35:30 94645a83ff95: Pull complete 09:35:30 a4caa8a26152: Verifying Checksum 09:35:30 a4caa8a26152: Download complete 09:35:31 3f3a8bcf1eab: Verifying Checksum 09:35:31 3f3a8bcf1eab: Download complete 09:35:43 3f3a8bcf1eab: Pull complete 09:35:43 0c92f367c5e7: Pull complete 09:35:43 3096ccb668a1: Pull complete 09:35:43 e8cf19c19ddd: Pull complete 09:35:50 a4caa8a26152: Pull complete 09:35:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:35:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:35:50 ---> 725f1c02e7f9 09:35:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:35:50 ---> Running in 9be06f1e733e 09:35:51 Removing intermediate container 9be06f1e733e 09:35:51 ---> 6190bf136676 09:35:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:35:51 ---> Running in 23c92d78fb54 09:35:51 Removing intermediate container 23c92d78fb54 09:35:51 ---> 3a79a4d9e6c5 09:35:51 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:35:51 ---> Running in 30553a4abd41 09:35:53 Removing intermediate container 30553a4abd41 09:35:53 ---> e08c19cd9468 09:35:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:35:53 ---> Running in bdf3d441ae34 09:35:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:35:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:35:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:35:56 (2/4) Installing libedit (20210910.3.1-r0) 09:35:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:35:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:35:56 Executing busybox-1.34.1-r3.trigger 09:35:56 OK: 224 MiB in 56 packages 09:35:57 Removing intermediate container bdf3d441ae34 09:35:57 ---> 4ca674db3e6f 09:35:57 Step 7/12 : WORKDIR /device-mqtt-go 09:35:57 ---> Running in d45c94d7ff50 09:35:58 Removing intermediate container d45c94d7ff50 09:35:58 ---> e3f799b26c4e 09:35:58 Step 8/12 : COPY go.mod vendor* ./ 09:35:58 ---> 3d1fdaea89af 09:35:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:58 ---> Running in a4459d097290 09:36:45 Removing intermediate container a4459d097290 09:36:45 ---> cd05e910d909 09:36:45 Step 10/12 : COPY . . 09:36:45 ---> 85a0d2c4d406 09:36:45 Step 11/12 : ARG MAKE='make build' 09:36:45 ---> Running in 5f63513eee0f 09:36:45 Removing intermediate container 5f63513eee0f 09:36:45 ---> c3976f9b8fde 09:36:45 Step 12/12 : RUN $MAKE 09:36:45 ---> Running in d074c3bb5692 09:36:45 noop 09:36:45 Removing intermediate container d074c3bb5692 09:36:45 ---> 386805685a36 09:36:45 Successfully built 386805685a36 09:36:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:36:45 + docker inspect -f . ci-base-image-arm64 09:36:45 . [Pipeline] withDockerContainer 09:36:46 prd-ubuntu20.04-docker-arm64-4c-16g-47176 does not seem to be running inside a container 09:36:46 $ 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 ******** -e ******** ci-base-image-arm64 cat 09:36:47 $ docker top f5ad0d5184a9fd71b4359f9818dfe4da0c06f43f2d5641df5323f799b749cc31 -eo pid,comm [Pipeline] { [Pipeline] sh 09:36:48 + go version 09:36:48 go version go1.17.6 linux/arm64 [Pipeline] } 09:36:48 $ docker stop --time=1 f5ad0d5184a9fd71b4359f9818dfe4da0c06f43f2d5641df5323f799b749cc31 09:36:50 $ docker rm -f f5ad0d5184a9fd71b4359f9818dfe4da0c06f43f2d5641df5323f799b749cc31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:36:51 + docker inspect -f . ci-base-image-arm64 09:36:51 . [Pipeline] withDockerContainer 09:36:51 prd-ubuntu20.04-docker-arm64-4c-16g-47176 does not seem to be running inside a container 09:36:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:36:52 $ docker top 62b8cb21621e5ab3f164bbd8d989384e2fbb390d110e84fb7ffe3248189a81f0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:36:53 + make test 09:36:53 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:36:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:38:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:38:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 09:38:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:38:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:38:16 GCO_ENABLED=1 GO111MODULE=on go vet ./... 09:38:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:38:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:38:35 ./bin/test-attribution-txt.sh [Pipeline] echo 09:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:38:37 $ docker stop --time=1 62b8cb21621e5ab3f164bbd8d989384e2fbb390d110e84fb7ffe3248189a81f0 09:38:39 $ docker rm -f 62b8cb21621e5ab3f164bbd8d989384e2fbb390d110e84fb7ffe3248189a81f0 [Pipeline] // withDockerContainer [Pipeline] sh 09:38:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:38:40 Warning: overwriting stash ‘coverage-report’ 09:38:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:38:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:38:42 + ls -al . 09:38:42 total 176 09:38:42 drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:38 . 09:38:42 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:34 .. 09:38:42 -rw-rw-r-- 1 jenkins jenkins 140 May 10 09:34 .dockerignore 09:38:42 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:35 .git 09:38:42 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:34 .github 09:38:42 -rw-rw-r-- 1 jenkins jenkins 329 May 10 09:34 .gitignore 09:38:42 -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:34 .golangci.yml 09:38:42 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 09:34 Attribution.txt 09:38:42 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 09:34 CHANGELOG.md 09:38:42 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 09:34 Dockerfile 09:38:42 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:34 GOVERNANCE.md 09:38:42 -rw-rw-r-- 1 jenkins jenkins 678 May 10 09:34 Jenkinsfile 09:38:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:34 LICENSE 09:38:42 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 09:34 Makefile 09:38:42 -rw-rw-r-- 1 jenkins jenkins 620 May 10 09:34 OWNERS.md 09:38:42 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 09:34 README.md 09:38:42 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:24 VERSION 09:38:42 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:34 bin 09:38:42 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:34 cmd 09:38:42 -rw-r--r-- 1 jenkins jenkins 17887 May 10 09:38 coverage.out 09:38:42 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 09:34 go.mod 09:38:42 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 09:34 go.sum 09:38:42 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:34 internal 09:38:42 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:34 mock 09:38:42 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:34 snap 09:38:42 -rw-rw-r-- 1 jenkins jenkins 227 May 10 09:34 version.go [Pipeline] isUnix [Pipeline] sh 09:38:42 + 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=5146f07a7e4aea3a50b663a0541c825f3751f5f6 --label arch=arm64 --label version=0.0.0 . 09:38:42 Sending build context to Docker daemon 3.092MB 09:38:42 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 09:38:42 Step 2/24 : FROM ${BASE} AS builder 09:38:42 ---> 386805685a36 09:38:42 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:38:43 ---> Running in 01d9eab4ce55 09:38:43 Removing intermediate container 01d9eab4ce55 09:38:43 ---> 6765d8d5a36c 09:38:43 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 09:38:43 ---> Running in d70773c70fbd 09:38:43 Removing intermediate container d70773c70fbd 09:38:43 ---> f283f3d6d82e 09:38:43 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:38:43 ---> Running in 5849b57bd97a 09:38:45 Removing intermediate container 5849b57bd97a 09:38:45 ---> 0bcee1ead7da 09:38:45 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:38:45 ---> Running in 343e1c97db28 09:38:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:38:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:38:48 OK: 224 MiB in 56 packages 09:38:48 Removing intermediate container 343e1c97db28 09:38:48 ---> bac9ffc969d0 09:38:48 Step 7/24 : WORKDIR /device-mqtt-go 09:38:48 ---> Running in 73d4fd97693d 09:38:49 Removing intermediate container 73d4fd97693d 09:38:49 ---> 8eb42d570bbb 09:38:49 Step 8/24 : COPY go.mod vendor* ./ 09:38:49 ---> c6d963433cd6 09:38:49 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:38:49 ---> Running in bce6042c02de 09:38:51 Removing intermediate container bce6042c02de 09:38:51 ---> 44bf23807c0b 09:38:51 Step 10/24 : COPY . . 09:38:52 ---> c6cde1912d6b 09:38:52 Step 11/24 : ARG MAKE='make build' 09:38:52 ---> Running in fc9cade1106a 09:38:52 Removing intermediate container fc9cade1106a 09:38:52 ---> a38cf91e9a1b 09:38:52 Step 12/24 : RUN $MAKE 09:38:53 ---> Running in cc2da0e2d2eb 09:38:54 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 09:41:00 Removing intermediate container cc2da0e2d2eb 09:41:00 ---> 0e611553dbec 09:41:00 Step 13/24 : FROM alpine:3.14 09:41:00 3.14: Pulling from library/alpine 09:41:00 455c02918c45: Pulling fs layer 09:41:00 455c02918c45: Verifying Checksum 09:41:00 455c02918c45: Download complete 09:41:00 455c02918c45: Pull complete 09:41:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:41:00 Status: Downloaded newer image for alpine:3.14 09:41:00 ---> ac73e934f311 09:41:00 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:41:00 ---> Running in f34aebef7d31 09:41:00 Removing intermediate container f34aebef7d31 09:41:00 ---> 7a2b89c5e6f7 09:41:00 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 09:41:00 ---> Running in 58ba18285da3 09:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:41:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:41:00 (1/6) Installing dumb-init (1.2.5-r1) 09:41:00 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:41:00 (3/6) Installing libsodium (1.0.18-r0) 09:41:00 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:41:00 (5/6) Installing libzmq (4.3.4-r0) 09:41:00 (6/6) Installing zeromq (4.3.4-r0) 09:41:00 Executing busybox-1.33.1-r7.trigger 09:41:00 OK: 8 MiB in 20 packages 09:41:00 Removing intermediate container 58ba18285da3 09:41:00 ---> a50073fd7816 09:41:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:41:00 ---> 8631599747bf 09:41:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:41:00 ---> 26d427216da6 09:41:00 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:41:00 ---> 427bca2b73e1 09:41:00 Step 19/24 : EXPOSE 59982 09:41:00 ---> Running in 3674a1d52be3 09:41:00 Removing intermediate container 3674a1d52be3 09:41:00 ---> 1d5047df8ac2 09:41:00 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:41:00 ---> Running in e7d7ad77b213 09:41:00 Removing intermediate container e7d7ad77b213 09:41:00 ---> 55d4e9ac48db 09:41:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:41:00 ---> Running in f0a69ab00bb4 09:41:00 Removing intermediate container f0a69ab00bb4 09:41:00 ---> ef8f93728759 09:41:00 Step 22/24 : LABEL arch=arm64 09:41:00 ---> Running in afbcbfbd2edd 09:41:00 Removing intermediate container afbcbfbd2edd 09:41:00 ---> 9b2197d91650 09:41:00 Step 23/24 : LABEL git_sha=5146f07a7e4aea3a50b663a0541c825f3751f5f6 09:41:00 ---> Running in 9c37ae445e96 09:41:00 Removing intermediate container 9c37ae445e96 09:41:00 ---> a1e1a697c581 09:41:00 Step 24/24 : LABEL version=0.0.0 09:41:00 ---> Running in 2491e342b08c 09:41:00 Removing intermediate container 2491e342b08c 09:41:00 ---> ada7ba3e4fde 09:41:00 [Warning] One or more build-args [ARCH] were not consumed 09:41:00 Successfully built ada7ba3e4fde 09:41:00 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 09:41:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:41:01 09:41:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:41:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:41:02 arm64: Pulling from edgex-lftools-log-publisher 09:41:02 8998bd30e6a1: Pulling fs layer 09:41:02 04944245beec: Pulling fs layer 09:41:02 699f458cf7ca: Pulling fs layer 09:41:02 765212b225bb: Pulling fs layer 09:41:02 f23df028b6ca: Pulling fs layer 09:41:02 d65c8cfc05b1: Pulling fs layer 09:41:02 2437ff75d9bd: Pulling fs layer 09:41:02 765212b225bb: Waiting 09:41:02 f23df028b6ca: Waiting 09:41:02 d65c8cfc05b1: Waiting 09:41:02 2437ff75d9bd: Waiting 09:41:02 04944245beec: Verifying Checksum 09:41:02 04944245beec: Download complete 09:41:02 765212b225bb: Download complete 09:41:02 f23df028b6ca: Verifying Checksum 09:41:02 f23df028b6ca: Download complete 09:41:02 d65c8cfc05b1: Verifying Checksum 09:41:02 d65c8cfc05b1: Download complete 09:41:02 699f458cf7ca: Verifying Checksum 09:41:02 699f458cf7ca: Download complete 09:41:03 8998bd30e6a1: Download complete 09:41:05 2437ff75d9bd: Verifying Checksum 09:41:05 2437ff75d9bd: Download complete 09:41:07 8998bd30e6a1: Pull complete 09:41:07 04944245beec: Pull complete 09:41:09 699f458cf7ca: Pull complete 09:41:09 765212b225bb: Pull complete 09:41:10 f23df028b6ca: Pull complete 09:41:10 d65c8cfc05b1: Pull complete 09:41:25 2437ff75d9bd: Pull complete 09:41:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:41:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:41:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:41:25 prd-ubuntu20.04-docker-arm64-4c-16g-47176 does not seem to be running inside a container 09:41:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:41:28 $ docker top 2db451c565d5007a9ca44bea072ec0ff0235af0fc4be3e155457024e5e8c6941 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:41:29 ---> job-cost.sh 09:41:29 lf-activate-venv: SKIPPING 09:41:29 INFO: No Stack... 09:41:29 INFO: Retrieving Pricing Info for: v3-standard-4 09:41:30 INFO: Archiving Costs [Pipeline] sh 09:41:31 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 09:41:31 + cut -d, -f6 [Pipeline] lock 09:41:31 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] 09:41:31 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] did not exist. Created. 09:41:31 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:41:32 /w/workspace/device-mqtt-go/1@tmp/durable-a2d713bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:41:32 + echo total: 0.10999999940395355 [Pipeline] stash 09:41:32 Warning: overwriting stash ‘stack-cost’ 09:41:32 Stashed 1 file(s) [Pipeline] } 09:41:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:41:32 $ docker stop --time=1 2db451c565d5007a9ca44bea072ec0ff0235af0fc4be3e155457024e5e8c6941 09:41:34 $ docker rm -f 2db451c565d5007a9ca44bea072ec0ff0235af0fc4be3e155457024e5e8c6941 [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 09:41:35 provisioning config files... 09:41:35 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config4631264041416004935tmp [Pipeline] { [Pipeline] sh 09:41:35 + set +x 09:41:35 + curl -s https://codecov.io/bash 09:41:35 + bash -s -- 09:41:35 09:41:35 _____ _ 09:41:35 / ____| | | 09:41:35 | | ___ __| | ___ ___ _____ __ 09:41:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:41:35 | |___| (_) | (_| | __/ (_| (_) \ V / 09:41:35 \_____\___/ \__,_|\___|\___\___/ \_/ 09:41:35 Bash-1.0.6 09:41:35 09:41:35 09:41:35 ==> git version 2.25.1 found 09:41:35 ==> 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 09:41:35 Release-Date: 2020-01-08 09:41:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:41:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:41:35 ==> Jenkins CI detected. 09:41:35 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-380 09:41:35 project root: . 09:41:35 --> token set from env 09:41:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:41:35 ==> Running gcov in . (disable via -X gcov) 09:41:35 ==> Python coveragepy not found 09:41:35 ==> Searching for coverage reports in: 09:41:35 + . 09:41:35 -> Found 1 reports 09:41:35 ==> Detecting git/mercurial file structure 09:41:35 ==> Reading reports 09:41:35 + ./coverage.out bytes=17887 09:41:35 ==> Appending adjustments 09:41:35 https://docs.codecov.io/docs/fixing-reports 09:41:36 + Found adjustments 09:41:36 ==> Gzipping contents 09:41:36 4.0K /tmp/codecov.LF7OHs.gz 09:41:36 ==> Uploading reports 09:41:36 url: https://codecov.io 09:41:36 query: branch=PR-380&commit=5146f07a7e4aea3a50b663a0541c825f3751f5f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=380&job=&cmd_args= 09:41:36 -> Pinging Codecov 09:41:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-380&commit=5146f07a7e4aea3a50b663a0541c825f3751f5f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-380%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=380&job=&cmd_args= 09:41:36 -> Uploading to 09:41:36 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7D719EC7BBE17E464838252E33014C33/5146f07a7e4aea3a50b663a0541c825f3751f5f6/85755e26-3733-4da6-b4c9-d4776e9bd1d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T094136Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14ef10c9b783709c9101d84bd9718176d82210d4d3cf9e59eda717d88c6d9933 09:41:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:41:36 Dload Upload Total Spent Left Speed 09:41:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 12988 --:--:-- --:--:-- --:--:-- 12988 09:41:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5146f07a7e4aea3a50b663a0541c825f3751f5f6 [Pipeline] } 09:41:36 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 09:41:38 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives ] 09:41:38 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 09:41:38 total 16 09:41:38 drwxr-xr-x 3 root root 4096 May 10 09:26 . 09:41:38 drwxrwxr-x 11 jenkins jenkins 4096 May 10 09:26 .. 09:41:38 drwxr-xr-x 2 root root 4096 May 10 09:26 cost 09:41:38 -rw-r--r-- 1 root root 85 May 10 09:26 cost.csv 09:41:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 09:41:38 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 09:41:38 total 16 09:41:38 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:26 . 09:41:38 drwxrwxr-x 11 jenkins jenkins 4096 May 10 09:26 .. 09:41:38 drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:26 cost 09:41:38 -rw-r--r-- 1 jenkins jenkins 85 May 10 09:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:41:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:41:39 ---> package-listing.sh 09:41:39 ++ tr '[:upper:]' '[:lower:]' 09:41:39 ++ facter osfamily 09:41:39 + OS_FAMILY=debian 09:41:39 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-380 09:41:39 + START_PACKAGES=/tmp/packages_start.txt 09:41:39 + END_PACKAGES=/tmp/packages_end.txt 09:41:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:41:39 + PACKAGES=/tmp/packages_start.txt 09:41:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-380 ']' 09:41:39 + PACKAGES=/tmp/packages_end.txt 09:41:39 + case "${OS_FAMILY}" in 09:41:39 + dpkg -l 09:41:39 + grep '^ii' 09:41:39 + '[' -f /tmp/packages_start.txt ']' 09:41:39 + '[' -f /tmp/packages_end.txt ']' 09:41:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:41:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-380 ']' 09:41:39 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/ 09:41:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/ [Pipeline] echo 09:41:40 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:41:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:41:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:41:40 . [Pipeline] withDockerContainer 09:41:40 prd-ubuntu20.04-docker-8c-8g-46897 does not seem to be running inside a container 09:41:41 $ 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-380/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-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 09:41:41 $ docker top 87e769eafc2700458e7cd0275ea59ad97f6c7d5d61bfbbbc7921069d25fdc603 -eo pid,comm [Pipeline] { [Pipeline] sh 09:41:41 + touch /tmp/pre-build-complete [Pipeline] sh 09:41:42 + mkdir -p /var/log/sysstat [Pipeline] sh 09:41:42 + ls /var/log/sa-host 09:41:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:41:42 provisioning config files... 09:41:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config8306700050772266663tmp [Pipeline] { [Pipeline] echo 09:41:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:41:43 ---> create-netrc.sh [Pipeline] } 09:41:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:41:43 ---> python-tools-install.sh [Pipeline] echo 09:41:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:41:43 ---> sudo-logs.sh 09:41:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:41:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:41:44 ---> job-cost.sh 09:41:44 lf-activate-venv: SKIPPING 09:41:44 DEBUG: total: 0.2199999988079071 09:41:44 INFO: Retrieving Stack Cost... 09:41:44 INFO: Retrieving Pricing Info for: v3-standard-8 09:41:45 INFO: Archiving Costs [Pipeline] echo 09:41:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:41:45 ---> logs-deploy.sh 09:41:45 lf-activate-venv: SKIPPING 09:41:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-380/1 09:41:45 INFO: archiving workspace using pattern(s): 09:41:46 Archives upload complete. 09:41:46 INFO: archiving logs to Nexus