Pull request #382 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906+77901818c76bea5a69108393cfa761498ae657a9 (8f8369216c3e9c0a7885dac6319360afb4e93a72) 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-ssh430182277956237498.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh15535105828094468840.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-382/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-382/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh576210386024004939.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-382/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16094080350059331562.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh5530432344678786938.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-382/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-382/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5642833893941166281.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-63697’ Running on prd-ubuntu20.04-docker-8c-8g-63703 in /w/workspace/gexfoundry_device-mqtt-go_PR-382 [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-382 # 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 77901818c76bea5a69108393cfa761498ae657a9 into PR head commit 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 Merge succeeded, producing 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 Checking out Revision 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 (PR-382) > 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/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 # 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 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 # timeout=10 Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:27:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:27:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:27:25 ========================================================= 01:27:25 EdgeX Global Pipelines Version Info 01:27:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:27:26 ------------------- 01:27:26 stable info: 01:27:26 ------------------- 01:27:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:27:26 Message: update stable to v1.0.230 01:27:26 ------------------- 01:27:26 experimental info: 01:27:26 ------------------- 01:27:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:27:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:27:26 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:27:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:27:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6274ebe [Pipeline] echo 01:27:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:28 provisioning config files... 01:27:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config4127931531069092943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:28 ---> docker-login.sh 01:27:28 nexus3.edgexfoundry.org:10001 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 nexus3.edgexfoundry.org:10002 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 nexus3.edgexfoundry.org:10003 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 nexus3.edgexfoundry.org:10004 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:29 Configure a credential helper to remove this warning. See 01:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:29 01:27:29 Login Succeeded 01:27:29 docker.io 01:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:30 Configure a credential helper to remove this warning. See 01:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:30 01:27:30 Login Succeeded 01:27:30 ---> docker-login.sh ends [Pipeline] } 01:27:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:27:30 + git rev-list -1 --merges 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906~1..6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 [Pipeline] echo 01:27:31 -----------> git rev-list -1 --merges 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906~1..6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 [false] [Pipeline] sh 01:27:31 + git log --format=format:%s -1 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 [Pipeline] echo 01:27:31 ========================================================= 01:27:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:27:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:27:31 + git log --format=format:%s -1 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 [Pipeline] echo 01:27:31 [semverPrep] GIT_COMMIT: 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906, Commit Message: build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 [Pipeline] echo 01:27:31 [semverPrep] This is not a build commit. [Pipeline] sh 01:27:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:27:32 + grep -v github /etc/ssh/ssh_known_hosts 01:27:32 + [ -e /tmp/ssh_known_hosts ] 01:27:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:27:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:27:32 + sudo tee -a /etc/ssh/ssh_known_hosts 01:27:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:27:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:32 01:27:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:27:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:33 latest: Pulling from edgex-devops/py-git-semver 01:27:33 1fe172e4850f: Pulling fs layer 01:27:33 caf521ccaac6: Pulling fs layer 01:27:33 3ead6fa29328: Pulling fs layer 01:27:33 5c2a1cbceb83: Pulling fs layer 01:27:33 a8d5f1318db7: Pulling fs layer 01:27:33 c427282e49a2: Pulling fs layer 01:27:33 1827001aaf11: Pulling fs layer 01:27:33 0714d37db230: Pulling fs layer 01:27:33 ac28cf19c067: Pulling fs layer 01:27:33 ca983d60f3e2: Pulling fs layer 01:27:33 9f894cec8388: Pulling fs layer 01:27:33 a8d5f1318db7: Waiting 01:27:33 c427282e49a2: Waiting 01:27:33 ca983d60f3e2: Waiting 01:27:33 1827001aaf11: Waiting 01:27:33 9f894cec8388: Waiting 01:27:33 0714d37db230: Waiting 01:27:33 ac28cf19c067: Waiting 01:27:33 caf521ccaac6: Verifying Checksum 01:27:33 caf521ccaac6: Download complete 01:27:33 5c2a1cbceb83: Verifying Checksum 01:27:33 5c2a1cbceb83: Download complete 01:27:33 a8d5f1318db7: Verifying Checksum 01:27:33 a8d5f1318db7: Download complete 01:27:33 c427282e49a2: Download complete 01:27:33 3ead6fa29328: Verifying Checksum 01:27:33 3ead6fa29328: Download complete 01:27:33 0714d37db230: Download complete 01:27:33 ac28cf19c067: Download complete 01:27:33 ca983d60f3e2: Download complete 01:27:33 9f894cec8388: Verifying Checksum 01:27:33 9f894cec8388: Download complete 01:27:33 1fe172e4850f: Verifying Checksum 01:27:33 1fe172e4850f: Download complete 01:27:33 1827001aaf11: Verifying Checksum 01:27:33 1827001aaf11: Download complete 01:27:35 1fe172e4850f: Pull complete 01:27:35 caf521ccaac6: Pull complete 01:27:35 3ead6fa29328: Pull complete 01:27:35 5c2a1cbceb83: Pull complete 01:27:36 a8d5f1318db7: Pull complete 01:27:36 c427282e49a2: Pull complete 01:27:38 1827001aaf11: Pull complete 01:27:38 0714d37db230: Pull complete 01:27:38 ac28cf19c067: Pull complete 01:27:38 ca983d60f3e2: Pull complete 01:27:38 9f894cec8388: Pull complete 01:27:38 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:27:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:27:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:27:38 prd-ubuntu20.04-docker-8c-8g-63703 does not seem to be running inside a container 01:27:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:27:40 $ docker top 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b -eo pid,comm 01:27:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:27:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:40 [ssh-agent] Looking for ssh-agent implementation... 01:27:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:40 $ docker exec 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b ssh-agent 01:27:40 SSH_AUTH_SOCK=/tmp/ssh-An41C7Rzx4zB/agent.33 01:27:40 SSH_AGENT_PID=39 01:27:40 Running ssh-add (command line suppressed) 01:27:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_3947456825325485979.key (/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_3947456825325485979.key) 01:27:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:40 + git tag --points-at HEAD [Pipeline] } 01:27:40 $ docker exec --env ******** --env ******** 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b ssh-agent -k 01:27:41 unset SSH_AUTH_SOCK; 01:27:41 unset SSH_AGENT_PID; 01:27:41 echo Agent pid 39 killed; 01:27:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:27:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:41 [ssh-agent] Looking for ssh-agent implementation... 01:27:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:41 $ docker exec 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b ssh-agent 01:27:41 SSH_AUTH_SOCK=/tmp/ssh-P1PjpYS3DUfW/agent.73 01:27:41 SSH_AGENT_PID=80 01:27:41 Running ssh-add (command line suppressed) 01:27:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_5760237943119785001.key (/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_5760237943119785001.key) 01:27:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:41 + git semver init 01:27:42 2022-05-16 01:27:42,106 [run_init] DEBUG init version:0.0.0 force:False 01:27:42 2022-05-16 01:27:42,108 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver 01:27:42 2022-05-16 01:27:42,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver 01:27:42 2022-05-16 01:27:42,108 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-382, universal_newlines=False, shell=None, istream=None) 01:27:43 2022-05-16 01:27:42,941 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.git/info/exclude 01:27:43 2022-05-16 01:27:42,941 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver/PR-382 with force:False 01:27:43 2022-05-16 01:27:42,941 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver/PR-382 01:27:43 2022-05-16 01:27:42,946 [execute] INFO git cat-file --batch-check 01:27:43 2022-05-16 01:27:42,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 01:27:43 2022-05-16 01:27:42,952 [execute] INFO git cat-file --batch 01:27:43 2022-05-16 01:27:42,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 01:27:43 2022-05-16 01:27:42,957 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver/PR-382 01:27:43 0.0.0 [Pipeline] } 01:27:43 $ docker exec --env ******** --env ******** 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b ssh-agent -k 01:27:43 unset SSH_AUTH_SOCK; 01:27:43 unset SSH_AGENT_PID; 01:27:43 echo Agent pid 80 killed; 01:27:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:43 + git semver [Pipeline] } 01:27:43 $ docker stop --time=1 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b 01:27:45 $ docker rm -f 2dc78650ff618055d984c937c2dd6fa92d7f6a8933e3435c5ca5ff9c5fe0f99b [Pipeline] // withDockerContainer [Pipeline] sh 01:27:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:27:46 Stashed 1 file(s) [Pipeline] echo 01:27:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:46 provisioning config files... 01:27:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config6276837438971180669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:47 ---> docker-login.sh 01:27:47 nexus3.edgexfoundry.org:10001 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 nexus3.edgexfoundry.org:10002 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 nexus3.edgexfoundry.org:10003 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 nexus3.edgexfoundry.org:10004 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 docker.io 01:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:27:47 Configure a credential helper to remove this warning. See 01:27:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:27:47 01:27:47 Login Succeeded 01:27:47 ---> docker-login.sh ends [Pipeline] } 01:27:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:27:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:27:48 ========================================================= 01:27:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:27:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:27:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:27:48 Sending build context to Docker daemon 5.965MB 01:27:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:27:48 Step 2/12 : FROM ${BASE} AS builder 01:27:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:27:48 59bf1c3509f3: Pulling fs layer 01:27:48 666ba61612fd: Pulling fs layer 01:27:48 8ed8ca486205: Pulling fs layer 01:27:48 4fe6c5a15a65: Pulling fs layer 01:27:48 22a0e8bec74d: Pulling fs layer 01:27:48 ca2b28591e48: Pulling fs layer 01:27:48 a51346096db8: Pulling fs layer 01:27:48 daebc70d1ce1: Pulling fs layer 01:27:48 0e18a0eac166: Pulling fs layer 01:27:48 ca2b28591e48: Waiting 01:27:48 a51346096db8: Waiting 01:27:48 daebc70d1ce1: Waiting 01:27:48 4fe6c5a15a65: Waiting 01:27:48 22a0e8bec74d: Waiting 01:27:48 0e18a0eac166: Waiting 01:27:48 8ed8ca486205: Verifying Checksum 01:27:48 8ed8ca486205: Download complete 01:27:48 666ba61612fd: Verifying Checksum 01:27:48 22a0e8bec74d: Verifying Checksum 01:27:48 22a0e8bec74d: Download complete 01:27:48 ca2b28591e48: Download complete 01:27:48 59bf1c3509f3: Verifying Checksum 01:27:48 59bf1c3509f3: Download complete 01:27:48 a51346096db8: Download complete 01:27:48 daebc70d1ce1: Verifying Checksum 01:27:48 daebc70d1ce1: Download complete 01:27:48 59bf1c3509f3: Pull complete 01:27:49 666ba61612fd: Pull complete 01:27:49 8ed8ca486205: Pull complete 01:27:49 0e18a0eac166: Verifying Checksum 01:27:49 4fe6c5a15a65: Verifying Checksum 01:27:49 4fe6c5a15a65: Download complete 01:27:52 4fe6c5a15a65: Pull complete 01:27:53 22a0e8bec74d: Pull complete 01:27:53 ca2b28591e48: Pull complete 01:27:53 a51346096db8: Pull complete 01:27:53 daebc70d1ce1: Pull complete 01:27:55 0e18a0eac166: Pull complete 01:27:55 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:27:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:27:55 ---> f018257e8ee9 01:27:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:27:56 ---> Running in 6b06920aa6e0 01:27:56 Removing intermediate container 6b06920aa6e0 01:27:56 ---> 871700459e06 01:27:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:27:56 ---> Running in 92c634240087 01:27:56 Removing intermediate container 92c634240087 01:27:56 ---> b6e5af7a8c7c 01:27:56 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:27:57 ---> Running in eca88cc5a908 01:27:57 Removing intermediate container eca88cc5a908 01:27:57 ---> bf22d0823b9d 01:27:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:27:57 ---> Running in 5ad79bff0711 01:27:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:27:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:27:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:27:59 (2/4) Installing libedit (20210910.3.1-r0) 01:27:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:27:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:27:59 Executing busybox-1.34.1-r3.trigger 01:27:59 OK: 224 MiB in 56 packages 01:27:59 Removing intermediate container 5ad79bff0711 01:27:59 ---> 460aa7c292a8 01:27:59 Step 7/12 : WORKDIR /device-mqtt-go 01:27:59 ---> Running in c1e9bf6ebeca 01:27:59 Removing intermediate container c1e9bf6ebeca 01:27:59 ---> 2f81349ac2e7 01:27:59 Step 8/12 : COPY go.mod vendor* ./ 01:28:00 ---> b298eaea2988 01:28:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:00 ---> Running in 89a03bbd6e10 01:28:01 Still waiting to schedule task 01:28:01 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63701’ 01:28:18 Removing intermediate container 89a03bbd6e10 01:28:18 ---> 11cdde924f4d 01:28:18 Step 10/12 : COPY . . 01:28:18 ---> 53d64541152f 01:28:18 Step 11/12 : ARG MAKE='make build' 01:28:18 ---> Running in fb57d59a6e55 01:28:18 Removing intermediate container fb57d59a6e55 01:28:18 ---> 726506f6dd69 01:28:18 Step 12/12 : RUN $MAKE 01:28:18 ---> Running in 8834206c8788 01:28:18 noop 01:28:18 Removing intermediate container 8834206c8788 01:28:18 ---> f8ce496b4a37 01:28:18 Successfully built f8ce496b4a37 01:28:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:28:19 + docker inspect -f . ci-base-image-x86_64 01:28:19 . [Pipeline] withDockerContainer 01:28:19 prd-ubuntu20.04-docker-8c-8g-63703 does not seem to be running inside a container 01:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:28:19 $ docker top 99114b2a95c1f04434e585a77f608cb733335f5256c1ae8b49eb99cc63150f35 -eo pid,comm [Pipeline] { [Pipeline] sh 01:28:20 + go version 01:28:20 go version go1.17.6 linux/amd64 [Pipeline] } 01:28:20 $ docker stop --time=1 99114b2a95c1f04434e585a77f608cb733335f5256c1ae8b49eb99cc63150f35 01:28:21 $ docker rm -f 99114b2a95c1f04434e585a77f608cb733335f5256c1ae8b49eb99cc63150f35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:28:22 + docker inspect -f . ci-base-image-x86_64 01:28:22 . [Pipeline] withDockerContainer 01:28:22 prd-ubuntu20.04-docker-8c-8g-63703 does not seem to be running inside a container 01:28:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:28:22 $ docker top f2b54f2a83eea4ec2b68beee14cbe3d5965c000ae8a2bf48dac7fb796ad84c0c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:28:23 + make test 01:28:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:28:23 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:28:33 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:28:33 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements 01:28:33 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:28:38 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:28:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:28:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:28:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:28:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:28:43 $ docker stop --time=1 f2b54f2a83eea4ec2b68beee14cbe3d5965c000ae8a2bf48dac7fb796ad84c0c 01:28:45 $ docker rm -f f2b54f2a83eea4ec2b68beee14cbe3d5965c000ae8a2bf48dac7fb796ad84c0c [Pipeline] // withDockerContainer [Pipeline] sh 01:28:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:28:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:28:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:28:47 + ls -al . 01:28:47 total 180 01:28:47 drwxrwxr-x 10 jenkins jenkins 4096 May 16 01:28 . 01:28:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 01:27 .. 01:28:47 -rw-rw-r-- 1 jenkins jenkins 140 May 16 01:27 .dockerignore 01:28:47 drwxrwxr-x 8 jenkins jenkins 4096 May 16 01:27 .git 01:28:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 01:27 .github 01:28:47 -rw-rw-r-- 1 jenkins jenkins 329 May 16 01:27 .gitignore 01:28:47 -rw-rw-r-- 1 jenkins jenkins 41 May 16 01:27 .golangci.yml 01:28:47 drwxr-xr-x 3 jenkins jenkins 4096 May 16 01:27 .semver 01:28:47 -rw-rw-r-- 1 jenkins jenkins 8656 May 16 01:27 Attribution.txt 01:28:47 -rw-rw-r-- 1 jenkins jenkins 11365 May 16 01:27 CHANGELOG.md 01:28:47 -rw-rw-r-- 1 jenkins jenkins 1930 May 16 01:27 Dockerfile 01:28:47 -rw-rw-r-- 1 jenkins jenkins 677 May 16 01:27 GOVERNANCE.md 01:28:47 -rw-rw-r-- 1 jenkins jenkins 678 May 16 01:27 Jenkinsfile 01:28:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 01:27 LICENSE 01:28:47 -rw-rw-r-- 1 jenkins jenkins 1930 May 16 01:27 Makefile 01:28:47 -rw-rw-r-- 1 jenkins jenkins 620 May 16 01:27 OWNERS.md 01:28:47 -rw-rw-r-- 1 jenkins jenkins 2501 May 16 01:27 README.md 01:28:47 -rw-rw-r-- 1 jenkins jenkins 5 May 16 01:27 VERSION 01:28:47 drwxrwxr-x 2 jenkins jenkins 4096 May 16 01:27 bin 01:28:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 01:27 cmd 01:28:47 -rw-r--r-- 1 jenkins jenkins 17887 May 16 01:28 coverage.out 01:28:47 -rw-rw-r-- 1 jenkins jenkins 3263 May 16 01:27 go.mod 01:28:47 -rw-rw-r-- 1 jenkins jenkins 35433 May 16 01:27 go.sum 01:28:47 drwxrwxr-x 3 jenkins jenkins 4096 May 16 01:27 internal 01:28:47 drwxrwxr-x 2 jenkins jenkins 4096 May 16 01:27 mock 01:28:47 drwxrwxr-x 4 jenkins jenkins 4096 May 16 01:27 snap 01:28:47 -rw-rw-r-- 1 jenkins jenkins 227 May 16 01:27 version.go [Pipeline] isUnix [Pipeline] sh 01:28:47 + 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=6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 --label arch=amd64 --label version=0.0.0 . 01:28:47 Sending build context to Docker daemon 5.984MB 01:28:47 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:28:47 Step 2/24 : FROM ${BASE} AS builder 01:28:47 ---> f8ce496b4a37 01:28:47 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:28:47 ---> Running in 254040e5b29c 01:28:47 Removing intermediate container 254040e5b29c 01:28:47 ---> c029a5b826b0 01:28:47 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:28:47 ---> Running in b48457fee576 01:28:47 Removing intermediate container b48457fee576 01:28:47 ---> 5deba9a97066 01:28:47 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:47 ---> Running in e387fafc2ec1 01:28:48 Removing intermediate container e387fafc2ec1 01:28:48 ---> 4aa9551ac45a 01:28:48 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:48 ---> Running in f86977315d09 01:28:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:28:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:28:49 OK: 224 MiB in 56 packages 01:28:50 Removing intermediate container f86977315d09 01:28:50 ---> 92c7f186716d 01:28:50 Step 7/24 : WORKDIR /device-mqtt-go 01:28:50 ---> Running in fdda027682b3 01:28:50 Removing intermediate container fdda027682b3 01:28:50 ---> bfedd4c82466 01:28:50 Step 8/24 : COPY go.mod vendor* ./ 01:28:50 ---> 7fc43556044c 01:28:50 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:50 ---> Running in cba07462a936 01:28:51 Removing intermediate container cba07462a936 01:28:51 ---> 648ae4d0f262 01:28:51 Step 10/24 : COPY . . 01:28:51 ---> 1231ac3e6fb0 01:28:51 Step 11/24 : ARG MAKE='make build' 01:28:51 ---> Running in 4e46dd1e755e 01:28:51 Removing intermediate container 4e46dd1e755e 01:28:51 ---> 3baaed07f619 01:28:51 Step 12/24 : RUN $MAKE 01:28:51 ---> Running in 9486c81b2d53 01:28:51 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:29:13 Removing intermediate container 9486c81b2d53 01:29:13 ---> 44788e0dc50e 01:29:13 Step 13/24 : FROM alpine:3.14 01:29:13 3.14: Pulling from library/alpine 01:29:13 8663204ce13b: Pulling fs layer 01:29:13 8663204ce13b: Verifying Checksum 01:29:13 8663204ce13b: Download complete 01:29:13 8663204ce13b: Pull complete 01:29:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:29:13 Status: Downloaded newer image for alpine:3.14 01:29:13 ---> e04c818066af 01:29:13 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:29:13 ---> Running in a9e0e90b2608 01:29:13 Removing intermediate container a9e0e90b2608 01:29:13 ---> 6714f07105e1 01:29:13 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:29:13 ---> Running in 671794d851bb 01:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:29:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:29:13 (1/6) Installing dumb-init (1.2.5-r1) 01:29:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:29:13 (3/6) Installing libsodium (1.0.18-r0) 01:29:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:29:13 (5/6) Installing libzmq (4.3.4-r0) 01:29:13 (6/6) Installing zeromq (4.3.4-r0) 01:29:13 Executing busybox-1.33.1-r7.trigger 01:29:13 OK: 8 MiB in 20 packages 01:29:13 Removing intermediate container 671794d851bb 01:29:13 ---> d1970b5c2c26 01:29:13 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:29:13 ---> b4963cf21263 01:29:13 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:29:13 ---> 720d9acc5c96 01:29:13 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:29:14 ---> fb4c898d1a09 01:29:14 Step 19/24 : EXPOSE 59982 01:29:14 ---> Running in 82a7f614672b 01:29:14 Removing intermediate container 82a7f614672b 01:29:14 ---> 06847796fca5 01:29:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:29:14 ---> Running in defcf39870f1 01:29:14 Removing intermediate container defcf39870f1 01:29:14 ---> 2aa7cc4fd28e 01:29:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:29:14 ---> Running in 0ef22c42f21c 01:29:14 Removing intermediate container 0ef22c42f21c 01:29:14 ---> 6f6f099b67fa 01:29:14 Step 22/24 : LABEL arch=amd64 01:29:14 ---> Running in fe1993c712bd 01:29:14 Removing intermediate container fe1993c712bd 01:29:14 ---> 33de41d47364 01:29:14 Step 23/24 : LABEL git_sha=6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 01:29:14 ---> Running in b12857ca3c8a 01:29:14 Removing intermediate container b12857ca3c8a 01:29:14 ---> 4783938270ac 01:29:14 Step 24/24 : LABEL version=0.0.0 01:29:14 ---> Running in 7cd1fa13a505 01:29:14 Removing intermediate container 7cd1fa13a505 01:29:14 ---> a1973f41dabe 01:29:14 [Warning] One or more build-args [ARCH] were not consumed 01:29:14 Successfully built a1973f41dabe 01:29:14 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:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:15 01:29:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:15 latest: Pulling from edgex-lftools-log-publisher 01:29:15 5eb5b503b376: Pulling fs layer 01:29:15 5c69ac0246d0: Pulling fs layer 01:29:15 ec43610c2a17: Pulling fs layer 01:29:15 3a2ae6a8a46f: Pulling fs layer 01:29:15 33b1e0a273af: Pulling fs layer 01:29:15 5d3b04190fa2: Pulling fs layer 01:29:15 2f39f015ded8: Pulling fs layer 01:29:15 3a2ae6a8a46f: Waiting 01:29:15 33b1e0a273af: Waiting 01:29:15 5d3b04190fa2: Waiting 01:29:15 2f39f015ded8: Waiting 01:29:15 5c69ac0246d0: Download complete 01:29:15 3a2ae6a8a46f: Verifying Checksum 01:29:15 3a2ae6a8a46f: Download complete 01:29:15 33b1e0a273af: Verifying Checksum 01:29:15 33b1e0a273af: Download complete 01:29:15 5d3b04190fa2: Verifying Checksum 01:29:15 5d3b04190fa2: Download complete 01:29:15 ec43610c2a17: Verifying Checksum 01:29:15 ec43610c2a17: Download complete 01:29:15 5eb5b503b376: Verifying Checksum 01:29:15 5eb5b503b376: Download complete 01:29:16 2f39f015ded8: Download complete 01:29:17 5eb5b503b376: Pull complete 01:29:17 5c69ac0246d0: Pull complete 01:29:17 ec43610c2a17: Pull complete 01:29:17 3a2ae6a8a46f: Pull complete 01:29:17 33b1e0a273af: Pull complete 01:29:18 5d3b04190fa2: Pull complete 01:29:22 2f39f015ded8: Pull complete 01:29:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:29:22 prd-ubuntu20.04-docker-8c-8g-63703 does not seem to be running inside a container 01:29:22 $ 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-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:24 $ docker top b56e32a3fba17f4dc99787ab9253ab38c4e5f4c8e6ca4a7439ec82a4284f11f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:24 ---> job-cost.sh 01:29:24 lf-activate-venv: SKIPPING 01:29:24 INFO: No Stack... 01:29:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:25 INFO: Archiving Costs [Pipeline] sh 01:29:25 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives/cost.csv 01:29:25 + cut -d, -f6 [Pipeline] lock 01:29:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] 01:29:25 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] did not exist. Created. 01:29:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:26 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:26 Stashed 1 file(s) [Pipeline] } 01:29:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:26 $ docker stop --time=1 b56e32a3fba17f4dc99787ab9253ab38c4e5f4c8e6ca4a7439ec82a4284f11f7 01:29:27 $ docker rm -f b56e32a3fba17f4dc99787ab9253ab38c4e5f4c8e6ca4a7439ec82a4284f11f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:30:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63705 in /w/workspace/gexfoundry_device-mqtt-go_PR-382 [Pipeline] { [Pipeline] ws 01:30:31 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:30:31 Selected Git installation does not exist. Using Default 01:30:31 The recommended git tool is: NONE 01:30:39 using credential edgex-jenkins-ssh 01:30:39 Cloning the remote Git repository 01:30:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:30:39 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:30:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:30:39 > git --version # timeout=10 01:30:39 > git --version # 'git version 2.25.1' 01:30:39 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:41 Merging remotes/origin/main commit 77901818c76bea5a69108393cfa761498ae657a9 into PR head commit 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 01:30:42 Merge succeeded, producing 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 01:30:42 Checking out Revision 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 (PR-382) 01:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:30:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:30:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:30:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:30:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:30:41 > git config core.sparsecheckout # timeout=10 01:30:41 > git checkout -f 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 # timeout=10 01:30:41 > git remote # timeout=10 01:30:41 > git config --get remote.origin.url # timeout=10 01:30:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:30:42 > git merge 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 01:30:42 > git rev-parse HEAD^{commit} # timeout=10 01:30:42 > git config core.sparsecheckout # timeout=10 01:30:42 > git checkout -f 6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 # timeout=10 01:30:46 Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0" 01:30:46 > git --version # timeout=10 01:30:46 > git --version # 'git version 2.25.1' 01:30:46 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:30:47 % Total % Received % Xferd Average Speed Time Time Time Current 01:30:47 Dload Upload Total Spent Left Speed 01:30:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 63487 0 --:--:-- --:--:-- --:--:-- 63487 [Pipeline] sh 01:30:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:30:48 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:30:48 /etc/docker/daemon.json 01:30:48 { 01:30:48 "registry-mirrors": [ 01:30:48 "https://nexus3.edgexfoundry.org:10001" 01:30:48 ], 01:30:48 "bip": "10.250.0.254/24", 01:30:48 "hosts": [ 01:30:48 "tcp://0.0.0.0:5555", 01:30:48 "unix:///var/run/docker.sock" 01:30:48 ], 01:30:48 "mtu": 1458, 01:30:48 "selinux-enabled": true, 01:30:48 "seccomp-profile": "/etc/docker/seccomp.json" 01:30:48 } [Pipeline] sh 01:30:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:30:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:07 provisioning config files... 01:31:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2140478694232859015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:08 ---> docker-login.sh 01:31:08 nexus3.edgexfoundry.org:10001 01:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:09 Configure a credential helper to remove this warning. See 01:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:09 01:31:09 Login Succeeded 01:31:09 nexus3.edgexfoundry.org:10002 01:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:09 Configure a credential helper to remove this warning. See 01:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:09 01:31:09 Login Succeeded 01:31:09 nexus3.edgexfoundry.org:10003 01:31:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:10 Configure a credential helper to remove this warning. See 01:31:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:10 01:31:10 Login Succeeded 01:31:10 nexus3.edgexfoundry.org:10004 01:31:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:10 Configure a credential helper to remove this warning. See 01:31:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:10 01:31:10 Login Succeeded 01:31:10 docker.io 01:31:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:11 Configure a credential helper to remove this warning. See 01:31:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:11 01:31:11 Login Succeeded 01:31:11 ---> docker-login.sh ends [Pipeline] } 01:31:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:31:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:31:12 ========================================================= 01:31:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:31:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:31:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:31:12 Sending build context to Docker daemon 3.096MB 01:31:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:31:13 Step 2/12 : FROM ${BASE} AS builder 01:31:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:31:13 9b3977197b4f: Pulling fs layer 01:31:13 1a89e8eeedd5: Pulling fs layer 01:31:13 94645a83ff95: Pulling fs layer 01:31:13 3f3a8bcf1eab: Pulling fs layer 01:31:13 0c92f367c5e7: Pulling fs layer 01:31:13 3096ccb668a1: Pulling fs layer 01:31:13 3f3a8bcf1eab: Waiting 01:31:13 0c92f367c5e7: Waiting 01:31:13 e8cf19c19ddd: Pulling fs layer 01:31:13 a4caa8a26152: Pulling fs layer 01:31:13 3096ccb668a1: Waiting 01:31:13 a4caa8a26152: Waiting 01:31:13 e8cf19c19ddd: Waiting 01:31:13 94645a83ff95: Verifying Checksum 01:31:13 94645a83ff95: Download complete 01:31:13 1a89e8eeedd5: Download complete 01:31:13 0c92f367c5e7: Verifying Checksum 01:31:13 0c92f367c5e7: Download complete 01:31:13 9b3977197b4f: Verifying Checksum 01:31:13 9b3977197b4f: Download complete 01:31:13 3096ccb668a1: Verifying Checksum 01:31:13 3096ccb668a1: Download complete 01:31:13 e8cf19c19ddd: Verifying Checksum 01:31:13 e8cf19c19ddd: Download complete 01:31:13 9b3977197b4f: Pull complete 01:31:14 1a89e8eeedd5: Pull complete 01:31:14 94645a83ff95: Pull complete 01:31:15 a4caa8a26152: Verifying Checksum 01:31:15 a4caa8a26152: Download complete 01:31:16 3f3a8bcf1eab: Verifying Checksum 01:31:16 3f3a8bcf1eab: Download complete 01:31:28 3f3a8bcf1eab: Pull complete 01:31:28 0c92f367c5e7: Pull complete 01:31:28 3096ccb668a1: Pull complete 01:31:29 e8cf19c19ddd: Pull complete 01:31:35 a4caa8a26152: Pull complete 01:31:35 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:31:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:31:35 ---> 725f1c02e7f9 01:31:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:31:36 ---> Running in f0adb8b65f9b 01:31:36 Removing intermediate container f0adb8b65f9b 01:31:36 ---> a985c0b844b0 01:31:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:31:36 ---> Running in 037b6f96b7b8 01:31:36 Removing intermediate container 037b6f96b7b8 01:31:36 ---> e5763f078f95 01:31:36 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:31:36 ---> Running in 106b9e53c961 01:31:38 Removing intermediate container 106b9e53c961 01:31:38 ---> af0480f66cc0 01:31:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:38 ---> Running in 9c389f6694e9 01:31:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:31:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:31:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:31:41 (2/4) Installing libedit (20210910.3.1-r0) 01:31:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:31:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:31:42 Executing busybox-1.34.1-r3.trigger 01:31:42 OK: 224 MiB in 56 packages 01:31:43 Removing intermediate container 9c389f6694e9 01:31:43 ---> 4e89d84e81e8 01:31:43 Step 7/12 : WORKDIR /device-mqtt-go 01:31:43 ---> Running in b99e09c9fc7d 01:31:43 Removing intermediate container b99e09c9fc7d 01:31:43 ---> 94d3ae50e8c2 01:31:43 Step 8/12 : COPY go.mod vendor* ./ 01:31:44 ---> 9e75aa3b25dd 01:31:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:44 ---> Running in 9606a7a16bc5 01:32:40 Removing intermediate container 9606a7a16bc5 01:32:40 ---> d65133fcd04a 01:32:40 Step 10/12 : COPY . . 01:32:40 ---> 2a7986907f7b 01:32:40 Step 11/12 : ARG MAKE='make build' 01:32:40 ---> Running in 35337d11fd76 01:32:40 Removing intermediate container 35337d11fd76 01:32:40 ---> 078f1952a167 01:32:40 Step 12/12 : RUN $MAKE 01:32:40 ---> Running in 00460746e21c 01:32:40 noop 01:32:40 Removing intermediate container 00460746e21c 01:32:40 ---> 41427addfead 01:32:40 Successfully built 41427addfead 01:32:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:32:41 + docker inspect -f . ci-base-image-arm64 01:32:41 . [Pipeline] withDockerContainer 01:32:41 prd-ubuntu20.04-docker-arm64-4c-16g-63705 does not seem to be running inside a container 01:32: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:32:43 $ docker top 4badb68c8f7718e87c9df76a1b998df9afbac2a908e87c56df6c00e2a1df4dd8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:44 + go version 01:32:44 go version go1.17.6 linux/arm64 [Pipeline] } 01:32:44 $ docker stop --time=1 4badb68c8f7718e87c9df76a1b998df9afbac2a908e87c56df6c00e2a1df4dd8 01:32:45 $ docker rm -f 4badb68c8f7718e87c9df76a1b998df9afbac2a908e87c56df6c00e2a1df4dd8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:32:46 + docker inspect -f . ci-base-image-arm64 01:32:46 . [Pipeline] withDockerContainer 01:32:46 prd-ubuntu20.04-docker-arm64-4c-16g-63705 does not seem to be running inside a container 01:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:32:48 $ docker top 443f1ad24791e02d42ed73316ac6121b3e6bd39719fcb170b79647a2b971305e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:32:49 + make test 01:32:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:32:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:34:27 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:34:27 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.8% of statements 01:34:27 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:34:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:34:27 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:34:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:34:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:34:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:34:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:34:45 $ docker stop --time=1 443f1ad24791e02d42ed73316ac6121b3e6bd39719fcb170b79647a2b971305e 01:34:47 $ docker rm -f 443f1ad24791e02d42ed73316ac6121b3e6bd39719fcb170b79647a2b971305e [Pipeline] // withDockerContainer [Pipeline] sh 01:34:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:34:48 Warning: overwriting stash ‘coverage-report’ 01:34:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:49 + ls -al . 01:34:49 total 176 01:34:49 drwxrwxr-x 9 jenkins jenkins 4096 May 16 01:34 . 01:34:49 drwxrwxr-x 4 jenkins jenkins 4096 May 16 01:30 .. 01:34:49 -rw-rw-r-- 1 jenkins jenkins 140 May 16 01:30 .dockerignore 01:34:49 drwxrwxr-x 8 jenkins jenkins 4096 May 16 01:30 .git 01:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 16 01:30 .github 01:34:49 -rw-rw-r-- 1 jenkins jenkins 329 May 16 01:30 .gitignore 01:34:49 -rw-rw-r-- 1 jenkins jenkins 41 May 16 01:30 .golangci.yml 01:34:49 -rw-rw-r-- 1 jenkins jenkins 8656 May 16 01:30 Attribution.txt 01:34:49 -rw-rw-r-- 1 jenkins jenkins 11365 May 16 01:30 CHANGELOG.md 01:34:49 -rw-rw-r-- 1 jenkins jenkins 1930 May 16 01:30 Dockerfile 01:34:49 -rw-rw-r-- 1 jenkins jenkins 677 May 16 01:30 GOVERNANCE.md 01:34:49 -rw-rw-r-- 1 jenkins jenkins 678 May 16 01:30 Jenkinsfile 01:34:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 01:30 LICENSE 01:34:49 -rw-rw-r-- 1 jenkins jenkins 1930 May 16 01:30 Makefile 01:34:49 -rw-rw-r-- 1 jenkins jenkins 620 May 16 01:30 OWNERS.md 01:34:49 -rw-rw-r-- 1 jenkins jenkins 2501 May 16 01:30 README.md 01:34:49 -rw-rw-r-- 1 jenkins jenkins 5 May 16 01:27 VERSION 01:34:49 drwxrwxr-x 2 jenkins jenkins 4096 May 16 01:30 bin 01:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 16 01:30 cmd 01:34:49 -rw-r--r-- 1 jenkins jenkins 17887 May 16 01:34 coverage.out 01:34:49 -rw-rw-r-- 1 jenkins jenkins 3263 May 16 01:30 go.mod 01:34:49 -rw-rw-r-- 1 jenkins jenkins 35433 May 16 01:30 go.sum 01:34:49 drwxrwxr-x 3 jenkins jenkins 4096 May 16 01:30 internal 01:34:49 drwxrwxr-x 2 jenkins jenkins 4096 May 16 01:30 mock 01:34:49 drwxrwxr-x 4 jenkins jenkins 4096 May 16 01:30 snap 01:34:49 -rw-rw-r-- 1 jenkins jenkins 227 May 16 01:30 version.go [Pipeline] isUnix [Pipeline] sh 01:34:50 + 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=6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 --label arch=arm64 --label version=0.0.0 . 01:34:50 Sending build context to Docker daemon 3.114MB 01:34:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:34:50 Step 2/24 : FROM ${BASE} AS builder 01:34:50 ---> 41427addfead 01:34:50 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:50 ---> Running in d6abfbd12254 01:34:51 Removing intermediate container d6abfbd12254 01:34:51 ---> a41f13d63d28 01:34:51 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:34:51 ---> Running in 4a50e9eb948b 01:34:51 Removing intermediate container 4a50e9eb948b 01:34:51 ---> aaac14f90eae 01:34:51 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:51 ---> Running in ef98fb04f86a 01:34:53 Removing intermediate container ef98fb04f86a 01:34:53 ---> 6168cecd0349 01:34:53 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:53 ---> Running in 0f70c45a529c 01:34:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:34:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:34:56 OK: 224 MiB in 56 packages 01:34:57 Removing intermediate container 0f70c45a529c 01:34:57 ---> 2cd8f3ecfc40 01:34:57 Step 7/24 : WORKDIR /device-mqtt-go 01:34:57 ---> Running in 21441416f1b6 01:34:57 Removing intermediate container 21441416f1b6 01:34:57 ---> 5348006292e7 01:34:57 Step 8/24 : COPY go.mod vendor* ./ 01:34:57 ---> 6d36ccc34f0d 01:34:57 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:57 ---> Running in d604efc6c55d 01:34:59 Removing intermediate container d604efc6c55d 01:34:59 ---> 5930087493b7 01:34:59 Step 10/24 : COPY . . 01:35:00 ---> d3f3ea44664f 01:35:00 Step 11/24 : ARG MAKE='make build' 01:35:00 ---> Running in ed600a45279d 01:35:01 Removing intermediate container ed600a45279d 01:35:01 ---> 01f2f49853ef 01:35:01 Step 12/24 : RUN $MAKE 01:35:01 ---> Running in 8431b4efd44d 01:35:02 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:37:09 Removing intermediate container 8431b4efd44d 01:37:09 ---> 09272885b6dc 01:37:09 Step 13/24 : FROM alpine:3.14 01:37:09 3.14: Pulling from library/alpine 01:37:09 455c02918c45: Pulling fs layer 01:37:09 455c02918c45: Verifying Checksum 01:37:09 455c02918c45: Download complete 01:37:09 455c02918c45: Pull complete 01:37:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:37:09 Status: Downloaded newer image for alpine:3.14 01:37:09 ---> ac73e934f311 01:37:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:37:09 ---> Running in 06ac493c52c4 01:37:09 Removing intermediate container 06ac493c52c4 01:37:09 ---> 16db52b149e2 01:37:09 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:37:09 ---> Running in 1008f5bf5f01 01:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:37:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:37:09 (1/6) Installing dumb-init (1.2.5-r1) 01:37:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:37:09 (3/6) Installing libsodium (1.0.18-r0) 01:37:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:37:09 (5/6) Installing libzmq (4.3.4-r0) 01:37:09 (6/6) Installing zeromq (4.3.4-r0) 01:37:09 Executing busybox-1.33.1-r7.trigger 01:37:09 OK: 8 MiB in 20 packages 01:37:09 Removing intermediate container 1008f5bf5f01 01:37:09 ---> fd94ce61d3e5 01:37:09 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:37:09 ---> 6167f9a660ac 01:37:09 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:37:09 ---> 5f374e859d93 01:37:09 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:37:09 ---> 3952079798af 01:37:09 Step 19/24 : EXPOSE 59982 01:37:09 ---> Running in 856814fecb8d 01:37:09 Removing intermediate container 856814fecb8d 01:37:09 ---> b3a7bd1265fd 01:37:09 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:37:09 ---> Running in a7beee27f163 01:37:09 Removing intermediate container a7beee27f163 01:37:09 ---> 68bb36597fad 01:37:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:37:09 ---> Running in e8ee914db494 01:37:09 Removing intermediate container e8ee914db494 01:37:09 ---> c4fa0d2c6884 01:37:09 Step 22/24 : LABEL arch=arm64 01:37:09 ---> Running in 721a2e41a2cd 01:37:09 Removing intermediate container 721a2e41a2cd 01:37:09 ---> 01a8b56c0926 01:37:09 Step 23/24 : LABEL git_sha=6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 01:37:09 ---> Running in 88eff804758d 01:37:09 Removing intermediate container 88eff804758d 01:37:09 ---> 09fe6b33ecd0 01:37:09 Step 24/24 : LABEL version=0.0.0 01:37:09 ---> Running in 5717d7d05bbb 01:37:09 Removing intermediate container 5717d7d05bbb 01:37:09 ---> 9e8fd658624a 01:37:09 [Warning] One or more build-args [ARCH] were not consumed 01:37:09 Successfully built 9e8fd658624a 01:37:09 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:37:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:37:09 01:37:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:37:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:37:10 arm64: Pulling from edgex-lftools-log-publisher 01:37:10 8998bd30e6a1: Pulling fs layer 01:37:10 04944245beec: Pulling fs layer 01:37:10 699f458cf7ca: Pulling fs layer 01:37:10 765212b225bb: Pulling fs layer 01:37:10 f23df028b6ca: Pulling fs layer 01:37:10 d65c8cfc05b1: Pulling fs layer 01:37:10 2437ff75d9bd: Pulling fs layer 01:37:10 765212b225bb: Waiting 01:37:10 f23df028b6ca: Waiting 01:37:10 d65c8cfc05b1: Waiting 01:37:10 2437ff75d9bd: Waiting 01:37:10 04944245beec: Verifying Checksum 01:37:10 04944245beec: Download complete 01:37:10 765212b225bb: Verifying Checksum 01:37:10 765212b225bb: Download complete 01:37:10 f23df028b6ca: Download complete 01:37:10 d65c8cfc05b1: Verifying Checksum 01:37:10 d65c8cfc05b1: Download complete 01:37:10 699f458cf7ca: Verifying Checksum 01:37:10 699f458cf7ca: Download complete 01:37:11 8998bd30e6a1: Verifying Checksum 01:37:11 8998bd30e6a1: Download complete 01:37:13 2437ff75d9bd: Verifying Checksum 01:37:13 2437ff75d9bd: Download complete 01:37:15 8998bd30e6a1: Pull complete 01:37:15 04944245beec: Pull complete 01:37:17 699f458cf7ca: Pull complete 01:37:17 765212b225bb: Pull complete 01:37:18 f23df028b6ca: Pull complete 01:37:18 d65c8cfc05b1: Pull complete 01:37:33 2437ff75d9bd: Pull complete 01:37:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:37:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:37:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:37:34 prd-ubuntu20.04-docker-arm64-4c-16g-63705 does not seem to be running inside a container 01:37:34 $ 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:36 $ docker top 22801c3fb81f9cfd035937bb204bf964a8adfb334a221176d916e5406f087f33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:37 ---> job-cost.sh 01:37:37 lf-activate-venv: SKIPPING 01:37:37 INFO: No Stack... 01:37:38 INFO: Retrieving Pricing Info for: v3-standard-4 01:37:38 INFO: Archiving Costs [Pipeline] sh 01:37:39 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:37:39 + cut -d, -f6 [Pipeline] lock 01:37:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] 01:37:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] did not exist. Created. 01:37:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:37:40 /w/workspace/device-mqtt-go/1@tmp/durable-b937a37f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:37:41 + echo total: 0.10999999940395355 [Pipeline] stash 01:37:41 Warning: overwriting stash ‘stack-cost’ 01:37:41 Stashed 1 file(s) [Pipeline] } 01:37:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:37:41 $ docker stop --time=1 22801c3fb81f9cfd035937bb204bf964a8adfb334a221176d916e5406f087f33 01:37:42 $ docker rm -f 22801c3fb81f9cfd035937bb204bf964a8adfb334a221176d916e5406f087f33 [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:44 provisioning config files... 01:37:44 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config7057388767384842043tmp [Pipeline] { [Pipeline] sh 01:37:44 + set +x 01:37:44 + curl -s https://codecov.io/bash 01:37:44 + bash -s -- 01:37:44 01:37:44 _____ _ 01:37:44 / ____| | | 01:37:44 | | ___ __| | ___ ___ _____ __ 01:37:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:37:44 | |___| (_) | (_| | __/ (_| (_) \ V / 01:37:44 \_____\___/ \__,_|\___|\___\___/ \_/ 01:37:44 Bash-1.0.6 01:37:44 01:37:44 01:37:44 ==> git version 2.25.1 found 01:37:44 ==> 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:44 Release-Date: 2020-01-08 01:37:44 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:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:37:44 ==> Jenkins CI detected. 01:37:44 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-382 01:37:44 project root: . 01:37:44 --> token set from env 01:37:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:37:44 ==> Running gcov in . (disable via -X gcov) 01:37:44 ==> Python coveragepy not found 01:37:44 ==> Searching for coverage reports in: 01:37:44 + . 01:37:44 -> Found 1 reports 01:37:44 ==> Detecting git/mercurial file structure 01:37:44 ==> Reading reports 01:37:44 + ./coverage.out bytes=17887 01:37:44 ==> Appending adjustments 01:37:44 https://docs.codecov.io/docs/fixing-reports 01:37:44 + Found adjustments 01:37:44 ==> Gzipping contents 01:37:44 4.0K /tmp/codecov.8Xg2N8.gz 01:37:44 ==> Uploading reports 01:37:44 url: https://codecov.io 01:37:44 query: branch=PR-382&commit=6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-382%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=382&job=&cmd_args= 01:37:44 -> Pinging Codecov 01:37:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-382&commit=6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-382%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=382&job=&cmd_args= 01:37:44 -> Uploading to 01:37:44 https://storage.googleapis.com/codecov/v4/raw/2022-05-16/7D719EC7BBE17E464838252E33014C33/6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906/110cdd78-95bb-49cc-8c2f-0af4aa4865fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220516T013744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7df2eab3db6c9b6221366eb2fc55d9f7a04cb5f5b7d9988b98569806c5abddc 01:37:44 % Total % Received % Xferd Average Speed Time Time Time Current 01:37:44 Dload Upload Total Spent Left Speed 01:37:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14165 --:--:-- --:--:-- --:--:-- 14165 01:37:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6274ebe3ebe2c5391e5fa3a9d38fa30c7112c906 [Pipeline] } 01:37:45 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:46 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives ] 01:37:46 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives 01:37:46 total 16 01:37:46 drwxr-xr-x 3 root root 4096 May 16 01:29 . 01:37:46 drwxrwxr-x 11 jenkins jenkins 4096 May 16 01:29 .. 01:37:46 drwxr-xr-x 2 root root 4096 May 16 01:29 cost 01:37:46 -rw-r--r-- 1 root root 85 May 16 01:29 cost.csv 01:37:46 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives 01:37:46 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives 01:37:46 total 16 01:37:46 drwxr-xr-x 3 jenkins jenkins 4096 May 16 01:29 . 01:37:46 drwxrwxr-x 11 jenkins jenkins 4096 May 16 01:29 .. 01:37:46 drwxr-xr-x 2 jenkins jenkins 4096 May 16 01:29 cost 01:37:46 -rw-r--r-- 1 jenkins jenkins 85 May 16 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:37:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:37:48 ---> package-listing.sh 01:37:48 ++ facter osfamily 01:37:48 ++ tr '[:upper:]' '[:lower:]' 01:37:48 + OS_FAMILY=debian 01:37:48 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-382 01:37:48 + START_PACKAGES=/tmp/packages_start.txt 01:37:48 + END_PACKAGES=/tmp/packages_end.txt 01:37:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:37:48 + PACKAGES=/tmp/packages_start.txt 01:37:48 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-382 ']' 01:37:48 + PACKAGES=/tmp/packages_end.txt 01:37:48 + case "${OS_FAMILY}" in 01:37:48 + dpkg -l 01:37:48 + grep '^ii' 01:37:48 + '[' -f /tmp/packages_start.txt ']' 01:37:48 + '[' -f /tmp/packages_end.txt ']' 01:37:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:37:48 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-382 ']' 01:37:48 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives/ 01:37:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives/ [Pipeline] echo 01:37:48 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:37:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:49 . [Pipeline] withDockerContainer 01:37:49 prd-ubuntu20.04-docker-8c-8g-63703 does not seem to be running inside a container 01:37:49 $ 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-382/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-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@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:37:49 $ docker top 4594cbf21f310a2843f8e600539a7ee2d501be69ad05a83da621fc4bde135ca8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:50 + touch /tmp/pre-build-complete [Pipeline] sh 01:37:50 + mkdir -p /var/log/sysstat [Pipeline] sh 01:37:50 + ls /var/log/sa-host 01:37:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:37:51 provisioning config files... 01:37:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config5022547196806942322tmp [Pipeline] { [Pipeline] echo 01:37:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:37:51 ---> create-netrc.sh [Pipeline] } 01:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:37:51 ---> python-tools-install.sh [Pipeline] echo 01:37:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:37:52 ---> sudo-logs.sh 01:37:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:37:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:37:52 ---> job-cost.sh 01:37:52 lf-activate-venv: SKIPPING 01:37:52 DEBUG: total: 0.2199999988079071 01:37:52 INFO: Retrieving Stack Cost... 01:37:53 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:53 INFO: Archiving Costs [Pipeline] echo 01:37:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:37:54 ---> logs-deploy.sh 01:37:54 lf-activate-venv: SKIPPING 01:37:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-382/1 01:37:54 INFO: archiving workspace using pattern(s): 01:37:55 Archives upload complete. 01:37:55 INFO: archiving logs to Nexus