Pull request #378 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 jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 750628ac68259902b160055df8dc1d300111a616+8a3b8b69e8592b451639ad65dda00efb90da788d (245f4c30c5c2578acf02693e28189b31a44e66f7) 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-ssh15676513409786330912.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-ssh15671609251207816694.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-378/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-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3079598906630348755.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-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10982555813301131434.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-ssh11569681445625434485.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-378/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-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14601144906918710647.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-41431 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [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-378 # 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 8a3b8b69e8592b451639ad65dda00efb90da788d into PR head commit 750628ac68259902b160055df8dc1d300111a616 Merge succeeded, producing 750628ac68259902b160055df8dc1d300111a616 Checking out Revision 750628ac68259902b160055df8dc1d300111a616 (PR-378) > 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/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 750628ac68259902b160055df8dc1d300111a616 # 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 8a3b8b69e8592b451639ad65dda00efb90da788d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 750628ac68259902b160055df8dc1d300111a616 # timeout=10 Commit message: "docs: update CHANGELOG for Kamakura" 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 00:45:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:45:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:45:58 ========================================================= 00:45:58 EdgeX Global Pipelines Version Info 00:45:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:45:59 ------------------- 00:45:59 stable info: 00:45:59 ------------------- 00:45:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:45:59 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 00:45:59 Message: update stable to v1.0.227 00:45:59 ------------------- 00:45:59 experimental info: 00:45:59 ------------------- 00:45:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:45:59 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 00:45:59 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:45:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo 00:46:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 750628ac68259902b160055df8dc1d300111a616 [Pipeline] echo 00:46:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 750628a [Pipeline] echo 00:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:01 provisioning config files... 00:46:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config808818835897580914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:01 ---> docker-login.sh 00:46:01 nexus3.edgexfoundry.org:10001 00:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:01 Configure a credential helper to remove this warning. See 00:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:01 00:46:01 Login Succeeded 00:46:01 nexus3.edgexfoundry.org:10002 00:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:02 Configure a credential helper to remove this warning. See 00:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:02 00:46:02 Login Succeeded 00:46:02 nexus3.edgexfoundry.org:10003 00:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:02 Configure a credential helper to remove this warning. See 00:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:02 00:46:02 Login Succeeded 00:46:02 nexus3.edgexfoundry.org:10004 00:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:02 Configure a credential helper to remove this warning. See 00:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:02 00:46:02 Login Succeeded 00:46:02 docker.io 00:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:02 Configure a credential helper to remove this warning. See 00:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:02 00:46:02 Login Succeeded 00:46:02 ---> docker-login.sh ends [Pipeline] } 00:46:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:46:03 + git rev-list -1 --merges 750628ac68259902b160055df8dc1d300111a616~1..750628ac68259902b160055df8dc1d300111a616 [Pipeline] echo 00:46:03 -----------> git rev-list -1 --merges 750628ac68259902b160055df8dc1d300111a616~1..750628ac68259902b160055df8dc1d300111a616 750628ac68259902b160055df8dc1d300111a616 [false] [Pipeline] sh 00:46:03 + git log --format=format:%s -1 750628ac68259902b160055df8dc1d300111a616 [Pipeline] echo 00:46:03 ========================================================= 00:46:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:46:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:04 + git log --format=format:%s -1 750628ac68259902b160055df8dc1d300111a616 [Pipeline] echo 00:46:04 [semverPrep] GIT_COMMIT: 750628ac68259902b160055df8dc1d300111a616, Commit Message: docs: update CHANGELOG for Kamakura [Pipeline] echo 00:46:04 [semverPrep] This is not a build commit. [Pipeline] sh 00:46:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:46:04 + grep -v github /etc/ssh/ssh_known_hosts 00:46:04 + [ -e /tmp/ssh_known_hosts ] 00:46:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:46:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:46:04 + sudo tee -a /etc/ssh/ssh_known_hosts 00:46:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:46:05 00:46:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:46:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:46:05 latest: Pulling from edgex-devops/py-git-semver 00:46:05 1fe172e4850f: Pulling fs layer 00:46:05 caf521ccaac6: Pulling fs layer 00:46:05 3ead6fa29328: Pulling fs layer 00:46:05 5c2a1cbceb83: Pulling fs layer 00:46:05 a8d5f1318db7: Pulling fs layer 00:46:05 c427282e49a2: Pulling fs layer 00:46:05 1827001aaf11: Pulling fs layer 00:46:05 0714d37db230: Pulling fs layer 00:46:05 ac28cf19c067: Pulling fs layer 00:46:05 ca983d60f3e2: Pulling fs layer 00:46:05 9f894cec8388: Pulling fs layer 00:46:05 5c2a1cbceb83: Waiting 00:46:05 a8d5f1318db7: Waiting 00:46:05 c427282e49a2: Waiting 00:46:05 1827001aaf11: Waiting 00:46:05 0714d37db230: Waiting 00:46:05 ac28cf19c067: Waiting 00:46:05 ca983d60f3e2: Waiting 00:46:05 9f894cec8388: Waiting 00:46:05 caf521ccaac6: Download complete 00:46:05 5c2a1cbceb83: Verifying Checksum 00:46:05 5c2a1cbceb83: Download complete 00:46:05 a8d5f1318db7: Verifying Checksum 00:46:05 a8d5f1318db7: Download complete 00:46:05 3ead6fa29328: Verifying Checksum 00:46:05 3ead6fa29328: Download complete 00:46:05 c427282e49a2: Verifying Checksum 00:46:05 c427282e49a2: Download complete 00:46:05 0714d37db230: Download complete 00:46:05 ac28cf19c067: Verifying Checksum 00:46:05 ac28cf19c067: Download complete 00:46:05 ca983d60f3e2: Verifying Checksum 00:46:05 9f894cec8388: Verifying Checksum 00:46:05 9f894cec8388: Download complete 00:46:05 1fe172e4850f: Verifying Checksum 00:46:05 1fe172e4850f: Download complete 00:46:06 1827001aaf11: Verifying Checksum 00:46:06 1827001aaf11: Download complete 00:46:06 1fe172e4850f: Pull complete 00:46:07 caf521ccaac6: Pull complete 00:46:07 3ead6fa29328: Pull complete 00:46:07 5c2a1cbceb83: Pull complete 00:46:08 a8d5f1318db7: Pull complete 00:46:08 c427282e49a2: Pull complete 00:46:10 1827001aaf11: Pull complete 00:46:10 0714d37db230: Pull complete 00:46:10 ac28cf19c067: Pull complete 00:46:10 ca983d60f3e2: Pull complete 00:46:10 9f894cec8388: Pull complete 00:46:10 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 00:46:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:46:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 00:46:10 prd-ubuntu20.04-docker-8c-8g-41431 does not seem to be running inside a container 00:46:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 00:46:11 $ docker top a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 -eo pid,comm 00:46:11 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). 00:46:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:46:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:11 [ssh-agent] Looking for ssh-agent implementation... 00:46:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:12 $ docker exec a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 ssh-agent 00:46:12 SSH_AUTH_SOCK=/tmp/ssh-xJxQtgXR7jRg/agent.32 00:46:12 SSH_AGENT_PID=39 00:46:12 Running ssh-add (command line suppressed) 00:46:12 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_2072722851966006629.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_2072722851966006629.key) 00:46:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:12 + git tag --points-at HEAD [Pipeline] } 00:46:12 $ docker exec --env ******** --env ******** a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 ssh-agent -k 00:46:12 unset SSH_AUTH_SOCK; 00:46:12 unset SSH_AGENT_PID; 00:46:12 echo Agent pid 39 killed; 00:46:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:46:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:12 [ssh-agent] Looking for ssh-agent implementation... 00:46:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:13 $ docker exec a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 ssh-agent 00:46:13 SSH_AUTH_SOCK=/tmp/ssh-WKm9TWBy2Eis/agent.73 00:46:13 SSH_AGENT_PID=79 00:46:13 Running ssh-add (command line suppressed) 00:46:13 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_4269524676383006456.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_4269524676383006456.key) 00:46:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:13 + git semver init 00:46:13 2022-05-08 00:46:13,853 [run_init] DEBUG init version:0.0.0 force:False 00:46:13 2022-05-08 00:46:13,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver 00:46:13 2022-05-08 00:46:13,854 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver 00:46:13 2022-05-08 00:46:13,854 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378, universal_newlines=False, shell=None, istream=None) 00:46:14 2022-05-08 00:46:14,677 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.git/info/exclude 00:46:14 2022-05-08 00:46:14,677 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 with force:False 00:46:14 2022-05-08 00:46:14,677 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 00:46:14 2022-05-08 00:46:14,682 [execute] INFO git cat-file --batch-check 00:46:14 2022-05-08 00:46:14,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 00:46:14 2022-05-08 00:46:14,690 [execute] INFO git cat-file --batch 00:46:14 2022-05-08 00:46:14,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 00:46:14 2022-05-08 00:46:14,696 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 00:46:14 0.0.0 [Pipeline] } 00:46:14 $ docker exec --env ******** --env ******** a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 ssh-agent -k 00:46:15 unset SSH_AUTH_SOCK; 00:46:15 unset SSH_AGENT_PID; 00:46:15 echo Agent pid 79 killed; 00:46:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:46:15 + git semver [Pipeline] } 00:46:15 $ docker stop --time=1 a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 00:46:17 $ docker rm -f a070643ea57f03c29a0d7db4e0577976459697e59c359619a9bca18d694603f5 [Pipeline] // withDockerContainer [Pipeline] sh 00:46:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:46:17 Stashed 1 file(s) [Pipeline] echo 00:46:17 [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 00:46:18 provisioning config files... 00:46:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8837925280273206841tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:18 ---> docker-login.sh 00:46:18 nexus3.edgexfoundry.org:10001 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:18 Configure a credential helper to remove this warning. See 00:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:18 00:46:18 Login Succeeded 00:46:18 nexus3.edgexfoundry.org:10002 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:19 Configure a credential helper to remove this warning. See 00:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:19 00:46:19 Login Succeeded 00:46:19 nexus3.edgexfoundry.org:10003 00:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:19 Configure a credential helper to remove this warning. See 00:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:19 00:46:19 Login Succeeded 00:46:19 nexus3.edgexfoundry.org:10004 00:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:19 Configure a credential helper to remove this warning. See 00:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:19 00:46:19 Login Succeeded 00:46:19 docker.io 00:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:19 Configure a credential helper to remove this warning. See 00:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:19 00:46:19 Login Succeeded 00:46:19 ---> docker-login.sh ends [Pipeline] } 00:46:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:19 ========================================================= 00:46:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:46:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:46:20 + 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 . 00:46:20 Sending build context to Docker daemon 5.867MB 00:46:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:46:20 Step 2/12 : FROM ${BASE} AS builder 00:46:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:20 59bf1c3509f3: Pulling fs layer 00:46:20 666ba61612fd: Pulling fs layer 00:46:20 8ed8ca486205: Pulling fs layer 00:46:20 4fe6c5a15a65: Pulling fs layer 00:46:20 22a0e8bec74d: Pulling fs layer 00:46:20 ca2b28591e48: Pulling fs layer 00:46:20 a51346096db8: Pulling fs layer 00:46:20 daebc70d1ce1: Pulling fs layer 00:46:20 0e18a0eac166: Pulling fs layer 00:46:20 4fe6c5a15a65: Waiting 00:46:20 22a0e8bec74d: Waiting 00:46:20 ca2b28591e48: Waiting 00:46:20 a51346096db8: Waiting 00:46:20 daebc70d1ce1: Waiting 00:46:20 0e18a0eac166: Waiting 00:46:20 8ed8ca486205: Download complete 00:46:20 666ba61612fd: Download complete 00:46:20 22a0e8bec74d: Verifying Checksum 00:46:20 22a0e8bec74d: Download complete 00:46:20 ca2b28591e48: Verifying Checksum 00:46:20 ca2b28591e48: Download complete 00:46:20 59bf1c3509f3: Verifying Checksum 00:46:20 59bf1c3509f3: Download complete 00:46:20 a51346096db8: Verifying Checksum 00:46:20 a51346096db8: Download complete 00:46:20 daebc70d1ce1: Verifying Checksum 00:46:20 daebc70d1ce1: Download complete 00:46:20 59bf1c3509f3: Pull complete 00:46:20 666ba61612fd: Pull complete 00:46:20 8ed8ca486205: Pull complete 00:46:21 0e18a0eac166: Download complete 00:46:21 4fe6c5a15a65: Verifying Checksum 00:46:21 4fe6c5a15a65: Download complete 00:46:25 4fe6c5a15a65: Pull complete 00:46:25 22a0e8bec74d: Pull complete 00:46:25 ca2b28591e48: Pull complete 00:46:25 a51346096db8: Pull complete 00:46:25 daebc70d1ce1: Pull complete 00:46:28 0e18a0eac166: Pull complete 00:46:28 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 00:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:46:28 ---> f018257e8ee9 00:46:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:46:29 ---> Running in 69840a45b6bb 00:46:29 Removing intermediate container 69840a45b6bb 00:46:29 ---> 04aeb122734b 00:46:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:46:29 ---> Running in 67bc44cb1bbc 00:46:29 Removing intermediate container 67bc44cb1bbc 00:46:29 ---> 05072b30ef98 00:46:29 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:46:29 ---> Running in 63c90ab6eb2b 00:46:29 Removing intermediate container 63c90ab6eb2b 00:46:29 ---> cb2d13641c1f 00:46:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:29 ---> Running in 9849acde53a0 00:46:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:46:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:46:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:46:31 (2/4) Installing libedit (20210910.3.1-r0) 00:46:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:46:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:46:31 Executing busybox-1.34.1-r3.trigger 00:46:31 OK: 224 MiB in 56 packages 00:46:31 Removing intermediate container 9849acde53a0 00:46:31 ---> ea69660b705a 00:46:31 Step 7/12 : WORKDIR /device-mqtt-go 00:46:31 ---> Running in cf865ecedc8a 00:46:32 Removing intermediate container cf865ecedc8a 00:46:32 ---> 1088196f38b6 00:46:32 Step 8/12 : COPY go.mod vendor* ./ 00:46:32 ---> 7977bdb9fb20 00:46:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:32 ---> Running in 124fcbb720d9 00:46:33 Still waiting to schedule task 00:46:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:46:47 Removing intermediate container 124fcbb720d9 00:46:47 ---> fae02d145849 00:46:47 Step 10/12 : COPY . . 00:46:47 ---> 9974208f0743 00:46:47 Step 11/12 : ARG MAKE='make build' 00:46:47 ---> Running in 0a4e8cc526be 00:46:47 Removing intermediate container 0a4e8cc526be 00:46:47 ---> 9b0ea11366ad 00:46:47 Step 12/12 : RUN $MAKE 00:46:47 ---> Running in cb39b3813a1d 00:46:47 noop 00:46:47 Removing intermediate container cb39b3813a1d 00:46:47 ---> 2fdb6de96119 00:46:47 Successfully built 2fdb6de96119 00:46:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:46:47 + docker inspect -f . ci-base-image-x86_64 00:46:47 . [Pipeline] withDockerContainer 00:46:47 prd-ubuntu20.04-docker-8c-8g-41431 does not seem to be running inside a container 00:46:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 00:46:48 $ docker top 9e8c4cd5b22454d77bdb73f8685da8cd4a58b3cbe08a8ff7335f3295c1c916e1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:48 + go version 00:46:48 go version go1.17.6 linux/amd64 [Pipeline] } 00:46:48 $ docker stop --time=1 9e8c4cd5b22454d77bdb73f8685da8cd4a58b3cbe08a8ff7335f3295c1c916e1 00:46:49 $ docker rm -f 9e8c4cd5b22454d77bdb73f8685da8cd4a58b3cbe08a8ff7335f3295c1c916e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:46:50 + docker inspect -f . ci-base-image-x86_64 00:46:50 . [Pipeline] withDockerContainer 00:46:50 prd-ubuntu20.04-docker-8c-8g-41431 does not seem to be running inside a container 00:46:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 00:46:50 $ docker top 653128ea2ad391b6b9c697d0e4aa3dc2984f6f164808e4578a0c973d3f4d6f9a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:46:51 + make test 00:46:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:46:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:47:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:47:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 00:47:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:47:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:47:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:47:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:47:11 ./bin/test-attribution-txt.sh [Pipeline] echo 00:47:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:47:12 $ docker stop --time=1 653128ea2ad391b6b9c697d0e4aa3dc2984f6f164808e4578a0c973d3f4d6f9a 00:47:13 $ docker rm -f 653128ea2ad391b6b9c697d0e4aa3dc2984f6f164808e4578a0c973d3f4d6f9a [Pipeline] // withDockerContainer [Pipeline] sh 00:47:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:47:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:47:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:47:15 + ls -al . 00:47:15 total 180 00:47:15 drwxrwxr-x 10 jenkins jenkins 4096 May 8 00:47 . 00:47:15 drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:45 .. 00:47:15 -rw-rw-r-- 1 jenkins jenkins 140 May 8 00:45 .dockerignore 00:47:15 drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:46 .git 00:47:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:45 .github 00:47:15 -rw-rw-r-- 1 jenkins jenkins 329 May 8 00:45 .gitignore 00:47:15 -rw-rw-r-- 1 jenkins jenkins 41 May 8 00:45 .golangci.yml 00:47:15 drwxr-xr-x 3 jenkins jenkins 4096 May 8 00:46 .semver 00:47:15 -rw-rw-r-- 1 jenkins jenkins 8656 May 8 00:45 Attribution.txt 00:47:15 -rw-rw-r-- 1 jenkins jenkins 9289 May 8 00:45 CHANGELOG.md 00:47:15 -rw-rw-r-- 1 jenkins jenkins 1930 May 8 00:45 Dockerfile 00:47:15 -rw-rw-r-- 1 jenkins jenkins 677 May 8 00:45 GOVERNANCE.md 00:47:15 -rw-rw-r-- 1 jenkins jenkins 678 May 8 00:45 Jenkinsfile 00:47:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 00:45 LICENSE 00:47:15 -rw-rw-r-- 1 jenkins jenkins 1930 May 8 00:45 Makefile 00:47:15 -rw-rw-r-- 1 jenkins jenkins 620 May 8 00:45 OWNERS.md 00:47:15 -rw-rw-r-- 1 jenkins jenkins 2501 May 8 00:45 README.md 00:47:15 -rw-rw-r-- 1 jenkins jenkins 5 May 8 00:46 VERSION 00:47:15 drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:45 bin 00:47:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:45 cmd 00:47:15 -rw-r--r-- 1 jenkins jenkins 17887 May 8 00:47 coverage.out 00:47:15 -rw-rw-r-- 1 jenkins jenkins 3309 May 8 00:45 go.mod 00:47:15 -rw-rw-r-- 1 jenkins jenkins 35490 May 8 00:45 go.sum 00:47:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:45 internal 00:47:15 drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:45 mock 00:47:15 drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:45 snap 00:47:15 -rw-rw-r-- 1 jenkins jenkins 227 May 8 00:45 version.go [Pipeline] isUnix [Pipeline] sh 00:47:15 + 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=750628ac68259902b160055df8dc1d300111a616 --label arch=amd64 --label version=0.0.0 . 00:47:15 Sending build context to Docker daemon 5.885MB 00:47:15 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:47:15 Step 2/24 : FROM ${BASE} AS builder 00:47:15 ---> 2fdb6de96119 00:47:15 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:47:15 ---> Running in 9b377176f4c1 00:47:16 Removing intermediate container 9b377176f4c1 00:47:16 ---> 2644285b2e42 00:47:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 00:47:16 ---> Running in 2618a9e1a330 00:47:16 Removing intermediate container 2618a9e1a330 00:47:16 ---> ffe932ba6d7a 00:47:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:47:16 ---> Running in 96d218582b18 00:47:16 Removing intermediate container 96d218582b18 00:47:16 ---> df3f1111a4cc 00:47:16 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:16 ---> Running in 81816f1c2315 00:47:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:47:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:47:18 OK: 224 MiB in 56 packages 00:47:18 Removing intermediate container 81816f1c2315 00:47:18 ---> e04259338f9f 00:47:18 Step 7/24 : WORKDIR /device-mqtt-go 00:47:18 ---> Running in 00771d25cba9 00:47:18 Removing intermediate container 00771d25cba9 00:47:18 ---> 77cb0551da5d 00:47:18 Step 8/24 : COPY go.mod vendor* ./ 00:47:18 ---> 69c9dfbc12e3 00:47:18 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:18 ---> Running in 2d06844e34e1 00:47:19 Removing intermediate container 2d06844e34e1 00:47:19 ---> 1088e8dbbe84 00:47:19 Step 10/24 : COPY . . 00:47:19 ---> 649a13436be4 00:47:19 Step 11/24 : ARG MAKE='make build' 00:47:19 ---> Running in c562096ebcbd 00:47:19 Removing intermediate container c562096ebcbd 00:47:19 ---> da7ac77d2095 00:47:19 Step 12/24 : RUN $MAKE 00:47:19 ---> Running in 25b1b505ff33 00:47:20 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 00:47:42 Removing intermediate container 25b1b505ff33 00:47:42 ---> d0453a07dc50 00:47:42 Step 13/24 : FROM alpine:3.14 00:47:42 3.14: Pulling from library/alpine 00:47:42 8663204ce13b: Pulling fs layer 00:47:42 8663204ce13b: Verifying Checksum 00:47:42 8663204ce13b: Download complete 00:47:42 8663204ce13b: Pull complete 00:47:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:47:42 Status: Downloaded newer image for alpine:3.14 00:47:42 ---> e04c818066af 00:47:42 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:47:42 ---> Running in 56f29a8def49 00:47:42 Removing intermediate container 56f29a8def49 00:47:42 ---> 83348f413026 00:47:42 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:47:42 ---> Running in a649d2464125 00:47:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:47:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:47:42 (1/6) Installing dumb-init (1.2.5-r1) 00:47:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:47:42 (3/6) Installing libsodium (1.0.18-r0) 00:47:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:47:42 (5/6) Installing libzmq (4.3.4-r0) 00:47:42 (6/6) Installing zeromq (4.3.4-r0) 00:47:42 Executing busybox-1.33.1-r7.trigger 00:47:42 OK: 8 MiB in 20 packages 00:47:42 Removing intermediate container a649d2464125 00:47:42 ---> 18981abb2d0e 00:47:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:47:42 ---> 7dccba3dc492 00:47:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:47:42 ---> 7b570396a083 00:47:42 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:47:42 ---> c98778d5408a 00:47:42 Step 19/24 : EXPOSE 59982 00:47:42 ---> Running in 24abc2a1b6ea 00:47:42 Removing intermediate container 24abc2a1b6ea 00:47:42 ---> a4fbdaff9923 00:47:42 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:47:42 ---> Running in fe6e04eb0578 00:47:42 Removing intermediate container fe6e04eb0578 00:47:42 ---> 66f7114b9238 00:47:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:47:42 ---> Running in 2c4be9785014 00:47:42 Removing intermediate container 2c4be9785014 00:47:42 ---> dd2fd33cfa81 00:47:42 Step 22/24 : LABEL arch=amd64 00:47:42 ---> Running in 3b93bb572ad9 00:47:42 Removing intermediate container 3b93bb572ad9 00:47:42 ---> 5385bf11e35e 00:47:42 Step 23/24 : LABEL git_sha=750628ac68259902b160055df8dc1d300111a616 00:47:42 ---> Running in b1fbe3581176 00:47:42 Removing intermediate container b1fbe3581176 00:47:42 ---> e3ba8c32ce83 00:47:42 Step 24/24 : LABEL version=0.0.0 00:47:42 ---> Running in 380a757a2245 00:47:42 Removing intermediate container 380a757a2245 00:47:42 ---> a329ecd09895 00:47:42 [Warning] One or more build-args [ARCH] were not consumed 00:47:42 Successfully built a329ecd09895 00:47:42 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 00:47:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:47:43 00:47:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:47:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:47:43 latest: Pulling from edgex-lftools-log-publisher 00:47:43 5eb5b503b376: Pulling fs layer 00:47:43 5c69ac0246d0: Pulling fs layer 00:47:43 ec43610c2a17: Pulling fs layer 00:47:43 3a2ae6a8a46f: Pulling fs layer 00:47:43 33b1e0a273af: Pulling fs layer 00:47:43 5d3b04190fa2: Pulling fs layer 00:47:43 3a2ae6a8a46f: Waiting 00:47:43 33b1e0a273af: Waiting 00:47:43 2f39f015ded8: Pulling fs layer 00:47:43 5d3b04190fa2: Waiting 00:47:43 2f39f015ded8: Waiting 00:47:43 5c69ac0246d0: Verifying Checksum 00:47:43 5c69ac0246d0: Download complete 00:47:43 3a2ae6a8a46f: Verifying Checksum 00:47:43 3a2ae6a8a46f: Download complete 00:47:43 33b1e0a273af: Verifying Checksum 00:47:43 33b1e0a273af: Download complete 00:47:44 5d3b04190fa2: Verifying Checksum 00:47:44 5d3b04190fa2: Download complete 00:47:44 ec43610c2a17: Verifying Checksum 00:47:44 ec43610c2a17: Download complete 00:47:44 5eb5b503b376: Verifying Checksum 00:47:44 5eb5b503b376: Download complete 00:47:44 2f39f015ded8: Download complete 00:47:45 5eb5b503b376: Pull complete 00:47:45 5c69ac0246d0: Pull complete 00:47:45 ec43610c2a17: Pull complete 00:47:45 3a2ae6a8a46f: Pull complete 00:47:45 33b1e0a273af: Pull complete 00:47:46 5d3b04190fa2: Pull complete 00:47:51 2f39f015ded8: Pull complete 00:47:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:47:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:47:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:47:51 prd-ubuntu20.04-docker-8c-8g-41431 does not seem to be running inside a container 00:47:51 $ 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-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 00:47:53 $ docker top 1f72d504852828cedc9209f8f50326100023d423abab8fc901a5437c1011cb43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:47:53 ---> job-cost.sh 00:47:53 lf-activate-venv: SKIPPING 00:47:53 INFO: No Stack... 00:47:54 INFO: Retrieving Pricing Info for: v3-standard-8 00:47:54 INFO: Archiving Costs [Pipeline] sh 00:47:54 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/cost.csv 00:47:54 + cut -d, -f6 [Pipeline] lock 00:47:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] 00:47:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] did not exist. Created. 00:47:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:47:55 + echo total: 0.2199999988079071 [Pipeline] stash 00:47:55 Stashed 1 file(s) [Pipeline] } 00:47:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:47:55 $ docker stop --time=1 1f72d504852828cedc9209f8f50326100023d423abab8fc901a5437c1011cb43 00:47:56 $ docker rm -f 1f72d504852828cedc9209f8f50326100023d423abab8fc901a5437c1011cb43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:50:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41432 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] ws 00:50:23 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 00:50:23 Selected Git installation does not exist. Using Default 00:50:23 The recommended git tool is: NONE 00:50:30 using credential edgex-jenkins-ssh 00:50:30 Cloning the remote Git repository 00:50:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:50:30 > git init /w/workspace/device-mqtt-go/1 # timeout=10 00:50:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:50:31 > git --version # timeout=10 00:50:31 > git --version # 'git version 2.25.1' 00:50:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:32 Merging remotes/origin/main commit 8a3b8b69e8592b451639ad65dda00efb90da788d into PR head commit 750628ac68259902b160055df8dc1d300111a616 00:50:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:50:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:50:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:50:32 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:50:32 > git config core.sparsecheckout # timeout=10 00:50:33 > git checkout -f 750628ac68259902b160055df8dc1d300111a616 # timeout=10 00:50:33 Merge succeeded, producing 750628ac68259902b160055df8dc1d300111a616 00:50:33 Checking out Revision 750628ac68259902b160055df8dc1d300111a616 (PR-378) 00:50:33 > git remote # timeout=10 00:50:33 > git config --get remote.origin.url # timeout=10 00:50:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:33 > git merge 8a3b8b69e8592b451639ad65dda00efb90da788d # timeout=10 00:50:33 > git rev-parse HEAD^{commit} # timeout=10 00:50:33 > git config core.sparsecheckout # timeout=10 00:50:33 > git checkout -f 750628ac68259902b160055df8dc1d300111a616 # timeout=10 00:50:37 Commit message: "docs: update CHANGELOG for Kamakura" 00:50:37 > git --version # timeout=10 00:50:37 > git --version # 'git version 2.25.1' 00:50:37 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:50:39 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:39 Dload Upload Total Spent Left Speed 00:50:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87725 0 --:--:-- --:--:-- --:--:-- 87725 [Pipeline] sh 00:50:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:50:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:50:40 + sudo tee /etc/docker/daemon.new 00:50:40 { 00:50:40 "registry-mirrors": [ 00:50:40 "https://nexus3.edgexfoundry.org:10001" 00:50:40 ], 00:50:40 "bip": "10.250.0.254/24", 00:50:40 "hosts": [ 00:50:40 "tcp://0.0.0.0:5555", 00:50:40 "unix:///var/run/docker.sock" 00:50:40 ], 00:50:40 "mtu": 1458, 00:50:40 "selinux-enabled": true, 00:50:40 "seccomp-profile": "/etc/docker/seccomp.json" 00:50:40 } [Pipeline] sh 00:50:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:50:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:59 provisioning config files... 00:50:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2144894927104509664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:00 ---> docker-login.sh 00:51:00 nexus3.edgexfoundry.org:10001 00:51:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:00 Configure a credential helper to remove this warning. See 00:51:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:00 00:51:00 Login Succeeded 00:51:00 nexus3.edgexfoundry.org:10002 00:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:01 Configure a credential helper to remove this warning. See 00:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:01 00:51:01 Login Succeeded 00:51:01 nexus3.edgexfoundry.org:10003 00:51:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:01 Configure a credential helper to remove this warning. See 00:51:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:01 00:51:01 Login Succeeded 00:51:01 nexus3.edgexfoundry.org:10004 00:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:02 Configure a credential helper to remove this warning. See 00:51:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:02 00:51:02 Login Succeeded 00:51:02 docker.io 00:51:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:03 Configure a credential helper to remove this warning. See 00:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:03 00:51:03 Login Succeeded 00:51:03 ---> docker-login.sh ends [Pipeline] } 00:51:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:51:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:51:03 ========================================================= 00:51:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:51:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:51:04 + 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 . 00:51:04 Sending build context to Docker daemon 3.045MB 00:51:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:51:04 Step 2/12 : FROM ${BASE} AS builder 00:51:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:51:04 9b3977197b4f: Pulling fs layer 00:51:04 1a89e8eeedd5: Pulling fs layer 00:51:04 94645a83ff95: Pulling fs layer 00:51:04 3f3a8bcf1eab: Pulling fs layer 00:51:04 0c92f367c5e7: Pulling fs layer 00:51:04 3096ccb668a1: Pulling fs layer 00:51:04 e8cf19c19ddd: Pulling fs layer 00:51:04 a4caa8a26152: Pulling fs layer 00:51:04 3f3a8bcf1eab: Waiting 00:51:04 e8cf19c19ddd: Waiting 00:51:04 a4caa8a26152: Waiting 00:51:04 0c92f367c5e7: Waiting 00:51:04 3096ccb668a1: Waiting 00:51:04 94645a83ff95: Verifying Checksum 00:51:04 94645a83ff95: Download complete 00:51:04 1a89e8eeedd5: Verifying Checksum 00:51:04 1a89e8eeedd5: Download complete 00:51:04 0c92f367c5e7: Verifying Checksum 00:51:04 0c92f367c5e7: Download complete 00:51:04 9b3977197b4f: Verifying Checksum 00:51:04 9b3977197b4f: Download complete 00:51:04 3096ccb668a1: Verifying Checksum 00:51:04 3096ccb668a1: Download complete 00:51:04 e8cf19c19ddd: Verifying Checksum 00:51:04 e8cf19c19ddd: Download complete 00:51:05 9b3977197b4f: Pull complete 00:51:05 1a89e8eeedd5: Pull complete 00:51:06 94645a83ff95: Pull complete 00:51:06 a4caa8a26152: Verifying Checksum 00:51:06 a4caa8a26152: Download complete 00:51:07 3f3a8bcf1eab: Verifying Checksum 00:51:07 3f3a8bcf1eab: Download complete 00:51:19 3f3a8bcf1eab: Pull complete 00:51:19 0c92f367c5e7: Pull complete 00:51:20 3096ccb668a1: Pull complete 00:51:20 e8cf19c19ddd: Pull complete 00:51:27 a4caa8a26152: Pull complete 00:51:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:51:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:51:27 ---> 725f1c02e7f9 00:51:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:51:27 ---> Running in 5f843c53d6e8 00:51:28 Removing intermediate container 5f843c53d6e8 00:51:28 ---> d6717e291392 00:51:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:51:28 ---> Running in 74d57e8a8f75 00:51:28 Removing intermediate container 74d57e8a8f75 00:51:28 ---> 1d8eed41d61f 00:51:28 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:51:28 ---> Running in 4f61a168b1a5 00:51:32 Removing intermediate container 4f61a168b1a5 00:51:32 ---> e08b7cdc7706 00:51:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:32 ---> Running in 55570857abc9 00:51:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:51:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:51:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:51:34 (2/4) Installing libedit (20210910.3.1-r0) 00:51:34 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:51:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:51:35 Executing busybox-1.34.1-r3.trigger 00:51:35 OK: 224 MiB in 56 packages 00:51:36 Removing intermediate container 55570857abc9 00:51:36 ---> 1cca459986fd 00:51:36 Step 7/12 : WORKDIR /device-mqtt-go 00:51:36 ---> Running in 4308a6a9ff1d 00:51:36 Removing intermediate container 4308a6a9ff1d 00:51:36 ---> 41b03f925455 00:51:36 Step 8/12 : COPY go.mod vendor* ./ 00:51:37 ---> 033c386f11cf 00:51:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:37 ---> Running in 9a9f57bb70cf 00:52:24 Removing intermediate container 9a9f57bb70cf 00:52:24 ---> 9cd1bfa578e8 00:52:24 Step 10/12 : COPY . . 00:52:24 ---> 99f93846e1af 00:52:24 Step 11/12 : ARG MAKE='make build' 00:52:24 ---> Running in e2f149ba9ad7 00:52:24 Removing intermediate container e2f149ba9ad7 00:52:24 ---> c2831ba863da 00:52:24 Step 12/12 : RUN $MAKE 00:52:24 ---> Running in e2a23434bf56 00:52:25 noop 00:52:26 Removing intermediate container e2a23434bf56 00:52:26 ---> 7386b85ac4ae 00:52:26 Successfully built 7386b85ac4ae 00:52:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:52:26 + docker inspect -f . ci-base-image-arm64 00:52:26 . [Pipeline] withDockerContainer 00:52:26 prd-ubuntu20.04-docker-arm64-4c-16g-41432 does not seem to be running inside a container 00:52:26 $ 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 00:52:28 $ docker top 2ed41b56d630a3ac101629bde36216cb078a55f1c265c9d8fa94552e775a4c24 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:29 + go version 00:52:29 go version go1.17.6 linux/arm64 [Pipeline] } 00:52:29 $ docker stop --time=1 2ed41b56d630a3ac101629bde36216cb078a55f1c265c9d8fa94552e775a4c24 00:52:30 $ docker rm -f 2ed41b56d630a3ac101629bde36216cb078a55f1c265c9d8fa94552e775a4c24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:52:31 + docker inspect -f . ci-base-image-arm64 00:52:31 . [Pipeline] withDockerContainer 00:52:32 prd-ubuntu20.04-docker-arm64-4c-16g-41432 does not seem to be running inside a container 00:52:32 $ 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 00:52:33 $ docker top 5b060ca63e2635bafa283937aa5042595cc8715360816b9e921ac2c07adbf74c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:52:34 + make test 00:52:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:52:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:54:13 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:54:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.8% of statements 00:54:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:54:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:54:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 00:54:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:54:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:54:31 ./bin/test-attribution-txt.sh [Pipeline] echo 00:54:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:54:32 $ docker stop --time=1 5b060ca63e2635bafa283937aa5042595cc8715360816b9e921ac2c07adbf74c 00:54:34 $ docker rm -f 5b060ca63e2635bafa283937aa5042595cc8715360816b9e921ac2c07adbf74c [Pipeline] // withDockerContainer [Pipeline] sh 00:54:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:54:35 Warning: overwriting stash ‘coverage-report’ 00:54:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:54:37 + ls -al . 00:54:37 total 176 00:54:37 drwxrwxr-x 9 jenkins jenkins 4096 May 8 00:54 . 00:54:37 drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:50 .. 00:54:37 -rw-rw-r-- 1 jenkins jenkins 140 May 8 00:50 .dockerignore 00:54:37 drwxrwxr-x 8 jenkins jenkins 4096 May 8 00:50 .git 00:54:37 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:50 .github 00:54:37 -rw-rw-r-- 1 jenkins jenkins 329 May 8 00:50 .gitignore 00:54:37 -rw-rw-r-- 1 jenkins jenkins 41 May 8 00:50 .golangci.yml 00:54:37 -rw-rw-r-- 1 jenkins jenkins 8656 May 8 00:50 Attribution.txt 00:54:37 -rw-rw-r-- 1 jenkins jenkins 9289 May 8 00:50 CHANGELOG.md 00:54:37 -rw-rw-r-- 1 jenkins jenkins 1930 May 8 00:50 Dockerfile 00:54:37 -rw-rw-r-- 1 jenkins jenkins 677 May 8 00:50 GOVERNANCE.md 00:54:37 -rw-rw-r-- 1 jenkins jenkins 678 May 8 00:50 Jenkinsfile 00:54:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 00:50 LICENSE 00:54:37 -rw-rw-r-- 1 jenkins jenkins 1930 May 8 00:50 Makefile 00:54:37 -rw-rw-r-- 1 jenkins jenkins 620 May 8 00:50 OWNERS.md 00:54:37 -rw-rw-r-- 1 jenkins jenkins 2501 May 8 00:50 README.md 00:54:37 -rw-rw-r-- 1 jenkins jenkins 5 May 8 00:46 VERSION 00:54:37 drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:50 bin 00:54:37 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:50 cmd 00:54:37 -rw-r--r-- 1 jenkins jenkins 17887 May 8 00:54 coverage.out 00:54:37 -rw-rw-r-- 1 jenkins jenkins 3309 May 8 00:50 go.mod 00:54:37 -rw-rw-r-- 1 jenkins jenkins 35490 May 8 00:50 go.sum 00:54:37 drwxrwxr-x 3 jenkins jenkins 4096 May 8 00:50 internal 00:54:37 drwxrwxr-x 2 jenkins jenkins 4096 May 8 00:50 mock 00:54:37 drwxrwxr-x 4 jenkins jenkins 4096 May 8 00:50 snap 00:54:37 -rw-rw-r-- 1 jenkins jenkins 227 May 8 00:50 version.go [Pipeline] isUnix [Pipeline] sh 00:54:37 + 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=750628ac68259902b160055df8dc1d300111a616 --label arch=arm64 --label version=0.0.0 . 00:54:38 Sending build context to Docker daemon 3.063MB 00:54:38 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:54:38 Step 2/24 : FROM ${BASE} AS builder 00:54:38 ---> 7386b85ac4ae 00:54:38 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:54:38 ---> Running in a44abb9e3bd2 00:54:39 Removing intermediate container a44abb9e3bd2 00:54:39 ---> 5c5dd3c0c392 00:54:39 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 00:54:39 ---> Running in a78d1199c4e2 00:54:39 Removing intermediate container a78d1199c4e2 00:54:39 ---> a23b5c7f458f 00:54:39 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:54:39 ---> Running in f521f8d7f7f8 00:54:41 Removing intermediate container f521f8d7f7f8 00:54:41 ---> 7c3fc707ffb6 00:54:41 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:54:41 ---> Running in 348a53ac6b2b 00:54:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:54:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:54:44 OK: 224 MiB in 56 packages 00:54:44 Removing intermediate container 348a53ac6b2b 00:54:44 ---> aa0d9c1b9203 00:54:44 Step 7/24 : WORKDIR /device-mqtt-go 00:54:44 ---> Running in c574b8747eb1 00:54:45 Removing intermediate container c574b8747eb1 00:54:45 ---> bd4f9236aa9d 00:54:45 Step 8/24 : COPY go.mod vendor* ./ 00:54:46 ---> 6cac1c0a17ff 00:54:46 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:46 ---> Running in d2a0ab51b45d 00:54:48 Removing intermediate container d2a0ab51b45d 00:54:48 ---> 9bb8602a9922 00:54:48 Step 10/24 : COPY . . 00:54:48 ---> 9b04459c5d79 00:54:48 Step 11/24 : ARG MAKE='make build' 00:54:48 ---> Running in 9fd29acef1e2 00:54:49 Removing intermediate container 9fd29acef1e2 00:54:49 ---> 0b618e5ee258 00:54:49 Step 12/24 : RUN $MAKE 00:54:49 ---> Running in a639c2e43c2b 00:54:50 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 00:57:12 Removing intermediate container a639c2e43c2b 00:57:12 ---> 0bb94d12c943 00:57:12 Step 13/24 : FROM alpine:3.14 00:57:12 3.14: Pulling from library/alpine 00:57:12 455c02918c45: Pulling fs layer 00:57:12 455c02918c45: Verifying Checksum 00:57:12 455c02918c45: Download complete 00:57:12 455c02918c45: Pull complete 00:57:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:57:12 Status: Downloaded newer image for alpine:3.14 00:57:12 ---> ac73e934f311 00:57:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:57:12 ---> Running in d0d7bd05c014 00:57:12 Removing intermediate container d0d7bd05c014 00:57:12 ---> e175bd43f287 00:57:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:57:12 ---> Running in 8125df5424d5 00:57:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:57:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:57:12 (1/6) Installing dumb-init (1.2.5-r1) 00:57:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:57:12 (3/6) Installing libsodium (1.0.18-r0) 00:57:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:57:12 (5/6) Installing libzmq (4.3.4-r0) 00:57:12 (6/6) Installing zeromq (4.3.4-r0) 00:57:12 Executing busybox-1.33.1-r7.trigger 00:57:12 OK: 8 MiB in 20 packages 00:57:12 Removing intermediate container 8125df5424d5 00:57:12 ---> 56da429a65c9 00:57:12 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:57:12 ---> 313c6b8217b4 00:57:12 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:57:12 ---> 0d5e70cf3848 00:57:12 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:57:12 ---> 5872c73268f4 00:57:12 Step 19/24 : EXPOSE 59982 00:57:12 ---> Running in 9b536b4d3476 00:57:12 Removing intermediate container 9b536b4d3476 00:57:12 ---> e22662d8bc75 00:57:12 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:57:12 ---> Running in 1fca177253f5 00:57:12 Removing intermediate container 1fca177253f5 00:57:12 ---> 02cab426f2e0 00:57:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:57:12 ---> Running in 8971fd812874 00:57:12 Removing intermediate container 8971fd812874 00:57:12 ---> faaca7a741bc 00:57:12 Step 22/24 : LABEL arch=arm64 00:57:12 ---> Running in 1d22eec7cfc7 00:57:12 Removing intermediate container 1d22eec7cfc7 00:57:12 ---> e29c1adb5ad1 00:57:12 Step 23/24 : LABEL git_sha=750628ac68259902b160055df8dc1d300111a616 00:57:12 ---> Running in 8435d04c15ef 00:57:12 Removing intermediate container 8435d04c15ef 00:57:12 ---> 198fa9af275d 00:57:12 Step 24/24 : LABEL version=0.0.0 00:57:12 ---> Running in b1e3aebcf9e5 00:57:12 Removing intermediate container b1e3aebcf9e5 00:57:12 ---> 3ddbefc73e5a 00:57:12 [Warning] One or more build-args [ARCH] were not consumed 00:57:12 Successfully built 3ddbefc73e5a 00:57:12 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 00:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:12 00:57:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:57:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:13 arm64: Pulling from edgex-lftools-log-publisher 00:57:13 8998bd30e6a1: Pulling fs layer 00:57:13 04944245beec: Pulling fs layer 00:57:13 699f458cf7ca: Pulling fs layer 00:57:13 765212b225bb: Pulling fs layer 00:57:13 f23df028b6ca: Pulling fs layer 00:57:13 d65c8cfc05b1: Pulling fs layer 00:57:13 2437ff75d9bd: Pulling fs layer 00:57:13 f23df028b6ca: Waiting 00:57:13 d65c8cfc05b1: Waiting 00:57:13 765212b225bb: Waiting 00:57:13 2437ff75d9bd: Waiting 00:57:13 04944245beec: Verifying Checksum 00:57:13 04944245beec: Download complete 00:57:13 765212b225bb: Verifying Checksum 00:57:13 765212b225bb: Download complete 00:57:13 f23df028b6ca: Download complete 00:57:13 d65c8cfc05b1: Verifying Checksum 00:57:13 d65c8cfc05b1: Download complete 00:57:13 699f458cf7ca: Verifying Checksum 00:57:13 699f458cf7ca: Download complete 00:57:14 8998bd30e6a1: Verifying Checksum 00:57:14 8998bd30e6a1: Download complete 00:57:16 2437ff75d9bd: Download complete 00:57:18 8998bd30e6a1: Pull complete 00:57:18 04944245beec: Pull complete 00:57:20 699f458cf7ca: Pull complete 00:57:20 765212b225bb: Pull complete 00:57:21 f23df028b6ca: Pull complete 00:57:21 d65c8cfc05b1: Pull complete 00:57:36 2437ff75d9bd: Pull complete 00:57:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:57:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:57:36 prd-ubuntu20.04-docker-arm64-4c-16g-41432 does not seem to be running inside a container 00:57:36 $ 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 00:57:39 $ docker top 0a3e03dcd1e3db6289e8ad34fbde6d4c0f14c75a8460ef5ada1d32f45d8fa5c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:40 ---> job-cost.sh 00:57:40 lf-activate-venv: SKIPPING 00:57:40 INFO: No Stack... 00:57:41 INFO: Retrieving Pricing Info for: v3-standard-4 00:57:41 INFO: Archiving Costs [Pipeline] sh 00:57:42 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 00:57:42 + cut -d, -f6 [Pipeline] lock 00:57:42 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] 00:57:42 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] did not exist. Created. 00:57:42 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:43 /w/workspace/device-mqtt-go/1@tmp/durable-1057a87c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:57:44 + echo total: 0.10999999940395355 [Pipeline] stash 00:57:44 Warning: overwriting stash ‘stack-cost’ 00:57:44 Stashed 1 file(s) [Pipeline] } 00:57:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:44 $ docker stop --time=1 0a3e03dcd1e3db6289e8ad34fbde6d4c0f14c75a8460ef5ada1d32f45d8fa5c8 00:57:45 $ docker rm -f 0a3e03dcd1e3db6289e8ad34fbde6d4c0f14c75a8460ef5ada1d32f45d8fa5c8 [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 00:57:46 provisioning config files... 00:57:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config4410729783857646785tmp [Pipeline] { [Pipeline] sh 00:57:47 + set +x 00:57:47 + curl -s https://codecov.io/bash+ 00:57:47 bash -s -- 00:57:47 00:57:47 _____ _ 00:57:47 / ____| | | 00:57:47 | | ___ __| | ___ ___ _____ __ 00:57:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:57:47 | |___| (_) | (_| | __/ (_| (_) \ V / 00:57:47 \_____\___/ \__,_|\___|\___\___/ \_/ 00:57:47 Bash-1.0.6 00:57:47 00:57:47 00:57:47 ==> git version 2.25.1 found 00:57:47 ==> 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 00:57:47 Release-Date: 2020-01-08 00:57:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:57:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:57:47 ==> Jenkins CI detected. 00:57:47 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-378 00:57:47 project root: . 00:57:47 --> token set from env 00:57:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:57:47 ==> Running gcov in . (disable via -X gcov) 00:57:47 ==> Python coveragepy not found 00:57:47 ==> Searching for coverage reports in: 00:57:47 + . 00:57:47 -> Found 1 reports 00:57:47 ==> Detecting git/mercurial file structure 00:57:47 ==> Reading reports 00:57:47 + ./coverage.out bytes=17887 00:57:47 ==> Appending adjustments 00:57:47 https://docs.codecov.io/docs/fixing-reports 00:57:47 + Found adjustments 00:57:47 ==> Gzipping contents 00:57:47 4.0K /tmp/codecov.a197Ku.gz 00:57:47 ==> Uploading reports 00:57:47 url: https://codecov.io 00:57:47 query: branch=PR-378&commit=750628ac68259902b160055df8dc1d300111a616&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=378&job=&cmd_args= 00:57:47 -> Pinging Codecov 00:57:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-378&commit=750628ac68259902b160055df8dc1d300111a616&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-378%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=378&job=&cmd_args= 00:57:47 -> Uploading to 00:57:47 https://storage.googleapis.com/codecov/v4/raw/2022-05-08/7D719EC7BBE17E464838252E33014C33/750628ac68259902b160055df8dc1d300111a616/bc51c562-ef4b-4a91-83a2-63171524e90f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220508T005747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=65cd231c8c79b476c20516c9c598bf750adc1356642c0d34feedf4f7686fb202 00:57:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:47 Dload Upload Total Spent Left Speed 00:57:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3239 0 0 100 3239 0 11054 --:--:-- --:--:-- --:--:-- 11092 00:57:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/750628ac68259902b160055df8dc1d300111a616 [Pipeline] } 00:57:47 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 00:57:49 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives ] 00:57:49 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 00:57:49 total 16 00:57:49 drwxr-xr-x 3 root root 4096 May 8 00:47 . 00:57:49 drwxrwxr-x 11 jenkins jenkins 4096 May 8 00:47 .. 00:57:49 drwxr-xr-x 2 root root 4096 May 8 00:47 cost 00:57:49 -rw-r--r-- 1 root root 85 May 8 00:47 cost.csv 00:57:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 00:57:49 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 00:57:49 total 16 00:57:49 drwxr-xr-x 3 jenkins jenkins 4096 May 8 00:47 . 00:57:49 drwxrwxr-x 11 jenkins jenkins 4096 May 8 00:47 .. 00:57:49 drwxr-xr-x 2 jenkins jenkins 4096 May 8 00:47 cost 00:57:49 -rw-r--r-- 1 jenkins jenkins 85 May 8 00:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:57:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:57:50 ---> package-listing.sh 00:57:50 ++ facter osfamily 00:57:50 ++ tr '[:upper:]' '[:lower:]' 00:57:51 + OS_FAMILY=debian 00:57:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-378 00:57:51 + START_PACKAGES=/tmp/packages_start.txt 00:57:51 + END_PACKAGES=/tmp/packages_end.txt 00:57:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:57:51 + PACKAGES=/tmp/packages_start.txt 00:57:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' 00:57:51 + PACKAGES=/tmp/packages_end.txt 00:57:51 + case "${OS_FAMILY}" in 00:57:51 + dpkg -l 00:57:51 + grep '^ii' 00:57:51 + '[' -f /tmp/packages_start.txt ']' 00:57:51 + '[' -f /tmp/packages_end.txt ']' 00:57:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:57:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' 00:57:51 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ 00:57:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [Pipeline] echo 00:57:51 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-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:57:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:57:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:57:52 . [Pipeline] withDockerContainer 00:57:52 prd-ubuntu20.04-docker-8c-8g-41431 does not seem to be running inside a container 00:57:52 $ 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-378/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-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 00:57:52 $ docker top e73340c71b71f2d98f9346448d3a68d8e0d52ec57b3f63645e5366697124ec0f -eo pid,comm [Pipeline] { [Pipeline] sh 00:57:52 + touch /tmp/pre-build-complete [Pipeline] sh 00:57:53 + mkdir -p /var/log/sysstat [Pipeline] sh 00:57:53 + ls /var/log/sa-host 00:57:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:53 provisioning config files... 00:57:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config6488219683022951417tmp [Pipeline] { [Pipeline] echo 00:57:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:57:54 ---> create-netrc.sh [Pipeline] } 00:57:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:57:54 ---> python-tools-install.sh [Pipeline] echo 00:57:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:57:54 ---> sudo-logs.sh 00:57:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:57:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:57:55 ---> job-cost.sh 00:57:55 lf-activate-venv: SKIPPING 00:57:55 DEBUG: total: 0.2199999988079071 00:57:55 INFO: Retrieving Stack Cost... 00:57:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:56 INFO: Archiving Costs [Pipeline] echo 00:57:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:57:56 ---> logs-deploy.sh 00:57:56 lf-activate-venv: SKIPPING 00:57:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-378/1 00:57:56 INFO: archiving workspace using pattern(s): 00:57:57 Archives upload complete. 00:57:57 INFO: archiving logs to Nexus