Pull request #438 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f91d1fa7e9db7810a1f7edc641d0f88056783f3+caab5c19f0226ea205a717313438d75c5b5382a1 (26c9332147b5cb137bba51a8b89d1bdcd6150664) 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-ssh4236306835860880036.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17000599481491261393.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-438/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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7439918023975589820.key Verifying host key using known hosts file > 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-438/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18069995467654888992.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh14027186608767998558.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-438/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-438/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5975336052053684472.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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-118346’ Running on prd-ubuntu20.04-docker-8c-8g-118358 in /w/workspace/gexfoundry_device-mqtt-go_PR-438 [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-438 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 Merge succeeded, producing 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 Checking out Revision 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 (PR-438) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:04:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 [Pipeline] withCredentials 01:04:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:13 ========================================================= 01:04:13 EdgeX Global Pipelines Version Info 01:04:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:14 ------------------- 01:04:14 stable info: 01:04:14 ------------------- 01:04:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:04:14 Message: update stable to v1.0.244 01:04:14 ------------------- 01:04:14 experimental info: 01:04:14 ------------------- 01:04:14 Commited By: **** collab-it+edgex@linuxfoundation.org 01:04:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:04:14 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-438 [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-438 [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-438 [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f91d1f [Pipeline] echo 01:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:16 provisioning config files... 01:04:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config5552738912348829037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:17 ---> docker-login.sh 01:04:17 nexus3.edgexfoundry.org:10001 01:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:17 Configure a credential helper to remove this warning. See 01:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:17 01:04:17 Login Succeeded 01:04:17 nexus3.edgexfoundry.org:10002 01:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:17 Configure a credential helper to remove this warning. See 01:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:17 01:04:17 Login Succeeded 01:04:17 nexus3.edgexfoundry.org:10003 01:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:17 Configure a credential helper to remove this warning. See 01:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:17 01:04:17 Login Succeeded 01:04:17 nexus3.edgexfoundry.org:10004 01:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:17 Configure a credential helper to remove this warning. See 01:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:17 01:04:17 Login Succeeded 01:04:17 docker.io 01:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:18 Configure a credential helper to remove this warning. See 01:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:18 01:04:18 Login Succeeded 01:04:18 ---> docker-login.sh ends [Pipeline] } 01:04:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:18 + git rev-list -1 --merges 1f91d1fa7e9db7810a1f7edc641d0f88056783f3~1..1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo 01:04:18 -----------> git rev-list -1 --merges 1f91d1fa7e9db7810a1f7edc641d0f88056783f3~1..1f91d1fa7e9db7810a1f7edc641d0f88056783f3 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [false] [Pipeline] sh 01:04:19 + git log --format=format:%s -1 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo 01:04:19 ========================================================= 01:04:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:19 + git log --format=format:%s -1 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] echo 01:04:19 [semverPrep] GIT_COMMIT: 1f91d1fa7e9db7810a1f7edc641d0f88056783f3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:04:19 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:20 + grep -v github /etc/ssh/ssh_known_hosts 01:04:20 + [ -e /tmp/ssh_known_hosts ] 01:04:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:20 + sudo tee -a /etc/ssh/ssh_known_hosts 01:04:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:20 01:04:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:20 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:20 b85a868b505f: Pulling fs layer 01:04:20 e2be974225ed: Pulling fs layer 01:04:20 339a4e72a1f5: Pulling fs layer 01:04:20 988bab9f4d93: Pulling fs layer 01:04:20 1469e6f7b9e6: Pulling fs layer 01:04:20 eaf3925da568: Pulling fs layer 01:04:20 bab4dde63d76: Pulling fs layer 01:04:20 bde34c3a00c8: Pulling fs layer 01:04:20 b352a97aabf1: Pulling fs layer 01:04:20 4872d77fe225: Pulling fs layer 01:04:20 5851b861e8e6: Pulling fs layer 01:04:20 1469e6f7b9e6: Waiting 01:04:20 eaf3925da568: Waiting 01:04:20 bab4dde63d76: Waiting 01:04:20 bde34c3a00c8: Waiting 01:04:20 b352a97aabf1: Waiting 01:04:20 4872d77fe225: Waiting 01:04:20 5851b861e8e6: Waiting 01:04:20 988bab9f4d93: Waiting 01:04:20 e2be974225ed: Verifying Checksum 01:04:20 e2be974225ed: Download complete 01:04:20 988bab9f4d93: Verifying Checksum 01:04:20 988bab9f4d93: Download complete 01:04:21 339a4e72a1f5: Verifying Checksum 01:04:21 339a4e72a1f5: Download complete 01:04:21 eaf3925da568: Verifying Checksum 01:04:21 eaf3925da568: Download complete 01:04:21 b85a868b505f: Verifying Checksum 01:04:21 b85a868b505f: Download complete 01:04:21 bde34c3a00c8: Verifying Checksum 01:04:21 bde34c3a00c8: Download complete 01:04:21 b352a97aabf1: Download complete 01:04:21 4872d77fe225: Verifying Checksum 01:04:21 4872d77fe225: Download complete 01:04:21 5851b861e8e6: Verifying Checksum 01:04:21 5851b861e8e6: Download complete 01:04:21 bab4dde63d76: Verifying Checksum 01:04:21 bab4dde63d76: Download complete 01:04:21 1469e6f7b9e6: Verifying Checksum 01:04:21 1469e6f7b9e6: Download complete 01:04:22 b85a868b505f: Pull complete 01:04:22 e2be974225ed: Pull complete 01:04:23 339a4e72a1f5: Pull complete 01:04:23 988bab9f4d93: Pull complete 01:04:23 1469e6f7b9e6: Pull complete 01:04:23 eaf3925da568: Pull complete 01:04:25 bab4dde63d76: Pull complete 01:04:25 bde34c3a00c8: Pull complete 01:04:25 b352a97aabf1: Pull complete 01:04:25 4872d77fe225: Pull complete 01:04:25 5851b861e8e6: Pull complete 01:04:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:04:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:26 prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container 01:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:04:27 $ docker top 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 -eo pid,comm 01:04:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:04:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:28 [ssh-agent] Looking for ssh-agent implementation... 01:04:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:28 $ docker exec 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent 01:04:28 SSH_AUTH_SOCK=/tmp/ssh-MvfXXHD4EmkG/agent.33 01:04:28 SSH_AGENT_PID=40 01:04:28 Running ssh-add (command line suppressed) 01:04:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_12185681090547806145.key (/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_12185681090547806145.key) 01:04:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:28 + git tag --points-at HEAD [Pipeline] } 01:04:28 $ docker exec --env ******** --env ******** 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent -k 01:04:28 unset SSH_AUTH_SOCK; 01:04:28 unset SSH_AGENT_PID; 01:04:28 echo Agent pid 40 killed; 01:04:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:28 [ssh-agent] Looking for ssh-agent implementation... 01:04:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:29 $ docker exec 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent 01:04:29 SSH_AUTH_SOCK=/tmp/ssh-77WSNbc4BxW5/agent.72 01:04:29 SSH_AGENT_PID=78 01:04:29 Running ssh-add (command line suppressed) 01:04:29 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_14722559145952545277.key (/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/private_key_14722559145952545277.key) 01:04:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:29 + git semver init 01:04:29 2022-11-07 01:04:29,872 [run_init] DEBUG init version:0.0.0 force:False 01:04:29 2022-11-07 01:04:29,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver 01:04:29 2022-11-07 01:04:29,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver 01:04:29 2022-11-07 01:04:29,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-438, universal_newlines=False, shell=None, istream=None) 01:04:30 2022-11-07 01:04:30,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.git/info/exclude 01:04:30 2022-11-07 01:04:30,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver/PR-438 with force:False 01:04:30 2022-11-07 01:04:30,809 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver/PR-438 01:04:30 2022-11-07 01:04:30,813 [execute] INFO git cat-file --batch-check 01:04:30 2022-11-07 01:04:30,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver, universal_newlines=False, shell=None, istream=) 01:04:30 2022-11-07 01:04:30,821 [execute] INFO git cat-file --batch 01:04:30 2022-11-07 01:04:30,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver, universal_newlines=False, shell=None, istream=) 01:04:30 2022-11-07 01:04:30,828 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-438/.semver/PR-438 01:04:30 0.0.0 [Pipeline] } 01:04:30 $ docker exec --env ******** --env ******** 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 ssh-agent -k 01:04:31 unset SSH_AUTH_SOCK; 01:04:31 unset SSH_AGENT_PID; 01:04:31 echo Agent pid 78 killed; 01:04:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:31 + git semver [Pipeline] } 01:04:31 $ docker stop --time=1 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 01:04:33 $ docker rm -f 240096d234e8abef2964fe6dc90d8671d0f110b1bed0bb5fcdc1c41bf2bda1a1 [Pipeline] // withDockerContainer [Pipeline] sh 01:04:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:33 Stashed 1 file(s) [Pipeline] echo 01:04:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:34 provisioning config files... 01:04:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config5654667241317385751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:34 ---> docker-login.sh 01:04:34 nexus3.edgexfoundry.org:10001 01:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:34 Configure a credential helper to remove this warning. See 01:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:34 01:04:34 Login Succeeded 01:04:34 nexus3.edgexfoundry.org:10002 01:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:34 Configure a credential helper to remove this warning. See 01:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:34 01:04:34 Login Succeeded 01:04:34 nexus3.edgexfoundry.org:10003 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 nexus3.edgexfoundry.org:10004 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 docker.io 01:04:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:35 Configure a credential helper to remove this warning. See 01:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:35 01:04:35 Login Succeeded 01:04:35 ---> docker-login.sh ends [Pipeline] } 01:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:35 ========================================================= 01:04:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:04:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:36 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:04:36 Sending build context to Docker daemon 6.262MB 01:04:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:04:36 Step 2/12 : FROM ${BASE} AS builder 01:04:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:04:36 213ec9aee27d: Pulling fs layer 01:04:36 4583459ba037: Pulling fs layer 01:04:36 93c1e223e6f2: Pulling fs layer 01:04:36 53926ce57604: Pulling fs layer 01:04:36 21b2b0c7a3f4: Pulling fs layer 01:04:36 22ff95d597cd: Pulling fs layer 01:04:36 12d6caf4c0d1: Pulling fs layer 01:04:36 96b7cbca73a9: Pulling fs layer 01:04:36 a7acece74701: Pulling fs layer 01:04:36 53926ce57604: Waiting 01:04:36 21b2b0c7a3f4: Waiting 01:04:36 22ff95d597cd: Waiting 01:04:36 12d6caf4c0d1: Waiting 01:04:36 96b7cbca73a9: Waiting 01:04:36 a7acece74701: Waiting 01:04:36 93c1e223e6f2: Verifying Checksum 01:04:36 93c1e223e6f2: Download complete 01:04:36 4583459ba037: Verifying Checksum 01:04:36 4583459ba037: Download complete 01:04:36 21b2b0c7a3f4: Verifying Checksum 01:04:36 21b2b0c7a3f4: Download complete 01:04:36 22ff95d597cd: Verifying Checksum 01:04:36 22ff95d597cd: Download complete 01:04:36 213ec9aee27d: Download complete 01:04:36 12d6caf4c0d1: Verifying Checksum 01:04:36 12d6caf4c0d1: Download complete 01:04:36 213ec9aee27d: Pull complete 01:04:36 4583459ba037: Pull complete 01:04:36 93c1e223e6f2: Pull complete 01:04:37 96b7cbca73a9: Verifying Checksum 01:04:37 96b7cbca73a9: Download complete 01:04:37 a7acece74701: Verifying Checksum 01:04:37 a7acece74701: Download complete 01:04:37 53926ce57604: Verifying Checksum 01:04:37 53926ce57604: Download complete 01:04:41 53926ce57604: Pull complete 01:04:41 21b2b0c7a3f4: Pull complete 01:04:41 22ff95d597cd: Pull complete 01:04:42 12d6caf4c0d1: Pull complete 01:04:44 96b7cbca73a9: Pull complete 01:04:45 a7acece74701: Pull complete 01:04:45 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:04:45 ---> db6d94c90886 01:04:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:04:47 ---> Running in 5c116535f8c2 01:04:47 Removing intermediate container 5c116535f8c2 01:04:47 ---> 57c8f25e5b7c 01:04:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:47 ---> Running in 7aa6f107970d 01:04:47 Removing intermediate container 7aa6f107970d 01:04:47 ---> 9e4685a5129b 01:04:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:04:47 ---> Running in f50e8f14abfb 01:04:47 Removing intermediate container f50e8f14abfb 01:04:47 ---> 2ddb6f0c7d13 01:04:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:04:47 ---> Running in f265c4a3790f 01:04:47 Removing intermediate container f265c4a3790f 01:04:47 ---> c547db0daeda 01:04:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:48 ---> Running in 4f5c80a8db02 01:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:04:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:04:48 (2/4) Installing libedit (20210910.3.1-r0) 01:04:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:04:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:04:48 Executing busybox-1.35.0-r17.trigger 01:04:48 OK: 216 MiB in 55 packages 01:04:49 Still waiting to schedule task 01:04:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118354’ 01:04:49 Removing intermediate container 4f5c80a8db02 01:04:49 ---> 9d8bc28a97a5 01:04:49 Step 8/12 : WORKDIR /device-mqtt-go 01:04:49 ---> Running in 6fb6982367e9 01:04:49 Removing intermediate container 6fb6982367e9 01:04:49 ---> a68b1945554c 01:04:49 Step 9/12 : COPY go.mod vendor* ./ 01:04:49 ---> d87db1ddc7be 01:04:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:49 ---> Running in c933a95d3c3f 01:05:07 Removing intermediate container c933a95d3c3f 01:05:07 ---> 16e1a7f2c406 01:05:07 Step 11/12 : COPY . . 01:05:07 ---> 1ffecc0dbd1b 01:05:07 Step 12/12 : RUN $MAKE 01:05:07 ---> Running in a85ca9616d1d 01:05:08 noop 01:05:08 Removing intermediate container a85ca9616d1d 01:05:08 ---> 1e645ccbb3e4 01:05:08 Successfully built 1e645ccbb3e4 01:05:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:08 + docker inspect -f . ci-base-image-x86_64 01:05:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:09 prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container 01:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:09 $ docker top 603867f125a6b1971c76160845f5213479c944b06146f33059d71a667407dd5f -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:09 + go version 01:05:09 go version go1.18.7 linux/amd64 [Pipeline] } 01:05:09 $ docker stop --time=1 603867f125a6b1971c76160845f5213479c944b06146f33059d71a667407dd5f 01:05:11 $ docker rm -f 603867f125a6b1971c76160845f5213479c944b06146f33059d71a667407dd5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:12 + docker inspect -f . ci-base-image-x86_64 01:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:12 prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container 01:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:05:12 $ docker top 531ef0714a46277471f5c8bd3c87087871fcd74fbf65da67a08154b34b05a99d -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-438 [Pipeline] fileExists [Pipeline] sh 01:05:13 + make test 01:05:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:05:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:05:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:05:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 01:05:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:05:30 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:05:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:05:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:05:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:05:33 ./bin/test-attribution-txt.sh [Pipeline] echo 01:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:05:33 $ docker stop --time=1 531ef0714a46277471f5c8bd3c87087871fcd74fbf65da67a08154b34b05a99d 01:05:35 $ docker rm -f 531ef0714a46277471f5c8bd3c87087871fcd74fbf65da67a08154b34b05a99d [Pipeline] // withDockerContainer [Pipeline] sh 01:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:05:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:05:37 + ls -al . 01:05:37 total 196 01:05:37 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 01:05 . 01:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:04 .. 01:05:37 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 01:04 .dockerignore 01:05:37 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 01:05 .git 01:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:04 .github 01:05:37 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 01:04 .gitignore 01:05:37 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 01:04 .golangci.yml 01:05:37 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 01:04 .semver 01:05:37 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 01:04 Attribution.txt 01:05:37 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 01:04 CHANGELOG.md 01:05:37 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 01:04 Dockerfile 01:05:37 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 01:04 GOVERNANCE.md 01:05:37 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 01:04 Jenkinsfile 01:05:37 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 01:04 LICENSE 01:05:37 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 01:04 Makefile 01:05:37 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 01:04 OWNERS.md 01:05:37 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 01:04 README.md 01:05:37 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 01:04 VERSION 01:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:04 bin 01:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:04 cmd 01:05:37 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 01:05 coverage.out 01:05:37 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 01:04 go.mod 01:05:37 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 01:04 go.sum 01:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:04 internal 01:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:04 mock 01:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:04 snap 01:05:37 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:37 + 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=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 --label arch=amd64 --label version=0.0.0 . 01:05:37 Sending build context to Docker daemon 6.28MB 01:05:37 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:05:37 Step 2/24 : FROM ${BASE} AS builder 01:05:37 ---> 1e645ccbb3e4 01:05:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:05:37 ---> Running in 783f0aeb521b 01:05:37 Removing intermediate container 783f0aeb521b 01:05:37 ---> e6d913447532 01:05:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:37 ---> Running in 5e9a16002320 01:05:37 Removing intermediate container 5e9a16002320 01:05:37 ---> 22d1600c64b0 01:05:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:05:37 ---> Running in aeda2a25b514 01:05:38 Removing intermediate container aeda2a25b514 01:05:38 ---> 584491b91e0d 01:05:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:05:38 ---> Running in cd62c8eeb0a7 01:05:38 Removing intermediate container cd62c8eeb0a7 01:05:38 ---> 8c1922248627 01:05:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:38 ---> Running in 9293dbf77a57 01:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:05:39 OK: 216 MiB in 55 packages 01:05:39 Removing intermediate container 9293dbf77a57 01:05:39 ---> 0a3c58de3a83 01:05:39 Step 8/24 : WORKDIR /device-mqtt-go 01:05:39 ---> Running in a783216326ee 01:05:39 Removing intermediate container a783216326ee 01:05:39 ---> ab45e26a3d17 01:05:39 Step 9/24 : COPY go.mod vendor* ./ 01:05:39 ---> 5a0e10c405dc 01:05:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:39 ---> Running in 41bf6817760a 01:05:40 Removing intermediate container 41bf6817760a 01:05:40 ---> b4961ad9e920 01:05:40 Step 11/24 : COPY . . 01:05:40 ---> 2640eacd41da 01:05:40 Step 12/24 : RUN $MAKE 01:05:40 ---> Running in d324853cf521 01:05:40 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:06:02 Removing intermediate container d324853cf521 01:06:02 ---> 36317fb83f38 01:06:02 Step 13/24 : FROM alpine:3.16 01:06:02 3.16: Pulling from library/alpine 01:06:02 213ec9aee27d: Already exists 01:06:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:06:02 Status: Downloaded newer image for alpine:3.16 01:06:02 ---> 9c6f07244728 01:06:02 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:06:02 ---> Running in ecac3a4d72fe 01:06:02 Removing intermediate container ecac3a4d72fe 01:06:02 ---> 28e832261297 01:06:02 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:06:02 ---> Running in e3e573caf3da 01:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:06:03 (1/6) Installing dumb-init (1.2.5-r1) 01:06:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:06:03 (3/6) Installing libsodium (1.0.18-r0) 01:06:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:06:03 (5/6) Installing libzmq (4.3.4-r0) 01:06:03 (6/6) Installing zeromq (4.3.4-r0) 01:06:03 Executing busybox-1.35.0-r17.trigger 01:06:03 OK: 8 MiB in 20 packages 01:06:04 Removing intermediate container e3e573caf3da 01:06:04 ---> c9ae97274544 01:06:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:06:04 ---> cd37777d3c38 01:06:04 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:06:05 ---> 18a791371535 01:06:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:06:05 ---> 47ba63faa54e 01:06:05 Step 19/24 : EXPOSE 59982 01:06:05 ---> Running in 6bda388e6bc9 01:06:05 Removing intermediate container 6bda388e6bc9 01:06:05 ---> f3320cfefe7d 01:06:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:06:05 ---> Running in 705c59727af2 01:06:05 Removing intermediate container 705c59727af2 01:06:05 ---> 9352b0296394 01:06:05 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:06:05 ---> Running in 90ff14ddba91 01:06:05 Removing intermediate container 90ff14ddba91 01:06:05 ---> d0f59f8becf2 01:06:05 Step 22/24 : LABEL arch=amd64 01:06:05 ---> Running in 0368e57cdf17 01:06:05 Removing intermediate container 0368e57cdf17 01:06:05 ---> a03ecdfcc82b 01:06:05 Step 23/24 : LABEL git_sha=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 01:06:05 ---> Running in 725bdabe15c1 01:06:05 Removing intermediate container 725bdabe15c1 01:06:05 ---> 3d64d98bb009 01:06:05 Step 24/24 : LABEL version=0.0.0 01:06:05 ---> Running in 38260375b4ce 01:06:05 Removing intermediate container 38260375b4ce 01:06:05 ---> e1137d9ecca7 01:06:05 [Warning] One or more build-args [ARCH] were not consumed 01:06:05 Successfully built e1137d9ecca7 01:06:05 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 01:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:06 01:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:07 latest: Pulling from edgex-lftools-log-publisher 01:06:07 5eb5b503b376: Pulling fs layer 01:06:07 5c69ac0246d0: Pulling fs layer 01:06:07 ec43610c2a17: Pulling fs layer 01:06:07 3a2ae6a8a46f: Pulling fs layer 01:06:07 33b1e0a273af: Pulling fs layer 01:06:07 5d3b04190fa2: Pulling fs layer 01:06:07 2f39f015ded8: Pulling fs layer 01:06:07 33b1e0a273af: Waiting 01:06:07 5c69ac0246d0: Verifying Checksum 01:06:07 5c69ac0246d0: Download complete 01:06:07 3a2ae6a8a46f: Verifying Checksum 01:06:07 3a2ae6a8a46f: Download complete 01:06:07 33b1e0a273af: Verifying Checksum 01:06:07 33b1e0a273af: Download complete 01:06:07 5d3b04190fa2: Download complete 01:06:07 ec43610c2a17: Verifying Checksum 01:06:07 ec43610c2a17: Download complete 01:06:07 5eb5b503b376: Verifying Checksum 01:06:07 5eb5b503b376: Download complete 01:06:08 2f39f015ded8: Download complete 01:06:08 5eb5b503b376: Pull complete 01:06:08 5c69ac0246d0: Pull complete 01:06:09 ec43610c2a17: Pull complete 01:06:09 3a2ae6a8a46f: Pull complete 01:06:09 33b1e0a273af: Pull complete 01:06:09 5d3b04190fa2: Pull complete 01:06:14 2f39f015ded8: Pull complete 01:06:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:15 prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container 01:06:15 $ 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-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:06:17 $ docker top 92a0030b0ca581279cbca69dee81cf589489ba762e27ffb39fbfb2e30ca25f13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:17 ---> job-cost.sh 01:06:17 lf-activate-venv: SKIPPING 01:06:17 INFO: No Stack... 01:06:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:06:18 INFO: Archiving Costs [Pipeline] sh 01:06:18 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives/cost.csv 01:06:18 + cut -d, -f6 [Pipeline] lock 01:06:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] 01:06:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] did not exist. Created. 01:06:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:06:18 + echo total: 0.2199999988079071 [Pipeline] stash 01:06:19 Stashed 1 file(s) [Pipeline] } 01:06:19 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:06:19 $ docker stop --time=1 92a0030b0ca581279cbca69dee81cf589489ba762e27ffb39fbfb2e30ca25f13 01:06:20 $ docker rm -f 92a0030b0ca581279cbca69dee81cf589489ba762e27ffb39fbfb2e30ca25f13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:07:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118361 in /w/workspace/gexfoundry_device-mqtt-go_PR-438 [Pipeline] { [Pipeline] ws 01:07:36 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:07:36 Selected Git installation does not exist. Using Default 01:07:36 The recommended git tool is: NONE 01:07:43 using credential edgex-jenkins-ssh 01:07:43 Cloning the remote Git repository 01:07:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:07:43 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:07:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:07:43 > git --version # timeout=10 01:07:43 > git --version # 'git version 2.25.1' 01:07:43 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:43 Verifying host key using known hosts file 01:07:44 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:07:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:07:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:47 Merging remotes/origin/main commit caab5c19f0226ea205a717313438d75c5b5382a1 into PR head commit 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 01:07:47 Merge succeeded, producing 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 01:07:47 Checking out Revision 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 (PR-438) 01:07:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:07:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:07:46 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:46 Verifying host key using known hosts file 01:07:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:07:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/438/head:refs/remotes/origin/PR-438 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:07:47 > git config core.sparsecheckout # timeout=10 01:07:47 > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 01:07:47 > git remote # timeout=10 01:07:47 > git config --get remote.origin.url # timeout=10 01:07:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:47 Verifying host key using known hosts file 01:07:47 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:07:47 > git merge caab5c19f0226ea205a717313438d75c5b5382a1 # timeout=10 01:07:47 > git rev-parse HEAD^{commit} # timeout=10 01:07:47 > git config core.sparsecheckout # timeout=10 01:07:47 > git checkout -f 1f91d1fa7e9db7810a1f7edc641d0f88056783f3 # timeout=10 01:07:48 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:07:48 > git --version # timeout=10 01:07:48 > git --version # 'git version 2.25.1' 01:07:48 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:07:49 % Total % Received % Xferd Average Speed Time Time Time Current 01:07:49 Dload Upload Total Spent Left Speed 01:07:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 170k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 01:07:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:07:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:07:50 + sudo tee /etc/docker/daemon.new 01:07:50 { 01:07:50 "registry-mirrors": [ 01:07:50 "https://nexus3.edgexfoundry.org:10001" 01:07:50 ], 01:07:50 "bip": "10.250.0.254/24", 01:07:50 "hosts": [ 01:07:50 "tcp://0.0.0.0:5555", 01:07:50 "unix:///var/run/docker.sock" 01:07:50 ], 01:07:50 "mtu": 1458, 01:07:50 "selinux-enabled": true, 01:07:50 "seccomp-profile": "/etc/docker/seccomp.json" 01:07:50 } [Pipeline] sh 01:07:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:07:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:10 provisioning config files... 01:08:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15984527810056258101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:10 ---> docker-login.sh 01:08:10 nexus3.edgexfoundry.org:10001 01:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:11 Configure a credential helper to remove this warning. See 01:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:11 01:08:11 Login Succeeded 01:08:11 nexus3.edgexfoundry.org:10002 01:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:11 Configure a credential helper to remove this warning. See 01:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:11 01:08:11 Login Succeeded 01:08:11 nexus3.edgexfoundry.org:10003 01:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:12 Configure a credential helper to remove this warning. See 01:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:12 01:08:12 Login Succeeded 01:08:12 nexus3.edgexfoundry.org:10004 01:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:12 Configure a credential helper to remove this warning. See 01:08:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:12 01:08:12 Login Succeeded 01:08:12 docker.io 01:08:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:13 Configure a credential helper to remove this warning. See 01:08:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:13 01:08:13 Login Succeeded 01:08:13 ---> docker-login.sh ends [Pipeline] } 01:08:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:14 ========================================================= 01:08:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:08:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 01:08:15 Sending build context to Docker daemon 3.25MB 01:08:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:08:15 Step 2/12 : FROM ${BASE} AS builder 01:08:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:08:15 9b18e9b68314: Pulling fs layer 01:08:15 35d82f9e3411: Pulling fs layer 01:08:15 e16973657156: Pulling fs layer 01:08:15 fc693d55d65f: Pulling fs layer 01:08:15 7e9fc2657dce: Pulling fs layer 01:08:15 dda99020689f: Pulling fs layer 01:08:15 db1c61fa0a46: Pulling fs layer 01:08:15 891c053d2c06: Pulling fs layer 01:08:15 dda99020689f: Waiting 01:08:15 db1c61fa0a46: Waiting 01:08:15 891c053d2c06: Waiting 01:08:15 fc693d55d65f: Waiting 01:08:15 7e9fc2657dce: Waiting 01:08:15 e16973657156: Verifying Checksum 01:08:15 e16973657156: Download complete 01:08:15 35d82f9e3411: Verifying Checksum 01:08:15 35d82f9e3411: Download complete 01:08:15 7e9fc2657dce: Verifying Checksum 01:08:15 7e9fc2657dce: Download complete 01:08:15 dda99020689f: Verifying Checksum 01:08:15 dda99020689f: Download complete 01:08:15 9b18e9b68314: Verifying Checksum 01:08:15 9b18e9b68314: Download complete 01:08:16 9b18e9b68314: Pull complete 01:08:16 891c053d2c06: Verifying Checksum 01:08:16 891c053d2c06: Download complete 01:08:17 35d82f9e3411: Pull complete 01:08:17 e16973657156: Pull complete 01:08:19 db1c61fa0a46: Verifying Checksum 01:08:19 db1c61fa0a46: Download complete 01:08:19 fc693d55d65f: Verifying Checksum 01:08:19 fc693d55d65f: Download complete 01:08:34 fc693d55d65f: Pull complete 01:08:34 7e9fc2657dce: Pull complete 01:08:34 dda99020689f: Pull complete 01:08:40 db1c61fa0a46: Pull complete 01:08:43 891c053d2c06: Pull complete 01:08:43 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:08:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:08:43 ---> f96f9c87975a 01:08:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:08:44 ---> Running in 1863bb71dedc 01:08:44 Removing intermediate container 1863bb71dedc 01:08:44 ---> fa99a6f667c2 01:08:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:08:44 ---> Running in fc822e001341 01:08:44 Removing intermediate container fc822e001341 01:08:44 ---> 59f01bd8784c 01:08:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:08:45 ---> Running in d05cffdeaffa 01:08:45 Removing intermediate container d05cffdeaffa 01:08:45 ---> 6b4b93c89a4d 01:08:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:08:45 ---> Running in b013eaa67104 01:08:45 Removing intermediate container b013eaa67104 01:08:45 ---> 5bf202ae7d2b 01:08:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:45 ---> Running in 4caf37405805 01:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:08:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:08:49 (2/4) Installing libedit (20210910.3.1-r0) 01:08:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:08:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:08:49 Executing busybox-1.35.0-r17.trigger 01:08:49 OK: 226 MiB in 55 packages 01:08:50 Removing intermediate container 4caf37405805 01:08:50 ---> e459520804ad 01:08:50 Step 8/12 : WORKDIR /device-mqtt-go 01:08:50 ---> Running in 6725accb8599 01:08:50 Removing intermediate container 6725accb8599 01:08:50 ---> 3aadffee7092 01:08:50 Step 9/12 : COPY go.mod vendor* ./ 01:08:51 ---> 8819eb3c4204 01:08:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:51 ---> Running in 814a55bf0d6e 01:09:59 Removing intermediate container 814a55bf0d6e 01:09:59 ---> 3b23b882ff63 01:09:59 Step 11/12 : COPY . . 01:09:59 ---> b62d53167b47 01:09:59 Step 12/12 : RUN $MAKE 01:09:59 ---> Running in 0e54ce527698 01:09:59 noop 01:09:59 Removing intermediate container 0e54ce527698 01:09:59 ---> c5f9f2630d33 01:09:59 Successfully built c5f9f2630d33 01:09:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:00 + docker inspect -f . ci-base-image-arm64 01:10:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:00 prd-ubuntu20.04-docker-arm64-4c-16g-118361 does not seem to be running inside a container 01:10:00 $ 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 ******** ci-base-image-arm64 cat 01:10:02 $ docker top 247b521a0f6805618572417f1c1479054626e1b6ea47b3892967d33d4d044ea6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:03 + go version 01:10:03 go version go1.18.7 linux/arm64 [Pipeline] } 01:10:03 $ docker stop --time=1 247b521a0f6805618572417f1c1479054626e1b6ea47b3892967d33d4d044ea6 01:10:04 $ docker rm -f 247b521a0f6805618572417f1c1479054626e1b6ea47b3892967d33d4d044ea6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:05 + docker inspect -f . ci-base-image-arm64 01:10:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:06 prd-ubuntu20.04-docker-arm64-4c-16g-118361 does not seem to be running inside a container 01:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat 01:10:07 $ docker top 72d278cbae8f9277af82be0a80ee2b45246c1a85fdd3db0bbcf1947222519fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:08 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:10:09 + make test 01:10:09 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:10:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:12:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:12:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 21.8% of statements 01:12:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:12:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:04 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:12:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:44 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:44 $ docker stop --time=1 72d278cbae8f9277af82be0a80ee2b45246c1a85fdd3db0bbcf1947222519fd2 01:12:46 $ docker rm -f 72d278cbae8f9277af82be0a80ee2b45246c1a85fdd3db0bbcf1947222519fd2 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:47 Warning: overwriting stash ‘coverage-report’ 01:12:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:49 + ls -al . 01:12:49 total 192 01:12:49 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 01:10 . 01:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:07 .. 01:12:49 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 01:07 .dockerignore 01:12:49 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 01:07 .git 01:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:07 .github 01:12:49 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 01:07 .gitignore 01:12:49 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 01:07 .golangci.yml 01:12:49 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 01:07 Attribution.txt 01:12:49 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 01:07 CHANGELOG.md 01:12:49 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 01:07 Dockerfile 01:12:49 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 01:07 GOVERNANCE.md 01:12:49 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 01:07 Jenkinsfile 01:12:49 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 01:07 LICENSE 01:12:49 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 01:07 Makefile 01:12:49 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 01:07 OWNERS.md 01:12:49 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 01:07 README.md 01:12:49 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 01:04 VERSION 01:12:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:07 bin 01:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:07 cmd 01:12:49 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 01:12 coverage.out 01:12:49 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 01:07 go.mod 01:12:49 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 01:07 go.sum 01:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 01:07 internal 01:12:49 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 01:07 mock 01:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 01:07 snap 01:12:49 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 01:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:50 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 --label arch=arm64 --label version=0.0.0 . 01:12:50 Sending build context to Docker daemon 3.269MB 01:12:50 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:12:50 Step 2/24 : FROM ${BASE} AS builder 01:12:50 ---> c5f9f2630d33 01:12:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:12:51 ---> Running in f2262fcb7378 01:12:51 Removing intermediate container f2262fcb7378 01:12:51 ---> 6363df484617 01:12:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:51 ---> Running in c7ce049d7fa2 01:12:53 Removing intermediate container c7ce049d7fa2 01:12:53 ---> ac380086d5d5 01:12:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:12:53 ---> Running in ba07b441cad7 01:12:53 Removing intermediate container ba07b441cad7 01:12:53 ---> 610b5492c9b0 01:12:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:12:53 ---> Running in dffe7e314624 01:12:55 Removing intermediate container dffe7e314624 01:12:55 ---> 1f9894b314df 01:12:55 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:55 ---> Running in f041893e8252 01:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:12:58 OK: 226 MiB in 55 packages 01:12:59 Removing intermediate container f041893e8252 01:12:59 ---> befceea171ec 01:12:59 Step 8/24 : WORKDIR /device-mqtt-go 01:13:00 ---> Running in 0d072f0c2e32 01:13:00 Removing intermediate container 0d072f0c2e32 01:13:00 ---> 70c193904829 01:13:00 Step 9/24 : COPY go.mod vendor* ./ 01:13:01 ---> a497970330a4 01:13:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:01 ---> Running in 8e7601f68af4 01:13:04 Removing intermediate container 8e7601f68af4 01:13:04 ---> f76c44d26e1f 01:13:04 Step 11/24 : COPY . . 01:13:04 ---> e256b6bfe107 01:13:04 Step 12/24 : RUN $MAKE 01:13:04 ---> Running in eb2934aba5ba 01:13:06 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:15:43 Removing intermediate container eb2934aba5ba 01:15:43 ---> 7b804360d7f7 01:15:43 Step 13/24 : FROM alpine:3.16 01:15:43 3.16: Pulling from library/alpine 01:15:43 9b18e9b68314: Already exists 01:15:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:15:43 Status: Downloaded newer image for alpine:3.16 01:15:43 ---> a6215f271958 01:15:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:15:43 ---> Running in 2e6688f1a894 01:15:43 Removing intermediate container 2e6688f1a894 01:15:43 ---> 1f1319149598 01:15:43 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:15:43 ---> Running in 2bc7ac81ccf1 01:15:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:15:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:15:45 (1/6) Installing dumb-init (1.2.5-r1) 01:15:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:15:45 (3/6) Installing libsodium (1.0.18-r0) 01:15:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:15:45 (5/6) Installing libzmq (4.3.4-r0) 01:15:45 (6/6) Installing zeromq (4.3.4-r0) 01:15:45 Executing busybox-1.35.0-r17.trigger 01:15:45 OK: 8 MiB in 20 packages 01:15:46 Removing intermediate container 2bc7ac81ccf1 01:15:46 ---> eecae940cfd7 01:15:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:15:48 ---> b58ca40c1cae 01:15:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:15:49 ---> 5f56d14d8ca0 01:15:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:15:49 ---> 7c4213a8e87a 01:15:49 Step 19/24 : EXPOSE 59982 01:15:49 ---> Running in 3217a7699e16 01:15:49 Removing intermediate container 3217a7699e16 01:15:49 ---> d9db8c1d7569 01:15:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:15:50 ---> Running in 3299a4760ebd 01:15:50 Removing intermediate container 3299a4760ebd 01:15:50 ---> 7160560472ce 01:15:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:15:50 ---> Running in 2f3424378ea7 01:15:50 Removing intermediate container 2f3424378ea7 01:15:50 ---> f3cdcf6a484a 01:15:50 Step 22/24 : LABEL arch=arm64 01:15:50 ---> Running in b132ccc436bb 01:15:51 Removing intermediate container b132ccc436bb 01:15:51 ---> 3f32f7aeab96 01:15:51 Step 23/24 : LABEL git_sha=1f91d1fa7e9db7810a1f7edc641d0f88056783f3 01:15:51 ---> Running in ad941140ca17 01:15:51 Removing intermediate container ad941140ca17 01:15:51 ---> e8c30d84d107 01:15:51 Step 24/24 : LABEL version=0.0.0 01:15:52 ---> Running in a87dfb5f5ad5 01:15:52 Removing intermediate container a87dfb5f5ad5 01:15:52 ---> 273431f3c3c5 01:15:52 [Warning] One or more build-args [ARCH] were not consumed 01:15:52 Successfully built 273431f3c3c5 01:15:52 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 01:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:53 01:15:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:54 arm64: Pulling from edgex-lftools-log-publisher 01:15:54 8998bd30e6a1: Pulling fs layer 01:15:54 04944245beec: Pulling fs layer 01:15:54 699f458cf7ca: Pulling fs layer 01:15:54 765212b225bb: Pulling fs layer 01:15:54 f23df028b6ca: Pulling fs layer 01:15:54 d65c8cfc05b1: Pulling fs layer 01:15:54 2437ff75d9bd: Pulling fs layer 01:15:54 765212b225bb: Waiting 01:15:54 f23df028b6ca: Waiting 01:15:54 d65c8cfc05b1: Waiting 01:15:54 2437ff75d9bd: Waiting 01:15:54 04944245beec: Verifying Checksum 01:15:54 04944245beec: Download complete 01:15:54 765212b225bb: Verifying Checksum 01:15:54 765212b225bb: Download complete 01:15:54 f23df028b6ca: Verifying Checksum 01:15:54 f23df028b6ca: Download complete 01:15:54 d65c8cfc05b1: Verifying Checksum 01:15:54 d65c8cfc05b1: Download complete 01:15:54 699f458cf7ca: Verifying Checksum 01:15:54 699f458cf7ca: Download complete 01:15:54 8998bd30e6a1: Verifying Checksum 01:15:54 8998bd30e6a1: Download complete 01:15:57 2437ff75d9bd: Verifying Checksum 01:15:57 2437ff75d9bd: Download complete 01:15:58 8998bd30e6a1: Pull complete 01:15:59 04944245beec: Pull complete 01:16:01 699f458cf7ca: Pull complete 01:16:01 765212b225bb: Pull complete 01:16:02 f23df028b6ca: Pull complete 01:16:02 d65c8cfc05b1: Pull complete 01:16:17 2437ff75d9bd: Pull complete 01:16:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:16:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:16:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:17 prd-ubuntu20.04-docker-arm64-4c-16g-118361 does not seem to be running inside a container 01:16:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:16:20 $ docker top 6b5f8ae18f63b3c805ee891d1de62c2fc04aba27e592102207676fc09dff95da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:21 ---> job-cost.sh 01:16:21 lf-activate-venv: SKIPPING 01:16:21 INFO: No Stack... 01:16:22 INFO: Retrieving Pricing Info for: v3-standard-4 01:16:23 INFO: Archiving Costs [Pipeline] sh 01:16:23 + cut -d, -f6 01:16:23 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 01:16:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] 01:16:24 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] did not exist. Created. 01:16:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:24 /w/workspace/device-mqtt-go/1@tmp/durable-349da791/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:16:25 + echo total: 0.10999999940395355 [Pipeline] stash 01:16:25 Warning: overwriting stash ‘stack-cost’ 01:16:25 Stashed 1 file(s) [Pipeline] } 01:16:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-438-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:25 $ docker stop --time=1 6b5f8ae18f63b3c805ee891d1de62c2fc04aba27e592102207676fc09dff95da 01:16:27 $ docker rm -f 6b5f8ae18f63b3c805ee891d1de62c2fc04aba27e592102207676fc09dff95da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:16:28 provisioning config files... 01:16:28 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config8574006948100481507tmp [Pipeline] { [Pipeline] sh 01:16:28 + set +x 01:16:28 + bash -s -- 01:16:28 + curl -s https://codecov.io/bash 01:16:28 01:16:28 _____ _ 01:16:28 / ____| | | 01:16:28 | | ___ __| | ___ ___ _____ __ 01:16:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:28 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:28 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:28 Bash-1.0.6 01:16:28 01:16:28 01:16:28 ==> git version 2.25.1 found 01:16:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:16:28 Release-Date: 2020-01-08 01:16:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:16:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:28 ==> Jenkins CI detected. 01:16:28 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-438 01:16:28 project root: . 01:16:28 --> token set from env 01:16:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:28 ==> Running gcov in . (disable via -X gcov) 01:16:28 ==> Python coveragepy not found 01:16:28 ==> Searching for coverage reports in: 01:16:28 + . 01:16:28 -> Found 1 reports 01:16:28 ==> Detecting git/mercurial file structure 01:16:28 ==> Reading reports 01:16:28 + ./coverage.out bytes=17887 01:16:28 ==> Appending adjustments 01:16:28 https://docs.codecov.io/docs/fixing-reports 01:16:28 + Found adjustments 01:16:28 ==> Gzipping contents 01:16:28 4.0K /tmp/codecov.jJ98Mm.gz 01:16:28 ==> Uploading reports 01:16:28 url: https://codecov.io 01:16:28 query: branch=PR-438&commit=1f91d1fa7e9db7810a1f7edc641d0f88056783f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=438&job=&cmd_args= 01:16:28 -> Pinging Codecov 01:16:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-438&commit=1f91d1fa7e9db7810a1f7edc641d0f88056783f3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-438%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=438&job=&cmd_args= 01:16:29 -> Uploading to 01:16:29 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/1f91d1fa7e9db7810a1f7edc641d0f88056783f3/57193d47-d3d8-4b22-9a9d-f992494bca60.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T011629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1264a0f19ec93826900fe1b22bbe1b62a9d14ac7be7cc5eb245076a555ab8538 01:16:29 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:29 Dload Upload Total Spent Left Speed 01:16:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13012 --:--:-- --:--:-- --:--:-- 13012 01:16:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1f91d1fa7e9db7810a1f7edc641d0f88056783f3 [Pipeline] } 01:16:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:16:31 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives ] 01:16:31 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives 01:16:31 total 16 01:16:31 drwxr-xr-x 3 root root 4096 Nov 7 01:06 . 01:16:31 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 01:06 .. 01:16:31 drwxr-xr-x 2 root root 4096 Nov 7 01:06 cost 01:16:31 -rw-r--r-- 1 root root 86 Nov 7 01:06 cost.csv 01:16:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives 01:16:31 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives 01:16:31 total 16 01:16:31 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 01:06 . 01:16:31 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 01:06 .. 01:16:31 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 01:06 cost 01:16:31 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:16:32 ---> package-listing.sh 01:16:32 ++ facter osfamily 01:16:32 ++ tr '[:upper:]' '[:lower:]' 01:16:32 + OS_FAMILY=debian 01:16:32 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-438 01:16:32 + START_PACKAGES=/tmp/packages_start.txt 01:16:32 + END_PACKAGES=/tmp/packages_end.txt 01:16:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:16:32 + PACKAGES=/tmp/packages_start.txt 01:16:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-438 ']' 01:16:32 + PACKAGES=/tmp/packages_end.txt 01:16:32 + case "${OS_FAMILY}" in 01:16:32 + dpkg -l 01:16:32 + grep '^ii' 01:16:32 + '[' -f /tmp/packages_start.txt ']' 01:16:32 + '[' -f /tmp/packages_end.txt ']' 01:16:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:16:32 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-438 ']' 01:16:32 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives/ 01:16:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-438/archives/ [Pipeline] echo 01:16:32 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-438/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:16:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:33 prd-ubuntu20.04-docker-8c-8g-118358 does not seem to be running inside a container 01:16:33 $ 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-438/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-438 -v /w/workspace/gexfoundry_device-mqtt-go_PR-438:/w/workspace/gexfoundry_device-mqtt-go_PR-438:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:16:34 $ docker top 45355d38aaee235e68699256b2a85bb6d6dbc58ba86d57ff5637b51d54d3c06f -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:34 + touch /tmp/pre-build-complete [Pipeline] sh 01:16:34 + mkdir -p /var/log/sysstat [Pipeline] sh 01:16:35 + ls /var/log/sa-host 01:16:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:35 provisioning config files... 01:16:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-438@tmp/config8907553983677445040tmp [Pipeline] { [Pipeline] echo 01:16:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:16:35 ---> create-netrc.sh [Pipeline] } 01:16:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:16:36 ---> python-tools-install.sh [Pipeline] echo 01:16:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:16:36 ---> sudo-logs.sh 01:16:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:16:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:16:36 ---> job-cost.sh 01:16:36 lf-activate-venv: SKIPPING 01:16:36 DEBUG: total: 0.2199999988079071 01:16:36 INFO: Retrieving Stack Cost... 01:16:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:38 INFO: Archiving Costs [Pipeline] echo 01:16:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:16:38 ---> logs-deploy.sh 01:16:38 lf-activate-venv: SKIPPING 01:16:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-438/1 01:16:38 INFO: archiving workspace using pattern(s): 01:16:39 Archives upload complete. 01:16:39 INFO: archiving logs to Nexus