Pull request #396 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b+af7f42834155496da65d108934e36d5a2fb2bcc1 (b56ba11363fe8d3e7944bded16797e6d45d71eca) 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-ssh5954901200524604764.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh17615482152570722313.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2681058785928612986.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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh847087769002350642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh11430576700227724503.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2687558110913739237.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16085’ Running on prd-ubuntu20.04-docker-8c-8g-16088 in /w/workspace/gexfoundry_device-mqtt-go_PR-396 [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-396 # 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 af7f42834155496da65d108934e36d5a2fb2bcc1 into PR head commit 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b Merge succeeded, producing 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b Checking out Revision 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b (PR-396) > 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/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # 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 af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # timeout=10 Commit message: "fix: replace broker host config with a valid example" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:09:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:09:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:09:54 ========================================================= 12:09:54 EdgeX Global Pipelines Version Info 12:09:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:09:55 ------------------- 12:09:55 stable info: 12:09:55 ------------------- 12:09:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:09:55 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 12:09:55 Message: update stable to v1.0.234 12:09:56 ------------------- 12:09:56 experimental info: 12:09:56 ------------------- 12:09:56 Commited By: **** collab-it+edgex@linuxfoundation.org 12:09:56 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 12:09:56 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:09:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ee1ea5 [Pipeline] echo 12:09:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:57 provisioning config files... 12:09:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config1718133661332055485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:58 ---> docker-login.sh 12:09:58 nexus3.edgexfoundry.org:10001 12:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:58 Configure a credential helper to remove this warning. See 12:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:58 12:09:58 Login Succeeded 12:09:58 nexus3.edgexfoundry.org:10002 12:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:58 Configure a credential helper to remove this warning. See 12:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:58 12:09:58 Login Succeeded 12:09:58 nexus3.edgexfoundry.org:10003 12:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:58 Configure a credential helper to remove this warning. See 12:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:58 12:09:58 Login Succeeded 12:09:58 nexus3.edgexfoundry.org:10004 12:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:58 Configure a credential helper to remove this warning. See 12:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:58 12:09:58 Login Succeeded 12:09:58 docker.io 12:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:59 Configure a credential helper to remove this warning. See 12:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:59 12:09:59 Login Succeeded 12:09:59 ---> docker-login.sh ends [Pipeline] } 12:09:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:10:00 + git rev-list -1 --merges 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b~1..8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo 12:10:00 -----------> git rev-list -1 --merges 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b~1..8ee1ea56f803a2b2c9168ac21e71316d7ccb353b 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [false] [Pipeline] sh 12:10:00 + git log --format=format:%s -1 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo 12:10:00 ========================================================= 12:10:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:10:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:01 + git log --format=format:%s -1 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo 12:10:01 [semverPrep] GIT_COMMIT: 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b, Commit Message: fix: replace broker host config with a valid example [Pipeline] echo 12:10:01 [semverPrep] This is not a build commit. [Pipeline] sh 12:10:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:10:01 + grep -v github /etc/ssh/ssh_known_hosts 12:10:01 + [ -e /tmp/ssh_known_hosts ] 12:10:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:10:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:10:01 + sudo tee -a /etc/ssh/ssh_known_hosts 12:10:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:01 12:10:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:02 0.1.4: Pulling from edgex-devops/py-git-semver 12:10:02 42c077c10790: Pulling fs layer 12:10:02 f63e77b7563a: Pulling fs layer 12:10:02 bd5fdadae976: Pulling fs layer 12:10:02 205491f53016: Pulling fs layer 12:10:02 df18705c85c3: Pulling fs layer 12:10:02 bdb3f477010e: Pulling fs layer 12:10:02 c8a8fc8e1c8f: Pulling fs layer 12:10:02 2c6e9b1d212d: Pulling fs layer 12:10:02 bdb8f0575790: Pulling fs layer 12:10:02 386e3cb2ff24: Pulling fs layer 12:10:02 2343380bae48: Pulling fs layer 12:10:02 c8a8fc8e1c8f: Waiting 12:10:02 2c6e9b1d212d: Waiting 12:10:02 bdb8f0575790: Waiting 12:10:02 386e3cb2ff24: Waiting 12:10:02 2343380bae48: Waiting 12:10:02 205491f53016: Waiting 12:10:02 bdb3f477010e: Waiting 12:10:02 f63e77b7563a: Verifying Checksum 12:10:02 f63e77b7563a: Download complete 12:10:02 205491f53016: Verifying Checksum 12:10:02 205491f53016: Download complete 12:10:02 df18705c85c3: Verifying Checksum 12:10:02 df18705c85c3: Download complete 12:10:02 bdb3f477010e: Verifying Checksum 12:10:02 bdb3f477010e: Download complete 12:10:02 bd5fdadae976: Verifying Checksum 12:10:02 bd5fdadae976: Download complete 12:10:02 2c6e9b1d212d: Verifying Checksum 12:10:02 2c6e9b1d212d: Download complete 12:10:02 bdb8f0575790: Verifying Checksum 12:10:02 bdb8f0575790: Download complete 12:10:02 386e3cb2ff24: Verifying Checksum 12:10:02 386e3cb2ff24: Download complete 12:10:02 2343380bae48: Verifying Checksum 12:10:02 2343380bae48: Download complete 12:10:02 42c077c10790: Verifying Checksum 12:10:02 42c077c10790: Download complete 12:10:02 c8a8fc8e1c8f: Download complete 12:10:04 42c077c10790: Pull complete 12:10:04 f63e77b7563a: Pull complete 12:10:04 bd5fdadae976: Pull complete 12:10:04 205491f53016: Pull complete 12:10:05 df18705c85c3: Pull complete 12:10:05 bdb3f477010e: Pull complete 12:10:07 c8a8fc8e1c8f: Pull complete 12:10:07 2c6e9b1d212d: Pull complete 12:10:07 bdb8f0575790: Pull complete 12:10:07 386e3cb2ff24: Pull complete 12:10:07 2343380bae48: Pull complete 12:10:07 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 12:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:10:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:08 prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container 12:10:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:10:09 $ docker top bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 -eo pid,comm 12:10:09 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). 12:10:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:10:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:09 [ssh-agent] Looking for ssh-agent implementation... 12:10:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:10 $ docker exec bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent 12:10:10 SSH_AUTH_SOCK=/tmp/ssh-ugGSBjKd9pgF/agent.33 12:10:10 SSH_AGENT_PID=39 12:10:10 Running ssh-add (command line suppressed) 12:10:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_5956386085461772676.key (/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_5956386085461772676.key) 12:10:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:10 + git tag --points-at HEAD [Pipeline] } 12:10:10 $ docker exec --env ******** --env ******** bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent -k 12:10:10 unset SSH_AUTH_SOCK; 12:10:10 unset SSH_AGENT_PID; 12:10:10 echo Agent pid 39 killed; 12:10:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:10 [ssh-agent] Looking for ssh-agent implementation... 12:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:11 $ docker exec bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent 12:10:11 SSH_AUTH_SOCK=/tmp/ssh-CEb7ptyuK4pd/agent.73 12:10:11 SSH_AGENT_PID=79 12:10:11 Running ssh-add (command line suppressed) 12:10:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_7587256729483262123.key (/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_7587256729483262123.key) 12:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:11 + git semver init 12:10:11 2022-06-27 12:10:11,937 [run_init] DEBUG init version:0.0.0 force:False 12:10:11 2022-06-27 12:10:11,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver 12:10:11 2022-06-27 12:10:11,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver 12:10:11 2022-06-27 12:10:11,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-396, universal_newlines=False, shell=None, istream=None) 12:10:12 2022-06-27 12:10:12,668 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.git/info/exclude 12:10:12 2022-06-27 12:10:12,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver/PR-396 with force:False 12:10:12 2022-06-27 12:10:12,669 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver/PR-396 12:10:12 2022-06-27 12:10:12,675 [execute] INFO git cat-file --batch-check 12:10:12 2022-06-27 12:10:12,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) 12:10:12 2022-06-27 12:10:12,683 [execute] INFO git cat-file --batch 12:10:12 2022-06-27 12:10:12,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) 12:10:12 2022-06-27 12:10:12,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver/PR-396 12:10:12 0.0.0 [Pipeline] } 12:10:12 $ docker exec --env ******** --env ******** bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent -k 12:10:13 unset SSH_AUTH_SOCK; 12:10:13 unset SSH_AGENT_PID; 12:10:13 echo Agent pid 79 killed; 12:10:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:10:13 + git semver [Pipeline] } 12:10:14 $ docker stop --time=1 bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 12:10:15 $ docker rm -f bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:10:16 Stashed 1 file(s) [Pipeline] echo 12:10:16 [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 12:10:16 provisioning config files... 12:10:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config2686041597624455849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:17 ---> docker-login.sh 12:10:17 nexus3.edgexfoundry.org:10001 12:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:17 Configure a credential helper to remove this warning. See 12:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:17 12:10:17 Login Succeeded 12:10:17 nexus3.edgexfoundry.org:10002 12:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:17 Configure a credential helper to remove this warning. See 12:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:17 12:10:17 Login Succeeded 12:10:17 nexus3.edgexfoundry.org:10003 12:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:17 Configure a credential helper to remove this warning. See 12:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:17 12:10:17 Login Succeeded 12:10:17 nexus3.edgexfoundry.org:10004 12:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:17 Configure a credential helper to remove this warning. See 12:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:17 12:10:17 Login Succeeded 12:10:17 docker.io 12:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:18 Configure a credential helper to remove this warning. See 12:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:18 12:10:18 Login Succeeded 12:10:18 ---> docker-login.sh ends [Pipeline] } 12:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:18 ========================================================= 12:10:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:10:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:18 + 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 . 12:10:18 Sending build context to Docker daemon 6.01MB 12:10:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:10:18 Step 2/12 : FROM ${BASE} AS builder 12:10:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:10:18 59bf1c3509f3: Pulling fs layer 12:10:18 666ba61612fd: Pulling fs layer 12:10:18 8ed8ca486205: Pulling fs layer 12:10:18 cc1cd167ecdc: Pulling fs layer 12:10:18 c516ae0d96e1: Pulling fs layer 12:10:18 684cea983483: Pulling fs layer 12:10:18 dd3240ac7de5: Pulling fs layer 12:10:18 b1e948a4e11c: Pulling fs layer 12:10:18 a8fd76ee1af6: Pulling fs layer 12:10:18 646ad004c059: Pulling fs layer 12:10:18 cc1cd167ecdc: Waiting 12:10:18 c516ae0d96e1: Waiting 12:10:18 684cea983483: Waiting 12:10:18 dd3240ac7de5: Waiting 12:10:18 b1e948a4e11c: Waiting 12:10:18 a8fd76ee1af6: Waiting 12:10:18 646ad004c059: Waiting 12:10:19 8ed8ca486205: Verifying Checksum 12:10:19 666ba61612fd: Verifying Checksum 12:10:19 666ba61612fd: Download complete 12:10:19 c516ae0d96e1: Verifying Checksum 12:10:19 c516ae0d96e1: Download complete 12:10:19 684cea983483: Verifying Checksum 12:10:19 684cea983483: Download complete 12:10:19 59bf1c3509f3: Verifying Checksum 12:10:19 59bf1c3509f3: Download complete 12:10:19 dd3240ac7de5: Verifying Checksum 12:10:19 dd3240ac7de5: Download complete 12:10:19 b1e948a4e11c: Verifying Checksum 12:10:19 b1e948a4e11c: Download complete 12:10:19 59bf1c3509f3: Pull complete 12:10:19 666ba61612fd: Pull complete 12:10:19 8ed8ca486205: Pull complete 12:10:19 646ad004c059: Verifying Checksum 12:10:19 646ad004c059: Download complete 12:10:19 cc1cd167ecdc: Verifying Checksum 12:10:19 cc1cd167ecdc: Download complete 12:10:19 a8fd76ee1af6: Download complete 12:10:24 cc1cd167ecdc: Pull complete 12:10:24 c516ae0d96e1: Pull complete 12:10:24 684cea983483: Pull complete 12:10:24 dd3240ac7de5: Pull complete 12:10:24 b1e948a4e11c: Pull complete 12:10:26 a8fd76ee1af6: Pull complete 12:10:27 646ad004c059: Pull complete 12:10:27 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 12:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:10:27 ---> 8f69c11f6b0c 12:10:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:10:30 ---> Running in b3dd962c5d58 12:10:30 Removing intermediate container b3dd962c5d58 12:10:30 ---> f56afb799f5f 12:10:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:10:30 ---> Running in b532e9e289f6 12:10:30 Removing intermediate container b532e9e289f6 12:10:30 ---> cb66e9f85301 12:10:30 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:30 ---> Running in a8e288a82834 12:10:31 Removing intermediate container a8e288a82834 12:10:31 ---> 2077662b6d37 12:10:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:31 ---> Running in c2f2d300e6ba 12:10:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:10:31 Still waiting to schedule task 12:10:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16087’ is offline 12:10:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:10:32 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:10:32 (2/4) Installing libedit (20210910.3.1-r0) 12:10:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:10:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:10:33 Executing busybox-1.34.1-r3.trigger 12:10:33 OK: 224 MiB in 56 packages 12:10:33 Removing intermediate container c2f2d300e6ba 12:10:33 ---> d509b3a8b2e7 12:10:33 Step 7/12 : WORKDIR /device-mqtt-go 12:10:33 ---> Running in ed3c9c534201 12:10:33 Removing intermediate container ed3c9c534201 12:10:33 ---> fef6914e7c2a 12:10:33 Step 8/12 : COPY go.mod vendor* ./ 12:10:33 ---> 3ea09fe37308 12:10:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:33 ---> Running in 6516e5bbeca7 12:10:52 Removing intermediate container 6516e5bbeca7 12:10:52 ---> 9b95d2efc9bc 12:10:52 Step 10/12 : COPY . . 12:10:52 ---> b7b7423416ef 12:10:52 Step 11/12 : ARG MAKE='make build' 12:10:52 ---> Running in 925edf510490 12:10:52 Removing intermediate container 925edf510490 12:10:52 ---> e01cceebc177 12:10:52 Step 12/12 : RUN $MAKE 12:10:52 ---> Running in 46e972e3fd90 12:10:52 noop 12:10:52 Removing intermediate container 46e972e3fd90 12:10:52 ---> 634688fd651d 12:10:52 Successfully built 634688fd651d 12:10:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:52 + docker inspect -f . ci-base-image-x86_64 12:10:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:52 prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container 12:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@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 ******** ci-base-image-x86_64 cat 12:10:53 $ docker top c279896daa9499dd108a5fc65cc1b9265bb2a511c8edd176856750b9844c53c4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:53 + go version 12:10:53 go version go1.17.7 linux/amd64 [Pipeline] } 12:10:53 $ docker stop --time=1 c279896daa9499dd108a5fc65cc1b9265bb2a511c8edd176856750b9844c53c4 12:10:55 $ docker rm -f c279896daa9499dd108a5fc65cc1b9265bb2a511c8edd176856750b9844c53c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:55 + docker inspect -f . ci-base-image-x86_64 12:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:55 prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container 12:10:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@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 ******** ci-base-image-x86_64 cat 12:10:56 $ docker top 7b0ed373888a552bd2eec3e094c4688572825734f903bfed331e3fc55bbd13d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:10:56 + make test 12:10:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:10:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:11:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:11:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 12:11:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:11:15 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:11:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:19 ./bin/test-attribution-txt.sh [Pipeline] echo 12:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:19 $ docker stop --time=1 7b0ed373888a552bd2eec3e094c4688572825734f903bfed331e3fc55bbd13d1 12:11:21 $ docker rm -f 7b0ed373888a552bd2eec3e094c4688572825734f903bfed331e3fc55bbd13d1 [Pipeline] // withDockerContainer [Pipeline] sh 12:11:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:11:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:23 + ls -al . 12:11:23 total 180 12:11:23 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 12:11 . 12:11:23 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:09 .. 12:11:23 -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 12:09 .dockerignore 12:11:23 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 12:10 .git 12:11:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:09 .github 12:11:23 -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 12:09 .gitignore 12:11:23 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 12:09 .golangci.yml 12:11:23 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 12:10 .semver 12:11:23 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 12:09 Attribution.txt 12:11:23 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 12:09 CHANGELOG.md 12:11:23 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:09 Dockerfile 12:11:23 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 12:09 GOVERNANCE.md 12:11:23 -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 12:09 Jenkinsfile 12:11:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 12:09 LICENSE 12:11:23 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:09 Makefile 12:11:23 -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 12:09 OWNERS.md 12:11:23 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 12:09 README.md 12:11:23 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 12:10 VERSION 12:11:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:09 bin 12:11:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:09 cmd 12:11:23 -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 12:11 coverage.out 12:11:23 -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 12:09 go.mod 12:11:23 -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 12:09 go.sum 12:11:23 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:09 internal 12:11:23 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:09 mock 12:11:23 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:09 snap 12:11:23 -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 12:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:23 + 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=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b --label arch=amd64 --label version=0.0.0 . 12:11:23 Sending build context to Docker daemon 6.029MB 12:11:23 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:11:23 Step 2/24 : FROM ${BASE} AS builder 12:11:23 ---> 634688fd651d 12:11:23 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:11:23 ---> Running in d36f2bcdc365 12:11:23 Removing intermediate container d36f2bcdc365 12:11:23 ---> 3e6410f656b2 12:11:23 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:11:23 ---> Running in c40488430797 12:11:23 Removing intermediate container c40488430797 12:11:23 ---> 5cd0193fd23e 12:11:23 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:11:24 ---> Running in d0b326b71534 12:11:24 Removing intermediate container d0b326b71534 12:11:24 ---> ecde0f9fbc5f 12:11:24 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:24 ---> Running in a66b5d7fe204 12:11:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:11:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:11:26 OK: 224 MiB in 56 packages 12:11:26 Removing intermediate container a66b5d7fe204 12:11:26 ---> ad9879a63630 12:11:26 Step 7/24 : WORKDIR /device-mqtt-go 12:11:26 ---> Running in ed68a94dd8c0 12:11:26 Removing intermediate container ed68a94dd8c0 12:11:26 ---> 211c1a9e618b 12:11:26 Step 8/24 : COPY go.mod vendor* ./ 12:11:26 ---> 16b92149e094 12:11:26 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:26 ---> Running in 6e4717fe384c 12:11:27 Removing intermediate container 6e4717fe384c 12:11:27 ---> caf6bd9a1172 12:11:27 Step 10/24 : COPY . . 12:11:27 ---> da5cebbd06d6 12:11:27 Step 11/24 : ARG MAKE='make build' 12:11:27 ---> Running in fcbcec15c3ff 12:11:28 Removing intermediate container fcbcec15c3ff 12:11:28 ---> 12c209cdb4ad 12:11:28 Step 12/24 : RUN $MAKE 12:11:28 ---> Running in a8647fa18031 12:11:28 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 12:11:50 Removing intermediate container a8647fa18031 12:11:50 ---> 5dc33e7dd81c 12:11:50 Step 13/24 : FROM alpine:3.14 12:11:50 3.14: Pulling from library/alpine 12:11:50 8663204ce13b: Pulling fs layer 12:11:50 8663204ce13b: Verifying Checksum 12:11:50 8663204ce13b: Download complete 12:11:50 8663204ce13b: Pull complete 12:11:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:11:50 Status: Downloaded newer image for alpine:3.14 12:11:50 ---> e04c818066af 12:11:50 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:11:50 ---> Running in 94de2d2824fb 12:11:50 Removing intermediate container 94de2d2824fb 12:11:50 ---> 1ec3c08febb7 12:11:50 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:11:50 ---> Running in 16a9581fbd93 12:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:11:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:11:50 (1/6) Installing dumb-init (1.2.5-r1) 12:11:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:11:50 (3/6) Installing libsodium (1.0.18-r0) 12:11:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:11:51 (5/6) Installing libzmq (4.3.4-r0) 12:11:51 (6/6) Installing zeromq (4.3.4-r0) 12:11:51 Executing busybox-1.33.1-r7.trigger 12:11:51 OK: 8 MiB in 20 packages 12:11:51 Removing intermediate container 16a9581fbd93 12:11:51 ---> 44cd8e2e958c 12:11:51 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:11:52 ---> 87d1cf8bd398 12:11:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:11:52 ---> 4c18df9237e7 12:11:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:11:52 ---> d52380d6b9ac 12:11:52 Step 19/24 : EXPOSE 59982 12:11:52 ---> Running in 63441d2c8e38 12:11:52 Removing intermediate container 63441d2c8e38 12:11:52 ---> aee5d95d0732 12:11:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:11:52 ---> Running in ba707ed7a196 12:11:52 Removing intermediate container ba707ed7a196 12:11:52 ---> 46000f7aef59 12:11:52 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:11:52 ---> Running in d5f5b590105b 12:11:52 Removing intermediate container d5f5b590105b 12:11:52 ---> a290f2f31243 12:11:52 Step 22/24 : LABEL arch=amd64 12:11:53 ---> Running in f8d2b3d54483 12:11:53 Removing intermediate container f8d2b3d54483 12:11:53 ---> ef5a112762df 12:11:53 Step 23/24 : LABEL git_sha=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b 12:11:53 ---> Running in 27efdb6794ed 12:11:53 Removing intermediate container 27efdb6794ed 12:11:53 ---> 2f3262de1c39 12:11:53 Step 24/24 : LABEL version=0.0.0 12:11:53 ---> Running in e336e480b3e9 12:11:53 Removing intermediate container e336e480b3e9 12:11:53 ---> 316b137f4671 12:11:53 [Warning] One or more build-args [ARCH] were not consumed 12:11:53 Successfully built 316b137f4671 12:11:53 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 12:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:54 12:11:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:54 latest: Pulling from edgex-lftools-log-publisher 12:11:54 5eb5b503b376: Pulling fs layer 12:11:54 5c69ac0246d0: Pulling fs layer 12:11:54 ec43610c2a17: Pulling fs layer 12:11:54 3a2ae6a8a46f: Pulling fs layer 12:11:54 33b1e0a273af: Pulling fs layer 12:11:54 5d3b04190fa2: Pulling fs layer 12:11:54 2f39f015ded8: Pulling fs layer 12:11:54 3a2ae6a8a46f: Waiting 12:11:54 33b1e0a273af: Waiting 12:11:54 5d3b04190fa2: Waiting 12:11:54 2f39f015ded8: Waiting 12:11:54 5c69ac0246d0: Download complete 12:11:54 3a2ae6a8a46f: Verifying Checksum 12:11:54 3a2ae6a8a46f: Download complete 12:11:54 33b1e0a273af: Verifying Checksum 12:11:54 33b1e0a273af: Download complete 12:11:54 5d3b04190fa2: Verifying Checksum 12:11:54 5d3b04190fa2: Download complete 12:11:54 ec43610c2a17: Download complete 12:11:54 5eb5b503b376: Verifying Checksum 12:11:54 5eb5b503b376: Download complete 12:11:55 2f39f015ded8: Download complete 12:11:56 5eb5b503b376: Pull complete 12:11:56 5c69ac0246d0: Pull complete 12:11:56 ec43610c2a17: Pull complete 12:11:56 3a2ae6a8a46f: Pull complete 12:11:57 33b1e0a273af: Pull complete 12:11:57 5d3b04190fa2: Pull complete 12:12:02 2f39f015ded8: Pull complete 12:12:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:12:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:02 prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container 12:12:02 $ 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-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:12:05 $ docker top 840084a33217ddd185a6c113bdd2afa60fffc47f08b95e10e965d18f2ee635f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:05 ---> job-cost.sh 12:12:05 lf-activate-venv: SKIPPING 12:12:05 INFO: No Stack... 12:12:06 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:06 INFO: Archiving Costs [Pipeline] sh 12:12:06 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives/cost.csv 12:12:06 + cut -d, -f6 [Pipeline] lock 12:12:06 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] 12:12:06 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] did not exist. Created. 12:12:06 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:07 + echo total: 0.2199999988079071 [Pipeline] stash 12:12:07 Stashed 1 file(s) [Pipeline] } 12:12:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:07 $ docker stop --time=1 840084a33217ddd185a6c113bdd2afa60fffc47f08b95e10e965d18f2ee635f7 12:12:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16090 in /w/workspace/gexfoundry_device-mqtt-go_PR-396 12:12:08 $ docker rm -f 840084a33217ddd185a6c113bdd2afa60fffc47f08b95e10e965d18f2ee635f7 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 12:12:08 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 12:12:08 Selected Git installation does not exist. Using Default 12:12:08 The recommended git tool is: NONE [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:12:14 using credential edgex-jenkins-ssh 12:12:14 Cloning the remote Git repository 12:12:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 12:12:15 > git init /w/workspace/device-mqtt-go/1 # timeout=10 12:12:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:12:15 > git --version # timeout=10 12:12:15 > git --version # 'git version 2.25.1' 12:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:12:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:12:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:12:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:12:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:12:16 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:12:17 Merging remotes/origin/main commit af7f42834155496da65d108934e36d5a2fb2bcc1 into PR head commit 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b 12:12:17 Merge succeeded, producing 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b 12:12:17 Checking out Revision 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b (PR-396) 12:12:17 > git config core.sparsecheckout # timeout=10 12:12:17 > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # timeout=10 12:12:17 > git remote # timeout=10 12:12:17 > git config --get remote.origin.url # timeout=10 12:12:17 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:17 > git merge af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 12:12:17 > git rev-parse HEAD^{commit} # timeout=10 12:12:17 > git config core.sparsecheckout # timeout=10 12:12:17 > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # timeout=10 12:12:21 Commit message: "fix: replace broker host config with a valid example" 12:12:21 > git --version # timeout=10 12:12:21 > git --version # 'git version 2.25.1' 12:12:21 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:12:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:12:22 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:22 Dload Upload Total Spent Left Speed 12:12:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 82234 0 --:--:-- --:--:-- --:--:-- 82790 [Pipeline] sh 12:12:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:12:23 + sudo tee /etc/docker/daemon.new 12:12:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:12:23 { 12:12:23 "registry-mirrors": [ 12:12:23 "https://nexus3.edgexfoundry.org:10001" 12:12:23 ], 12:12:23 "bip": "10.250.0.254/24", 12:12:23 "hosts": [ 12:12:23 "tcp://0.0.0.0:5555", 12:12:23 "unix:///var/run/docker.sock" 12:12:23 ], 12:12:23 "mtu": 1458, 12:12:23 "selinux-enabled": true, 12:12:23 "seccomp-profile": "/etc/docker/seccomp.json" 12:12:23 } [Pipeline] sh 12:12:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:12:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:43 provisioning config files... 12:12:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7400867672713817913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:43 ---> docker-login.sh 12:12:43 nexus3.edgexfoundry.org:10001 12:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:44 Configure a credential helper to remove this warning. See 12:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:44 12:12:44 Login Succeeded 12:12:44 nexus3.edgexfoundry.org:10002 12:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:44 Configure a credential helper to remove this warning. See 12:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:44 12:12:44 Login Succeeded 12:12:44 nexus3.edgexfoundry.org:10003 12:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:45 Configure a credential helper to remove this warning. See 12:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:45 12:12:45 Login Succeeded 12:12:45 nexus3.edgexfoundry.org:10004 12:12:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:45 Configure a credential helper to remove this warning. See 12:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:45 12:12:45 Login Succeeded 12:12:45 docker.io 12:12:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:46 Configure a credential helper to remove this warning. See 12:12:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:46 12:12:46 Login Succeeded 12:12:46 ---> docker-login.sh ends [Pipeline] } 12:12:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:47 ========================================================= 12:12:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:12:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:47 + 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 . 12:12:48 Sending build context to Docker daemon 3.107MB 12:12:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:12:48 Step 2/12 : FROM ${BASE} AS builder 12:12:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:12:48 9b3977197b4f: Pulling fs layer 12:12:48 1a89e8eeedd5: Pulling fs layer 12:12:48 94645a83ff95: Pulling fs layer 12:12:48 e6fb740bc735: Pulling fs layer 12:12:48 3a77bd46dcc9: Pulling fs layer 12:12:48 355e64cbe906: Pulling fs layer 12:12:48 63ab81a10011: Pulling fs layer 12:12:48 555d1d1c4555: Pulling fs layer 12:12:48 7d9057610161: Pulling fs layer 12:12:48 63ab81a10011: Waiting 12:12:48 e6fb740bc735: Waiting 12:12:48 555d1d1c4555: Waiting 12:12:48 3a77bd46dcc9: Waiting 12:12:48 355e64cbe906: Waiting 12:12:48 7d9057610161: Waiting 12:12:48 94645a83ff95: Verifying Checksum 12:12:48 94645a83ff95: Download complete 12:12:48 1a89e8eeedd5: Verifying Checksum 12:12:48 1a89e8eeedd5: Download complete 12:12:48 3a77bd46dcc9: Download complete 12:12:48 355e64cbe906: Verifying Checksum 12:12:48 355e64cbe906: Download complete 12:12:48 9b3977197b4f: Verifying Checksum 12:12:48 9b3977197b4f: Download complete 12:12:48 63ab81a10011: Verifying Checksum 12:12:48 63ab81a10011: Download complete 12:12:49 9b3977197b4f: Pull complete 12:12:49 7d9057610161: Verifying Checksum 12:12:49 7d9057610161: Download complete 12:12:49 1a89e8eeedd5: Pull complete 12:12:50 94645a83ff95: Pull complete 12:12:50 555d1d1c4555: Verifying Checksum 12:12:50 555d1d1c4555: Download complete 12:12:51 e6fb740bc735: Verifying Checksum 12:12:51 e6fb740bc735: Download complete 12:13:03 e6fb740bc735: Pull complete 12:13:03 3a77bd46dcc9: Pull complete 12:13:03 355e64cbe906: Pull complete 12:13:03 63ab81a10011: Pull complete 12:13:10 555d1d1c4555: Pull complete 12:13:12 7d9057610161: Pull complete 12:13:12 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 12:13:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:13:12 ---> 819e984ddca1 12:13:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:13:13 ---> Running in 8c4c7186122b 12:13:13 Removing intermediate container 8c4c7186122b 12:13:13 ---> 7195d5f9ed85 12:13:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:13:13 ---> Running in e35c25f8a41b 12:13:13 Removing intermediate container e35c25f8a41b 12:13:13 ---> 93e7c08c3006 12:13:13 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:13:13 ---> Running in d21f777b2471 12:13:16 Removing intermediate container d21f777b2471 12:13:16 ---> cb2d34b1465a 12:13:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:13:16 ---> Running in dab336416de2 12:13:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:13:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:13:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:13:19 (2/4) Installing libedit (20210910.3.1-r0) 12:13:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:13:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:13:19 Executing busybox-1.34.1-r3.trigger 12:13:19 OK: 224 MiB in 56 packages 12:13:20 Removing intermediate container dab336416de2 12:13:20 ---> 39660acfdf8b 12:13:20 Step 7/12 : WORKDIR /device-mqtt-go 12:13:20 ---> Running in 2fe9717aec7a 12:13:20 Removing intermediate container 2fe9717aec7a 12:13:20 ---> 7ca11feb084e 12:13:20 Step 8/12 : COPY go.mod vendor* ./ 12:13:21 ---> e64099e0d2ce 12:13:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:13:21 ---> Running in 6b01d226af02 12:14:08 Removing intermediate container 6b01d226af02 12:14:08 ---> 8bdfc90f8d11 12:14:08 Step 10/12 : COPY . . 12:14:08 ---> 91068cb82866 12:14:08 Step 11/12 : ARG MAKE='make build' 12:14:08 ---> Running in a80ab3f3cbc6 12:14:08 Removing intermediate container a80ab3f3cbc6 12:14:08 ---> 55a055078801 12:14:08 Step 12/12 : RUN $MAKE 12:14:08 ---> Running in 4693f9534f18 12:14:08 noop 12:14:08 Removing intermediate container 4693f9534f18 12:14:08 ---> ec96899ad1ec 12:14:08 Successfully built ec96899ad1ec 12:14:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:08 + docker inspect -f . ci-base-image-arm64 12:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:09 prd-ubuntu20.04-docker-arm64-4c-16g-16090 does not seem to be running inside a container 12:14:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:14:10 $ docker top 7f5c9acd60f48a26dc232e007af0399eda60674bfb147904a0531a5d99f2224e -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:11 + go version 12:14:11 go version go1.17.7 linux/arm64 [Pipeline] } 12:14:11 $ docker stop --time=1 7f5c9acd60f48a26dc232e007af0399eda60674bfb147904a0531a5d99f2224e 12:14:13 $ docker rm -f 7f5c9acd60f48a26dc232e007af0399eda60674bfb147904a0531a5d99f2224e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:14 + docker inspect -f . ci-base-image-arm64 12:14:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:14 prd-ubuntu20.04-docker-arm64-4c-16g-16090 does not seem to be running inside a container 12:14:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:14:15 $ docker top d8b044388f17b59a34ab73ab4c1d172acbafff14a2891ec8428bfad65e8b12b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:14:16 + make test 12:14:16 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:14:18 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:15:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:15:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 12:15:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:15:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:15:40 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:16:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:16:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:16:02 ./bin/test-attribution-txt.sh [Pipeline] echo 12:16:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:16:05 $ docker stop --time=1 d8b044388f17b59a34ab73ab4c1d172acbafff14a2891ec8428bfad65e8b12b9 12:16:06 $ docker rm -f d8b044388f17b59a34ab73ab4c1d172acbafff14a2891ec8428bfad65e8b12b9 [Pipeline] // withDockerContainer [Pipeline] sh 12:16:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:16:07 Warning: overwriting stash ‘coverage-report’ 12:16:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:16:09 + ls -al . 12:16:09 total 176 12:16:09 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 12:16 . 12:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:12 .. 12:16:09 -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 12:12 .dockerignore 12:16:09 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 12:12 .git 12:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:12 .github 12:16:09 -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 12:12 .gitignore 12:16:09 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 12:12 .golangci.yml 12:16:09 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 12:12 Attribution.txt 12:16:09 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 12:12 CHANGELOG.md 12:16:09 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:12 Dockerfile 12:16:09 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 12:12 GOVERNANCE.md 12:16:09 -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 12:12 Jenkinsfile 12:16:09 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 12:12 LICENSE 12:16:09 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:12 Makefile 12:16:09 -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 12:12 OWNERS.md 12:16:09 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 12:12 README.md 12:16:09 -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 12:10 VERSION 12:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:12 bin 12:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:12 cmd 12:16:09 -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 12:15 coverage.out 12:16:09 -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 12:12 go.mod 12:16:09 -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 12:12 go.sum 12:16:09 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:12 internal 12:16:09 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:12 mock 12:16:09 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:12 snap 12:16:09 -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 12:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:09 + 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=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b --label arch=arm64 --label version=0.0.0 . 12:16:09 Sending build context to Docker daemon 3.125MB 12:16:09 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:16:09 Step 2/24 : FROM ${BASE} AS builder 12:16:09 ---> ec96899ad1ec 12:16:09 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:16:10 ---> Running in e2644c2c8a2e 12:16:10 Removing intermediate container e2644c2c8a2e 12:16:10 ---> 47dc8a97cb08 12:16:10 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:16:10 ---> Running in a188bc25d036 12:16:10 Removing intermediate container a188bc25d036 12:16:10 ---> d7968eeed7f0 12:16:10 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:16:10 ---> Running in 87ecae1c4294 12:16:12 Removing intermediate container 87ecae1c4294 12:16:12 ---> 16739a073900 12:16:12 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:16:12 ---> Running in b688ebc7c212 12:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:16:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:16:15 OK: 224 MiB in 56 packages 12:16:15 Removing intermediate container b688ebc7c212 12:16:15 ---> 5b0474d357c4 12:16:15 Step 7/24 : WORKDIR /device-mqtt-go 12:16:16 ---> Running in 032c10b99e9b 12:16:16 Removing intermediate container 032c10b99e9b 12:16:16 ---> 910cc488e257 12:16:16 Step 8/24 : COPY go.mod vendor* ./ 12:16:17 ---> e5202d69c083 12:16:17 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:17 ---> Running in 2dc2e361706d 12:16:19 Removing intermediate container 2dc2e361706d 12:16:19 ---> 32943caf4483 12:16:19 Step 10/24 : COPY . . 12:16:20 ---> 5d7f45adfc08 12:16:20 Step 11/24 : ARG MAKE='make build' 12:16:20 ---> Running in a75de38ca445 12:16:20 Removing intermediate container a75de38ca445 12:16:20 ---> 0ae5b95a907e 12:16:20 Step 12/24 : RUN $MAKE 12:16:20 ---> Running in bf5cfff3f603 12:16:21 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 12:18:28 Removing intermediate container bf5cfff3f603 12:18:28 ---> 9c0c32218b5f 12:18:28 Step 13/24 : FROM alpine:3.14 12:18:28 3.14: Pulling from library/alpine 12:18:28 455c02918c45: Pulling fs layer 12:18:28 455c02918c45: Verifying Checksum 12:18:28 455c02918c45: Download complete 12:18:28 455c02918c45: Pull complete 12:18:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:18:28 Status: Downloaded newer image for alpine:3.14 12:18:28 ---> ac73e934f311 12:18:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:18:28 ---> Running in 78209931f986 12:18:28 Removing intermediate container 78209931f986 12:18:28 ---> 4844b35e15e4 12:18:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:18:28 ---> Running in 0cc37c2b291d 12:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:18:28 (1/6) Installing dumb-init (1.2.5-r1) 12:18:28 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:18:28 (3/6) Installing libsodium (1.0.18-r0) 12:18:28 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:18:28 (5/6) Installing libzmq (4.3.4-r0) 12:18:28 (6/6) Installing zeromq (4.3.4-r0) 12:18:28 Executing busybox-1.33.1-r7.trigger 12:18:28 OK: 8 MiB in 20 packages 12:18:28 Removing intermediate container 0cc37c2b291d 12:18:28 ---> cd8f9a38aab7 12:18:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:18:28 ---> f37e8c699e65 12:18:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:18:28 ---> 2b8d9764978b 12:18:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:18:28 ---> fe1f24726b61 12:18:28 Step 19/24 : EXPOSE 59982 12:18:28 ---> Running in 54fb47dc37d9 12:18:28 Removing intermediate container 54fb47dc37d9 12:18:28 ---> e127d022c5be 12:18:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:18:28 ---> Running in 22bd07e443c6 12:18:28 Removing intermediate container 22bd07e443c6 12:18:28 ---> b726519469c1 12:18:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:18:28 ---> Running in 85cff407e738 12:18:28 Removing intermediate container 85cff407e738 12:18:28 ---> fab565f24cb6 12:18:28 Step 22/24 : LABEL arch=arm64 12:18:28 ---> Running in 3cd133a02cee 12:18:28 Removing intermediate container 3cd133a02cee 12:18:28 ---> 3e00656751b1 12:18:28 Step 23/24 : LABEL git_sha=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b 12:18:28 ---> Running in f6422c1e9c96 12:18:28 Removing intermediate container f6422c1e9c96 12:18:28 ---> f271e50d5e44 12:18:28 Step 24/24 : LABEL version=0.0.0 12:18:28 ---> Running in eaeb51317057 12:18:28 Removing intermediate container eaeb51317057 12:18:28 ---> 4ec20b335dc5 12:18:28 [Warning] One or more build-args [ARCH] were not consumed 12:18:28 Successfully built 4ec20b335dc5 12:18:28 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 12:18:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:18:28 12:18:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:18:29 arm64: Pulling from edgex-lftools-log-publisher 12:18:29 8998bd30e6a1: Pulling fs layer 12:18:29 04944245beec: Pulling fs layer 12:18:29 699f458cf7ca: Pulling fs layer 12:18:29 765212b225bb: Pulling fs layer 12:18:29 f23df028b6ca: Pulling fs layer 12:18:29 d65c8cfc05b1: Pulling fs layer 12:18:29 2437ff75d9bd: Pulling fs layer 12:18:29 f23df028b6ca: Waiting 12:18:29 d65c8cfc05b1: Waiting 12:18:29 2437ff75d9bd: Waiting 12:18:29 765212b225bb: Waiting 12:18:29 04944245beec: Verifying Checksum 12:18:29 04944245beec: Download complete 12:18:29 765212b225bb: Verifying Checksum 12:18:29 765212b225bb: Download complete 12:18:29 f23df028b6ca: Verifying Checksum 12:18:29 f23df028b6ca: Download complete 12:18:29 d65c8cfc05b1: Verifying Checksum 12:18:29 d65c8cfc05b1: Download complete 12:18:29 699f458cf7ca: Verifying Checksum 12:18:29 699f458cf7ca: Download complete 12:18:30 8998bd30e6a1: Verifying Checksum 12:18:30 8998bd30e6a1: Download complete 12:18:32 2437ff75d9bd: Verifying Checksum 12:18:32 2437ff75d9bd: Download complete 12:18:34 8998bd30e6a1: Pull complete 12:18:34 04944245beec: Pull complete 12:18:36 699f458cf7ca: Pull complete 12:18:36 765212b225bb: Pull complete 12:18:37 f23df028b6ca: Pull complete 12:18:37 d65c8cfc05b1: Pull complete 12:18:52 2437ff75d9bd: Pull complete 12:18:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:18:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:18:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:52 prd-ubuntu20.04-docker-arm64-4c-16g-16090 does not seem to be running inside a container 12:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:18:55 $ docker top 280cb2465796ddb7c268f4441d05274332d72031b1a9dcee8fcca9a47426211e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:18:56 ---> job-cost.sh 12:18:56 lf-activate-venv: SKIPPING 12:18:56 INFO: No Stack... 12:18:57 INFO: Retrieving Pricing Info for: v3-standard-4 12:18:57 INFO: Archiving Costs [Pipeline] sh 12:18:58 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 12:18:58 + cut -d, -f6 [Pipeline] lock 12:18:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] 12:18:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] did not exist. Created. 12:18:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:18:59 /w/workspace/device-mqtt-go/1@tmp/durable-e3b3cd68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:18:59 + echo total: 0.10999999940395355 [Pipeline] stash 12:19:00 Warning: overwriting stash ‘stack-cost’ 12:19:00 Stashed 1 file(s) [Pipeline] } 12:19:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:19:00 $ docker stop --time=1 280cb2465796ddb7c268f4441d05274332d72031b1a9dcee8fcca9a47426211e 12:19:01 $ docker rm -f 280cb2465796ddb7c268f4441d05274332d72031b1a9dcee8fcca9a47426211e [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 12:19:02 provisioning config files... 12:19:02 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config8748625834866906565tmp [Pipeline] { [Pipeline] sh 12:19:03 + set +x 12:19:03 + curl -s https://codecov.io/bash 12:19:03 + bash -s -- 12:19:03 12:19:03 _____ _ 12:19:03 / ____| | | 12:19:03 | | ___ __| | ___ ___ _____ __ 12:19:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:19:03 | |___| (_) | (_| | __/ (_| (_) \ V / 12:19:03 \_____\___/ \__,_|\___|\___\___/ \_/ 12:19:03 Bash-1.0.6 12:19:03 12:19:03 12:19:03 ==> git version 2.25.1 found 12:19:03 ==> 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 12:19:03 Release-Date: 2020-01-08 12:19:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:19:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:19:03 ==> Jenkins CI detected. 12:19:03 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-396 12:19:03 project root: . 12:19:03 --> token set from env 12:19:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:19:03 ==> Running gcov in . (disable via -X gcov) 12:19:03 ==> Python coveragepy not found 12:19:03 ==> Searching for coverage reports in: 12:19:03 + . 12:19:03 -> Found 1 reports 12:19:03 ==> Detecting git/mercurial file structure 12:19:03 ==> Reading reports 12:19:03 + ./coverage.out bytes=17887 12:19:03 ==> Appending adjustments 12:19:03 https://docs.codecov.io/docs/fixing-reports 12:19:03 + Found adjustments 12:19:03 ==> Gzipping contents 12:19:03 4.0K /tmp/codecov.jRJIa3.gz 12:19:03 ==> Uploading reports 12:19:03 url: https://codecov.io 12:19:03 query: branch=PR-396&commit=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=396&job=&cmd_args= 12:19:03 -> Pinging Codecov 12:19:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-396&commit=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=396&job=&cmd_args= 12:19:03 -> Uploading to 12:19:03 https://storage.googleapis.com/codecov/v4/raw/2022-06-27/7D719EC7BBE17E464838252E33014C33/8ee1ea56f803a2b2c9168ac21e71316d7ccb353b/1cbeb135-0049-4b05-9f46-2b504b216ad1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T121903Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06c411921cc6e1676ca1450de90f47117d5cace98a1dbbc35a7f97e55bf920df 12:19:03 % Total % Received % Xferd Average Speed Time Time Time Current 12:19:03 Dload Upload Total Spent Left Speed 12:19:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 9287 --:--:-- --:--:-- --:--:-- 9287 12:19:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] } 12:19:03 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 12:19:05 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives ] 12:19:05 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives 12:19:05 total 16 12:19:05 drwxr-xr-x 3 root root 4096 Jun 27 12:12 . 12:19:05 drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 12:12 .. 12:19:05 drwxr-xr-x 2 root root 4096 Jun 27 12:12 cost 12:19:05 -rw-r--r-- 1 root root 85 Jun 27 12:12 cost.csv 12:19:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives 12:19:05 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives 12:19:05 total 16 12:19:05 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 12:12 . 12:19:05 drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 12:12 .. 12:19:05 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 12:12 cost 12:19:05 -rw-r--r-- 1 jenkins jenkins 85 Jun 27 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:19:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:19:06 ---> package-listing.sh 12:19:06 ++ facter osfamily 12:19:06 ++ tr '[:upper:]' '[:lower:]' 12:19:07 + OS_FAMILY=debian 12:19:07 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-396 12:19:07 + START_PACKAGES=/tmp/packages_start.txt 12:19:07 + END_PACKAGES=/tmp/packages_end.txt 12:19:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:19:07 + PACKAGES=/tmp/packages_start.txt 12:19:07 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-396 ']' 12:19:07 + PACKAGES=/tmp/packages_end.txt 12:19:07 + case "${OS_FAMILY}" in 12:19:07 + dpkg -l 12:19:07 + grep '^ii' 12:19:07 + '[' -f /tmp/packages_start.txt ']' 12:19:07 + '[' -f /tmp/packages_end.txt ']' 12:19:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:19:07 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-396 ']' 12:19:07 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives/ 12:19:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives/ [Pipeline] echo 12:19:07 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:19:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:19:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:19:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:19:08 prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container 12:19:08 $ 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-396/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-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:19:08 $ docker top 19b97eeac9f20fb6c72c573f8bee885c1640d5a522df8e0fff76999112e2fb97 -eo pid,comm [Pipeline] { [Pipeline] sh 12:19:08 + touch /tmp/pre-build-complete [Pipeline] sh 12:19:09 + mkdir -p /var/log/sysstat [Pipeline] sh 12:19:09 + ls /var/log/sa-host 12:19:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:19:09 provisioning config files... 12:19:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config3622445485752641650tmp [Pipeline] { [Pipeline] echo 12:19:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:19:09 ---> create-netrc.sh [Pipeline] } 12:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:19:10 ---> python-tools-install.sh [Pipeline] echo 12:19:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:19:10 ---> sudo-logs.sh 12:19:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:19:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:19:11 ---> job-cost.sh 12:19:11 lf-activate-venv: SKIPPING 12:19:11 DEBUG: total: 0.2199999988079071 12:19:11 INFO: Retrieving Stack Cost... 12:19:11 INFO: Retrieving Pricing Info for: v3-standard-8 12:19:11 INFO: Archiving Costs [Pipeline] echo 12:19:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:19:12 ---> logs-deploy.sh 12:19:12 lf-activate-venv: SKIPPING 12:19:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-396/1 12:19:12 INFO: archiving workspace using pattern(s): 12:19:13 Archives upload complete. 12:19:13 INFO: archiving logs to Nexus