Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 24c9eb79c62f7b0ed12f25514949fa6e13072b8e+9e5ff16ea29b888a79edc386c2a8af4882824547 (c745eed33e312ab68df5baac678016a82ca8c0f0) 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-ssh797261350597264055.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9298195415513100856.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-378/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5085452129489485940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10807792223984814261.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-378/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh938123508316814353.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-44820 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-378 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 24c9eb79c62f7b0ed12f25514949fa6e13072b8e Merge succeeded, producing 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 Checking out Revision 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 (PR-378) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # 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 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 # timeout=10 Commit message: "Merge commit '9e5ff16ea29b888a79edc386c2a8af4882824547' into HEAD" > git rev-list --no-walk 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:17:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:17:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:17:19 ========================================================= 03:17:19 EdgeX Global Pipelines Version Info 03:17:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:17:20 ------------------- 03:17:20 stable info: 03:17:20 ------------------- 03:17:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:20 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 03:17:20 Message: update stable to v1.0.227 03:17:20 ------------------- 03:17:20 experimental info: 03:17:20 ------------------- 03:17:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:20 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 03:17:20 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:17:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a9e15c [Pipeline] echo 03:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:21 provisioning config files... 03:17:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8080086176316468835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:21 ---> docker-login.sh 03:17:21 nexus3.edgexfoundry.org:10001 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:22 Configure a credential helper to remove this warning. See 03:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:22 03:17:22 Login Succeeded 03:17:22 nexus3.edgexfoundry.org:10002 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:22 Configure a credential helper to remove this warning. See 03:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:22 03:17:22 Login Succeeded 03:17:22 nexus3.edgexfoundry.org:10003 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:22 Configure a credential helper to remove this warning. See 03:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:22 03:17:22 Login Succeeded 03:17:22 nexus3.edgexfoundry.org:10004 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:22 Configure a credential helper to remove this warning. See 03:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:22 03:17:22 Login Succeeded 03:17:22 docker.io 03:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:23 Configure a credential helper to remove this warning. See 03:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:23 03:17:23 Login Succeeded 03:17:23 ---> docker-login.sh ends [Pipeline] } 03:17:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:17:23 + git rev-list -1 --merges 5a9e15cd1247227b64b0b74a6bbae45e9a68e657~1..5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo 03:17:23 -----------> git rev-list -1 --merges 5a9e15cd1247227b64b0b74a6bbae45e9a68e657~1..5a9e15cd1247227b64b0b74a6bbae45e9a68e657 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 03:17:23 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [false] [Pipeline] sh 03:17:23 + git log --format=format:%s -1 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo 03:17:24 ========================================================= 03:17:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:17:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:24 + git log --format=format:%s -1 5a9e15cd1247227b64b0b74a6bbae45e9a68e657 [Pipeline] echo 03:17:24 [semverPrep] GIT_COMMIT: 5a9e15cd1247227b64b0b74a6bbae45e9a68e657, Commit Message: Merge commit '9e5ff16ea29b888a79edc386c2a8af4882824547' into HEAD [Pipeline] echo 03:17:24 [semverPrep] This is not a build commit. [Pipeline] sh 03:17:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:17:24 + grep -v github /etc/ssh/ssh_known_hosts 03:17:24 + [ -e /tmp/ssh_known_hosts ] 03:17:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:17:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:17:24 + sudo tee -a /etc/ssh/ssh_known_hosts 03:17:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:17:25 03:17:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:17:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:17:25 latest: Pulling from edgex-devops/py-git-semver 03:17:25 1fe172e4850f: Pulling fs layer 03:17:25 caf521ccaac6: Pulling fs layer 03:17:25 3ead6fa29328: Pulling fs layer 03:17:25 5c2a1cbceb83: Pulling fs layer 03:17:25 a8d5f1318db7: Pulling fs layer 03:17:25 c427282e49a2: Pulling fs layer 03:17:25 1827001aaf11: Pulling fs layer 03:17:25 0714d37db230: Pulling fs layer 03:17:25 ac28cf19c067: Pulling fs layer 03:17:25 ca983d60f3e2: Pulling fs layer 03:17:25 9f894cec8388: Pulling fs layer 03:17:25 1827001aaf11: Waiting 03:17:25 0714d37db230: Waiting 03:17:25 ac28cf19c067: Waiting 03:17:25 ca983d60f3e2: Waiting 03:17:25 9f894cec8388: Waiting 03:17:25 a8d5f1318db7: Waiting 03:17:25 5c2a1cbceb83: Waiting 03:17:25 c427282e49a2: Waiting 03:17:25 caf521ccaac6: Verifying Checksum 03:17:25 5c2a1cbceb83: Download complete 03:17:25 a8d5f1318db7: Verifying Checksum 03:17:25 a8d5f1318db7: Download complete 03:17:26 c427282e49a2: Verifying Checksum 03:17:26 c427282e49a2: Download complete 03:17:26 3ead6fa29328: Verifying Checksum 03:17:26 3ead6fa29328: Download complete 03:17:26 0714d37db230: Verifying Checksum 03:17:26 0714d37db230: Download complete 03:17:26 ac28cf19c067: Verifying Checksum 03:17:26 ac28cf19c067: Download complete 03:17:26 ca983d60f3e2: Verifying Checksum 03:17:26 ca983d60f3e2: Download complete 03:17:26 9f894cec8388: Download complete 03:17:26 1fe172e4850f: Verifying Checksum 03:17:26 1fe172e4850f: Download complete 03:17:26 1827001aaf11: Verifying Checksum 03:17:26 1827001aaf11: Download complete 03:17:27 1fe172e4850f: Pull complete 03:17:27 caf521ccaac6: Pull complete 03:17:28 3ead6fa29328: Pull complete 03:17:28 5c2a1cbceb83: Pull complete 03:17:28 a8d5f1318db7: Pull complete 03:17:28 c427282e49a2: Pull complete 03:17:30 1827001aaf11: Pull complete 03:17:30 0714d37db230: Pull complete 03:17:30 ac28cf19c067: Pull complete 03:17:30 ca983d60f3e2: Pull complete 03:17:30 9f894cec8388: Pull complete 03:17:30 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 03:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:17:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 03:17:30 prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container 03:17:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:17:31 $ docker top ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba -eo pid,comm 03:17:31 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). 03:17:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:17:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:31 [ssh-agent] Looking for ssh-agent implementation... 03:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:32 $ docker exec ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent 03:17:32 SSH_AUTH_SOCK=/tmp/ssh-9aSsshz1sX8B/agent.34 03:17:32 SSH_AGENT_PID=41 03:17:32 Running ssh-add (command line suppressed) 03:17:32 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_4073223660911039019.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_4073223660911039019.key) 03:17:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:32 + git tag --points-at HEAD [Pipeline] } 03:17:32 $ docker exec --env ******** --env ******** ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent -k 03:17:32 unset SSH_AUTH_SOCK; 03:17:32 unset SSH_AGENT_PID; 03:17:32 echo Agent pid 41 killed; 03:17:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:17:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:32 [ssh-agent] Looking for ssh-agent implementation... 03:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:32 $ docker exec ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent 03:17:33 SSH_AUTH_SOCK=/tmp/ssh-gheFt18EMG9R/agent.76 03:17:33 SSH_AGENT_PID=82 03:17:33 Running ssh-add (command line suppressed) 03:17:33 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_6713391169593868093.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_6713391169593868093.key) 03:17:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:33 + git semver init 03:17:33 2022-05-10 03:17:33,686 [run_init] DEBUG init version:0.0.0 force:False 03:17:33 2022-05-10 03:17:33,687 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver 03:17:33 2022-05-10 03:17:33,688 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver 03:17:33 2022-05-10 03:17:33,688 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378, universal_newlines=False, shell=None, istream=None) 03:17:34 2022-05-10 03:17:34,487 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.git/info/exclude 03:17:34 2022-05-10 03:17:34,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 with force:False 03:17:34 2022-05-10 03:17:34,488 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 03:17:34 2022-05-10 03:17:34,492 [execute] INFO git cat-file --batch-check 03:17:34 2022-05-10 03:17:34,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 03:17:34 2022-05-10 03:17:34,498 [execute] INFO git cat-file --batch 03:17:34 2022-05-10 03:17:34,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 03:17:34 2022-05-10 03:17:34,502 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 03:17:34 0.0.0 [Pipeline] } 03:17:34 $ docker exec --env ******** --env ******** ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba ssh-agent -k 03:17:34 unset SSH_AUTH_SOCK; 03:17:34 unset SSH_AGENT_PID; 03:17:34 echo Agent pid 82 killed; 03:17:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:17:35 + git semver [Pipeline] } 03:17:35 $ docker stop --time=1 ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba 03:17:36 $ docker rm -f ff558583a3bab0e13cd0aa6ab9450dc76ada4395c3129ed10c2f509fa3efdeba [Pipeline] // withDockerContainer [Pipeline] sh 03:17:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:17:37 Stashed 1 file(s) [Pipeline] echo 03:17:37 [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 03:17:37 provisioning config files... 03:17:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8697643033440909421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:37 ---> docker-login.sh 03:17:37 nexus3.edgexfoundry.org:10001 03:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:37 Configure a credential helper to remove this warning. See 03:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:37 03:17:37 Login Succeeded 03:17:37 nexus3.edgexfoundry.org:10002 03:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:38 Configure a credential helper to remove this warning. See 03:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:38 03:17:38 Login Succeeded 03:17:38 nexus3.edgexfoundry.org:10003 03:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:38 Configure a credential helper to remove this warning. See 03:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:38 03:17:38 Login Succeeded 03:17:38 nexus3.edgexfoundry.org:10004 03:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:38 Configure a credential helper to remove this warning. See 03:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:38 03:17:38 Login Succeeded 03:17:38 docker.io 03:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:38 Configure a credential helper to remove this warning. See 03:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:38 03:17:38 Login Succeeded 03:17:38 ---> docker-login.sh ends [Pipeline] } 03:17:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:38 ========================================================= 03:17:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:17:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:17:39 + 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 . 03:17:39 Sending build context to Docker daemon 5.885MB 03:17:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:17:39 Step 2/12 : FROM ${BASE} AS builder 03:17:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:17:39 59bf1c3509f3: Pulling fs layer 03:17:39 666ba61612fd: Pulling fs layer 03:17:39 8ed8ca486205: Pulling fs layer 03:17:39 4fe6c5a15a65: Pulling fs layer 03:17:39 22a0e8bec74d: Pulling fs layer 03:17:39 ca2b28591e48: Pulling fs layer 03:17:39 a51346096db8: Pulling fs layer 03:17:39 22a0e8bec74d: Waiting 03:17:39 ca2b28591e48: Waiting 03:17:39 a51346096db8: Waiting 03:17:39 4fe6c5a15a65: Waiting 03:17:39 daebc70d1ce1: Pulling fs layer 03:17:39 0e18a0eac166: Pulling fs layer 03:17:39 daebc70d1ce1: Waiting 03:17:39 0e18a0eac166: Waiting 03:17:39 8ed8ca486205: Download complete 03:17:39 666ba61612fd: Download complete 03:17:39 22a0e8bec74d: Verifying Checksum 03:17:39 22a0e8bec74d: Download complete 03:17:39 ca2b28591e48: Verifying Checksum 03:17:39 ca2b28591e48: Download complete 03:17:39 59bf1c3509f3: Verifying Checksum 03:17:39 59bf1c3509f3: Download complete 03:17:39 a51346096db8: Verifying Checksum 03:17:39 a51346096db8: Download complete 03:17:39 daebc70d1ce1: Verifying Checksum 03:17:39 daebc70d1ce1: Download complete 03:17:39 59bf1c3509f3: Pull complete 03:17:39 666ba61612fd: Pull complete 03:17:39 8ed8ca486205: Pull complete 03:17:39 0e18a0eac166: Verifying Checksum 03:17:39 0e18a0eac166: Download complete 03:17:40 4fe6c5a15a65: Verifying Checksum 03:17:40 4fe6c5a15a65: Download complete 03:17:44 4fe6c5a15a65: Pull complete 03:17:44 22a0e8bec74d: Pull complete 03:17:44 ca2b28591e48: Pull complete 03:17:44 a51346096db8: Pull complete 03:17:44 daebc70d1ce1: Pull complete 03:17:46 0e18a0eac166: Pull complete 03:17:46 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:17:46 ---> f018257e8ee9 03:17:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:17:47 ---> Running in 5bd28b191fdd 03:17:47 Removing intermediate container 5bd28b191fdd 03:17:47 ---> 13dd922157ec 03:17:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:17:47 ---> Running in 61365ed76ba0 03:17:47 Removing intermediate container 61365ed76ba0 03:17:47 ---> b88d6ffe58df 03:17:47 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:17:47 ---> Running in 3d4cf1f83b53 03:17:48 Removing intermediate container 3d4cf1f83b53 03:17:48 ---> bc7386bd4093 03:17:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:48 ---> Running in dddfb378ccd9 03:17:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:17:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:17:49 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:17:49 (2/4) Installing libedit (20210910.3.1-r0) 03:17:49 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:17:49 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:17:49 Executing busybox-1.34.1-r3.trigger 03:17:49 OK: 224 MiB in 56 packages 03:17:50 Removing intermediate container dddfb378ccd9 03:17:50 ---> a4e3900f90d6 03:17:50 Step 7/12 : WORKDIR /device-mqtt-go 03:17:50 ---> Running in f0146c14c559 03:17:50 Removing intermediate container f0146c14c559 03:17:50 ---> ee8b64af00c4 03:17:50 Step 8/12 : COPY go.mod vendor* ./ 03:17:50 ---> e7a2332f25ea 03:17:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:50 ---> Running in 1c64f82fc2c6 03:17:52 Still waiting to schedule task 03:17:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:18:08 Removing intermediate container 1c64f82fc2c6 03:18:08 ---> 815463e0ccdf 03:18:08 Step 10/12 : COPY . . 03:18:08 ---> 174b29bae9a3 03:18:08 Step 11/12 : ARG MAKE='make build' 03:18:08 ---> Running in 501a0015508f 03:18:08 Removing intermediate container 501a0015508f 03:18:08 ---> c85f01d20696 03:18:08 Step 12/12 : RUN $MAKE 03:18:08 ---> Running in ca31684b7fad 03:18:08 noop 03:18:08 Removing intermediate container ca31684b7fad 03:18:08 ---> bb2b0eccc24d 03:18:08 Successfully built bb2b0eccc24d 03:18:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:18:08 + docker inspect -f . ci-base-image-x86_64 03:18:08 . [Pipeline] withDockerContainer 03:18:08 prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container 03:18:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:18:09 $ docker top 93f4cb2c6fcaeec5ce658b4c03133f2eafa66396231f176350c73c892cf82989 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:09 + go version 03:18:09 go version go1.17.6 linux/amd64 [Pipeline] } 03:18:09 $ docker stop --time=1 93f4cb2c6fcaeec5ce658b4c03133f2eafa66396231f176350c73c892cf82989 03:18:10 $ docker rm -f 93f4cb2c6fcaeec5ce658b4c03133f2eafa66396231f176350c73c892cf82989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:18:11 + docker inspect -f . ci-base-image-x86_64 03:18:11 . [Pipeline] withDockerContainer 03:18:11 prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container 03:18:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:18:11 $ docker top 63c21ff0999d6c63026b3761073d21cd051fb7a257fea65cb7843569943d2755 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:18:12 + make test 03:18:12 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:18:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:18:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:18:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 03:18:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:18:29 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:18:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:18:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:18:33 ./bin/test-attribution-txt.sh [Pipeline] echo 03:18:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:18:33 $ docker stop --time=1 63c21ff0999d6c63026b3761073d21cd051fb7a257fea65cb7843569943d2755 03:18:34 $ docker rm -f 63c21ff0999d6c63026b3761073d21cd051fb7a257fea65cb7843569943d2755 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:18:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:18:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:18:36 + ls -al . 03:18:36 total 180 03:18:36 drwxrwxr-x 10 jenkins jenkins 4096 May 10 03:18 . 03:18:36 drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:17 .. 03:18:36 -rw-rw-r-- 1 jenkins jenkins 140 May 10 03:17 .dockerignore 03:18:36 drwxrwxr-x 8 jenkins jenkins 4096 May 10 03:17 .git 03:18:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:17 .github 03:18:36 -rw-rw-r-- 1 jenkins jenkins 329 May 10 03:17 .gitignore 03:18:36 -rw-rw-r-- 1 jenkins jenkins 41 May 10 03:17 .golangci.yml 03:18:36 drwxr-xr-x 3 jenkins jenkins 4096 May 10 03:17 .semver 03:18:36 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 03:17 Attribution.txt 03:18:36 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 03:17 CHANGELOG.md 03:18:36 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:17 Dockerfile 03:18:36 -rw-rw-r-- 1 jenkins jenkins 677 May 10 03:17 GOVERNANCE.md 03:18:36 -rw-rw-r-- 1 jenkins jenkins 678 May 10 03:17 Jenkinsfile 03:18:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 03:17 LICENSE 03:18:36 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:17 Makefile 03:18:36 -rw-rw-r-- 1 jenkins jenkins 620 May 10 03:17 OWNERS.md 03:18:36 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 03:17 README.md 03:18:36 -rw-rw-r-- 1 jenkins jenkins 5 May 10 03:17 VERSION 03:18:36 drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:17 bin 03:18:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:17 cmd 03:18:36 -rw-r--r-- 1 jenkins jenkins 17887 May 10 03:18 coverage.out 03:18:36 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 03:17 go.mod 03:18:36 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 03:17 go.sum 03:18:36 drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:17 internal 03:18:36 drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:17 mock 03:18:36 drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:17 snap 03:18:36 -rw-rw-r-- 1 jenkins jenkins 227 May 10 03:17 version.go [Pipeline] isUnix [Pipeline] sh 03:18:36 + 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=5a9e15cd1247227b64b0b74a6bbae45e9a68e657 --label arch=amd64 --label version=0.0.0 . 03:18:36 Sending build context to Docker daemon 5.904MB 03:18:36 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:18:36 Step 2/24 : FROM ${BASE} AS builder 03:18:36 ---> bb2b0eccc24d 03:18:36 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:18:36 ---> Running in 91b5521a30de 03:18:37 Removing intermediate container 91b5521a30de 03:18:37 ---> 995900c44a12 03:18:37 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:18:37 ---> Running in fb1886eebcb8 03:18:37 Removing intermediate container fb1886eebcb8 03:18:37 ---> 5818e9f32f7a 03:18:37 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:37 ---> Running in 9d04656dc97d 03:18:37 Removing intermediate container 9d04656dc97d 03:18:37 ---> 8daf7322ae28 03:18:37 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:37 ---> Running in 5b61a4ad62a5 03:18:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:18:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:18:39 OK: 224 MiB in 56 packages 03:18:39 Removing intermediate container 5b61a4ad62a5 03:18:39 ---> 520d32e3d869 03:18:39 Step 7/24 : WORKDIR /device-mqtt-go 03:18:39 ---> Running in f73200cd24ca 03:18:39 Removing intermediate container f73200cd24ca 03:18:39 ---> 694763bded38 03:18:39 Step 8/24 : COPY go.mod vendor* ./ 03:18:39 ---> 7bc229b756e9 03:18:39 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:39 ---> Running in b0331604ae67 03:18:40 Removing intermediate container b0331604ae67 03:18:40 ---> d1cb8969d135 03:18:40 Step 10/24 : COPY . . 03:18:40 ---> 649d724a9352 03:18:40 Step 11/24 : ARG MAKE='make build' 03:18:40 ---> Running in d4c6624d205e 03:18:40 Removing intermediate container d4c6624d205e 03:18:40 ---> 728e47671846 03:18:40 Step 12/24 : RUN $MAKE 03:18:40 ---> Running in 137cbb51baf3 03:18:40 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 03:19:02 Removing intermediate container 137cbb51baf3 03:19:02 ---> e8dbe185a927 03:19:02 Step 13/24 : FROM alpine:3.14 03:19:02 3.14: Pulling from library/alpine 03:19:02 8663204ce13b: Pulling fs layer 03:19:02 error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652155740-VLUDbzoLSN2DeI7R%2FChFdWqDHy4%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:19:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:03 03:19:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:19:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:03 latest: Pulling from edgex-lftools-log-publisher 03:19:03 5eb5b503b376: Pulling fs layer 03:19:03 5c69ac0246d0: Pulling fs layer 03:19:03 ec43610c2a17: Pulling fs layer 03:19:03 3a2ae6a8a46f: Pulling fs layer 03:19:03 33b1e0a273af: Pulling fs layer 03:19:03 5d3b04190fa2: Pulling fs layer 03:19:03 2f39f015ded8: Pulling fs layer 03:19:03 3a2ae6a8a46f: Waiting 03:19:03 33b1e0a273af: Waiting 03:19:03 5d3b04190fa2: Waiting 03:19:03 5c69ac0246d0: Download complete 03:19:03 3a2ae6a8a46f: Verifying Checksum 03:19:03 3a2ae6a8a46f: Download complete 03:19:03 ec43610c2a17: Verifying Checksum 03:19:03 ec43610c2a17: Download complete 03:19:03 33b1e0a273af: Verifying Checksum 03:19:03 33b1e0a273af: Download complete 03:19:03 5d3b04190fa2: Verifying Checksum 03:19:03 5d3b04190fa2: Download complete 03:19:04 5eb5b503b376: Verifying Checksum 03:19:04 5eb5b503b376: Download complete 03:19:04 2f39f015ded8: Verifying Checksum 03:19:04 2f39f015ded8: Download complete 03:19:05 5eb5b503b376: Pull complete 03:19:05 5c69ac0246d0: Pull complete 03:19:05 ec43610c2a17: Pull complete 03:19:05 3a2ae6a8a46f: Pull complete 03:19:06 33b1e0a273af: Pull complete 03:19:06 5d3b04190fa2: Pull complete 03:19:10 2f39f015ded8: Pull complete 03:19:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:19:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:19:10 prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container 03:19:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:12 $ docker top 42556208a675e1c55d7e563af6d05faf670edf22e23f920bc83bf7cf54493691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:12 ---> job-cost.sh 03:19:12 lf-activate-venv: SKIPPING 03:19:12 INFO: No Stack... 03:19:12 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:13 INFO: Archiving Costs [Pipeline] sh 03:19:13 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/cost.csv 03:19:13 + cut -d, -f6 [Pipeline] lock 03:19:13 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] 03:19:13 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] did not exist. Created. 03:19:13 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:14 + echo total: 0.2199999988079071 [Pipeline] stash 03:19:14 Stashed 1 file(s) [Pipeline] } 03:19:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:14 $ docker stop --time=1 42556208a675e1c55d7e563af6d05faf670edf22e23f920bc83bf7cf54493691 03:19:15 $ docker rm -f 42556208a675e1c55d7e563af6d05faf670edf22e23f920bc83bf7cf54493691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:19:15 Failed in branch amd64 03:19:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44821 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] ws 03:19:29 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 03:19:30 Selected Git installation does not exist. Using Default 03:19:30 The recommended git tool is: NONE 03:19:36 using credential edgex-jenkins-ssh 03:19:36 Cloning the remote Git repository 03:19:36 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:19:36 > git init /w/workspace/device-mqtt-go/3 # timeout=10 03:19:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:19:36 > git --version # timeout=10 03:19:36 > git --version # 'git version 2.25.1' 03:19:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:38 Merging remotes/origin/main commit 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 24c9eb79c62f7b0ed12f25514949fa6e13072b8e 03:19:39 Merge succeeded, producing 2653758dea4219ff41005db205ea611b60315acb 03:19:39 Checking out Revision 2653758dea4219ff41005db205ea611b60315acb (PR-378) 03:19:38 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:19:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:38 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:19:38 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:19:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:19:38 > git config core.sparsecheckout # timeout=10 03:19:38 > git checkout -f 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 03:19:38 > git remote # timeout=10 03:19:38 > git config --get remote.origin.url # timeout=10 03:19:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:38 > git merge 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 03:19:39 > git rev-parse HEAD^{commit} # timeout=10 03:19:39 > git config core.sparsecheckout # timeout=10 03:19:39 > git checkout -f 2653758dea4219ff41005db205ea611b60315acb # timeout=10 03:19:43 Commit message: "Merge commit '9e5ff16ea29b888a79edc386c2a8af4882824547' into HEAD" 03:19:43 > git rev-list --no-walk 24c9eb79c62f7b0ed12f25514949fa6e13072b8e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:19:44 % Total % Received % Xferd Average Speed Time Time Time Current 03:19:44 Dload Upload Total Spent Left Speed 03:19:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh 03:19:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:19:45 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:19:45 sudo tee /etc/docker/daemon.new 03:19:45 { 03:19:45 "registry-mirrors": [ 03:19:45 "https://nexus3.edgexfoundry.org:10001" 03:19:45 ], 03:19:45 "bip": "10.250.0.254/24", 03:19:45 "hosts": [ 03:19:45 "tcp://0.0.0.0:5555", 03:19:45 "unix:///var/run/docker.sock" 03:19:45 ], 03:19:45 "mtu": 1458, 03:19:45 "selinux-enabled": true, 03:19:45 "seccomp-profile": "/etc/docker/seccomp.json" 03:19:45 } [Pipeline] sh 03:19:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:19:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:04 provisioning config files... 03:20:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config4455846592367878590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:20:04 ---> docker-login.sh 03:20:04 nexus3.edgexfoundry.org:10001 03:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:05 Configure a credential helper to remove this warning. See 03:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:05 03:20:05 Login Succeeded 03:20:05 nexus3.edgexfoundry.org:10002 03:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:06 Configure a credential helper to remove this warning. See 03:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:06 03:20:06 Login Succeeded 03:20:06 nexus3.edgexfoundry.org:10003 03:20:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:06 Configure a credential helper to remove this warning. See 03:20:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:06 03:20:06 Login Succeeded 03:20:06 nexus3.edgexfoundry.org:10004 03:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:07 Configure a credential helper to remove this warning. See 03:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:07 03:20:07 Login Succeeded 03:20:07 docker.io 03:20:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:07 Configure a credential helper to remove this warning. See 03:20:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:07 03:20:07 Login Succeeded 03:20:07 ---> docker-login.sh ends [Pipeline] } 03:20:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:20:08 ========================================================= 03:20:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:20:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:20:08 + 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 . 03:20:09 Sending build context to Docker daemon 3.063MB 03:20:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:20:09 Step 2/12 : FROM ${BASE} AS builder 03:20:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:20:09 9b3977197b4f: Pulling fs layer 03:20:09 1a89e8eeedd5: Pulling fs layer 03:20:09 94645a83ff95: Pulling fs layer 03:20:09 3f3a8bcf1eab: Pulling fs layer 03:20:09 0c92f367c5e7: Pulling fs layer 03:20:09 3096ccb668a1: Pulling fs layer 03:20:09 e8cf19c19ddd: Pulling fs layer 03:20:09 a4caa8a26152: Pulling fs layer 03:20:09 3f3a8bcf1eab: Waiting 03:20:09 0c92f367c5e7: Waiting 03:20:09 3096ccb668a1: Waiting 03:20:09 e8cf19c19ddd: Waiting 03:20:09 a4caa8a26152: Waiting 03:20:09 94645a83ff95: Verifying Checksum 03:20:09 94645a83ff95: Download complete 03:20:09 1a89e8eeedd5: Download complete 03:20:09 0c92f367c5e7: Download complete 03:20:09 9b3977197b4f: Verifying Checksum 03:20:09 9b3977197b4f: Download complete 03:20:09 e8cf19c19ddd: Verifying Checksum 03:20:09 e8cf19c19ddd: Download complete 03:20:09 3096ccb668a1: Verifying Checksum 03:20:09 3096ccb668a1: Download complete 03:20:10 9b3977197b4f: Pull complete 03:20:10 1a89e8eeedd5: Pull complete 03:20:11 94645a83ff95: Pull complete 03:20:11 a4caa8a26152: Verifying Checksum 03:20:11 a4caa8a26152: Download complete 03:20:12 3f3a8bcf1eab: Verifying Checksum 03:20:12 3f3a8bcf1eab: Download complete 03:20:24 3f3a8bcf1eab: Pull complete 03:20:24 0c92f367c5e7: Pull complete 03:20:24 3096ccb668a1: Pull complete 03:20:24 e8cf19c19ddd: Pull complete 03:20:31 a4caa8a26152: Pull complete 03:20:31 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:20:31 ---> 725f1c02e7f9 03:20:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:20:31 ---> Running in 8a7b127058d2 03:20:31 Removing intermediate container 8a7b127058d2 03:20:31 ---> de847fa62e7c 03:20:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:20:31 ---> Running in 84f800a69c16 03:20:32 Removing intermediate container 84f800a69c16 03:20:32 ---> a16ee7c9ef89 03:20:32 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:20:32 ---> Running in 0ff43ef0ff00 03:20:34 Removing intermediate container 0ff43ef0ff00 03:20:34 ---> 85ba909275e3 03:20:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:34 ---> Running in 0448cdb792cc 03:20:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:20:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:20:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:20:37 (2/4) Installing libedit (20210910.3.1-r0) 03:20:37 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:20:37 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:20:37 Executing busybox-1.34.1-r3.trigger 03:20:37 OK: 224 MiB in 56 packages 03:20:38 Removing intermediate container 0448cdb792cc 03:20:38 ---> 70ea17409bae 03:20:38 Step 7/12 : WORKDIR /device-mqtt-go 03:20:38 ---> Running in 57958e457202 03:20:38 Removing intermediate container 57958e457202 03:20:38 ---> 02a1a251025d 03:20:38 Step 8/12 : COPY go.mod vendor* ./ 03:20:39 ---> 03875ff3a4f6 03:20:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:39 ---> Running in 2c33b1cf4cd8 03:21:26 Removing intermediate container 2c33b1cf4cd8 03:21:26 ---> 89f107cc889b 03:21:26 Step 10/12 : COPY . . 03:21:26 ---> 64498025873f 03:21:26 Step 11/12 : ARG MAKE='make build' 03:21:26 ---> Running in 335573fb1ea0 03:21:26 Removing intermediate container 335573fb1ea0 03:21:26 ---> 4764bc667ecf 03:21:26 Step 12/12 : RUN $MAKE 03:21:26 ---> Running in 3c4ac9b04c06 03:21:26 noop 03:21:26 Removing intermediate container 3c4ac9b04c06 03:21:26 ---> a0ae70f9bf1c 03:21:26 Successfully built a0ae70f9bf1c 03:21:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:21:26 + docker inspect -f . ci-base-image-arm64 03:21:26 . [Pipeline] withDockerContainer 03:21:27 prd-ubuntu20.04-docker-arm64-4c-16g-44821 does not seem to be running inside a container 03:21:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:21:28 $ docker top 101c9c2515da203a7e54510123a24ca86a4ba0311816e16871e7fb767a61d36b -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:29 + go version 03:21:29 go version go1.17.6 linux/arm64 [Pipeline] } 03:21:29 $ docker stop --time=1 101c9c2515da203a7e54510123a24ca86a4ba0311816e16871e7fb767a61d36b 03:21:31 $ docker rm -f 101c9c2515da203a7e54510123a24ca86a4ba0311816e16871e7fb767a61d36b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:21:31 + docker inspect -f . ci-base-image-arm64 03:21:31 . [Pipeline] withDockerContainer 03:21:31 prd-ubuntu20.04-docker-arm64-4c-16g-44821 does not seem to be running inside a container 03:21:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:21:33 $ docker top 89de7a03480751cdf6a60514896c4f1f081d112a951c3f3350b43603d7aef0ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:21:34 + make test 03:21:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:21:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:22:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:22:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 03:22:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:22:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:22:57 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:23:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:23:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:23:15 ./bin/test-attribution-txt.sh [Pipeline] echo 03:23:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:23:18 $ docker stop --time=1 89de7a03480751cdf6a60514896c4f1f081d112a951c3f3350b43603d7aef0ca 03:23:20 $ docker rm -f 89de7a03480751cdf6a60514896c4f1f081d112a951c3f3350b43603d7aef0ca [Pipeline] // withDockerContainer [Pipeline] sh 03:23:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:23:21 Warning: overwriting stash ‘coverage-report’ 03:23:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:23:22 + ls -al . 03:23:22 total 176 03:23:22 drwxrwxr-x 9 jenkins jenkins 4096 May 10 03:23 . 03:23:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:19 .. 03:23:22 -rw-rw-r-- 1 jenkins jenkins 140 May 10 03:19 .dockerignore 03:23:22 drwxrwxr-x 8 jenkins jenkins 4096 May 10 03:19 .git 03:23:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:19 .github 03:23:22 -rw-rw-r-- 1 jenkins jenkins 329 May 10 03:19 .gitignore 03:23:22 -rw-rw-r-- 1 jenkins jenkins 41 May 10 03:19 .golangci.yml 03:23:22 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 03:19 Attribution.txt 03:23:22 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 03:19 CHANGELOG.md 03:23:22 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:19 Dockerfile 03:23:22 -rw-rw-r-- 1 jenkins jenkins 677 May 10 03:19 GOVERNANCE.md 03:23:22 -rw-rw-r-- 1 jenkins jenkins 678 May 10 03:19 Jenkinsfile 03:23:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 03:19 LICENSE 03:23:22 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 03:19 Makefile 03:23:22 -rw-rw-r-- 1 jenkins jenkins 620 May 10 03:19 OWNERS.md 03:23:22 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 03:19 README.md 03:23:22 -rw-rw-r-- 1 jenkins jenkins 5 May 10 03:17 VERSION 03:23:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:19 bin 03:23:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:19 cmd 03:23:22 -rw-r--r-- 1 jenkins jenkins 17887 May 10 03:22 coverage.out 03:23:22 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 03:19 go.mod 03:23:22 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 03:19 go.sum 03:23:22 drwxrwxr-x 3 jenkins jenkins 4096 May 10 03:19 internal 03:23:22 drwxrwxr-x 2 jenkins jenkins 4096 May 10 03:19 mock 03:23:22 drwxrwxr-x 4 jenkins jenkins 4096 May 10 03:19 snap 03:23:22 -rw-rw-r-- 1 jenkins jenkins 227 May 10 03:19 version.go [Pipeline] isUnix [Pipeline] sh 03:23:22 + 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=2653758dea4219ff41005db205ea611b60315acb --label arch=arm64 --label version=0.0.0 . 03:23:23 Sending build context to Docker daemon 3.081MB 03:23:23 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:23:23 Step 2/24 : FROM ${BASE} AS builder 03:23:23 ---> a0ae70f9bf1c 03:23:23 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:23:23 ---> Running in 1f38a56a5a51 03:23:23 Removing intermediate container 1f38a56a5a51 03:23:23 ---> 5a7a14d53a93 03:23:23 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:23:23 ---> Running in 4e5ecfe92b52 03:23:23 Removing intermediate container 4e5ecfe92b52 03:23:23 ---> edec663eb4b5 03:23:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:23:24 ---> Running in e20b98939538 03:23:25 Removing intermediate container e20b98939538 03:23:25 ---> 2d0e6600d209 03:23:25 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:25 ---> Running in ea6eed90fe23 03:23:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:23:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:23:28 OK: 224 MiB in 56 packages 03:23:29 Removing intermediate container ea6eed90fe23 03:23:29 ---> fafee5de0da6 03:23:29 Step 7/24 : WORKDIR /device-mqtt-go 03:23:29 ---> Running in 2f10106fa31c 03:23:29 Removing intermediate container 2f10106fa31c 03:23:29 ---> 4e4d33446900 03:23:29 Step 8/24 : COPY go.mod vendor* ./ 03:23:30 ---> cc2d5c0c5971 03:23:30 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:30 ---> Running in a473c3d9eb47 03:23:32 Removing intermediate container a473c3d9eb47 03:23:32 ---> 319bafe2772f 03:23:32 Step 10/24 : COPY . . 03:23:33 ---> 0a98a7a679d5 03:23:33 Step 11/24 : ARG MAKE='make build' 03:23:33 ---> Running in a960b00588ca 03:23:33 Removing intermediate container a960b00588ca 03:23:33 ---> ddc6991efc70 03:23:33 Step 12/24 : RUN $MAKE 03:23:33 ---> Running in 237cf64a77a2 03:23:34 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 03:25:41 Removing intermediate container 237cf64a77a2 03:25:41 ---> 792e52f36aef 03:25:41 Step 13/24 : FROM alpine:3.14 03:25:41 3.14: Pulling from library/alpine 03:25:41 455c02918c45: Pulling fs layer 03:25:41 455c02918c45: Verifying Checksum 03:25:41 455c02918c45: Download complete 03:25:41 455c02918c45: Pull complete 03:25:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:25:41 Status: Downloaded newer image for alpine:3.14 03:25:41 ---> ac73e934f311 03:25:41 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:25:41 ---> Running in 8ddb440999bc 03:25:41 Removing intermediate container 8ddb440999bc 03:25:41 ---> 8ef920b316b8 03:25:41 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:25:41 ---> Running in fccca08d157d 03:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:25:41 (1/6) Installing dumb-init (1.2.5-r1) 03:25:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:25:41 (3/6) Installing libsodium (1.0.18-r0) 03:25:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:25:41 (5/6) Installing libzmq (4.3.4-r0) 03:25:41 (6/6) Installing zeromq (4.3.4-r0) 03:25:41 Executing busybox-1.33.1-r7.trigger 03:25:41 OK: 8 MiB in 20 packages 03:25:41 Removing intermediate container fccca08d157d 03:25:41 ---> f2d91aff0b75 03:25:41 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:25:41 ---> 1f883458932a 03:25:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:25:41 ---> 525f67c679f2 03:25:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:25:41 ---> 0ea053ab94d8 03:25:41 Step 19/24 : EXPOSE 59982 03:25:41 ---> Running in 91399fa5ca18 03:25:41 Removing intermediate container 91399fa5ca18 03:25:41 ---> 9a90b3a2d2de 03:25:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:25:41 ---> Running in c51228fc2fff 03:25:41 Removing intermediate container c51228fc2fff 03:25:41 ---> 1436358295cf 03:25:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:25:41 ---> Running in a30be516fd90 03:25:41 Removing intermediate container a30be516fd90 03:25:41 ---> ad7edd06d25f 03:25:41 Step 22/24 : LABEL arch=arm64 03:25:41 ---> Running in 4494166ae83c 03:25:41 Removing intermediate container 4494166ae83c 03:25:41 ---> f2d177a5a864 03:25:41 Step 23/24 : LABEL git_sha=2653758dea4219ff41005db205ea611b60315acb 03:25:41 ---> Running in 97fd5a7e2b81 03:25:41 Removing intermediate container 97fd5a7e2b81 03:25:41 ---> f1b49ab27471 03:25:41 Step 24/24 : LABEL version=0.0.0 03:25:41 ---> Running in a6c2db0524a2 03:25:41 Removing intermediate container a6c2db0524a2 03:25:41 ---> 4f8afa02f1bb 03:25:41 [Warning] One or more build-args [ARCH] were not consumed 03:25:41 Successfully built 4f8afa02f1bb 03:25:41 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 03:25:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:41 03:25:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:25:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:42 arm64: Pulling from edgex-lftools-log-publisher 03:25:42 8998bd30e6a1: Pulling fs layer 03:25:42 04944245beec: Pulling fs layer 03:25:42 699f458cf7ca: Pulling fs layer 03:25:42 765212b225bb: Pulling fs layer 03:25:42 f23df028b6ca: Pulling fs layer 03:25:42 d65c8cfc05b1: Pulling fs layer 03:25:42 2437ff75d9bd: Pulling fs layer 03:25:42 765212b225bb: Waiting 03:25:42 f23df028b6ca: Waiting 03:25:42 d65c8cfc05b1: Waiting 03:25:42 2437ff75d9bd: Waiting 03:25:42 04944245beec: Verifying Checksum 03:25:42 04944245beec: Download complete 03:25:42 765212b225bb: Verifying Checksum 03:25:42 765212b225bb: Download complete 03:25:42 f23df028b6ca: Download complete 03:25:42 d65c8cfc05b1: Verifying Checksum 03:25:42 d65c8cfc05b1: Download complete 03:25:42 699f458cf7ca: Verifying Checksum 03:25:42 699f458cf7ca: Download complete 03:25:42 8998bd30e6a1: Download complete 03:25:44 2437ff75d9bd: Verifying Checksum 03:25:44 2437ff75d9bd: Download complete 03:25:46 8998bd30e6a1: Pull complete 03:25:47 04944245beec: Pull complete 03:25:48 699f458cf7ca: Pull complete 03:25:48 765212b225bb: Pull complete 03:25:49 f23df028b6ca: Pull complete 03:25:49 d65c8cfc05b1: Pull complete 03:26:05 2437ff75d9bd: Pull complete 03:26:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:26:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:26:05 prd-ubuntu20.04-docker-arm64-4c-16g-44821 does not seem to be running inside a container 03:26:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:26:08 $ docker top 50d2ddb95307363fb2f95d75e0a6484c2a1af431ab1eb25fcb1fc882963f9a88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:08 ---> job-cost.sh 03:26:08 lf-activate-venv: SKIPPING 03:26:08 INFO: No Stack... 03:26:09 INFO: Retrieving Pricing Info for: v3-standard-4 03:26:10 INFO: Archiving Costs [Pipeline] sh 03:26:10 + cut -d, -f6 03:26:10 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [Pipeline] lock 03:26:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] 03:26:10 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] did not exist. Created. 03:26:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:11 /w/workspace/device-mqtt-go/3@tmp/durable-1c0af98c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:26:12 + echo total: 0.10999999940395355 [Pipeline] stash 03:26:12 Warning: overwriting stash ‘stack-cost’ 03:26:12 Stashed 1 file(s) [Pipeline] } 03:26:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:12 $ docker stop --time=1 50d2ddb95307363fb2f95d75e0a6484c2a1af431ab1eb25fcb1fc882963f9a88 03:26:13 $ docker rm -f 50d2ddb95307363fb2f95d75e0a6484c2a1af431ab1eb25fcb1fc882963f9a88 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:26:15 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives ] 03:26:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 03:26:15 total 16 03:26:15 drwxr-xr-x 3 root root 4096 May 10 03:19 . 03:26:15 drwxrwxr-x 11 jenkins jenkins 4096 May 10 03:19 .. 03:26:15 drwxr-xr-x 2 root root 4096 May 10 03:19 cost 03:26:15 -rw-r--r-- 1 root root 85 May 10 03:19 cost.csv 03:26:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 03:26:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 03:26:15 total 16 03:26:15 drwxr-xr-x 3 jenkins jenkins 4096 May 10 03:19 . 03:26:15 drwxrwxr-x 11 jenkins jenkins 4096 May 10 03:19 .. 03:26:15 drwxr-xr-x 2 jenkins jenkins 4096 May 10 03:19 cost 03:26:15 -rw-r--r-- 1 jenkins jenkins 85 May 10 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:26:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:16 ---> package-listing.sh 03:26:16 ++ facter osfamily 03:26:16 ++ tr '[:upper:]' '[:lower:]' 03:26:16 + OS_FAMILY=debian 03:26:16 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-378 03:26:16 + START_PACKAGES=/tmp/packages_start.txt 03:26:16 + END_PACKAGES=/tmp/packages_end.txt 03:26:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:16 + PACKAGES=/tmp/packages_start.txt 03:26:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' 03:26:16 + PACKAGES=/tmp/packages_end.txt 03:26:16 + case "${OS_FAMILY}" in 03:26:16 + dpkg -l 03:26:16 + grep '^ii' 03:26:16 + '[' -f /tmp/packages_start.txt ']' 03:26:16 + '[' -f /tmp/packages_end.txt ']' 03:26:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:16 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' 03:26:16 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ 03:26:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [Pipeline] echo 03:26:16 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:26:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:26:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:17 . [Pipeline] withDockerContainer 03:26:17 prd-ubuntu20.04-docker-8c-8g-44820 does not seem to be running inside a container 03:26:17 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:17 $ docker top b6f94d87caff783224ba312929616bc19f2dd44eb38f708ffa36e11a95fc7ae9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:18 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:18 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:18 + ls /var/log/sa-host 03:26:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:19 provisioning config files... 03:26:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config6322964355619612183tmp [Pipeline] { [Pipeline] echo 03:26:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:19 ---> create-netrc.sh [Pipeline] } 03:26:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:19 ---> python-tools-install.sh [Pipeline] echo 03:26:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:20 ---> sudo-logs.sh 03:26:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:26:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:20 ---> job-cost.sh 03:26:20 lf-activate-venv: SKIPPING 03:26:20 DEBUG: total: 0.2199999988079071 03:26:20 INFO: Retrieving Stack Cost... 03:26:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:21 INFO: Archiving Costs [Pipeline] echo 03:26:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:21 ---> logs-deploy.sh 03:26:21 lf-activate-venv: SKIPPING 03:26:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-378/3 03:26:21 INFO: archiving workspace using pattern(s): 03:26:22 Archives upload complete. 03:26:22 INFO: archiving logs to Nexus