Pull request #375 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14f2905b28d45e21a3b72b79305641ac3f03affe+1804939991e9cf6e6628dcf61ff454f4c33f5abe (d4a9c0901b3ae13b109628596ddce2670248a35e) 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-ssh11242000108672956596.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-ssh1414030890074303988.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-375/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-375/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh532874312528720769.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-375/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5218980743697028897.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-ssh7166318885374405624.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-375/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-375/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12849873633280222561.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 ‘prd-ubuntu20.04-docker-8c-8g-34376’ Running on prd-ubuntu20.04-docker-8c-8g-34384 in /w/workspace/gexfoundry_device-mqtt-go_PR-375 [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-375 # 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 1804939991e9cf6e6628dcf61ff454f4c33f5abe into PR head commit 14f2905b28d45e21a3b72b79305641ac3f03affe Merge succeeded, producing 14f2905b28d45e21a3b72b79305641ac3f03affe Checking out Revision 14f2905b28d45e21a3b72b79305641ac3f03affe (PR-375) > 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/375/head:refs/remotes/origin/PR-375 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14f2905b28d45e21a3b72b79305641ac3f03affe # 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 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 14f2905b28d45e21a3b72b79305641ac3f03affe # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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 01:27:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:27:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:27:07 ========================================================= 01:27:07 EdgeX Global Pipelines Version Info 01:27:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:27:08 ------------------- 01:27:08 stable info: 01:27:08 ------------------- 01:27:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:08 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:27:08 Message: update stable to v1.0.227 01:27:09 ------------------- 01:27:09 experimental info: 01:27:09 ------------------- 01:27:09 Commited By: **** collab-it+edgex@linuxfoundation.org 01:27:09 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:27:09 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:27:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-375 [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-375 [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-375 [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14f2905b28d45e21a3b72b79305641ac3f03affe [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14f2905 [Pipeline] echo 01:27:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:10 provisioning config files... 01:27:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/config2552497664984442013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:11 ---> docker-login.sh 01:27:11 nexus3.edgexfoundry.org:10001 01:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:11 Configure a credential helper to remove this warning. See 01:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:11 01:27:11 Login Succeeded 01:27:11 nexus3.edgexfoundry.org:10002 01:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:11 Configure a credential helper to remove this warning. See 01:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:11 01:27:11 Login Succeeded 01:27:11 nexus3.edgexfoundry.org:10003 01:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:11 Configure a credential helper to remove this warning. See 01:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:11 01:27:11 Login Succeeded 01:27:12 nexus3.edgexfoundry.org:10004 01:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:12 Configure a credential helper to remove this warning. See 01:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:12 01:27:12 Login Succeeded 01:27:12 docker.io 01:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:12 Configure a credential helper to remove this warning. See 01:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:12 01:27:12 Login Succeeded 01:27:12 ---> docker-login.sh ends [Pipeline] } 01:27:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:27:13 + git rev-list -1 --merges 14f2905b28d45e21a3b72b79305641ac3f03affe~1..14f2905b28d45e21a3b72b79305641ac3f03affe [Pipeline] echo 01:27:13 -----------> git rev-list -1 --merges 14f2905b28d45e21a3b72b79305641ac3f03affe~1..14f2905b28d45e21a3b72b79305641ac3f03affe 14f2905b28d45e21a3b72b79305641ac3f03affe [false] [Pipeline] sh 01:27:13 + git log --format=format:%s -1 14f2905b28d45e21a3b72b79305641ac3f03affe [Pipeline] echo 01:27:13 ========================================================= 01:27:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:27:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:14 + git log --format=format:%s -1 14f2905b28d45e21a3b72b79305641ac3f03affe [Pipeline] echo 01:27:14 [semverPrep] GIT_COMMIT: 14f2905b28d45e21a3b72b79305641ac3f03affe, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:27:14 [semverPrep] This is not a build commit. [Pipeline] sh 01:27:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:27:14 + grep -v github /etc/ssh/ssh_known_hosts 01:27:14 + [ -e /tmp/ssh_known_hosts ] 01:27:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:27:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:27:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:27:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:27:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:15 01:27:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:27:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:15 latest: Pulling from edgex-devops/py-git-semver 01:27:15 1fe172e4850f: Pulling fs layer 01:27:15 caf521ccaac6: Pulling fs layer 01:27:15 3ead6fa29328: Pulling fs layer 01:27:15 5c2a1cbceb83: Pulling fs layer 01:27:15 a8d5f1318db7: Pulling fs layer 01:27:15 c427282e49a2: Pulling fs layer 01:27:15 1827001aaf11: Pulling fs layer 01:27:15 0714d37db230: Pulling fs layer 01:27:15 ac28cf19c067: Pulling fs layer 01:27:15 ca983d60f3e2: Pulling fs layer 01:27:15 9f894cec8388: Pulling fs layer 01:27:15 c427282e49a2: Waiting 01:27:15 1827001aaf11: Waiting 01:27:15 0714d37db230: Waiting 01:27:15 ac28cf19c067: Waiting 01:27:15 5c2a1cbceb83: Waiting 01:27:15 a8d5f1318db7: Waiting 01:27:15 ca983d60f3e2: Waiting 01:27:15 9f894cec8388: Waiting 01:27:15 caf521ccaac6: Download complete 01:27:15 5c2a1cbceb83: Download complete 01:27:15 a8d5f1318db7: Verifying Checksum 01:27:15 a8d5f1318db7: Download complete 01:27:15 3ead6fa29328: Verifying Checksum 01:27:15 3ead6fa29328: Download complete 01:27:15 c427282e49a2: Verifying Checksum 01:27:15 0714d37db230: Download complete 01:27:15 ac28cf19c067: Verifying Checksum 01:27:15 ac28cf19c067: Download complete 01:27:15 ca983d60f3e2: Verifying Checksum 01:27:15 ca983d60f3e2: Download complete 01:27:15 9f894cec8388: Verifying Checksum 01:27:15 9f894cec8388: Download complete 01:27:15 1fe172e4850f: Download complete 01:27:15 1827001aaf11: Verifying Checksum 01:27:15 1827001aaf11: Download complete 01:27:16 1fe172e4850f: Pull complete 01:27:17 caf521ccaac6: Pull complete 01:27:17 3ead6fa29328: Pull complete 01:27:17 5c2a1cbceb83: Pull complete 01:27:18 a8d5f1318db7: Pull complete 01:27:18 c427282e49a2: Pull complete 01:27:20 1827001aaf11: Pull complete 01:27:20 0714d37db230: Pull complete 01:27:20 ac28cf19c067: Pull complete 01:27:20 ca983d60f3e2: Pull complete 01:27:20 9f894cec8388: Pull complete 01:27:20 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:27:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:27:20 prd-ubuntu20.04-docker-8c-8g-34384 does not seem to be running inside a container 01:27:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-375 -v /w/workspace/gexfoundry_device-mqtt-go_PR-375:/w/workspace/gexfoundry_device-mqtt-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:27:22 $ docker top 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 -eo pid,comm 01:27:22 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). 01:27:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:22 [ssh-agent] Looking for ssh-agent implementation... 01:27:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:22 $ docker exec 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 ssh-agent 01:27:22 SSH_AUTH_SOCK=/tmp/ssh-i9sK7GQVTeFr/agent.33 01:27:22 SSH_AGENT_PID=39 01:27:22 Running ssh-add (command line suppressed) 01:27:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/private_key_3374915562709766338.key (/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/private_key_3374915562709766338.key) 01:27:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:23 + git tag --points-at HEAD [Pipeline] } 01:27:23 $ docker exec --env ******** --env ******** 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 ssh-agent -k 01:27:23 unset SSH_AUTH_SOCK; 01:27:23 unset SSH_AGENT_PID; 01:27:23 echo Agent pid 39 killed; 01:27:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:27:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:23 [ssh-agent] Looking for ssh-agent implementation... 01:27:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:23 $ docker exec 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 ssh-agent 01:27:23 SSH_AUTH_SOCK=/tmp/ssh-813l9OLvsxNj/agent.71 01:27:23 SSH_AGENT_PID=77 01:27:23 Running ssh-add (command line suppressed) 01:27:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/private_key_9201072203389860284.key (/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/private_key_9201072203389860284.key) 01:27:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:23 + git semver init 01:27:24 2022-05-02 01:27:24,212 [run_init] DEBUG init version:0.0.0 force:False 01:27:24 2022-05-02 01:27:24,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver 01:27:24 2022-05-02 01:27:24,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver 01:27:24 2022-05-02 01:27:24,213 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-375, universal_newlines=False, shell=None, istream=None) 01:27:25 2022-05-02 01:27:25,029 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-375/.git/info/exclude 01:27:25 2022-05-02 01:27:25,030 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver/PR-375 with force:False 01:27:25 2022-05-02 01:27:25,030 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver/PR-375 01:27:25 2022-05-02 01:27:25,034 [execute] INFO git cat-file --batch-check 01:27:25 2022-05-02 01:27:25,035 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) 01:27:25 2022-05-02 01:27:25,042 [execute] INFO git cat-file --batch 01:27:25 2022-05-02 01:27:25,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver, universal_newlines=False, shell=None, istream=) 01:27:25 2022-05-02 01:27:25,048 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-375/.semver/PR-375 01:27:25 0.0.0 [Pipeline] } 01:27:25 $ docker exec --env ******** --env ******** 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 ssh-agent -k 01:27:25 unset SSH_AUTH_SOCK; 01:27:25 unset SSH_AGENT_PID; 01:27:25 echo Agent pid 77 killed; 01:27:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:25 + git semver [Pipeline] } 01:27:26 $ docker stop --time=1 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 01:27:27 $ docker rm -f 93ee361fb1dc200c23383201a33f0c1aabc2c7c323da51c519e56ad78f14cc92 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:27:28 Stashed 1 file(s) [Pipeline] echo 01:27:28 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:28 provisioning config files... 01:27:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/config2076522924152739901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:29 ---> docker-login.sh 01:27:29 nexus3.edgexfoundry.org:10001 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 nexus3.edgexfoundry.org:10002 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 nexus3.edgexfoundry.org:10003 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 nexus3.edgexfoundry.org:10004 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 docker.io 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 ---> docker-login.sh ends [Pipeline] } 01:27:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:27:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:30 ========================================================= 01:27:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:27:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:27:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:27:30 Sending build context to Docker daemon 5.871MB 01:27:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:27:30 Step 2/12 : FROM ${BASE} AS builder 01:27:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:27:30 59bf1c3509f3: Pulling fs layer 01:27:30 666ba61612fd: Pulling fs layer 01:27:30 8ed8ca486205: Pulling fs layer 01:27:30 4fe6c5a15a65: Pulling fs layer 01:27:30 22a0e8bec74d: Pulling fs layer 01:27:30 ca2b28591e48: Pulling fs layer 01:27:30 a51346096db8: Pulling fs layer 01:27:30 daebc70d1ce1: Pulling fs layer 01:27:30 0e18a0eac166: Pulling fs layer 01:27:30 ca2b28591e48: Waiting 01:27:30 a51346096db8: Waiting 01:27:30 daebc70d1ce1: Waiting 01:27:30 4fe6c5a15a65: Waiting 01:27:30 0e18a0eac166: Waiting 01:27:30 22a0e8bec74d: Waiting 01:27:30 8ed8ca486205: Verifying Checksum 01:27:30 8ed8ca486205: Download complete 01:27:30 666ba61612fd: Verifying Checksum 01:27:30 666ba61612fd: Download complete 01:27:30 22a0e8bec74d: Verifying Checksum 01:27:30 22a0e8bec74d: Download complete 01:27:30 59bf1c3509f3: Verifying Checksum 01:27:30 ca2b28591e48: Download complete 01:27:30 a51346096db8: Download complete 01:27:30 daebc70d1ce1: Verifying Checksum 01:27:30 daebc70d1ce1: Download complete 01:27:30 59bf1c3509f3: Pull complete 01:27:31 666ba61612fd: Pull complete 01:27:31 8ed8ca486205: Pull complete 01:27:31 0e18a0eac166: Verifying Checksum 01:27:31 0e18a0eac166: Download complete 01:27:31 4fe6c5a15a65: Verifying Checksum 01:27:31 4fe6c5a15a65: Download complete 01:27:35 4fe6c5a15a65: Pull complete 01:27:35 22a0e8bec74d: Pull complete 01:27:35 ca2b28591e48: Pull complete 01:27:35 a51346096db8: Pull complete 01:27:35 daebc70d1ce1: Pull complete 01:27:38 0e18a0eac166: Pull complete 01:27:38 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:27:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:27:38 ---> f018257e8ee9 01:27:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:27:39 ---> Running in 490751c2bb1d 01:27:39 Removing intermediate container 490751c2bb1d 01:27:39 ---> 6d5dfff479b5 01:27:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:27:39 ---> Running in 17888384966f 01:27:39 Removing intermediate container 17888384966f 01:27:39 ---> caca58b9f0e3 01:27:39 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:39 ---> Running in 1a020705672c 01:27:40 Removing intermediate container 1a020705672c 01:27:40 ---> c4a423226095 01:27:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:40 ---> Running in 76e1a2d18153 01:27:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:27:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:27:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:27:41 (2/4) Installing libedit (20210910.3.1-r0) 01:27:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:27:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:27:41 Executing busybox-1.34.1-r3.trigger 01:27:41 OK: 224 MiB in 56 packages 01:27:42 Removing intermediate container 76e1a2d18153 01:27:42 ---> 07e9372ba9eb 01:27:42 Step 7/12 : WORKDIR /device-mqtt-go 01:27:42 ---> Running in e6b31a6d7b5a 01:27:42 Removing intermediate container e6b31a6d7b5a 01:27:42 ---> 821628f2d4b5 01:27:42 Step 8/12 : COPY go.mod vendor* ./ 01:27:42 ---> 5cb92541b8c9 01:27:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:42 ---> Running in 88c492c3f5c0 01:27:43 Still waiting to schedule task 01:27:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34380’ 01:27:57 Removing intermediate container 88c492c3f5c0 01:27:57 ---> 7e615462288d 01:27:57 Step 10/12 : COPY . . 01:27:57 ---> 1ea982dadd43 01:27:57 Step 11/12 : ARG MAKE='make build' 01:27:57 ---> Running in 76916f4c87c6 01:27:57 Removing intermediate container 76916f4c87c6 01:27:57 ---> 6b76ac4e8fee 01:27:57 Step 12/12 : RUN $MAKE 01:27:57 ---> Running in 51afb2d6f02d 01:27:57 noop 01:27:57 Removing intermediate container 51afb2d6f02d 01:27:57 ---> d50eaa651ce2 01:27:57 Successfully built d50eaa651ce2 01:27:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:27:58 + docker inspect -f . ci-base-image-x86_64 01:27:58 . [Pipeline] withDockerContainer 01:27:58 prd-ubuntu20.04-docker-8c-8g-34384 does not seem to be running inside a container 01:27:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-375 -v /w/workspace/gexfoundry_device-mqtt-go_PR-375:/w/workspace/gexfoundry_device-mqtt-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:27:58 $ docker top 9633356c7006de36c25ccf64409993451d77b8768c59ffd1e6c971c8a3066473 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:59 + go version 01:27:59 go version go1.17.6 linux/amd64 [Pipeline] } 01:27:59 $ docker stop --time=1 9633356c7006de36c25ccf64409993451d77b8768c59ffd1e6c971c8a3066473 01:28:00 $ docker rm -f 9633356c7006de36c25ccf64409993451d77b8768c59ffd1e6c971c8a3066473 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:28:01 + docker inspect -f . ci-base-image-x86_64 01:28:01 . [Pipeline] withDockerContainer 01:28:01 prd-ubuntu20.04-docker-8c-8g-34384 does not seem to be running inside a container 01:28:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-375 -v /w/workspace/gexfoundry_device-mqtt-go_PR-375:/w/workspace/gexfoundry_device-mqtt-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:28:01 $ docker top dec8dbfbdfef298683cd1590990308a2cdc6e41aac52ff0257fb45555acf6cdc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:28:02 + make test 01:28:02 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:28:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:28:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:28:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 01:28:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:28:17 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:28:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:20 ./bin/test-attribution-txt.sh [Pipeline] echo 01:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:28:21 $ docker stop --time=1 dec8dbfbdfef298683cd1590990308a2cdc6e41aac52ff0257fb45555acf6cdc 01:28:23 $ docker rm -f dec8dbfbdfef298683cd1590990308a2cdc6e41aac52ff0257fb45555acf6cdc [Pipeline] // withDockerContainer [Pipeline] sh 01:28:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:28:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:24 + ls -al . 01:28:24 total 176 01:28:24 drwxrwxr-x 10 jenkins jenkins 4096 May 2 01:28 . 01:28:24 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:27 .. 01:28:24 -rw-rw-r-- 1 jenkins jenkins 140 May 2 01:27 .dockerignore 01:28:24 drwxrwxr-x 8 jenkins jenkins 4096 May 2 01:27 .git 01:28:24 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:27 .github 01:28:24 -rw-rw-r-- 1 jenkins jenkins 329 May 2 01:27 .gitignore 01:28:24 -rw-rw-r-- 1 jenkins jenkins 41 May 2 01:27 .golangci.yml 01:28:24 drwxr-xr-x 3 jenkins jenkins 4096 May 2 01:27 .semver 01:28:24 -rw-rw-r-- 1 jenkins jenkins 8656 May 2 01:27 Attribution.txt 01:28:24 -rw-rw-r-- 1 jenkins jenkins 7447 May 2 01:27 CHANGELOG.md 01:28:24 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:27 Dockerfile 01:28:24 -rw-rw-r-- 1 jenkins jenkins 677 May 2 01:27 GOVERNANCE.md 01:28:24 -rw-rw-r-- 1 jenkins jenkins 678 May 2 01:27 Jenkinsfile 01:28:24 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 01:27 LICENSE 01:28:24 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:27 Makefile 01:28:24 -rw-rw-r-- 1 jenkins jenkins 620 May 2 01:27 OWNERS.md 01:28:24 -rw-rw-r-- 1 jenkins jenkins 2643 May 2 01:27 README.md 01:28:24 -rw-rw-r-- 1 jenkins jenkins 5 May 2 01:27 VERSION 01:28:24 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:27 bin 01:28:24 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:27 cmd 01:28:24 -rw-r--r-- 1 jenkins jenkins 17887 May 2 01:28 coverage.out 01:28:24 -rw-rw-r-- 1 jenkins jenkins 3309 May 2 01:27 go.mod 01:28:24 -rw-rw-r-- 1 jenkins jenkins 35259 May 2 01:27 go.sum 01:28:24 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:27 internal 01:28:24 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:27 mock 01:28:24 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:27 snap 01:28:24 -rw-rw-r-- 1 jenkins jenkins 227 May 2 01:27 version.go [Pipeline] isUnix [Pipeline] sh 01:28:25 + 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=14f2905b28d45e21a3b72b79305641ac3f03affe --label arch=amd64 --label version=0.0.0 . 01:28:25 Sending build context to Docker daemon 5.89MB 01:28:25 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:28:25 Step 2/24 : FROM ${BASE} AS builder 01:28:25 ---> d50eaa651ce2 01:28:25 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:28:25 ---> Running in 3a15c5ea6890 01:28:25 Removing intermediate container 3a15c5ea6890 01:28:25 ---> 01642ddb2232 01:28:25 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:28:25 ---> Running in 7428dae320bf 01:28:25 Removing intermediate container 7428dae320bf 01:28:25 ---> 401e9c0250cf 01:28:25 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:25 ---> Running in fd0c14923656 01:28:26 Removing intermediate container fd0c14923656 01:28:26 ---> 3d553705acfd 01:28:26 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:26 ---> Running in e7241429b867 01:28:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:28:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:28:27 OK: 224 MiB in 56 packages 01:28:28 Removing intermediate container e7241429b867 01:28:28 ---> af99d8b9c398 01:28:28 Step 7/24 : WORKDIR /device-mqtt-go 01:28:28 ---> Running in 45afb509fae0 01:28:28 Removing intermediate container 45afb509fae0 01:28:28 ---> 67b388009e0c 01:28:28 Step 8/24 : COPY go.mod vendor* ./ 01:28:28 ---> d234e410ed06 01:28:28 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:28 ---> Running in 143a92e3e134 01:28:28 Removing intermediate container 143a92e3e134 01:28:28 ---> 60e1b1b2a24c 01:28:28 Step 10/24 : COPY . . 01:28:29 ---> 13ffa289c23b 01:28:29 Step 11/24 : ARG MAKE='make build' 01:28:29 ---> Running in 3f9ed84e83ec 01:28:29 Removing intermediate container 3f9ed84e83ec 01:28:29 ---> 8d8697e7986b 01:28:29 Step 12/24 : RUN $MAKE 01:28:29 ---> Running in f2e560676c08 01:28:29 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:28:51 Removing intermediate container f2e560676c08 01:28:51 ---> ba1a5f0ade1a 01:28:51 Step 13/24 : FROM alpine:3.14 01:28:51 3.14: Pulling from library/alpine 01:28:51 8663204ce13b: Pulling fs layer 01:28:51 8663204ce13b: Verifying Checksum 01:28:51 8663204ce13b: Download complete 01:28:51 8663204ce13b: Pull complete 01:28:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:28:51 Status: Downloaded newer image for alpine:3.14 01:28:51 ---> e04c818066af 01:28:51 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:28:51 ---> Running in 4a2b2bff77e6 01:28:51 Removing intermediate container 4a2b2bff77e6 01:28:51 ---> 808263f810f7 01:28:51 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:28:51 ---> Running in 2a9f79cc770f 01:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:28:51 (1/6) Installing dumb-init (1.2.5-r1) 01:28:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:28:51 (3/6) Installing libsodium (1.0.18-r0) 01:28:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:28:51 (5/6) Installing libzmq (4.3.4-r0) 01:28:51 (6/6) Installing zeromq (4.3.4-r0) 01:28:51 Executing busybox-1.33.1-r7.trigger 01:28:51 OK: 8 MiB in 20 packages 01:28:51 Removing intermediate container 2a9f79cc770f 01:28:51 ---> 9608262774a2 01:28:51 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:28:51 ---> beb0b50fe406 01:28:51 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:28:51 ---> 0d2d8c138e7a 01:28:51 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:28:51 ---> 27123dfc5a58 01:28:51 Step 19/24 : EXPOSE 59982 01:28:51 ---> Running in 535a7c2fe25b 01:28:51 Removing intermediate container 535a7c2fe25b 01:28:51 ---> 73e3b6f0786a 01:28:51 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:28:51 ---> Running in 469e5e70b532 01:28:51 Removing intermediate container 469e5e70b532 01:28:51 ---> 941d08af794c 01:28:51 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:28:51 ---> Running in 61ec6245d772 01:28:51 Removing intermediate container 61ec6245d772 01:28:51 ---> e7bff0439e57 01:28:51 Step 22/24 : LABEL arch=amd64 01:28:51 ---> Running in aa48f4aa1028 01:28:52 Removing intermediate container aa48f4aa1028 01:28:52 ---> 0f9469e74902 01:28:52 Step 23/24 : LABEL git_sha=14f2905b28d45e21a3b72b79305641ac3f03affe 01:28:52 ---> Running in 8bd2b209d99e 01:28:52 Removing intermediate container 8bd2b209d99e 01:28:52 ---> a6926c29a45e 01:28:52 Step 24/24 : LABEL version=0.0.0 01:28:52 ---> Running in e68d16b0f071 01:28:52 Removing intermediate container e68d16b0f071 01:28:52 ---> 2e1c480d5b77 01:28:52 [Warning] One or more build-args [ARCH] were not consumed 01:28:52 Successfully built 2e1c480d5b77 01:28:52 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:53 01:28:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:28:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:53 latest: Pulling from edgex-lftools-log-publisher 01:28:53 5eb5b503b376: Pulling fs layer 01:28:53 5c69ac0246d0: Pulling fs layer 01:28:53 ec43610c2a17: Pulling fs layer 01:28:53 3a2ae6a8a46f: Pulling fs layer 01:28:53 33b1e0a273af: Pulling fs layer 01:28:53 5d3b04190fa2: Pulling fs layer 01:28:53 2f39f015ded8: Pulling fs layer 01:28:53 2f39f015ded8: Waiting 01:28:53 5d3b04190fa2: Waiting 01:28:53 3a2ae6a8a46f: Waiting 01:28:53 5c69ac0246d0: Download complete 01:28:53 3a2ae6a8a46f: Verifying Checksum 01:28:53 3a2ae6a8a46f: Download complete 01:28:53 33b1e0a273af: Verifying Checksum 01:28:53 33b1e0a273af: Download complete 01:28:53 5d3b04190fa2: Verifying Checksum 01:28:53 5d3b04190fa2: Download complete 01:28:53 ec43610c2a17: Verifying Checksum 01:28:53 ec43610c2a17: Download complete 01:28:53 5eb5b503b376: Verifying Checksum 01:28:53 5eb5b503b376: Download complete 01:28:54 2f39f015ded8: Download complete 01:28:54 5eb5b503b376: Pull complete 01:28:55 5c69ac0246d0: Pull complete 01:28:55 ec43610c2a17: Pull complete 01:28:55 3a2ae6a8a46f: Pull complete 01:28:56 33b1e0a273af: Pull complete 01:28:56 5d3b04190fa2: Pull complete 01:29:00 2f39f015ded8: Pull complete 01:29:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:29:00 prd-ubuntu20.04-docker-8c-8g-34384 does not seem to be running inside a container 01:29:00 $ 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-375 -v /w/workspace/gexfoundry_device-mqtt-go_PR-375:/w/workspace/gexfoundry_device-mqtt-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:02 $ docker top 7f13e5bfc50e9b7565c94221aed165a9d921825d80d009d5a88eae715a5dc3d6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:02 ---> job-cost.sh 01:29:02 lf-activate-venv: SKIPPING 01:29:02 INFO: No Stack... 01:29:02 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:03 INFO: Archiving Costs [Pipeline] sh 01:29:03 + cat+ /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives/cost.csv 01:29:03 cut -d, -f6 [Pipeline] lock 01:29:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] 01:29:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] did not exist. Created. 01:29:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:04 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:04 Stashed 1 file(s) [Pipeline] } 01:29:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:04 $ docker stop --time=1 7f13e5bfc50e9b7565c94221aed165a9d921825d80d009d5a88eae715a5dc3d6 01:29:05 $ docker rm -f 7f13e5bfc50e9b7565c94221aed165a9d921825d80d009d5a88eae715a5dc3d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:31:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34389 in /w/workspace/gexfoundry_device-mqtt-go_PR-375 [Pipeline] { [Pipeline] ws 01:31:06 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:31:06 Selected Git installation does not exist. Using Default 01:31:06 The recommended git tool is: NONE 01:31:13 using credential edgex-jenkins-ssh 01:31:13 Cloning the remote Git repository 01:31:13 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:31:13 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:31:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:31:14 > git --version # timeout=10 01:31:14 > git --version # 'git version 2.25.1' 01:31:14 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:31:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:31:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:31:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/375/head:refs/remotes/origin/PR-375 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:31:16 Merging remotes/origin/main commit 1804939991e9cf6e6628dcf61ff454f4c33f5abe into PR head commit 14f2905b28d45e21a3b72b79305641ac3f03affe 01:31:16 Merge succeeded, producing 14f2905b28d45e21a3b72b79305641ac3f03affe 01:31:16 Checking out Revision 14f2905b28d45e21a3b72b79305641ac3f03affe (PR-375) 01:31:16 > git config core.sparsecheckout # timeout=10 01:31:16 > git checkout -f 14f2905b28d45e21a3b72b79305641ac3f03affe # timeout=10 01:31:16 > git remote # timeout=10 01:31:16 > git config --get remote.origin.url # timeout=10 01:31:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:16 > git merge 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 01:31:16 > git rev-parse HEAD^{commit} # timeout=10 01:31:16 > git config core.sparsecheckout # timeout=10 01:31:16 > git checkout -f 14f2905b28d45e21a3b72b79305641ac3f03affe # timeout=10 01:31:20 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:31:20 > git --version # timeout=10 01:31:20 > git --version # 'git version 2.25.1' 01:31:20 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:31:22 % Total % Received % Xferd Average Speed Time Time Time Current 01:31:22 Dload Upload Total Spent Left Speed 01:31:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 01:31:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:31:22 + sudo jq+ sudo tee /etc/docker/daemon.new 01:31:22 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:31:22 { 01:31:22 "registry-mirrors": [ 01:31:22 "https://nexus3.edgexfoundry.org:10001" 01:31:22 ], 01:31:22 "bip": "10.250.0.254/24", 01:31:22 "hosts": [ 01:31:22 "tcp://0.0.0.0:5555", 01:31:22 "unix:///var/run/docker.sock" 01:31:22 ], 01:31:22 "mtu": 1458, 01:31:22 "selinux-enabled": true, 01:31:22 "seccomp-profile": "/etc/docker/seccomp.json" 01:31:22 } [Pipeline] sh 01:31:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:31:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:42 provisioning config files... 01:31:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2503593192311334205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:42 ---> docker-login.sh 01:31:42 nexus3.edgexfoundry.org:10001 01:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:43 Configure a credential helper to remove this warning. See 01:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:43 01:31:43 Login Succeeded 01:31:43 nexus3.edgexfoundry.org:10002 01:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:44 Configure a credential helper to remove this warning. See 01:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:44 01:31:44 Login Succeeded 01:31:44 nexus3.edgexfoundry.org:10003 01:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:44 Configure a credential helper to remove this warning. See 01:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:44 01:31:44 Login Succeeded 01:31:44 nexus3.edgexfoundry.org:10004 01:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:45 Configure a credential helper to remove this warning. See 01:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:45 01:31:45 Login Succeeded 01:31:45 docker.io 01:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:45 Configure a credential helper to remove this warning. See 01:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:45 01:31:45 Login Succeeded 01:31:45 ---> docker-login.sh ends [Pipeline] } 01:31:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:31:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:31:46 ========================================================= 01:31:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:31:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:31:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:31:47 Sending build context to Docker daemon 3.048MB 01:31:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:31:47 Step 2/12 : FROM ${BASE} AS builder 01:31:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:31:47 9b3977197b4f: Pulling fs layer 01:31:47 1a89e8eeedd5: Pulling fs layer 01:31:47 94645a83ff95: Pulling fs layer 01:31:47 3f3a8bcf1eab: Pulling fs layer 01:31:47 0c92f367c5e7: Pulling fs layer 01:31:47 3096ccb668a1: Pulling fs layer 01:31:47 e8cf19c19ddd: Pulling fs layer 01:31:47 a4caa8a26152: Pulling fs layer 01:31:47 3f3a8bcf1eab: Waiting 01:31:47 0c92f367c5e7: Waiting 01:31:47 3096ccb668a1: Waiting 01:31:47 e8cf19c19ddd: Waiting 01:31:47 a4caa8a26152: Waiting 01:31:47 94645a83ff95: Verifying Checksum 01:31:47 94645a83ff95: Download complete 01:31:47 1a89e8eeedd5: Download complete 01:31:47 0c92f367c5e7: Verifying Checksum 01:31:47 0c92f367c5e7: Download complete 01:31:47 3096ccb668a1: Download complete 01:31:47 9b3977197b4f: Download complete 01:31:47 e8cf19c19ddd: Verifying Checksum 01:31:47 e8cf19c19ddd: Download complete 01:31:48 9b3977197b4f: Pull complete 01:31:49 1a89e8eeedd5: Pull complete 01:31:49 94645a83ff95: Pull complete 01:31:49 a4caa8a26152: Verifying Checksum 01:31:49 a4caa8a26152: Download complete 01:31:50 3f3a8bcf1eab: Verifying Checksum 01:31:50 3f3a8bcf1eab: Download complete 01:32:02 3f3a8bcf1eab: Pull complete 01:32:02 0c92f367c5e7: Pull complete 01:32:02 3096ccb668a1: Pull complete 01:32:02 e8cf19c19ddd: Pull complete 01:32:08 a4caa8a26152: Pull complete 01:32:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:32:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:32:08 ---> 725f1c02e7f9 01:32:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:32:08 ---> Running in d066ae80abf0 01:32:09 Removing intermediate container d066ae80abf0 01:32:09 ---> ecf9555cf438 01:32:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:32:09 ---> Running in d803c5fa20de 01:32:09 Removing intermediate container d803c5fa20de 01:32:09 ---> 29745e4f7a24 01:32:09 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:09 ---> Running in 48c2d511a93f 01:32:11 Removing intermediate container 48c2d511a93f 01:32:11 ---> c1c06515e79d 01:32:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:11 ---> Running in e7381a8a9c36 01:32:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:32:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:32:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:32:15 (2/4) Installing libedit (20210910.3.1-r0) 01:32:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:32:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:32:15 Executing busybox-1.34.1-r3.trigger 01:32:15 OK: 224 MiB in 56 packages 01:32:16 Removing intermediate container e7381a8a9c36 01:32:16 ---> cb4823808fe2 01:32:16 Step 7/12 : WORKDIR /device-mqtt-go 01:32:16 ---> Running in 3c4bcf183eab 01:32:17 Removing intermediate container 3c4bcf183eab 01:32:17 ---> c27f078c7112 01:32:17 Step 8/12 : COPY go.mod vendor* ./ 01:32:17 ---> 064bd3f0eb0d 01:32:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:17 ---> Running in ecc5e0e053b3 01:33:04 Removing intermediate container ecc5e0e053b3 01:33:04 ---> 9e9b2c000136 01:33:04 Step 10/12 : COPY . . 01:33:04 ---> 1e64e635728d 01:33:04 Step 11/12 : ARG MAKE='make build' 01:33:04 ---> Running in bc4cb5540ddb 01:33:04 Removing intermediate container bc4cb5540ddb 01:33:04 ---> 475451e98c72 01:33:04 Step 12/12 : RUN $MAKE 01:33:04 ---> Running in e72da5caa815 01:33:04 noop 01:33:05 Removing intermediate container e72da5caa815 01:33:05 ---> 389435f47bba 01:33:05 Successfully built 389435f47bba 01:33:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:33:06 + docker inspect -f . ci-base-image-arm64 01:33:06 . [Pipeline] withDockerContainer 01:33:06 prd-ubuntu20.04-docker-arm64-4c-16g-34389 does not seem to be running inside a container 01:33:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:33:07 $ docker top 6f0cd9443856875caf844fe184473ba6fed27e255939437490830436037ab08e -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:08 + go version 01:33:08 go version go1.17.6 linux/arm64 [Pipeline] } 01:33:08 $ docker stop --time=1 6f0cd9443856875caf844fe184473ba6fed27e255939437490830436037ab08e 01:33:10 $ docker rm -f 6f0cd9443856875caf844fe184473ba6fed27e255939437490830436037ab08e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:33:11 + docker inspect -f . ci-base-image-arm64 01:33:11 . [Pipeline] withDockerContainer 01:33:11 prd-ubuntu20.04-docker-arm64-4c-16g-34389 does not seem to be running inside a container 01:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:33:12 $ docker top 0d637ad89442ba20c181fa497d5e94f3da1fcd627598321dcce6ffb28d25b841 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:33:13 + make test 01:33:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:33:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:34:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:34:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 21.8% of statements 01:34:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:34:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:34:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:35:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:35:16 $ docker stop --time=1 0d637ad89442ba20c181fa497d5e94f3da1fcd627598321dcce6ffb28d25b841 01:35:18 $ docker rm -f 0d637ad89442ba20c181fa497d5e94f3da1fcd627598321dcce6ffb28d25b841 [Pipeline] // withDockerContainer [Pipeline] sh 01:35:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:35:19 Warning: overwriting stash ‘coverage-report’ 01:35:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:35:20 + ls -al . 01:35:20 total 172 01:35:20 drwxrwxr-x 9 jenkins jenkins 4096 May 2 01:35 . 01:35:20 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:31 .. 01:35:20 -rw-rw-r-- 1 jenkins jenkins 140 May 2 01:31 .dockerignore 01:35:20 drwxrwxr-x 8 jenkins jenkins 4096 May 2 01:31 .git 01:35:20 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:31 .github 01:35:20 -rw-rw-r-- 1 jenkins jenkins 329 May 2 01:31 .gitignore 01:35:20 -rw-rw-r-- 1 jenkins jenkins 41 May 2 01:31 .golangci.yml 01:35:20 -rw-rw-r-- 1 jenkins jenkins 8656 May 2 01:31 Attribution.txt 01:35:20 -rw-rw-r-- 1 jenkins jenkins 7447 May 2 01:31 CHANGELOG.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:31 Dockerfile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 677 May 2 01:31 GOVERNANCE.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 678 May 2 01:31 Jenkinsfile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 01:31 LICENSE 01:35:20 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:31 Makefile 01:35:20 -rw-rw-r-- 1 jenkins jenkins 620 May 2 01:31 OWNERS.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 2643 May 2 01:31 README.md 01:35:20 -rw-rw-r-- 1 jenkins jenkins 5 May 2 01:27 VERSION 01:35:20 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:31 bin 01:35:20 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:31 cmd 01:35:20 -rw-r--r-- 1 jenkins jenkins 17887 May 2 01:34 coverage.out 01:35:20 -rw-rw-r-- 1 jenkins jenkins 3309 May 2 01:31 go.mod 01:35:20 -rw-rw-r-- 1 jenkins jenkins 35259 May 2 01:31 go.sum 01:35:20 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:31 internal 01:35:20 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:31 mock 01:35:20 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:31 snap 01:35:20 -rw-rw-r-- 1 jenkins jenkins 227 May 2 01:31 version.go [Pipeline] isUnix [Pipeline] sh 01:35:21 + 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=14f2905b28d45e21a3b72b79305641ac3f03affe --label arch=arm64 --label version=0.0.0 . 01:35:21 Sending build context to Docker daemon 3.067MB 01:35:21 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:35:21 Step 2/24 : FROM ${BASE} AS builder 01:35:21 ---> 389435f47bba 01:35:21 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:35:21 ---> Running in bfc90a5b1b40 01:35:21 Removing intermediate container bfc90a5b1b40 01:35:21 ---> 4ddfda4a11be 01:35:21 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:35:21 ---> Running in 79bd70a94b97 01:35:22 Removing intermediate container 79bd70a94b97 01:35:22 ---> 468f118f9aea 01:35:22 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:22 ---> Running in eb51b50b3f9b 01:35:24 Removing intermediate container eb51b50b3f9b 01:35:24 ---> 4b94d364f5fa 01:35:24 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:24 ---> Running in 5a052971535b 01:35:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:35:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:35:27 OK: 224 MiB in 56 packages 01:35:28 Removing intermediate container 5a052971535b 01:35:28 ---> bd610f607581 01:35:28 Step 7/24 : WORKDIR /device-mqtt-go 01:35:28 ---> Running in e5d4a6493e3a 01:35:28 Removing intermediate container e5d4a6493e3a 01:35:28 ---> 2be8a5bd9af3 01:35:28 Step 8/24 : COPY go.mod vendor* ./ 01:35:29 ---> 85cf4154ba3f 01:35:29 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:29 ---> Running in f2eda6f80709 01:35:31 Removing intermediate container f2eda6f80709 01:35:31 ---> 6f33fbeed574 01:35:31 Step 10/24 : COPY . . 01:35:32 ---> 2bd430466853 01:35:32 Step 11/24 : ARG MAKE='make build' 01:35:32 ---> Running in ccc60bb1a13d 01:35:32 Removing intermediate container ccc60bb1a13d 01:35:32 ---> daa63d13cf10 01:35:32 Step 12/24 : RUN $MAKE 01:35:32 ---> Running in 079f58d70dec 01:35:33 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:37:55 Removing intermediate container 079f58d70dec 01:37:55 ---> e824cc3f69c1 01:37:55 Step 13/24 : FROM alpine:3.14 01:37:55 3.14: Pulling from library/alpine 01:37:55 455c02918c45: Pulling fs layer 01:37:55 455c02918c45: Download complete 01:37:55 455c02918c45: Pull complete 01:37:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:37:55 Status: Downloaded newer image for alpine:3.14 01:37:55 ---> ac73e934f311 01:37:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:37:55 ---> Running in c16a002e0db2 01:37:55 Removing intermediate container c16a002e0db2 01:37:55 ---> 780545b2c24e 01:37:55 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:37:55 ---> Running in 24444ba4b9a0 01:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:37:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:37:55 (1/6) Installing dumb-init (1.2.5-r1) 01:37:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:37:55 (3/6) Installing libsodium (1.0.18-r0) 01:37:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:37:55 (5/6) Installing libzmq (4.3.4-r0) 01:37:55 (6/6) Installing zeromq (4.3.4-r0) 01:37:55 Executing busybox-1.33.1-r7.trigger 01:37:55 OK: 8 MiB in 20 packages 01:37:55 Removing intermediate container 24444ba4b9a0 01:37:55 ---> b12a76633092 01:37:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:37:55 ---> 9bab4c1cccb6 01:37:55 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:37:55 ---> fe96ab3d1f7e 01:37:55 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:37:55 ---> e145151743ab 01:37:55 Step 19/24 : EXPOSE 59982 01:37:55 ---> Running in 23f20a4c8aab 01:37:55 Removing intermediate container 23f20a4c8aab 01:37:55 ---> ac572984c54a 01:37:55 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:37:55 ---> Running in 42a1fa4c0884 01:37:55 Removing intermediate container 42a1fa4c0884 01:37:55 ---> 4230f450faed 01:37:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:37:55 ---> Running in 7e49bf008de6 01:37:55 Removing intermediate container 7e49bf008de6 01:37:55 ---> 666f3a4cde9b 01:37:55 Step 22/24 : LABEL arch=arm64 01:37:55 ---> Running in 3dad272b91cb 01:37:55 Removing intermediate container 3dad272b91cb 01:37:55 ---> ded7bb269ed1 01:37:55 Step 23/24 : LABEL git_sha=14f2905b28d45e21a3b72b79305641ac3f03affe 01:37:55 ---> Running in e03f1450645f 01:37:55 Removing intermediate container e03f1450645f 01:37:55 ---> 06f60778b4b2 01:37:55 Step 24/24 : LABEL version=0.0.0 01:37:55 ---> Running in cf483ff3670d 01:37:55 Removing intermediate container cf483ff3670d 01:37:55 ---> ec32b4548d80 01:37:55 [Warning] One or more build-args [ARCH] were not consumed 01:37:55 Successfully built ec32b4548d80 01:37:56 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:37:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:37:57 01:37:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:37:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:37:57 arm64: Pulling from edgex-lftools-log-publisher 01:37:57 8998bd30e6a1: Pulling fs layer 01:37:57 04944245beec: Pulling fs layer 01:37:57 699f458cf7ca: Pulling fs layer 01:37:57 765212b225bb: Pulling fs layer 01:37:57 f23df028b6ca: Pulling fs layer 01:37:57 d65c8cfc05b1: Pulling fs layer 01:37:57 2437ff75d9bd: Pulling fs layer 01:37:57 f23df028b6ca: Waiting 01:37:57 765212b225bb: Waiting 01:37:57 d65c8cfc05b1: Waiting 01:37:57 2437ff75d9bd: Waiting 01:37:57 04944245beec: Verifying Checksum 01:37:57 04944245beec: Download complete 01:37:57 765212b225bb: Verifying Checksum 01:37:57 765212b225bb: Download complete 01:37:57 f23df028b6ca: Verifying Checksum 01:37:57 f23df028b6ca: Download complete 01:37:57 d65c8cfc05b1: Verifying Checksum 01:37:57 d65c8cfc05b1: Download complete 01:37:57 699f458cf7ca: Verifying Checksum 01:37:57 699f458cf7ca: Download complete 01:37:58 8998bd30e6a1: Download complete 01:38:00 2437ff75d9bd: Verifying Checksum 01:38:02 8998bd30e6a1: Pull complete 01:38:02 04944245beec: Pull complete 01:38:04 699f458cf7ca: Pull complete 01:38:04 765212b225bb: Pull complete 01:38:05 f23df028b6ca: Pull complete 01:38:05 d65c8cfc05b1: Pull complete 01:38:20 2437ff75d9bd: Pull complete 01:38:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:38:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:38:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:38:20 prd-ubuntu20.04-docker-arm64-4c-16g-34389 does not seem to be running inside a container 01:38:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:38:23 $ docker top ac3cdffd7e692d1329066fa13cdee9ae6a5ab2f1d1da1e1c532ccf782c6ff95a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:24 ---> job-cost.sh 01:38:24 lf-activate-venv: SKIPPING 01:38:24 INFO: No Stack... 01:38:25 INFO: Retrieving Pricing Info for: v3-standard-4 01:38:26 INFO: Archiving Costs [Pipeline] sh 01:38:27 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:38:27 + cut -d, -f6 [Pipeline] lock 01:38:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] 01:38:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] did not exist. Created. 01:38:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:38:27 /w/workspace/device-mqtt-go/1@tmp/durable-e592e716/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:38:28 + echo total: 0.10999999940395355 [Pipeline] stash 01:38:28 Warning: overwriting stash ‘stack-cost’ 01:38:28 Stashed 1 file(s) [Pipeline] } 01:38:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-375-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:38:28 $ docker stop --time=1 ac3cdffd7e692d1329066fa13cdee9ae6a5ab2f1d1da1e1c532ccf782c6ff95a 01:38:30 $ docker rm -f ac3cdffd7e692d1329066fa13cdee9ae6a5ab2f1d1da1e1c532ccf782c6ff95a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:38:31 provisioning config files... 01:38:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/config4085261058297680509tmp [Pipeline] { [Pipeline] sh 01:38:31 + set +x 01:38:31 + + curl -s https://codecov.io/bash 01:38:31 bash -s -- 01:38:31 01:38:31 _____ _ 01:38:31 / ____| | | 01:38:31 | | ___ __| | ___ ___ _____ __ 01:38:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:38:31 | |___| (_) | (_| | __/ (_| (_) \ V / 01:38:31 \_____\___/ \__,_|\___|\___\___/ \_/ 01:38:31 Bash-1.0.6 01:38:31 01:38:31 01:38:31 ==> git version 2.25.1 found 01:38:31 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:38:31 Release-Date: 2020-01-08 01:38:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:38:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:38:31 ==> Jenkins CI detected. 01:38:31 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-375 01:38:31 project root: . 01:38:31 --> token set from env 01:38:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:38:31 ==> Running gcov in . (disable via -X gcov) 01:38:31 ==> Python coveragepy not found 01:38:31 ==> Searching for coverage reports in: 01:38:31 + . 01:38:31 -> Found 1 reports 01:38:31 ==> Detecting git/mercurial file structure 01:38:31 ==> Reading reports 01:38:31 + ./coverage.out bytes=17887 01:38:31 ==> Appending adjustments 01:38:31 https://docs.codecov.io/docs/fixing-reports 01:38:32 + Found adjustments 01:38:32 ==> Gzipping contents 01:38:32 4.0K /tmp/codecov.RYil5n.gz 01:38:32 ==> Uploading reports 01:38:32 url: https://codecov.io 01:38:32 query: branch=PR-375&commit=14f2905b28d45e21a3b72b79305641ac3f03affe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-375%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=375&job=&cmd_args= 01:38:32 -> Pinging Codecov 01:38:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-375&commit=14f2905b28d45e21a3b72b79305641ac3f03affe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-375%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=375&job=&cmd_args= 01:38:32 -> Uploading to 01:38:32 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/7D719EC7BBE17E464838252E33014C33/14f2905b28d45e21a3b72b79305641ac3f03affe/b6254235-417c-4caf-82ea-633e0d77871d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T013832Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=963af5e92d1329cc7f17691e74576478137ec5ee1e1b59a6c80744bfac4f7e5b 01:38:32 % Total % Received % Xferd Average Speed Time Time Time Current 01:38:32 Dload Upload Total Spent Left Speed 01:38:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 15596 --:--:-- --:--:-- --:--:-- 15596 01:38:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/14f2905b28d45e21a3b72b79305641ac3f03affe [Pipeline] } 01:38:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:38:34 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives ] 01:38:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives 01:38:34 total 16 01:38:34 drwxr-xr-x 3 root root 4096 May 2 01:29 . 01:38:34 drwxrwxr-x 11 jenkins jenkins 4096 May 2 01:29 .. 01:38:34 drwxr-xr-x 2 root root 4096 May 2 01:29 cost 01:38:34 -rw-r--r-- 1 root root 85 May 2 01:29 cost.csv 01:38:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives 01:38:34 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives 01:38:34 total 16 01:38:34 drwxr-xr-x 3 jenkins jenkins 4096 May 2 01:29 . 01:38:34 drwxrwxr-x 11 jenkins jenkins 4096 May 2 01:29 .. 01:38:34 drwxr-xr-x 2 jenkins jenkins 4096 May 2 01:29 cost 01:38:34 -rw-r--r-- 1 jenkins jenkins 85 May 2 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:38:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:38:35 ---> package-listing.sh 01:38:35 ++ facter osfamily 01:38:35 ++ tr '[:upper:]' '[:lower:]' 01:38:35 + OS_FAMILY=debian 01:38:35 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-375 01:38:35 + START_PACKAGES=/tmp/packages_start.txt 01:38:35 + END_PACKAGES=/tmp/packages_end.txt 01:38:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:38:35 + PACKAGES=/tmp/packages_start.txt 01:38:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-375 ']' 01:38:35 + PACKAGES=/tmp/packages_end.txt 01:38:35 + case "${OS_FAMILY}" in 01:38:35 + dpkg -l 01:38:35 + grep '^ii' 01:38:35 + '[' -f /tmp/packages_start.txt ']' 01:38:35 + '[' -f /tmp/packages_end.txt ']' 01:38:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:38:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-375 ']' 01:38:35 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives/ 01:38:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-375/archives/ [Pipeline] echo 01:38:35 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-375/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:38:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:38:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:36 . [Pipeline] withDockerContainer 01:38:36 prd-ubuntu20.04-docker-8c-8g-34384 does not seem to be running inside a container 01:38:36 $ 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-375/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-375 -v /w/workspace/gexfoundry_device-mqtt-go_PR-375:/w/workspace/gexfoundry_device-mqtt-go_PR-375:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:38:37 $ docker top 43d8dfdf325f6ddbe83259b06f284a8244525d5a1e539846583ea3c5cbf281d1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:37 + touch /tmp/pre-build-complete [Pipeline] sh 01:38:37 + mkdir -p /var/log/sysstat [Pipeline] sh 01:38:38 + ls /var/log/sa-host 01:38:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:38 provisioning config files... 01:38:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-375@tmp/config5017278122827978802tmp [Pipeline] { [Pipeline] echo 01:38:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:38:38 ---> create-netrc.sh [Pipeline] } 01:38:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:38:39 ---> python-tools-install.sh [Pipeline] echo 01:38:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:38:39 ---> sudo-logs.sh 01:38:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:38:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:38:39 ---> job-cost.sh 01:38:39 lf-activate-venv: SKIPPING 01:38:39 DEBUG: total: 0.2199999988079071 01:38:39 INFO: Retrieving Stack Cost... 01:38:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:38:41 INFO: Archiving Costs [Pipeline] echo 01:38:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:38:41 ---> logs-deploy.sh 01:38:41 lf-activate-venv: SKIPPING 01:38:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-375/1 01:38:41 INFO: archiving workspace using pattern(s): 01:38:42 Archives upload complete. 01:38:42 INFO: archiving logs to Nexus