Pull request #373 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e182c6520db3ca6c25ecaf0b82d301d9c5241fdd+1804939991e9cf6e6628dcf61ff454f4c33f5abe (53674396d27e5450eea34a3539a4435ef48ea20d) 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-ssh8818653408850551920.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-ssh5400086888534478100.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-373/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-373/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4502044127275703177.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-373/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5112557820187389928.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-ssh13012272320201695352.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-373/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-373/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5023566530932348296.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-34382 in /w/workspace/gexfoundry_device-mqtt-go_PR-373 [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-373 # 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 e182c6520db3ca6c25ecaf0b82d301d9c5241fdd Merge succeeded, producing e182c6520db3ca6c25ecaf0b82d301d9c5241fdd Checking out Revision e182c6520db3ca6c25ecaf0b82d301d9c5241fdd (PR-373) > 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/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e182c6520db3ca6c25ecaf0b82d301d9c5241fdd # 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 e182c6520db3ca6c25ecaf0b82d301d9c5241fdd # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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:26:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:26:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:26:03 ========================================================= 01:26:03 EdgeX Global Pipelines Version Info 01:26:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:26:04 ------------------- 01:26:04 stable info: 01:26:04 ------------------- 01:26:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:26:04 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:26:04 Message: update stable to v1.0.227 01:26:05 ------------------- 01:26:05 experimental info: 01:26:05 ------------------- 01:26:05 Commited By: **** collab-it+edgex@linuxfoundation.org 01:26:05 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:26:05 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:26:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-373 [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-373 [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-373 [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e182c6520db3ca6c25ecaf0b82d301d9c5241fdd [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e182c65 [Pipeline] echo 01:26:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:06 provisioning config files... 01:26:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/config5996852885630370957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:07 ---> docker-login.sh 01:26:07 nexus3.edgexfoundry.org:10001 01:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:07 Configure a credential helper to remove this warning. See 01:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:07 01:26:07 Login Succeeded 01:26:07 nexus3.edgexfoundry.org:10002 01:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:07 Configure a credential helper to remove this warning. See 01:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:07 01:26:07 Login Succeeded 01:26:07 nexus3.edgexfoundry.org:10003 01:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:07 Configure a credential helper to remove this warning. See 01:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:07 01:26:07 Login Succeeded 01:26:07 nexus3.edgexfoundry.org:10004 01:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:07 Configure a credential helper to remove this warning. See 01:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:07 01:26:07 Login Succeeded 01:26:07 docker.io 01:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:08 Configure a credential helper to remove this warning. See 01:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:08 01:26:08 Login Succeeded 01:26:08 ---> docker-login.sh ends [Pipeline] } 01:26:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:26:09 + git rev-list -1 --merges e182c6520db3ca6c25ecaf0b82d301d9c5241fdd~1..e182c6520db3ca6c25ecaf0b82d301d9c5241fdd [Pipeline] echo 01:26:09 -----------> git rev-list -1 --merges e182c6520db3ca6c25ecaf0b82d301d9c5241fdd~1..e182c6520db3ca6c25ecaf0b82d301d9c5241fdd e182c6520db3ca6c25ecaf0b82d301d9c5241fdd [false] [Pipeline] sh 01:26:09 + git log --format=format:%s -1 e182c6520db3ca6c25ecaf0b82d301d9c5241fdd [Pipeline] echo 01:26:09 ========================================================= 01:26:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:26:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:10 + git log --format=format:%s -1 e182c6520db3ca6c25ecaf0b82d301d9c5241fdd [Pipeline] echo 01:26:10 [semverPrep] GIT_COMMIT: e182c6520db3ca6c25ecaf0b82d301d9c5241fdd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 01:26:10 [semverPrep] This is not a build commit. [Pipeline] sh 01:26:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:26:10 + grep -v github /etc/ssh/ssh_known_hosts 01:26:10 + [ -e /tmp/ssh_known_hosts ] 01:26:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:26:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:26:10 + sudo tee -a /etc/ssh/ssh_known_hosts 01:26:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:26:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:26:11 01:26:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:26:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:26:11 latest: Pulling from edgex-devops/py-git-semver 01:26:11 1fe172e4850f: Pulling fs layer 01:26:11 caf521ccaac6: Pulling fs layer 01:26:11 3ead6fa29328: Pulling fs layer 01:26:11 5c2a1cbceb83: Pulling fs layer 01:26:11 a8d5f1318db7: Pulling fs layer 01:26:11 c427282e49a2: Pulling fs layer 01:26:11 5c2a1cbceb83: Waiting 01:26:11 a8d5f1318db7: Waiting 01:26:11 1827001aaf11: Pulling fs layer 01:26:11 c427282e49a2: Waiting 01:26:11 0714d37db230: Pulling fs layer 01:26:11 1827001aaf11: Waiting 01:26:11 ac28cf19c067: Pulling fs layer 01:26:11 0714d37db230: Waiting 01:26:11 ca983d60f3e2: Pulling fs layer 01:26:11 9f894cec8388: Pulling fs layer 01:26:11 9f894cec8388: Waiting 01:26:11 caf521ccaac6: Verifying Checksum 01:26:11 caf521ccaac6: Download complete 01:26:11 5c2a1cbceb83: Download complete 01:26:11 a8d5f1318db7: Verifying Checksum 01:26:11 a8d5f1318db7: Download complete 01:26:11 3ead6fa29328: Verifying Checksum 01:26:11 3ead6fa29328: Download complete 01:26:11 c427282e49a2: Download complete 01:26:11 0714d37db230: Verifying Checksum 01:26:11 0714d37db230: Download complete 01:26:11 ac28cf19c067: Download complete 01:26:11 ca983d60f3e2: Verifying Checksum 01:26:11 9f894cec8388: Verifying Checksum 01:26:11 9f894cec8388: Download complete 01:26:11 1fe172e4850f: Verifying Checksum 01:26:11 1fe172e4850f: Download complete 01:26:11 1827001aaf11: Verifying Checksum 01:26:11 1827001aaf11: Download complete 01:26:13 1fe172e4850f: Pull complete 01:26:13 caf521ccaac6: Pull complete 01:26:13 3ead6fa29328: Pull complete 01:26:13 5c2a1cbceb83: Pull complete 01:26:14 a8d5f1318db7: Pull complete 01:26:14 c427282e49a2: Pull complete 01:26:16 1827001aaf11: Pull complete 01:26:16 0714d37db230: Pull complete 01:26:16 ac28cf19c067: Pull complete 01:26:16 ca983d60f3e2: Pull complete 01:26:16 9f894cec8388: Pull complete 01:26:16 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:26:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:26:16 prd-ubuntu20.04-docker-8c-8g-34382 does not seem to be running inside a container 01:26:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-373 -v /w/workspace/gexfoundry_device-mqtt-go_PR-373:/w/workspace/gexfoundry_device-mqtt-go_PR-373:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-373@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:26:18 $ docker top 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 -eo pid,comm 01:26:18 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:26:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:18 [ssh-agent] Looking for ssh-agent implementation... 01:26:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:18 $ docker exec 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 ssh-agent 01:26:19 SSH_AUTH_SOCK=/tmp/ssh-5j5jz8nOZIAD/agent.33 01:26:19 SSH_AGENT_PID=39 01:26:19 Running ssh-add (command line suppressed) 01:26:19 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/private_key_4731592603383781017.key (/w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/private_key_4731592603383781017.key) 01:26:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:19 + git tag --points-at HEAD [Pipeline] } 01:26:19 $ docker exec --env ******** --env ******** 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 ssh-agent -k 01:26:19 unset SSH_AUTH_SOCK; 01:26:19 unset SSH_AGENT_PID; 01:26:19 echo Agent pid 39 killed; 01:26:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:26:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:19 [ssh-agent] Looking for ssh-agent implementation... 01:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:19 $ docker exec 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 ssh-agent 01:26:20 SSH_AUTH_SOCK=/tmp/ssh-VAPITkIERKMr/agent.72 01:26:20 SSH_AGENT_PID=78 01:26:20 Running ssh-add (command line suppressed) 01:26:20 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/private_key_7897335503079988487.key (/w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/private_key_7897335503079988487.key) 01:26:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:26:20 + git semver init 01:26:20 2022-05-02 01:26:20,741 [run_init] DEBUG init version:0.0.0 force:False 01:26:20 2022-05-02 01:26:20,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver 01:26:20 2022-05-02 01:26:20,742 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver 01:26:20 2022-05-02 01:26:20,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-373, universal_newlines=False, shell=None, istream=None) 01:26:21 2022-05-02 01:26:21,558 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-373/.git/info/exclude 01:26:21 2022-05-02 01:26:21,558 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver/PR-373 with force:False 01:26:21 2022-05-02 01:26:21,558 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver/PR-373 01:26:21 2022-05-02 01:26:21,563 [execute] INFO git cat-file --batch-check 01:26:21 2022-05-02 01:26:21,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver, universal_newlines=False, shell=None, istream=) 01:26:21 2022-05-02 01:26:21,570 [execute] INFO git cat-file --batch 01:26:21 2022-05-02 01:26:21,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver, universal_newlines=False, shell=None, istream=) 01:26:21 2022-05-02 01:26:21,576 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-373/.semver/PR-373 01:26:21 0.0.0 [Pipeline] } 01:26:21 $ docker exec --env ******** --env ******** 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 ssh-agent -k 01:26:21 unset SSH_AUTH_SOCK; 01:26:21 unset SSH_AGENT_PID; 01:26:21 echo Agent pid 78 killed; 01:26:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:26:22 + git semver [Pipeline] } 01:26:22 $ docker stop --time=1 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 01:26:23 $ docker rm -f 8b2048ab90950285df9dc0a66d007e47cc9ae2b91808cb916e8cb2300ddc6be8 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:26:24 Stashed 1 file(s) [Pipeline] echo 01:26:24 [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:26:25 provisioning config files... 01:26:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/config8170788401142865500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:25 ---> docker-login.sh 01:26:25 nexus3.edgexfoundry.org:10001 01:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:25 Configure a credential helper to remove this warning. See 01:26:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:25 01:26:25 Login Succeeded 01:26:25 nexus3.edgexfoundry.org:10002 01:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 nexus3.edgexfoundry.org:10003 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 nexus3.edgexfoundry.org:10004 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 docker.io 01:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:26 Configure a credential helper to remove this warning. See 01:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:26 01:26:26 Login Succeeded 01:26:26 ---> docker-login.sh ends [Pipeline] } 01:26:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:26 ========================================================= 01:26:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:26:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:26:27 + 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:26:27 Sending build context to Docker daemon 5.867MB 01:26:27 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:26:27 Step 2/12 : FROM ${BASE} AS builder 01:26:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:26:27 59bf1c3509f3: Pulling fs layer 01:26:27 666ba61612fd: Pulling fs layer 01:26:27 8ed8ca486205: Pulling fs layer 01:26:27 4fe6c5a15a65: Pulling fs layer 01:26:27 22a0e8bec74d: Pulling fs layer 01:26:27 ca2b28591e48: Pulling fs layer 01:26:27 a51346096db8: Pulling fs layer 01:26:27 daebc70d1ce1: Pulling fs layer 01:26:27 0e18a0eac166: Pulling fs layer 01:26:27 4fe6c5a15a65: Waiting 01:26:27 22a0e8bec74d: Waiting 01:26:27 ca2b28591e48: Waiting 01:26:27 0e18a0eac166: Waiting 01:26:27 a51346096db8: Waiting 01:26:27 daebc70d1ce1: Waiting 01:26:27 8ed8ca486205: Verifying Checksum 01:26:27 8ed8ca486205: Download complete 01:26:27 666ba61612fd: Verifying Checksum 01:26:27 666ba61612fd: Download complete 01:26:27 22a0e8bec74d: Verifying Checksum 01:26:27 22a0e8bec74d: Download complete 01:26:27 ca2b28591e48: Verifying Checksum 01:26:27 ca2b28591e48: Download complete 01:26:27 59bf1c3509f3: Verifying Checksum 01:26:27 59bf1c3509f3: Download complete 01:26:27 a51346096db8: Verifying Checksum 01:26:27 a51346096db8: Download complete 01:26:27 daebc70d1ce1: Verifying Checksum 01:26:27 daebc70d1ce1: Download complete 01:26:27 59bf1c3509f3: Pull complete 01:26:27 666ba61612fd: Pull complete 01:26:27 8ed8ca486205: Pull complete 01:26:28 0e18a0eac166: Verifying Checksum 01:26:28 0e18a0eac166: Download complete 01:26:28 4fe6c5a15a65: Verifying Checksum 01:26:28 4fe6c5a15a65: Download complete 01:26:32 4fe6c5a15a65: Pull complete 01:26:32 22a0e8bec74d: Pull complete 01:26:32 ca2b28591e48: Pull complete 01:26:32 a51346096db8: Pull complete 01:26:32 daebc70d1ce1: Pull complete 01:26:35 0e18a0eac166: Pull complete 01:26:35 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:26:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:26:35 ---> f018257e8ee9 01:26:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:26:37 ---> Running in 91e428e81d1f 01:26:37 Removing intermediate container 91e428e81d1f 01:26:37 ---> a8047e874faf 01:26:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:26:37 ---> Running in 1f432074b267 01:26:37 Removing intermediate container 1f432074b267 01:26:37 ---> 352b65b43d32 01:26:37 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:37 ---> Running in 01f6c84f90f4 01:26:38 Removing intermediate container 01f6c84f90f4 01:26:38 ---> 57cdda44a446 01:26:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:38 ---> Running in 759210b1abda 01:26:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:26:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:26:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:26:39 (2/4) Installing libedit (20210910.3.1-r0) 01:26:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:26:39 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:26:40 Executing busybox-1.34.1-r3.trigger 01:26:40 OK: 224 MiB in 56 packages 01:26:40 Still waiting to schedule task 01:26:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34380’ 01:26:40 Removing intermediate container 759210b1abda 01:26:40 ---> 00049959132d 01:26:40 Step 7/12 : WORKDIR /device-mqtt-go 01:26:40 ---> Running in 2ccdd887cbe1 01:26:40 Removing intermediate container 2ccdd887cbe1 01:26:40 ---> ac27122cf00c 01:26:40 Step 8/12 : COPY go.mod vendor* ./ 01:26:40 ---> 11d44abba033 01:26:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:40 ---> Running in 9934f76aef7f 01:26:59 Removing intermediate container 9934f76aef7f 01:26:59 ---> 76663b20e99c 01:26:59 Step 10/12 : COPY . . 01:26:59 ---> 204ca33acbbc 01:26:59 Step 11/12 : ARG MAKE='make build' 01:26:59 ---> Running in 36aed48d0cd2 01:26:59 Removing intermediate container 36aed48d0cd2 01:26:59 ---> f5bf5ed1812c 01:26:59 Step 12/12 : RUN $MAKE 01:26:59 ---> Running in aeb964abd55c 01:26:59 noop 01:26:59 Removing intermediate container aeb964abd55c 01:26:59 ---> c0bfde838410 01:26:59 Successfully built c0bfde838410 01:26:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:26:59 + docker inspect -f . ci-base-image-x86_64 01:26:59 . [Pipeline] withDockerContainer 01:26:59 prd-ubuntu20.04-docker-8c-8g-34382 does not seem to be running inside a container 01:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-373 -v /w/workspace/gexfoundry_device-mqtt-go_PR-373:/w/workspace/gexfoundry_device-mqtt-go_PR-373:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-373@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 ******** ci-base-image-x86_64 cat 01:27:00 $ docker top 8fff4e1ccadfcf48ffe212c6ba6c2b7f2e4839a0a155dc93e12581fd526c0562 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:00 + go version 01:27:00 go version go1.17.6 linux/amd64 [Pipeline] } 01:27:00 $ docker stop --time=1 8fff4e1ccadfcf48ffe212c6ba6c2b7f2e4839a0a155dc93e12581fd526c0562 01:27:02 $ docker rm -f 8fff4e1ccadfcf48ffe212c6ba6c2b7f2e4839a0a155dc93e12581fd526c0562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:02 + docker inspect -f . ci-base-image-x86_64 01:27:02 . [Pipeline] withDockerContainer 01:27:02 prd-ubuntu20.04-docker-8c-8g-34382 does not seem to be running inside a container 01:27:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-373 -v /w/workspace/gexfoundry_device-mqtt-go_PR-373:/w/workspace/gexfoundry_device-mqtt-go_PR-373:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-373@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 ******** ci-base-image-x86_64 cat 01:27:03 $ docker top daeb1748ded77e93d1a433994cd375f2d8e150ac257b7730019c257b0421ad24 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:27:03 + make test 01:27:03 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:27:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:27:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:27:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 01:27:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:27:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:27:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:27:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:27:24 ./bin/test-attribution-txt.sh [Pipeline] echo 01:27:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:27:25 $ docker stop --time=1 daeb1748ded77e93d1a433994cd375f2d8e150ac257b7730019c257b0421ad24 01:27:27 $ docker rm -f daeb1748ded77e93d1a433994cd375f2d8e150ac257b7730019c257b0421ad24 [Pipeline] // withDockerContainer [Pipeline] sh 01:27:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:27:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:27:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:27:29 + ls -al . 01:27:29 total 196 01:27:29 drwxrwxr-x 10 jenkins jenkins 4096 May 2 01:27 . 01:27:29 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:25 .. 01:27:29 -rw-rw-r-- 1 jenkins jenkins 140 May 2 01:25 .dockerignore 01:27:29 drwxrwxr-x 8 jenkins jenkins 4096 May 2 01:26 .git 01:27:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:25 .github 01:27:29 -rw-rw-r-- 1 jenkins jenkins 329 May 2 01:25 .gitignore 01:27:29 -rw-rw-r-- 1 jenkins jenkins 41 May 2 01:25 .golangci.yml 01:27:29 drwxr-xr-x 3 jenkins jenkins 4096 May 2 01:26 .semver 01:27:29 -rw-rw-r-- 1 jenkins jenkins 8656 May 2 01:25 Attribution.txt 01:27:29 -rw-rw-r-- 1 jenkins jenkins 7447 May 2 01:25 CHANGELOG.md 01:27:29 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:25 Dockerfile 01:27:29 -rw-rw-r-- 1 jenkins jenkins 677 May 2 01:25 GOVERNANCE.md 01:27:29 -rw-rw-r-- 1 jenkins jenkins 678 May 2 01:25 Jenkinsfile 01:27:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 01:25 LICENSE 01:27:29 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:25 Makefile 01:27:29 -rw-rw-r-- 1 jenkins jenkins 620 May 2 01:25 OWNERS.md 01:27:29 -rw-rw-r-- 1 jenkins jenkins 2643 May 2 01:25 README.md 01:27:29 -rw-rw-r-- 1 jenkins jenkins 5 May 2 01:26 VERSION 01:27:29 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:25 bin 01:27:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:25 cmd 01:27:29 -rw-r--r-- 1 jenkins jenkins 17887 May 2 01:27 coverage.out 01:27:29 -rw-rw-r-- 1 jenkins jenkins 3309 May 2 01:25 go.mod 01:27:29 -rw-rw-r-- 1 jenkins jenkins 54473 May 2 01:25 go.sum 01:27:29 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:25 internal 01:27:29 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:25 mock 01:27:29 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:25 snap 01:27:29 -rw-rw-r-- 1 jenkins jenkins 227 May 2 01:25 version.go [Pipeline] isUnix [Pipeline] sh 01:27:29 + 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=e182c6520db3ca6c25ecaf0b82d301d9c5241fdd --label arch=amd64 --label version=0.0.0 . 01:27:29 Sending build context to Docker daemon 5.885MB 01:27:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:27:29 Step 2/24 : FROM ${BASE} AS builder 01:27:29 ---> c0bfde838410 01:27:29 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:27:29 ---> Running in b1fa374c9d55 01:27:29 Removing intermediate container b1fa374c9d55 01:27:29 ---> 7c9180926051 01:27:29 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:27:29 ---> Running in 03f9b76bcc14 01:27:29 Removing intermediate container 03f9b76bcc14 01:27:29 ---> a81e25294404 01:27:29 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:29 ---> Running in d28eef6e8869 01:27:30 Removing intermediate container d28eef6e8869 01:27:30 ---> 5953394dab82 01:27:30 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:30 ---> Running in 798552cae734 01:27:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:27:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:27:32 OK: 224 MiB in 56 packages 01:27:32 Removing intermediate container 798552cae734 01:27:32 ---> 30f3e6a05016 01:27:32 Step 7/24 : WORKDIR /device-mqtt-go 01:27:32 ---> Running in 5327f18e950b 01:27:32 Removing intermediate container 5327f18e950b 01:27:32 ---> 726668e2e68f 01:27:32 Step 8/24 : COPY go.mod vendor* ./ 01:27:32 ---> ba03cfc7d29e 01:27:32 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:32 ---> Running in eccd24a9d008 01:27:33 Removing intermediate container eccd24a9d008 01:27:33 ---> 808009b7e3e2 01:27:33 Step 10/24 : COPY . . 01:27:33 ---> 0ff0577d2d66 01:27:33 Step 11/24 : ARG MAKE='make build' 01:27:33 ---> Running in 471f180db1c0 01:27:33 Removing intermediate container 471f180db1c0 01:27:33 ---> 77c2db6b0710 01:27:33 Step 12/24 : RUN $MAKE 01:27:33 ---> Running in 9a0d5a92e462 01:27: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:27:55 Removing intermediate container 9a0d5a92e462 01:27:55 ---> 3ab2fd9c032a 01:27:55 Step 13/24 : FROM alpine:3.14 01:27:55 3.14: Pulling from library/alpine 01:27:55 8663204ce13b: Pulling fs layer 01:27:55 8663204ce13b: Verifying Checksum 01:27:55 8663204ce13b: Download complete 01:27:55 8663204ce13b: Pull complete 01:27:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:27:55 Status: Downloaded newer image for alpine:3.14 01:27:55 ---> e04c818066af 01:27:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:27:55 ---> Running in fc653e6c34c6 01:27:55 Removing intermediate container fc653e6c34c6 01:27:55 ---> e0727521d215 01:27:55 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:27:55 ---> Running in 7d61d8c0d2a5 01:27:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:27:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:27:55 (1/6) Installing dumb-init (1.2.5-r1) 01:27:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:27:55 (3/6) Installing libsodium (1.0.18-r0) 01:27:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:27:55 (5/6) Installing libzmq (4.3.4-r0) 01:27:55 (6/6) Installing zeromq (4.3.4-r0) 01:27:55 Executing busybox-1.33.1-r7.trigger 01:27:55 OK: 8 MiB in 20 packages 01:27:55 Removing intermediate container 7d61d8c0d2a5 01:27:55 ---> 1b12311611d8 01:27:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:27:56 ---> 813c145b3449 01:27:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:27:56 ---> b36f183a4ed3 01:27:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:27:56 ---> 963a2d52c244 01:27:56 Step 19/24 : EXPOSE 59982 01:27:56 ---> Running in bf150bbd3507 01:27:56 Removing intermediate container bf150bbd3507 01:27:56 ---> c2dc6e55368c 01:27:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:27:56 ---> Running in dc15462281f6 01:27:56 Removing intermediate container dc15462281f6 01:27:56 ---> 7937a5c69508 01:27:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:27:56 ---> Running in c4c4e94603fb 01:27:57 Removing intermediate container c4c4e94603fb 01:27:57 ---> cf7786ac95a8 01:27:57 Step 22/24 : LABEL arch=amd64 01:27:57 ---> Running in bb5bf082a87e 01:27:57 Removing intermediate container bb5bf082a87e 01:27:57 ---> bbc8b3a34641 01:27:57 Step 23/24 : LABEL git_sha=e182c6520db3ca6c25ecaf0b82d301d9c5241fdd 01:27:57 ---> Running in 1517d5814df6 01:27:57 Removing intermediate container 1517d5814df6 01:27:57 ---> abee6fc1f779 01:27:57 Step 24/24 : LABEL version=0.0.0 01:27:57 ---> Running in 5a0afeee7341 01:27:57 Removing intermediate container 5a0afeee7341 01:27:57 ---> b5ca634cd3a3 01:27:57 [Warning] One or more build-args [ARCH] were not consumed 01:27:57 Successfully built b5ca634cd3a3 01:27:57 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:58 01:27:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:27:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:58 latest: Pulling from edgex-lftools-log-publisher 01:27:58 5eb5b503b376: Pulling fs layer 01:27:58 5c69ac0246d0: Pulling fs layer 01:27:58 ec43610c2a17: Pulling fs layer 01:27:58 3a2ae6a8a46f: Pulling fs layer 01:27:58 33b1e0a273af: Pulling fs layer 01:27:58 5d3b04190fa2: Pulling fs layer 01:27:58 2f39f015ded8: Pulling fs layer 01:27:58 3a2ae6a8a46f: Waiting 01:27:58 33b1e0a273af: Waiting 01:27:58 5d3b04190fa2: Waiting 01:27:58 2f39f015ded8: Waiting 01:27:58 5c69ac0246d0: Verifying Checksum 01:27:58 5c69ac0246d0: Download complete 01:27:58 3a2ae6a8a46f: Verifying Checksum 01:27:58 3a2ae6a8a46f: Download complete 01:27:58 33b1e0a273af: Verifying Checksum 01:27:58 33b1e0a273af: Download complete 01:27:58 5d3b04190fa2: Download complete 01:27:58 ec43610c2a17: Verifying Checksum 01:27:58 ec43610c2a17: Download complete 01:27:59 5eb5b503b376: Verifying Checksum 01:27:59 5eb5b503b376: Download complete 01:27:59 2f39f015ded8: Download complete 01:28:00 5eb5b503b376: Pull complete 01:28:00 5c69ac0246d0: Pull complete 01:28:01 ec43610c2a17: Pull complete 01:28:01 3a2ae6a8a46f: Pull complete 01:28:01 33b1e0a273af: Pull complete 01:28:01 5d3b04190fa2: Pull complete 01:28:05 2f39f015ded8: Pull complete 01:28:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:28:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:28:05 prd-ubuntu20.04-docker-8c-8g-34382 does not seem to be running inside a container 01:28:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-373 -v /w/workspace/gexfoundry_device-mqtt-go_PR-373:/w/workspace/gexfoundry_device-mqtt-go_PR-373:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-373@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:28:07 $ docker top e4d6761dd770545146de740039d85c8174ecf5f49950b69983f4519958892809 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:08 ---> job-cost.sh 01:28:08 lf-activate-venv: SKIPPING 01:28:08 INFO: No Stack... 01:28:08 INFO: Retrieving Pricing Info for: v3-standard-8 01:28:08 INFO: Archiving Costs [Pipeline] sh 01:28:09 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives/cost.csv 01:28:09 + cut -d, -f6 [Pipeline] lock 01:28:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] 01:28:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] did not exist. Created. 01:28:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:28:09 + echo total: 0.2199999988079071 [Pipeline] stash 01:28:09 Stashed 1 file(s) [Pipeline] } 01:28:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:28:09 $ docker stop --time=1 e4d6761dd770545146de740039d85c8174ecf5f49950b69983f4519958892809 01:28:11 $ docker rm -f e4d6761dd770545146de740039d85c8174ecf5f49950b69983f4519958892809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34386 in /w/workspace/gexfoundry_device-mqtt-go_PR-373 [Pipeline] { [Pipeline] ws 01:29:25 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:29:25 Selected Git installation does not exist. Using Default 01:29:25 The recommended git tool is: NONE 01:29:33 using credential edgex-jenkins-ssh 01:29:33 Cloning the remote Git repository 01:29:33 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:29:33 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:29:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:29:33 > git --version # timeout=10 01:29:33 > git --version # 'git version 2.25.1' 01:29:33 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:29:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:29:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:29:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:29:35 Merging remotes/origin/main commit 1804939991e9cf6e6628dcf61ff454f4c33f5abe into PR head commit e182c6520db3ca6c25ecaf0b82d301d9c5241fdd 01:29:35 Merge succeeded, producing e182c6520db3ca6c25ecaf0b82d301d9c5241fdd 01:29:35 Checking out Revision e182c6520db3ca6c25ecaf0b82d301d9c5241fdd (PR-373) 01:29:35 > git config core.sparsecheckout # timeout=10 01:29:35 > git checkout -f e182c6520db3ca6c25ecaf0b82d301d9c5241fdd # timeout=10 01:29:35 > git remote # timeout=10 01:29:35 > git config --get remote.origin.url # timeout=10 01:29:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:35 > git merge 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 01:29:35 > git rev-parse HEAD^{commit} # timeout=10 01:29:35 > git config core.sparsecheckout # timeout=10 01:29:35 > git checkout -f e182c6520db3ca6c25ecaf0b82d301d9c5241fdd # timeout=10 01:29:40 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 01:29:40 > git --version # timeout=10 01:29:40 > git --version # 'git version 2.25.1' 01:29:40 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:41 Dload Upload Total Spent Left Speed 01:29:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 85818 [Pipeline] sh 01:29:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:42 + + sudo teesudo /etc/docker/daemon.new jq 01:29:42 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:29:42 { 01:29:42 "registry-mirrors": [ 01:29:42 "https://nexus3.edgexfoundry.org:10001" 01:29:42 ], 01:29:42 "bip": "10.250.0.254/24", 01:29:42 "hosts": [ 01:29:42 "tcp://0.0.0.0:5555", 01:29:42 "unix:///var/run/docker.sock" 01:29:42 ], 01:29:42 "mtu": 1458, 01:29:42 "selinux-enabled": true, 01:29:42 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:42 } [Pipeline] sh 01:29:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:02 provisioning config files... 01:30:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2182130749485249649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:02 ---> docker-login.sh 01:30:02 nexus3.edgexfoundry.org:10001 01:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:03 Configure a credential helper to remove this warning. See 01:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:03 01:30:03 Login Succeeded 01:30:03 nexus3.edgexfoundry.org:10002 01:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:04 Configure a credential helper to remove this warning. See 01:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:04 01:30:04 Login Succeeded 01:30:04 nexus3.edgexfoundry.org:10003 01:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:04 Configure a credential helper to remove this warning. See 01:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:04 01:30:04 Login Succeeded 01:30:04 nexus3.edgexfoundry.org:10004 01:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:05 Configure a credential helper to remove this warning. See 01:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:05 01:30:05 Login Succeeded 01:30:05 docker.io 01:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:05 Configure a credential helper to remove this warning. See 01:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:05 01:30:05 Login Succeeded 01:30:05 ---> docker-login.sh ends [Pipeline] } 01:30:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:06 ========================================================= 01:30:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:30:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:30:06 + 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:30:07 Sending build context to Docker daemon 3.05MB 01:30:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:30:07 Step 2/12 : FROM ${BASE} AS builder 01:30:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:30:07 9b3977197b4f: Pulling fs layer 01:30:07 1a89e8eeedd5: Pulling fs layer 01:30:07 94645a83ff95: Pulling fs layer 01:30:07 3f3a8bcf1eab: Pulling fs layer 01:30:07 0c92f367c5e7: Pulling fs layer 01:30:07 3096ccb668a1: Pulling fs layer 01:30:07 e8cf19c19ddd: Pulling fs layer 01:30:07 3f3a8bcf1eab: Waiting 01:30:07 a4caa8a26152: Pulling fs layer 01:30:07 0c92f367c5e7: Waiting 01:30:07 3096ccb668a1: Waiting 01:30:07 e8cf19c19ddd: Waiting 01:30:07 a4caa8a26152: Waiting 01:30:07 94645a83ff95: Download complete 01:30:07 1a89e8eeedd5: Download complete 01:30:07 0c92f367c5e7: Verifying Checksum 01:30:07 0c92f367c5e7: Download complete 01:30:07 3096ccb668a1: Download complete 01:30:07 9b3977197b4f: Verifying Checksum 01:30:07 9b3977197b4f: Download complete 01:30:07 e8cf19c19ddd: Verifying Checksum 01:30:07 e8cf19c19ddd: Download complete 01:30:08 9b3977197b4f: Pull complete 01:30:08 1a89e8eeedd5: Pull complete 01:30:08 94645a83ff95: Pull complete 01:30:09 a4caa8a26152: Verifying Checksum 01:30:09 a4caa8a26152: Download complete 01:30:09 3f3a8bcf1eab: Verifying Checksum 01:30:09 3f3a8bcf1eab: Download complete 01:30:22 3f3a8bcf1eab: Pull complete 01:30:22 0c92f367c5e7: Pull complete 01:30:22 3096ccb668a1: Pull complete 01:30:22 e8cf19c19ddd: Pull complete 01:30:27 a4caa8a26152: Pull complete 01:30:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:30:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:30:27 ---> 725f1c02e7f9 01:30:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:30:29 ---> Running in ce9ab2825d4a 01:30:29 Removing intermediate container ce9ab2825d4a 01:30:29 ---> 42b3aa216ac0 01:30:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:30:29 ---> Running in 036059dca99f 01:30:29 Removing intermediate container 036059dca99f 01:30:29 ---> 74904a07b020 01:30:29 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:30:29 ---> Running in 121e25ce611b 01:30:31 Removing intermediate container 121e25ce611b 01:30:31 ---> 3af62a6f2d1d 01:30:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:31 ---> Running in 369b3580c3f4 01:30:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:30:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:30:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:30:35 (2/4) Installing libedit (20210910.3.1-r0) 01:30:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:30:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:30:36 Executing busybox-1.34.1-r3.trigger 01:30:36 OK: 224 MiB in 56 packages 01:30:37 Removing intermediate container 369b3580c3f4 01:30:37 ---> 63eca6a72112 01:30:37 Step 7/12 : WORKDIR /device-mqtt-go 01:30:37 ---> Running in e307e9e9ca0d 01:30:37 Removing intermediate container e307e9e9ca0d 01:30:37 ---> 20a268fb00c6 01:30:37 Step 8/12 : COPY go.mod vendor* ./ 01:30:38 ---> 14f88b13ef6c 01:30:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:38 ---> Running in 63b4b7ce32be 01:31:35 Removing intermediate container 63b4b7ce32be 01:31:35 ---> eae92434d0c9 01:31:35 Step 10/12 : COPY . . 01:31:35 ---> c0fb8d2ae4ae 01:31:35 Step 11/12 : ARG MAKE='make build' 01:31:35 ---> Running in c69bfa6e92b9 01:31:35 Removing intermediate container c69bfa6e92b9 01:31:35 ---> 89cd21d5702d 01:31:35 Step 12/12 : RUN $MAKE 01:31:35 ---> Running in f07e5f2bcb40 01:31:35 noop 01:31:35 Removing intermediate container f07e5f2bcb40 01:31:35 ---> 17bbafec6950 01:31:35 Successfully built 17bbafec6950 01:31:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:31:35 + docker inspect -f . ci-base-image-arm64 01:31:35 . [Pipeline] withDockerContainer 01:31:35 prd-ubuntu20.04-docker-arm64-4c-16g-34386 does not seem to be running inside a container 01:31:36 $ 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:31:37 $ docker top affe23a14ed7613f050e3a274031966f22bd87acd57d6c2198b49f133efd7676 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:38 + go version 01:31:38 go version go1.17.6 linux/arm64 [Pipeline] } 01:31:38 $ docker stop --time=1 affe23a14ed7613f050e3a274031966f22bd87acd57d6c2198b49f133efd7676 01:31:40 $ docker rm -f affe23a14ed7613f050e3a274031966f22bd87acd57d6c2198b49f133efd7676 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:31:41 + docker inspect -f . ci-base-image-arm64 01:31:41 . [Pipeline] withDockerContainer 01:31:41 prd-ubuntu20.04-docker-arm64-4c-16g-34386 does not seem to be running inside a container 01:31:41 $ 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:31:43 $ docker top d5fe8f6009ccc7add1cb68c018af75800677b2144d8815e1a6f8528f5c8e014b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:31:44 + make test 01:31:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:31:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:33:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:33:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 21.8% of statements 01:33:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:33:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:33:23 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:33:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:55 ./bin/test-attribution-txt.sh [Pipeline] echo 01:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:33:55 $ docker stop --time=1 d5fe8f6009ccc7add1cb68c018af75800677b2144d8815e1a6f8528f5c8e014b 01:33:57 $ docker rm -f d5fe8f6009ccc7add1cb68c018af75800677b2144d8815e1a6f8528f5c8e014b [Pipeline] // withDockerContainer [Pipeline] sh 01:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:58 Warning: overwriting stash ‘coverage-report’ 01:33:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:00 + ls -al . 01:34:00 total 192 01:34:00 drwxrwxr-x 9 jenkins jenkins 4096 May 2 01:33 . 01:34:00 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:29 .. 01:34:00 -rw-rw-r-- 1 jenkins jenkins 140 May 2 01:29 .dockerignore 01:34:00 drwxrwxr-x 8 jenkins jenkins 4096 May 2 01:29 .git 01:34:00 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:29 .github 01:34:00 -rw-rw-r-- 1 jenkins jenkins 329 May 2 01:29 .gitignore 01:34:00 -rw-rw-r-- 1 jenkins jenkins 41 May 2 01:29 .golangci.yml 01:34:00 -rw-rw-r-- 1 jenkins jenkins 8656 May 2 01:29 Attribution.txt 01:34:00 -rw-rw-r-- 1 jenkins jenkins 7447 May 2 01:29 CHANGELOG.md 01:34:00 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:29 Dockerfile 01:34:00 -rw-rw-r-- 1 jenkins jenkins 677 May 2 01:29 GOVERNANCE.md 01:34:00 -rw-rw-r-- 1 jenkins jenkins 678 May 2 01:29 Jenkinsfile 01:34:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 01:29 LICENSE 01:34:00 -rw-rw-r-- 1 jenkins jenkins 1930 May 2 01:29 Makefile 01:34:00 -rw-rw-r-- 1 jenkins jenkins 620 May 2 01:29 OWNERS.md 01:34:00 -rw-rw-r-- 1 jenkins jenkins 2643 May 2 01:29 README.md 01:34:00 -rw-rw-r-- 1 jenkins jenkins 5 May 2 01:26 VERSION 01:34:00 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:29 bin 01:34:00 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:29 cmd 01:34:00 -rw-r--r-- 1 jenkins jenkins 17887 May 2 01:33 coverage.out 01:34:00 -rw-rw-r-- 1 jenkins jenkins 3309 May 2 01:29 go.mod 01:34:00 -rw-rw-r-- 1 jenkins jenkins 54473 May 2 01:29 go.sum 01:34:00 drwxrwxr-x 3 jenkins jenkins 4096 May 2 01:29 internal 01:34:00 drwxrwxr-x 2 jenkins jenkins 4096 May 2 01:29 mock 01:34:00 drwxrwxr-x 4 jenkins jenkins 4096 May 2 01:29 snap 01:34:00 -rw-rw-r-- 1 jenkins jenkins 227 May 2 01:29 version.go [Pipeline] isUnix [Pipeline] sh 01:34:01 + 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=e182c6520db3ca6c25ecaf0b82d301d9c5241fdd --label arch=arm64 --label version=0.0.0 . 01:34:01 Sending build context to Docker daemon 3.069MB 01:34:01 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:34:01 Step 2/24 : FROM ${BASE} AS builder 01:34:01 ---> 17bbafec6950 01:34:01 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:01 ---> Running in 26fc91678ecd 01:34:01 Removing intermediate container 26fc91678ecd 01:34:01 ---> 6f5be989fde2 01:34:01 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:34:02 ---> Running in 5f0e2062f26c 01:34:02 Removing intermediate container 5f0e2062f26c 01:34:02 ---> ecac9e259620 01:34:02 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:02 ---> Running in 4703b8c96772 01:34:04 Removing intermediate container 4703b8c96772 01:34:04 ---> 5fe190451dc3 01:34:04 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:04 ---> Running in 75446caa1556 01:34:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:34:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:34:07 OK: 224 MiB in 56 packages 01:34:08 Removing intermediate container 75446caa1556 01:34:08 ---> ea38029e707e 01:34:08 Step 7/24 : WORKDIR /device-mqtt-go 01:34:08 ---> Running in 0329a8d85bc0 01:34:08 Removing intermediate container 0329a8d85bc0 01:34:08 ---> 986f8393e04d 01:34:08 Step 8/24 : COPY go.mod vendor* ./ 01:34:09 ---> 2cac9f5f82fd 01:34:09 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:09 ---> Running in 281b1d7f1a87 01:34:11 Removing intermediate container 281b1d7f1a87 01:34:11 ---> ff5ea60e8300 01:34:11 Step 10/24 : COPY . . 01:34:12 ---> 2533f13d806c 01:34:12 Step 11/24 : ARG MAKE='make build' 01:34:12 ---> Running in 98ff3e2c0bce 01:34:12 Removing intermediate container 98ff3e2c0bce 01:34:12 ---> 2c3052a1a922 01:34:12 Step 12/24 : RUN $MAKE 01:34:13 ---> Running in 4c63d0bad633 01:34:14 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:36:35 Removing intermediate container 4c63d0bad633 01:36:35 ---> ba00eb8689e2 01:36:35 Step 13/24 : FROM alpine:3.14 01:36:35 3.14: Pulling from library/alpine 01:36:35 455c02918c45: Pulling fs layer 01:36:35 455c02918c45: Verifying Checksum 01:36:35 455c02918c45: Download complete 01:36:35 455c02918c45: Pull complete 01:36:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:36:35 Status: Downloaded newer image for alpine:3.14 01:36:35 ---> ac73e934f311 01:36:35 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:36:35 ---> Running in f1a0b10dbd56 01:36:35 Removing intermediate container f1a0b10dbd56 01:36:35 ---> 32186a782011 01:36:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:36:35 ---> Running in 56049edc0d26 01:36:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:36:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:36:35 (1/6) Installing dumb-init (1.2.5-r1) 01:36:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:36:35 (3/6) Installing libsodium (1.0.18-r0) 01:36:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:36:35 (5/6) Installing libzmq (4.3.4-r0) 01:36:35 (6/6) Installing zeromq (4.3.4-r0) 01:36:35 Executing busybox-1.33.1-r7.trigger 01:36:35 OK: 8 MiB in 20 packages 01:36:35 Removing intermediate container 56049edc0d26 01:36:35 ---> 36514d64a0ea 01:36:35 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:36:35 ---> 57933379c853 01:36:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:36:35 ---> 9088e445b7f3 01:36:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:36:35 ---> 4084216b3baf 01:36:35 Step 19/24 : EXPOSE 59982 01:36:35 ---> Running in d64a878a6eed 01:36:35 Removing intermediate container d64a878a6eed 01:36:35 ---> 22949f35f8a7 01:36:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:36:35 ---> Running in 7bbfb9d206ff 01:36:35 Removing intermediate container 7bbfb9d206ff 01:36:35 ---> 9d26a16b5b86 01:36:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:36:35 ---> Running in feae974e3cae 01:36:35 Removing intermediate container feae974e3cae 01:36:35 ---> ce2c991215e3 01:36:35 Step 22/24 : LABEL arch=arm64 01:36:35 ---> Running in 72f0f2ddf8ac 01:36:35 Removing intermediate container 72f0f2ddf8ac 01:36:35 ---> 2b5a154794ec 01:36:35 Step 23/24 : LABEL git_sha=e182c6520db3ca6c25ecaf0b82d301d9c5241fdd 01:36:35 ---> Running in fb708775ff58 01:36:35 Removing intermediate container fb708775ff58 01:36:35 ---> 13440c49b6c7 01:36:35 Step 24/24 : LABEL version=0.0.0 01:36:35 ---> Running in 07a2a94ec470 01:36:35 Removing intermediate container 07a2a94ec470 01:36:35 ---> 9913bd574a34 01:36:35 [Warning] One or more build-args [ARCH] were not consumed 01:36:35 Successfully built 9913bd574a34 01:36:35 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:36:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:36:36 01:36:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:36:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:36:37 arm64: Pulling from edgex-lftools-log-publisher 01:36:37 8998bd30e6a1: Pulling fs layer 01:36:37 04944245beec: Pulling fs layer 01:36:37 699f458cf7ca: Pulling fs layer 01:36:37 765212b225bb: Pulling fs layer 01:36:37 f23df028b6ca: Pulling fs layer 01:36:37 d65c8cfc05b1: Pulling fs layer 01:36:37 2437ff75d9bd: Pulling fs layer 01:36:37 f23df028b6ca: Waiting 01:36:37 d65c8cfc05b1: Waiting 01:36:37 2437ff75d9bd: Waiting 01:36:37 765212b225bb: Waiting 01:36:37 04944245beec: Download complete 01:36:37 765212b225bb: Verifying Checksum 01:36:37 765212b225bb: Download complete 01:36:37 f23df028b6ca: Download complete 01:36:37 d65c8cfc05b1: Verifying Checksum 01:36:37 d65c8cfc05b1: Download complete 01:36:37 699f458cf7ca: Verifying Checksum 01:36:37 699f458cf7ca: Download complete 01:36:37 8998bd30e6a1: Verifying Checksum 01:36:37 8998bd30e6a1: Download complete 01:36:40 2437ff75d9bd: Verifying Checksum 01:36:40 2437ff75d9bd: Download complete 01:36:42 8998bd30e6a1: Pull complete 01:36:42 04944245beec: Pull complete 01:36:44 699f458cf7ca: Pull complete 01:36:44 765212b225bb: Pull complete 01:36:45 f23df028b6ca: Pull complete 01:36:45 d65c8cfc05b1: Pull complete 01:37:03 2437ff75d9bd: Pull complete 01:37:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:37:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:37:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:37:04 prd-ubuntu20.04-docker-arm64-4c-16g-34386 does not seem to be running inside a container 01:37:04 $ 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:37:07 $ docker top e9bcf2cd46487cf8a39c19fd5946e9d6917f6412ca979caa53da10286c0007ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:08 ---> job-cost.sh 01:37:08 lf-activate-venv: SKIPPING 01:37:08 INFO: No Stack... 01:37:08 INFO: Retrieving Pricing Info for: v3-standard-4 01:37:09 INFO: Archiving Costs [Pipeline] sh 01:37:10 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:37:10 + cut -d, -f6 [Pipeline] lock 01:37:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] 01:37:10 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] did not exist. Created. 01:37:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:37:11 /w/workspace/device-mqtt-go/1@tmp/durable-fc81b5b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:37:11 + echo total: 0.10999999940395355 [Pipeline] stash 01:37:11 Warning: overwriting stash ‘stack-cost’ 01:37:12 Stashed 1 file(s) [Pipeline] } 01:37:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-373-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:37:12 $ docker stop --time=1 e9bcf2cd46487cf8a39c19fd5946e9d6917f6412ca979caa53da10286c0007ba 01:37:13 $ docker rm -f e9bcf2cd46487cf8a39c19fd5946e9d6917f6412ca979caa53da10286c0007ba [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:37:14 provisioning config files... 01:37:14 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/config3999471087955130893tmp [Pipeline] { [Pipeline] sh 01:37:15 + set +x 01:37:15 + + bashcurl -s -s -- https://codecov.io/bash 01:37:15 01:37:15 01:37:15 _____ _ 01:37:15 / ____| | | 01:37:15 | | ___ __| | ___ ___ _____ __ 01:37:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:37:15 | |___| (_) | (_| | __/ (_| (_) \ V / 01:37:15 \_____\___/ \__,_|\___|\___\___/ \_/ 01:37:15 Bash-1.0.6 01:37:15 01:37:15 01:37:15 ==> git version 2.25.1 found 01:37:15 ==> 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:37:15 Release-Date: 2020-01-08 01:37:15 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:37:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:37:15 ==> Jenkins CI detected. 01:37:15 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-373 01:37:15 project root: . 01:37:15 --> token set from env 01:37:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:37:15 ==> Running gcov in . (disable via -X gcov) 01:37:15 ==> Python coveragepy not found 01:37:15 ==> Searching for coverage reports in: 01:37:15 + . 01:37:15 -> Found 1 reports 01:37:15 ==> Detecting git/mercurial file structure 01:37:15 ==> Reading reports 01:37:15 + ./coverage.out bytes=17887 01:37:15 ==> Appending adjustments 01:37:15 https://docs.codecov.io/docs/fixing-reports 01:37:15 + Found adjustments 01:37:15 ==> Gzipping contents 01:37:15 4.0K /tmp/codecov.j4DO4h.gz 01:37:15 ==> Uploading reports 01:37:15 url: https://codecov.io 01:37:15 query: branch=PR-373&commit=e182c6520db3ca6c25ecaf0b82d301d9c5241fdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-373%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=373&job=&cmd_args= 01:37:15 -> Pinging Codecov 01:37:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-373&commit=e182c6520db3ca6c25ecaf0b82d301d9c5241fdd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-373%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=373&job=&cmd_args= 01:37:15 -> Uploading to 01:37:15 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/7D719EC7BBE17E464838252E33014C33/e182c6520db3ca6c25ecaf0b82d301d9c5241fdd/068bfea1-99d1-4950-8d1b-f73ecdccd88d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T013715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2b0356cfd961f9e45da60d5c1746b6ef80bd73e29465a775ecd0cfce856e785 01:37:15 % Total % Received % Xferd Average Speed Time Time Time Current 01:37:15 Dload Upload Total Spent Left Speed 01:37:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 12395 --:--:-- --:--:-- --:--:-- 12395 01:37:15 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/e182c6520db3ca6c25ecaf0b82d301d9c5241fdd [Pipeline] } 01:37:15 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:37:17 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives ] 01:37:17 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives 01:37:17 total 16 01:37:17 drwxr-xr-x 3 root root 4096 May 2 01:28 . 01:37:17 drwxrwxr-x 11 jenkins jenkins 4096 May 2 01:28 .. 01:37:17 drwxr-xr-x 2 root root 4096 May 2 01:28 cost 01:37:17 -rw-r--r-- 1 root root 85 May 2 01:28 cost.csv 01:37:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives 01:37:17 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives 01:37:17 total 16 01:37:17 drwxr-xr-x 3 jenkins jenkins 4096 May 2 01:28 . 01:37:17 drwxrwxr-x 11 jenkins jenkins 4096 May 2 01:28 .. 01:37:17 drwxr-xr-x 2 jenkins jenkins 4096 May 2 01:28 cost 01:37:17 -rw-r--r-- 1 jenkins jenkins 85 May 2 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:37:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:37:19 ---> package-listing.sh 01:37:19 ++ facter osfamily 01:37:19 ++ tr '[:upper:]' '[:lower:]' 01:37:19 + OS_FAMILY=debian 01:37:19 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-373 01:37:19 + START_PACKAGES=/tmp/packages_start.txt 01:37:19 + END_PACKAGES=/tmp/packages_end.txt 01:37:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:37:19 + PACKAGES=/tmp/packages_start.txt 01:37:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-373 ']' 01:37:19 + PACKAGES=/tmp/packages_end.txt 01:37:19 + case "${OS_FAMILY}" in 01:37:19 + dpkg -l 01:37:19 + grep '^ii' 01:37:19 + '[' -f /tmp/packages_start.txt ']' 01:37:19 + '[' -f /tmp/packages_end.txt ']' 01:37:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:37:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-373 ']' 01:37:19 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives/ 01:37:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-373/archives/ [Pipeline] echo 01:37:19 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-373/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:37:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:20 . [Pipeline] withDockerContainer 01:37:20 prd-ubuntu20.04-docker-8c-8g-34382 does not seem to be running inside a container 01:37:20 $ 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-373/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-373 -v /w/workspace/gexfoundry_device-mqtt-go_PR-373:/w/workspace/gexfoundry_device-mqtt-go_PR-373:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-373@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:37:20 $ docker top fc4d710d1c353f2c18e7ef25965fdf05c437898dac9529819bb5a8bae0709839 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:20 + touch /tmp/pre-build-complete [Pipeline] sh 01:37:21 + mkdir -p /var/log/sysstat [Pipeline] sh 01:37:21 + ls /var/log/sa-host 01:37:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:37:21 provisioning config files... 01:37:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-373@tmp/config4242556452733595694tmp [Pipeline] { [Pipeline] echo 01:37:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:37:22 ---> create-netrc.sh [Pipeline] } 01:37:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:37:22 ---> python-tools-install.sh [Pipeline] echo 01:37:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:37:23 ---> sudo-logs.sh 01:37:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:37:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:37:23 ---> job-cost.sh 01:37:23 lf-activate-venv: SKIPPING 01:37:23 DEBUG: total: 0.2199999988079071 01:37:23 INFO: Retrieving Stack Cost... 01:37:24 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:24 INFO: Archiving Costs [Pipeline] echo 01:37:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:37:24 ---> logs-deploy.sh 01:37:24 lf-activate-venv: SKIPPING 01:37:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-373/1 01:37:24 INFO: archiving workspace using pattern(s): 01:37:25 Archives upload complete. 01:37:25 INFO: archiving logs to Nexus