Pull request #673 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 0dd432c564210030875d0d0d9a4ed3f8d6934600+6c8369be06a5c5a29b6c14d39caafaee9c646641 (bf511c13b6a049492704e08a1419b677826ba7f2) 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-ssh12400753079007792982.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh2718227943389999510.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-673/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-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1077863189837290943.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5381960347602864993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh308529649578453696.key > 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-673/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-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9072564181820193080.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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] ========================================================= [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.21 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-679’ Running on prd-ubuntu20.04-docker-8c-8g-681 in /w/workspace/gexfoundry_device-mqtt-go_PR-673 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-673 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit 6c8369be06a5c5a29b6c14d39caafaee9c646641 into PR head commit 0dd432c564210030875d0d0d9a4ed3f8d6934600 Merge succeeded, producing 0dd432c564210030875d0d0d9a4ed3f8d6934600 Checking out Revision 0dd432c564210030875d0d0d9a4ed3f8d6934600 (PR-673) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:56:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:56:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:56:09 ========================================================= 07:56:09 EdgeX Global Pipelines Version Info 07:56:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:56:10 ------------------- 07:56:10 No tag info for: stable 07:56:10 ------------------- 07:56:10 experimental info: 07:56:10 ------------------- 07:56:10 Commited By: **** collab-it+edgex@linuxfoundation.org 07:56:10 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:56:10 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:56:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:56:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-673 [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-673 [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-673 [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dd432c [Pipeline] echo 07:56:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:56:13 provisioning config files... 07:56:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config15603165517017864518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:13 ---> ****-login.sh 07:56:13 nexus3.edgexfoundry.org:10001 07:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:13 Configure a credential helper to remove this warning. See 07:56:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:13 07:56:13 Login Succeeded 07:56:13 nexus3.edgexfoundry.org:10002 07:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:13 Configure a credential helper to remove this warning. See 07:56:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:13 07:56:13 Login Succeeded 07:56:13 nexus3.edgexfoundry.org:10003 07:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:13 Configure a credential helper to remove this warning. See 07:56:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:13 07:56:13 Login Succeeded 07:56:13 nexus3.edgexfoundry.org:10004 07:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:13 Configure a credential helper to remove this warning. See 07:56:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:13 07:56:13 Login Succeeded 07:56:13 ****.io 07:56:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:14 Configure a credential helper to remove this warning. See 07:56:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:14 07:56:14 Login Succeeded 07:56:14 ---> ****-login.sh ends [Pipeline] } 07:56:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:56:14 + git rev-list -1 --merges 0dd432c564210030875d0d0d9a4ed3f8d6934600~1..0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo 07:56:15 -----------> git rev-list -1 --merges 0dd432c564210030875d0d0d9a4ed3f8d6934600~1..0dd432c564210030875d0d0d9a4ed3f8d6934600 0dd432c564210030875d0d0d9a4ed3f8d6934600 [false] [Pipeline] sh 07:56:15 + git log --format=format:%s -1 0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo 07:56:15 ========================================================= 07:56:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:56:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:15 + git log --format=format:%s -1 0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo 07:56:15 [semverPrep] GIT_COMMIT: 0dd432c564210030875d0d0d9a4ed3f8d6934600, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 07:56:15 [semverPrep] This is not a build commit. [Pipeline] sh 07:56:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:56:16 + grep -v github /etc/ssh/ssh_known_hosts 07:56:16 + [ -e /tmp/ssh_known_hosts ] 07:56:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:56:16 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 07:56:16 tee -a /etc/ssh/ssh_known_hosts 07:56:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:16 07:56:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:17 0.1.4: Pulling from edgex-devops/py-git-semver 07:56:17 b85a868b505f: Pulling fs layer 07:56:17 e2be974225ed: Pulling fs layer 07:56:17 339a4e72a1f5: Pulling fs layer 07:56:17 988bab9f4d93: Pulling fs layer 07:56:17 1469e6f7b9e6: Pulling fs layer 07:56:17 eaf3925da568: Pulling fs layer 07:56:17 bab4dde63d76: Pulling fs layer 07:56:17 bde34c3a00c8: Pulling fs layer 07:56:17 b352a97aabf1: Pulling fs layer 07:56:17 4872d77fe225: Pulling fs layer 07:56:17 5851b861e8e6: Pulling fs layer 07:56:17 1469e6f7b9e6: Waiting 07:56:17 eaf3925da568: Waiting 07:56:17 bab4dde63d76: Waiting 07:56:17 bde34c3a00c8: Waiting 07:56:17 b352a97aabf1: Waiting 07:56:17 4872d77fe225: Waiting 07:56:17 5851b861e8e6: Waiting 07:56:17 988bab9f4d93: Waiting 07:56:17 e2be974225ed: Verifying Checksum 07:56:17 e2be974225ed: Download complete 07:56:17 988bab9f4d93: Verifying Checksum 07:56:17 988bab9f4d93: Download complete 07:56:17 339a4e72a1f5: Verifying Checksum 07:56:17 339a4e72a1f5: Download complete 07:56:17 1469e6f7b9e6: Verifying Checksum 07:56:17 1469e6f7b9e6: Download complete 07:56:17 eaf3925da568: Verifying Checksum 07:56:17 eaf3925da568: Download complete 07:56:17 bde34c3a00c8: Download complete 07:56:17 b352a97aabf1: Download complete 07:56:17 4872d77fe225: Verifying Checksum 07:56:17 4872d77fe225: Download complete 07:56:17 5851b861e8e6: Verifying Checksum 07:56:17 5851b861e8e6: Download complete 07:56:17 b85a868b505f: Download complete 07:56:17 bab4dde63d76: Verifying Checksum 07:56:17 bab4dde63d76: Download complete 07:56:18 b85a868b505f: Pull complete 07:56:18 e2be974225ed: Pull complete 07:56:19 339a4e72a1f5: Pull complete 07:56:19 988bab9f4d93: Pull complete 07:56:19 1469e6f7b9e6: Pull complete 07:56:19 eaf3925da568: Pull complete 07:56:21 bab4dde63d76: Pull complete 07:56:21 bde34c3a00c8: Pull complete 07:56:21 b352a97aabf1: Pull complete 07:56:21 4872d77fe225: Pull complete 07:56:21 5851b861e8e6: Pull complete 07:56:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:56:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:56:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:21 prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container 07:56:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@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-devops/py-git-semver:0.1.4 cat 07:56:24 $ docker top eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 -eo pid,comm 07:56:24 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). 07:56:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:56:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:25 [ssh-agent] Looking for ssh-agent implementation... 07:56:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:25 $ docker exec eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent 07:56:25 SSH_AUTH_SOCK=/tmp/ssh-h8OODTtUo9gQ/agent.32 07:56:25 SSH_AGENT_PID=38 07:56:25 Running ssh-add (command line suppressed) 07:56:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_12191195358660516813.key (/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_12191195358660516813.key) 07:56:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:25 + git tag --points-at HEAD [Pipeline] } 07:56:25 $ docker exec --env ******** --env ******** eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent -k 07:56:25 unset SSH_AUTH_SOCK; 07:56:25 unset SSH_AGENT_PID; 07:56:25 echo Agent pid 38 killed; 07:56:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:56:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:56:26 [ssh-agent] Looking for ssh-agent implementation... 07:56:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:56:26 $ docker exec eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent 07:56:26 SSH_AUTH_SOCK=/tmp/ssh-FGIX0GJUCIEd/agent.71 07:56:26 SSH_AGENT_PID=77 07:56:26 Running ssh-add (command line suppressed) 07:56:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_17147831321158130277.key (/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_17147831321158130277.key) 07:56:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:56:26 + git semver init 07:56:26 2024-05-24 07:56:26,922 [run_init] DEBUG init version:0.0.0 force:False 07:56:26 2024-05-24 07:56:26,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver 07:56:26 2024-05-24 07:56:26,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver 07:56:26 2024-05-24 07:56:26,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-673, universal_newlines=False, shell=None, istream=None) 07:56:27 2024-05-24 07:56:27,834 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.git/info/exclude 07:56:27 2024-05-24 07:56:27,834 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver/PR-673 with force:False 07:56:27 2024-05-24 07:56:27,835 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver/PR-673 07:56:27 2024-05-24 07:56:27,839 [execute] INFO git cat-file --batch-check 07:56:27 2024-05-24 07:56:27,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver, universal_newlines=False, shell=None, istream=) 07:56:27 2024-05-24 07:56:27,844 [execute] INFO git cat-file --batch 07:56:27 2024-05-24 07:56:27,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver, universal_newlines=False, shell=None, istream=) 07:56:27 2024-05-24 07:56:27,849 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver/PR-673 07:56:27 0.0.0 [Pipeline] } 07:56:27 $ docker exec --env ******** --env ******** eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent -k 07:56:28 unset SSH_AUTH_SOCK; 07:56:28 unset SSH_AGENT_PID; 07:56:28 echo Agent pid 77 killed; 07:56:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:56:28 + git semver [Pipeline] } 07:56:28 $ docker stop --time=1 eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 07:56:30 $ docker rm -f --volumes eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 [Pipeline] // withDockerContainer [Pipeline] sh 07:56:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:56:30 Stashed 1 file(s) [Pipeline] echo 07:56:30 [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 07:56:31 provisioning config files... 07:56:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config13763886645920319667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:31 ---> ****-login.sh 07:56:31 nexus3.edgexfoundry.org:10001 07:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:31 Configure a credential helper to remove this warning. See 07:56:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:31 07:56:31 Login Succeeded 07:56:31 nexus3.edgexfoundry.org:10002 07:56:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:31 Configure a credential helper to remove this warning. See 07:56:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:31 07:56:31 Login Succeeded 07:56:31 nexus3.edgexfoundry.org:10003 07:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:32 Configure a credential helper to remove this warning. See 07:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:32 07:56:32 Login Succeeded 07:56:32 nexus3.edgexfoundry.org:10004 07:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:32 Configure a credential helper to remove this warning. See 07:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:32 07:56:32 Login Succeeded 07:56:32 ****.io 07:56:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:56:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:56:32 Configure a credential helper to remove this warning. See 07:56:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:56:32 07:56:32 Login Succeeded 07:56:32 ---> ****-login.sh ends [Pipeline] } 07:56:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:56:32 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:56:33 + grep ^go [0-9].[0-9]* go.mod+ 07:56:33 cut -d -f 2 [Pipeline] echo 07:56:33 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:56:33 ========================================================= 07:56:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 07:56:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:56:33 Sending build context to Docker daemon 46.36MB 07:56:33 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:56:33 Step 2/12 : FROM ${BASE} AS builder 07:56:33 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:56:33 619be1103602: Pulling fs layer 07:56:33 7862e08f4a3e: Pulling fs layer 07:56:33 5df492c9dc93: Pulling fs layer 07:56:33 7629e6793208: Pulling fs layer 07:56:33 4f4fb700ef54: Pulling fs layer 07:56:33 8de7f028bff5: Pulling fs layer 07:56:33 44042ff1420b: Pulling fs layer 07:56:33 5cdaf54b7214: Pulling fs layer 07:56:33 38f3e5a9071a: Pulling fs layer 07:56:33 7629e6793208: Waiting 07:56:33 8de7f028bff5: Waiting 07:56:33 4f4fb700ef54: Waiting 07:56:33 44042ff1420b: Waiting 07:56:33 38f3e5a9071a: Waiting 07:56:34 7862e08f4a3e: Verifying Checksum 07:56:34 7862e08f4a3e: Download complete 07:56:34 7629e6793208: Verifying Checksum 07:56:34 7629e6793208: Download complete 07:56:34 4f4fb700ef54: Verifying Checksum 07:56:34 4f4fb700ef54: Download complete 07:56:34 8de7f028bff5: Verifying Checksum 07:56:34 8de7f028bff5: Download complete 07:56:34 619be1103602: Verifying Checksum 07:56:34 619be1103602: Download complete 07:56:34 44042ff1420b: Verifying Checksum 07:56:34 44042ff1420b: Download complete 07:56:34 619be1103602: Pull complete 07:56:34 38f3e5a9071a: Verifying Checksum 07:56:34 38f3e5a9071a: Download complete 07:56:34 7862e08f4a3e: Pull complete 07:56:34 5df492c9dc93: Verifying Checksum 07:56:34 5df492c9dc93: Download complete 07:56:35 5cdaf54b7214: Verifying Checksum 07:56:35 5cdaf54b7214: Download complete 07:56:37 5df492c9dc93: Pull complete 07:56:37 7629e6793208: Pull complete 07:56:37 4f4fb700ef54: Pull complete 07:56:37 8de7f028bff5: Pull complete 07:56:37 44042ff1420b: Pull complete 07:56:40 5cdaf54b7214: Pull complete 07:56:40 38f3e5a9071a: Pull complete 07:56:40 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 07:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 07:56:40 ---> 60b93f829570 07:56:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:56:45 ---> Running in fd31345e2992 07:56:45 Removing intermediate container fd31345e2992 07:56:45 ---> dee4d4459e7c 07:56:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:56:45 ---> Running in 80341bd08463 07:56:45 Removing intermediate container 80341bd08463 07:56:45 ---> 6652b9f89bbc 07:56:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:56:45 ---> Running in 4b51ab4f2968 07:56:45 Removing intermediate container 4b51ab4f2968 07:56:45 ---> be1973373867 07:56:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:56:45 ---> Running in 05f2d70a7a03 07:56:45 Removing intermediate container 05f2d70a7a03 07:56:45 ---> 87b7b1f1ed98 07:56:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:45 ---> Running in 9fdb5316ef36 07:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:56:45 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:56:45 (2/4) Installing libedit (20221030.3.1-r1) 07:56:45 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:56:45 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:56:45 Executing busybox-1.36.1-r5.trigger 07:56:45 OK: 268 MiB in 56 packages 07:56:46 Still waiting to schedule task 07:56:46 ‘prd-ubuntu20.04-docker-arm64-4c-16g-680’ is offline 07:56:46 Removing intermediate container 9fdb5316ef36 07:56:46 ---> 13defa97d4d7 07:56:46 Step 8/12 : WORKDIR /device-mqtt-go 07:56:46 ---> Running in 92ec4aef2eaf 07:56:46 Removing intermediate container 92ec4aef2eaf 07:56:46 ---> f51f4d46c2b5 07:56:46 Step 9/12 : COPY go.mod vendor* ./ 07:56:48 ---> 8a939624ca7a 07:56:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:48 ---> Running in 2ed827fc0102 07:57:20 Removing intermediate container 2ed827fc0102 07:57:20 ---> 68734c611d08 07:57:20 Step 11/12 : COPY . . 07:57:20 ---> d78b2b2e5859 07:57:20 Step 12/12 : RUN $MAKE 07:57:20 ---> Running in 6a239cff8f36 07:57:20 noop 07:57:20 Removing intermediate container 6a239cff8f36 07:57:20 ---> 1ec5a8ac90a3 07:57:20 Successfully built 1ec5a8ac90a3 07:57:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:20 + docker inspect -f . ci-base-image-x86_64 07:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:21 prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container 07:57:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:57:21 $ docker top 3966836fa104d29c809676d2952a9bd895530cc4007a09f36bed9a4edb84042a -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:21 + go version 07:57:21 go version go1.21.9 linux/amd64 [Pipeline] } 07:57:21 $ docker stop --time=1 3966836fa104d29c809676d2952a9bd895530cc4007a09f36bed9a4edb84042a 07:57:23 $ docker rm -f --volumes 3966836fa104d29c809676d2952a9bd895530cc4007a09f36bed9a4edb84042a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:23 + docker inspect -f . ci-base-image-x86_64 07:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:24 prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container 07:57:24 $ 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-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:57:24 $ docker top 1a6578a25cf99de8ff47ea20271b910d4e5bb885baf81d9f9706e93f749e42f5 -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-673 [Pipeline] fileExists [Pipeline] sh 07:57:25 + make test 07:57:25 go test ./... -coverprofile=coverage.out ./... 07:57:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:57:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:57:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:57:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements 07:57:43 go vet ./... 07:57:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:57:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:57:45 ./bin/test-attribution-txt.sh [Pipeline] echo 07:57:45 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:57:46 + go mod tidy [Pipeline] } 07:57:46 $ docker stop --time=1 1a6578a25cf99de8ff47ea20271b910d4e5bb885baf81d9f9706e93f749e42f5 07:57:50 $ docker rm -f --volumes 1a6578a25cf99de8ff47ea20271b910d4e5bb885baf81d9f9706e93f749e42f5 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:57:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:57:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:57:52 + ls -al . 07:57:52 total 188 07:57:52 drwxrwxr-x 10 jenkins jenkins 4096 May 24 07:57 . 07:57:52 drwxrwxr-x 4 jenkins jenkins 4096 May 24 07:56 .. 07:57:52 -rw-rw-r-- 1 jenkins jenkins 140 May 24 07:56 .dockerignore 07:57:52 drwxrwxr-x 8 jenkins jenkins 4096 May 24 07:57 .git 07:57:52 drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:56 .github 07:57:52 -rw-rw-r-- 1 jenkins jenkins 256 May 24 07:56 .gitignore 07:57:52 -rw-rw-r-- 1 jenkins jenkins 41 May 24 07:56 .golangci.yml 07:57:52 drwxr-xr-x 3 jenkins jenkins 4096 May 24 07:56 .semver 07:57:52 -rw-rw-r-- 1 jenkins jenkins 10405 May 24 07:56 Attribution.txt 07:57:52 -rw-rw-r-- 1 jenkins jenkins 18574 May 24 07:56 CHANGELOG.md 07:57:52 -rw-rw-r-- 1 jenkins jenkins 1798 May 24 07:56 Dockerfile 07:57:52 -rw-rw-r-- 1 jenkins jenkins 677 May 24 07:56 GOVERNANCE.md 07:57:52 -rw-rw-r-- 1 jenkins jenkins 657 May 24 07:56 Jenkinsfile 07:57:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 07:56 LICENSE 07:57:52 -rw-rw-r-- 1 jenkins jenkins 1963 May 24 07:56 Makefile 07:57:52 -rw-rw-r-- 1 jenkins jenkins 620 May 24 07:56 OWNERS.md 07:57:52 -rw-rw-r-- 1 jenkins jenkins 3599 May 24 07:56 README.md 07:57:52 -rw-rw-r-- 1 jenkins jenkins 5 May 24 07:56 VERSION 07:57:52 drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:56 bin 07:57:52 drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:56 cmd 07:57:52 -rw-r--r-- 1 jenkins jenkins 18506 May 24 07:57 coverage.out 07:57:52 -rw-rw-r-- 1 jenkins jenkins 3745 May 24 07:56 go.mod 07:57:52 -rw-rw-r-- 1 jenkins jenkins 34195 May 24 07:56 go.sum 07:57:52 drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:56 internal 07:57:52 drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:56 mock 07:57:52 drwxrwxr-x 6 jenkins jenkins 4096 May 24 07:56 vendor 07:57:52 -rw-rw-r-- 1 jenkins jenkins 227 May 24 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:52 + 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=0dd432c564210030875d0d0d9a4ed3f8d6934600 --label arch=amd64 --label version=0.0.0 . 07:57:52 Sending build context to Docker daemon 46.38MB 07:57:52 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 07:57:52 Step 2/25 : FROM ${BASE} AS builder 07:57:52 ---> 1ec5a8ac90a3 07:57:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:57:53 ---> Running in 3eee23776a79 07:57:53 Removing intermediate container 3eee23776a79 07:57:53 ---> dd0f10c038ab 07:57:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:57:53 ---> Running in 60d7ae9dafd5 07:57:53 Removing intermediate container 60d7ae9dafd5 07:57:53 ---> 9faebc580805 07:57:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:57:53 ---> Running in 0746330fd2ca 07:57:53 Removing intermediate container 0746330fd2ca 07:57:53 ---> c32793fa3833 07:57:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:57:53 ---> Running in d662a70d147c 07:57:53 Removing intermediate container d662a70d147c 07:57:53 ---> 6af596973f7a 07:57:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:57:53 ---> Running in 331dec26003b 07:57:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:57:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:57:54 OK: 268 MiB in 56 packages 07:57:54 Removing intermediate container 331dec26003b 07:57:54 ---> 047642ef9f88 07:57:54 Step 8/25 : WORKDIR /device-mqtt-go 07:57:54 ---> Running in fe7cef2e4417 07:57:54 Removing intermediate container fe7cef2e4417 07:57:54 ---> fb91420a97ee 07:57:54 Step 9/25 : COPY go.mod vendor* ./ 07:57:56 ---> 19eb4dcc5166 07:57:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:56 ---> Running in 92807f967444 07:57:57 skipping... 07:57:57 Removing intermediate container 92807f967444 07:57:57 ---> ba57a62b1e3a 07:57:57 Step 11/25 : COPY . . 07:57:59 ---> 08537eee87d5 07:57:59 Step 12/25 : RUN $MAKE 07:57:59 ---> Running in bb01dcdebebe 07:57:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:58:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-682 in /w/workspace/gexfoundry_device-mqtt-go_PR-673 [Pipeline] { [Pipeline] ws 07:58:20 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 07:58:20 The recommended git tool is: git 07:58:21 Removing intermediate container bb01dcdebebe 07:58:21 ---> f2b36aff4302 07:58:21 Step 13/25 : FROM alpine:3.18 07:58:21 3.18: Pulling from library/alpine 07:58:21 619be1103602: Already exists 07:58:21 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 07:58:21 Status: Downloaded newer image for alpine:3.18 07:58:21 ---> d3782b16ccc9 07:58:21 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:58:21 ---> Running in 19cdcce134d1 07:58:21 Removing intermediate container 19cdcce134d1 07:58:21 ---> 4cc3b80312fb 07:58:21 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:58:21 ---> Running in baa629449e7f 07:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:58:21 (1/1) Installing dumb-init (1.2.5-r2) 07:58:21 Executing busybox-1.36.1-r5.trigger 07:58:21 OK: 7 MiB in 16 packages 07:58:21 Removing intermediate container baa629449e7f 07:58:21 ---> e3fdfe126185 07:58:21 Step 16/25 : RUN apk --no-cache upgrade 07:58:21 ---> Running in 9079640c82e1 07:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:58:21 Upgrading critical system libraries and apk-tools: 07:58:21 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 07:58:21 Executing busybox-1.36.1-r5.trigger 07:58:21 Continuing the upgrade transaction with new apk-tools: 07:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:58:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:58:21 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 07:58:21 Executing busybox-1.36.1-r6.post-upgrade 07:58:21 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 07:58:21 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 07:58:21 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 07:58:21 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 07:58:21 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 07:58:21 Executing busybox-1.36.1-r6.trigger 07:58:21 OK: 7 MiB in 16 packages 07:58:21 Removing intermediate container 9079640c82e1 07:58:21 ---> 3d64f322925f 07:58:21 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 07:58:22 ---> b1ed2e3ad893 07:58:22 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 07:58:22 ---> bcaba5ef4f81 07:58:22 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:58:22 ---> e19950c417ca 07:58:22 Step 20/25 : EXPOSE 59982 07:58:22 ---> Running in f5862a433faa 07:58:22 Removing intermediate container f5862a433faa 07:58:22 ---> ae00aa37a482 07:58:22 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 07:58:22 ---> Running in f98376542d32 07:58:22 Removing intermediate container f98376542d32 07:58:22 ---> 34ba2e50f09f 07:58:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:58:22 ---> Running in d3cdb4827004 07:58:22 Removing intermediate container d3cdb4827004 07:58:22 ---> 1fd0748e1c3a 07:58:22 Step 23/25 : LABEL arch=amd64 07:58:22 ---> Running in 03aa04825d25 07:58:22 Removing intermediate container 03aa04825d25 07:58:22 ---> eb9fbe1db246 07:58:22 Step 24/25 : LABEL git_sha=0dd432c564210030875d0d0d9a4ed3f8d6934600 07:58:22 ---> Running in 25a7b039c149 07:58:22 Removing intermediate container 25a7b039c149 07:58:22 ---> 9376e6453020 07:58:22 Step 25/25 : LABEL version=0.0.0 07:58:22 ---> Running in 90652f0fc097 07:58:22 Removing intermediate container 90652f0fc097 07:58:22 ---> d960e576c58a 07:58:22 [Warning] One or more build-args [ARCH] were not consumed 07:58:23 Successfully built d960e576c58a 07:58:23 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:24 07:58:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:24 latest: Pulling from edgex-lftools-log-publisher 07:58:24 5eb5b503b376: Pulling fs layer 07:58:24 5c69ac0246d0: Pulling fs layer 07:58:24 ec43610c2a17: Pulling fs layer 07:58:24 3a2ae6a8a46f: Pulling fs layer 07:58:24 33b1e0a273af: Pulling fs layer 07:58:24 5d3b04190fa2: Pulling fs layer 07:58:24 2f39f015ded8: Pulling fs layer 07:58:24 3a2ae6a8a46f: Waiting 07:58:24 33b1e0a273af: Waiting 07:58:24 5d3b04190fa2: Waiting 07:58:24 2f39f015ded8: Waiting 07:58:24 5c69ac0246d0: Verifying Checksum 07:58:24 5c69ac0246d0: Download complete 07:58:24 3a2ae6a8a46f: Verifying Checksum 07:58:24 33b1e0a273af: Verifying Checksum 07:58:24 33b1e0a273af: Download complete 07:58:24 5d3b04190fa2: Verifying Checksum 07:58:24 5d3b04190fa2: Download complete 07:58:24 ec43610c2a17: Verifying Checksum 07:58:24 ec43610c2a17: Download complete 07:58:24 5eb5b503b376: Download complete 07:58:25 2f39f015ded8: Verifying Checksum 07:58:25 2f39f015ded8: Download complete 07:58:25 using credential edgex-jenkins-ssh 07:58:25 Cloning the remote Git repository 07:58:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:58:25 > git init /w/workspace/device-mqtt-go/1 # timeout=10 07:58:25 5eb5b503b376: Pull complete 07:58:25 5c69ac0246d0: Pull complete 07:58:26 ec43610c2a17: Pull complete 07:58:26 3a2ae6a8a46f: Pull complete 07:58:26 33b1e0a273af: Pull complete 07:58:26 5d3b04190fa2: Pull complete 07:58:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:58:25 > git --version # timeout=10 07:58:25 > git --version # 'git version 2.25.1' 07:58:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:58:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:58:28 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:58:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:58:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 07:58:29 Merging remotes/origin/napa commit 6c8369be06a5c5a29b6c14d39caafaee9c646641 into PR head commit 0dd432c564210030875d0d0d9a4ed3f8d6934600 07:58:30 2f39f015ded8: Pull complete 07:58:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:58:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 07:58:30 > git config core.sparsecheckout # timeout=10 07:58:30 > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:31 Merge succeeded, producing 0dd432c564210030875d0d0d9a4ed3f8d6934600 07:58:31 Checking out Revision 0dd432c564210030875d0d0d9a4ed3f8d6934600 (PR-673) 07:58:31 prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container 07:58:31 $ 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-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:58:30 > git remote # timeout=10 07:58:30 > git config --get remote.origin.url # timeout=10 07:58:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:58:31 > git merge 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 07:58:31 > git rev-parse HEAD^{commit} # timeout=10 07:58:31 > git config core.sparsecheckout # timeout=10 07:58:31 > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 07:58:32 Commit message: "build: Bump SDK to v3.1.1" 07:58:32 > git --version # timeout=10 07:58:32 > git --version # 'git version 2.25.1' 07:58:32 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 07:58:36 $ docker top 310d55db9f34a68a28b7afa14c5d757ada24d41e4149fff350bc71bdb2c77cf0 -eo pid,comm 07:58:36 07:58:36 GitHub has been notified of this commit’s build result 07:58:36 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 07:58:37 ---> job-cost.sh 07:58:37 lf-activate-venv: SKIPPING 07:58:37 INFO: No Stack... [Pipeline] sh 07:58:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:58:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:58:37 % Total % Received % Xferd Average Speed Time Time Time Current 07:58:37 Dload Upload Total Spent Left Speed 07:58:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 07:58:37 INFO: Archiving Costs [Pipeline] sh 07:58:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:58:38 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives/cost.csv 07:58:38 + cut -d, -f6 [Pipeline] lock 07:58:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] 07:58:38 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] did not exist. Created. 07:58:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] { [Pipeline] unstash 07:58:38 + sudo tee /etc/docker/daemon.new 07:58:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:58:38 { 07:58:38 "registry-mirrors": [ 07:58:38 "https://nexus3.edgexfoundry.org:10001" 07:58:38 ], 07:58:38 "bip": "10.250.0.254/24", 07:58:38 "hosts": [ 07:58:38 "tcp://0.0.0.0:5555", 07:58:38 "unix:///var/run/docker.sock" 07:58:38 ], 07:58:38 "mtu": 1458, 07:58:38 "selinux-enabled": true, 07:58:38 "seccomp-profile": "/etc/docker/seccomp.json" 07:58:38 } [Pipeline] sh [Pipeline] sh 07:58:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 07:58:38 + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash 07:58:38 Stashed 1 file(s) [Pipeline] } 07:58:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:58:39 $ docker stop --time=1 310d55db9f34a68a28b7afa14c5d757ada24d41e4149fff350bc71bdb2c77cf0 07:58:39 + sudo service docker restart 07:58:40 $ docker rm -f --volumes 310d55db9f34a68a28b7afa14c5d757ada24d41e4149fff350bc71bdb2c77cf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:57 provisioning config files... 07:58:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config616992490866937096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:58:58 ---> ****-login.sh 07:58:58 nexus3.edgexfoundry.org:10001 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:58 Configure a credential helper to remove this warning. See 07:58:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:58 07:58:58 Login Succeeded 07:58:58 nexus3.edgexfoundry.org:10002 07:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 nexus3.edgexfoundry.org:10003 07:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 nexus3.edgexfoundry.org:10004 07:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:58:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:58:59 Configure a credential helper to remove this warning. See 07:58:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:58:59 07:58:59 Login Succeeded 07:58:59 ****.io 07:58:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:59:00 Configure a credential helper to remove this warning. See 07:59:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:59:00 07:59:00 Login Succeeded 07:59:00 ---> ****-login.sh ends [Pipeline] } 07:59:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:59:00 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 07:59:01 + grep ^go [0-9].[0-9]* go.mod 07:59:01 + cut -d -f 2 [Pipeline] echo 07:59:01 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:59:01 ========================================================= 07:59:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 07:59:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:59:04 Sending build context to Docker daemon 38.96MB 07:59:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 07:59:04 Step 2/12 : FROM ${BASE} AS builder 07:59:04 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:59:04 c6b39de5b339: Pulling fs layer 07:59:04 a69c41024577: Pulling fs layer 07:59:04 d6de4b400683: Pulling fs layer 07:59:04 35cb2a7552d0: Pulling fs layer 07:59:04 4f4fb700ef54: Pulling fs layer 07:59:04 9e011611b7f5: Pulling fs layer 07:59:04 3bd174042beb: Pulling fs layer 07:59:04 4476f39b5e91: Pulling fs layer 07:59:04 4f4fb700ef54: Waiting 07:59:04 9e011611b7f5: Waiting 07:59:04 3bd174042beb: Waiting 07:59:04 4476f39b5e91: Waiting 07:59:04 35cb2a7552d0: Waiting 07:59:04 a69c41024577: Verifying Checksum 07:59:04 a69c41024577: Download complete 07:59:04 35cb2a7552d0: Verifying Checksum 07:59:04 35cb2a7552d0: Download complete 07:59:04 4f4fb700ef54: Verifying Checksum 07:59:04 4f4fb700ef54: Download complete 07:59:04 c6b39de5b339: Verifying Checksum 07:59:04 c6b39de5b339: Download complete 07:59:04 9e011611b7f5: Verifying Checksum 07:59:04 9e011611b7f5: Download complete 07:59:04 4476f39b5e91: Verifying Checksum 07:59:04 4476f39b5e91: Download complete 07:59:05 c6b39de5b339: Pull complete 07:59:05 a69c41024577: Pull complete 07:59:06 d6de4b400683: Verifying Checksum 07:59:06 d6de4b400683: Download complete 07:59:07 3bd174042beb: Verifying Checksum 07:59:07 3bd174042beb: Download complete 07:59:19 d6de4b400683: Pull complete 07:59:19 35cb2a7552d0: Pull complete 07:59:19 4f4fb700ef54: Pull complete 07:59:19 9e011611b7f5: Pull complete 07:59:27 3bd174042beb: Pull complete 07:59:29 4476f39b5e91: Pull complete 07:59:29 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 07:59:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 07:59:29 ---> 981a0608b64a 07:59:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:59:31 ---> Running in 3fc2adddbe8c 07:59:31 Removing intermediate container 3fc2adddbe8c 07:59:31 ---> 7faf7c852b0e 07:59:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:59:31 ---> Running in 5bcbbb9b5978 07:59:32 Removing intermediate container 5bcbbb9b5978 07:59:32 ---> b6fb6348b16b 07:59:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:59:32 ---> Running in d463c97fa94b 07:59:32 Removing intermediate container d463c97fa94b 07:59:32 ---> 49eeef100ba1 07:59:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:59:32 ---> Running in a95e9a7c8232 07:59:32 Removing intermediate container a95e9a7c8232 07:59:32 ---> 1e05a2b6b179 07:59:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:59:32 ---> Running in a7fbed6568ab 07:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:59:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:59:35 (1/4) Installing openssh-keygen (9.3_p2-r1) 07:59:35 (2/4) Installing libedit (20221030.3.1-r1) 07:59:35 (3/4) Installing openssh-client-common (9.3_p2-r1) 07:59:35 (4/4) Installing openssh-client-default (9.3_p2-r1) 07:59:35 Executing busybox-1.36.1-r5.trigger 07:59:35 OK: 271 MiB in 56 packages 07:59:36 Removing intermediate container a7fbed6568ab 07:59:36 ---> b4a42a4fb4e1 07:59:36 Step 8/12 : WORKDIR /device-mqtt-go 07:59:36 ---> Running in 64d4f7fe6fbf 07:59:36 Removing intermediate container 64d4f7fe6fbf 07:59:36 ---> 173dff901ffb 07:59:36 Step 9/12 : COPY go.mod vendor* ./ 07:59:43 ---> 4e894ce01cbd 07:59:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:59:43 ---> Running in deb32e458b0a 08:00:39 Removing intermediate container deb32e458b0a 08:00:39 ---> b5fb082e3083 08:00:39 Step 11/12 : COPY . . 08:00:43 ---> fbb74360c0b7 08:00:43 Step 12/12 : RUN $MAKE 08:00:43 ---> Running in 4988d0cf6caa 08:00:43 noop 08:00:44 Removing intermediate container 4988d0cf6caa 08:00:44 ---> 9ba7a2a1104f 08:00:44 Successfully built 9ba7a2a1104f 08:00:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:45 + docker inspect -f . ci-base-image-arm64 08:00:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-682 does not seem to be running inside a container 08:00:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:00:46 $ docker top 4ae12d29d721ffb46f5bc9c5ce33d861bf58df150c0cf4d7a30b2324de4df996 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:47 + go version 08:00:47 go version go1.21.9 linux/arm64 [Pipeline] } 08:00:47 $ docker stop --time=1 4ae12d29d721ffb46f5bc9c5ce33d861bf58df150c0cf4d7a30b2324de4df996 08:00:49 $ docker rm -f --volumes 4ae12d29d721ffb46f5bc9c5ce33d861bf58df150c0cf4d7a30b2324de4df996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:50 + docker inspect -f . ci-base-image-arm64 08:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:50 prd-ubuntu20.04-docker-arm64-4c-16g-682 does not seem to be running inside a container 08:00:50 $ 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 ******** -e ******** ci-base-image-arm64 cat 08:00:51 $ docker top 526c87cc51365e29fa1789dd21e51297424542cb4be17b780fc55b0f6d757b61 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 08:00:53 + make test 08:00:53 go test ./... -coverprofile=coverage.out ./... 08:00:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:02:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:02:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:02:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 22.8% of statements 08:02:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:02:47 go vet ./... 08:03:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:03:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:03:14 ./bin/test-attribution-txt.sh [Pipeline] echo 08:03:14 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:03:14 + go mod tidy [Pipeline] } 08:03:18 $ docker stop --time=1 526c87cc51365e29fa1789dd21e51297424542cb4be17b780fc55b0f6d757b61 08:03:20 $ docker rm -f --volumes 526c87cc51365e29fa1789dd21e51297424542cb4be17b780fc55b0f6d757b61 [Pipeline] // withDockerContainer [Pipeline] sh 08:03:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:03:21 Warning: overwriting stash ‘coverage-report’ 08:03:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:03:23 + ls -al . 08:03:23 total 184 08:03:23 drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:00 . 08:03:23 drwxrwxr-x 4 jenkins jenkins 4096 May 24 07:58 .. 08:03:23 -rw-rw-r-- 1 jenkins jenkins 140 May 24 07:58 .dockerignore 08:03:23 drwxrwxr-x 8 jenkins jenkins 4096 May 24 07:58 .git 08:03:23 drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:58 .github 08:03:23 -rw-rw-r-- 1 jenkins jenkins 256 May 24 07:58 .gitignore 08:03:23 -rw-rw-r-- 1 jenkins jenkins 41 May 24 07:58 .golangci.yml 08:03:23 -rw-rw-r-- 1 jenkins jenkins 10405 May 24 07:58 Attribution.txt 08:03:23 -rw-rw-r-- 1 jenkins jenkins 18574 May 24 07:58 CHANGELOG.md 08:03:23 -rw-rw-r-- 1 jenkins jenkins 1798 May 24 07:58 Dockerfile 08:03:23 -rw-rw-r-- 1 jenkins jenkins 677 May 24 07:58 GOVERNANCE.md 08:03:23 -rw-rw-r-- 1 jenkins jenkins 657 May 24 07:58 Jenkinsfile 08:03:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 07:58 LICENSE 08:03:23 -rw-rw-r-- 1 jenkins jenkins 1963 May 24 07:58 Makefile 08:03:23 -rw-rw-r-- 1 jenkins jenkins 620 May 24 07:58 OWNERS.md 08:03:23 -rw-rw-r-- 1 jenkins jenkins 3599 May 24 07:58 README.md 08:03:23 -rw-rw-r-- 1 jenkins jenkins 5 May 24 07:56 VERSION 08:03:23 drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:58 bin 08:03:23 drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:58 cmd 08:03:23 -rw-r--r-- 1 jenkins jenkins 18506 May 24 08:02 coverage.out 08:03:23 -rw-rw-r-- 1 jenkins jenkins 3745 May 24 07:58 go.mod 08:03:23 -rw-rw-r-- 1 jenkins jenkins 34195 May 24 07:58 go.sum 08:03:23 drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:58 internal 08:03:23 drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:58 mock 08:03:23 drwxrwxr-x 6 jenkins jenkins 4096 May 24 07:58 vendor 08:03:23 -rw-rw-r-- 1 jenkins jenkins 227 May 24 07:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:23 + 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=0dd432c564210030875d0d0d9a4ed3f8d6934600 --label arch=arm64 --label version=0.0.0 . 08:03:26 Sending build context to Docker daemon 38.98MB 08:03:26 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 08:03:26 Step 2/25 : FROM ${BASE} AS builder 08:03:26 ---> 9ba7a2a1104f 08:03:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 08:03:26 ---> Running in d15abbde9e85 08:03:26 Removing intermediate container d15abbde9e85 08:03:26 ---> f1f68d295359 08:03:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:03:26 ---> Running in dd22b47010d2 08:03:26 Removing intermediate container dd22b47010d2 08:03:26 ---> 0cec43806706 08:03:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:03:27 ---> Running in b3c30fedda50 08:03:27 Removing intermediate container b3c30fedda50 08:03:27 ---> e04919649357 08:03:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 08:03:27 ---> Running in e18225be0f49 08:03:27 Removing intermediate container e18225be0f49 08:03:27 ---> 73601c5c4dcf 08:03:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:03:27 ---> Running in a4f997fc4d69 08:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:03:30 OK: 271 MiB in 56 packages 08:03:30 Removing intermediate container a4f997fc4d69 08:03:30 ---> 963d1bbf97fb 08:03:30 Step 8/25 : WORKDIR /device-mqtt-go 08:03:30 ---> Running in 3c0085f4b598 08:03:30 Removing intermediate container 3c0085f4b598 08:03:30 ---> 346aec0845df 08:03:30 Step 9/25 : COPY go.mod vendor* ./ 08:03:37 ---> 7b44d87ddef0 08:03:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:03:37 ---> Running in 7d6f9e582547 08:03:38 skipping... 08:03:39 Removing intermediate container 7d6f9e582547 08:03:39 ---> 90f731570eac 08:03:39 Step 11/25 : COPY . . 08:03:47 ---> 821d957e6b50 08:03:47 Step 12/25 : RUN $MAKE 08:03:47 ---> Running in b8ac15fdb1df 08:03:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 08:05:54 Removing intermediate container b8ac15fdb1df 08:05:54 ---> 59fe44e3befc 08:05:54 Step 13/25 : FROM alpine:3.18 08:05:54 3.18: Pulling from library/alpine 08:05:54 c6b39de5b339: Already exists 08:05:54 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:05:54 Status: Downloaded newer image for alpine:3.18 08:05:54 ---> 33abbf032149 08:05:54 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:05:54 ---> Running in 1b5c52081368 08:05:54 Removing intermediate container 1b5c52081368 08:05:54 ---> dadcc6dd15f0 08:05:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:05:54 ---> Running in 7c25ce4ef644 08:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:05:55 (1/1) Installing dumb-init (1.2.5-r2) 08:05:55 Executing busybox-1.36.1-r5.trigger 08:05:55 OK: 8 MiB in 16 packages 08:05:56 Removing intermediate container 7c25ce4ef644 08:05:56 ---> c1ea672376bc 08:05:56 Step 16/25 : RUN apk --no-cache upgrade 08:05:56 ---> Running in 3fb2264a8e7c 08:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:05:58 Upgrading critical system libraries and apk-tools: 08:05:58 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:05:58 Executing busybox-1.36.1-r5.trigger 08:05:58 Continuing the upgrade transaction with new apk-tools: 08:05:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:05:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:05:59 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:05:59 Executing busybox-1.36.1-r6.post-upgrade 08:05:59 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:05:59 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:05:59 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:05:59 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:05:59 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:05:59 Executing busybox-1.36.1-r6.trigger 08:05:59 OK: 8 MiB in 16 packages 08:06:00 Removing intermediate container 3fb2264a8e7c 08:06:00 ---> 1374bf33ed49 08:06:00 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 08:06:02 ---> e55970ad14ea 08:06:02 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 08:06:02 ---> 173d7a0147fe 08:06:02 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:06:03 ---> 14d551504193 08:06:03 Step 20/25 : EXPOSE 59982 08:06:03 ---> Running in 610b70231497 08:06:03 Removing intermediate container 610b70231497 08:06:03 ---> 1999fc255f9c 08:06:03 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 08:06:03 ---> Running in 37324b3dcbf5 08:06:03 Removing intermediate container 37324b3dcbf5 08:06:03 ---> d36de830bf82 08:06:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:06:03 ---> Running in c8bcac7ebde7 08:06:04 Removing intermediate container c8bcac7ebde7 08:06:04 ---> 7dd4cc591ad2 08:06:04 Step 23/25 : LABEL arch=arm64 08:06:04 ---> Running in c7f2bb519b3b 08:06:04 Removing intermediate container c7f2bb519b3b 08:06:04 ---> 102de47538a9 08:06:04 Step 24/25 : LABEL git_sha=0dd432c564210030875d0d0d9a4ed3f8d6934600 08:06:04 ---> Running in c810099b280c 08:06:05 Removing intermediate container c810099b280c 08:06:05 ---> 7095ae48bd28 08:06:05 Step 25/25 : LABEL version=0.0.0 08:06:05 ---> Running in d71ba52ebd12 08:06:05 Removing intermediate container d71ba52ebd12 08:06:05 ---> 92fa944671f6 08:06:05 [Warning] One or more build-args [ARCH] were not consumed 08:06:05 Successfully built 92fa944671f6 08:06:05 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:06 08:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:07 arm64: Pulling from edgex-lftools-log-publisher 08:06:07 8998bd30e6a1: Pulling fs layer 08:06:07 04944245beec: Pulling fs layer 08:06:07 699f458cf7ca: Pulling fs layer 08:06:07 765212b225bb: Pulling fs layer 08:06:07 f23df028b6ca: Pulling fs layer 08:06:07 d65c8cfc05b1: Pulling fs layer 08:06:07 2437ff75d9bd: Pulling fs layer 08:06:07 765212b225bb: Waiting 08:06:07 f23df028b6ca: Waiting 08:06:07 d65c8cfc05b1: Waiting 08:06:07 2437ff75d9bd: Waiting 08:06:07 04944245beec: Verifying Checksum 08:06:07 04944245beec: Download complete 08:06:07 765212b225bb: Verifying Checksum 08:06:07 765212b225bb: Download complete 08:06:07 f23df028b6ca: Verifying Checksum 08:06:07 f23df028b6ca: Download complete 08:06:07 d65c8cfc05b1: Verifying Checksum 08:06:07 d65c8cfc05b1: Download complete 08:06:07 699f458cf7ca: Verifying Checksum 08:06:07 699f458cf7ca: Download complete 08:06:08 8998bd30e6a1: Verifying Checksum 08:06:08 8998bd30e6a1: Download complete 08:06:10 2437ff75d9bd: Verifying Checksum 08:06:10 2437ff75d9bd: Download complete 08:06:12 8998bd30e6a1: Pull complete 08:06:13 04944245beec: Pull complete 08:06:14 699f458cf7ca: Pull complete 08:06:14 765212b225bb: Pull complete 08:06:15 f23df028b6ca: Pull complete 08:06:15 d65c8cfc05b1: Pull complete 08:06:33 2437ff75d9bd: Pull complete 08:06:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:06:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:34 prd-ubuntu20.04-docker-arm64-4c-16g-682 does not seem to be running inside a container 08:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:06:37 $ docker top 0a4fa3eccc50b3d32385a1188a0a689b5d13fcdf265c529698c8301f9bbdacbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:37 ---> job-cost.sh 08:06:37 lf-activate-venv: SKIPPING 08:06:37 INFO: No Stack... 08:06:38 INFO: Retrieving Pricing Info for: v3-standard-4 08:06:39 INFO: Archiving Costs [Pipeline] sh 08:06:39 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 08:06:39 + cut -d, -f6 [Pipeline] lock 08:06:39 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] 08:06:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] did not exist. Created. 08:06:39 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:40 /w/workspace/device-mqtt-go/1@tmp/durable-fd6ab8e5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:06:41 + echo total: 0.10999999940395355 [Pipeline] stash 08:06:41 Warning: overwriting stash ‘stack-cost’ 08:06:41 Stashed 1 file(s) [Pipeline] } 08:06:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:41 $ docker stop --time=1 0a4fa3eccc50b3d32385a1188a0a689b5d13fcdf265c529698c8301f9bbdacbf 08:06:43 $ docker rm -f --volumes 0a4fa3eccc50b3d32385a1188a0a689b5d13fcdf265c529698c8301f9bbdacbf [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 08:06:44 provisioning config files... 08:06:44 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config516623386656589710tmp [Pipeline] { [Pipeline] sh 08:06:44 + set +x 08:06:44 + curl -s https://codecov.io/bash 08:06:44 + bash -s -- 08:06:44 08:06:44 _____ _ 08:06:44 / ____| | | 08:06:44 | | ___ __| | ___ ___ _____ __ 08:06:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:06:44 | |___| (_) | (_| | __/ (_| (_) \ V / 08:06:44 \_____\___/ \__,_|\___|\___\___/ \_/ 08:06:44 Bash-1.0.6 08:06:44 08:06:44 08:06:44 ==> git version 2.25.1 found 08:06:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:06:44 Release-Date: 2020-01-08 08:06:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:06:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:06:44 ==> Jenkins CI detected. 08:06:44 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-673 08:06:44 project root: . 08:06:44 --> token set from env 08:06:44 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 08:06:44 ==> Running gcov in . (disable via -X gcov) 08:06:44 ==> Python coveragepy not found 08:06:44 ==> Searching for coverage reports in: 08:06:44 + . 08:06:44 -> Found 1 reports 08:06:44 ==> Detecting git/mercurial file structure 08:06:45 ==> Reading reports 08:06:45 + ./coverage.out bytes=18506 08:06:45 ==> Appending adjustments 08:06:45 https://docs.codecov.io/docs/fixing-reports 08:06:45 + Found adjustments 08:06:45 ==> Gzipping contents 08:06:45 16K /tmp/codecov.qvd83F.gz 08:06:45 ==> Uploading reports 08:06:45 url: https://codecov.io 08:06:45 query: branch=PR-673&commit=0dd432c564210030875d0d0d9a4ed3f8d6934600&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-673%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=673&job=&cmd_args= 08:06:45 -> Pinging Codecov 08:06:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-673&commit=0dd432c564210030875d0d0d9a4ed3f8d6934600&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-673%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=673&job=&cmd_args= 08:06:45 -> Uploading to 08:06:45 https://storage.googleapis.com/codecov/v4/raw/2024-05-24/7D719EC7BBE17E464838252E33014C33/0dd432c564210030875d0d0d9a4ed3f8d6934600/adca11ea-d98f-45b0-9dee-cf59fc775049.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T080645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc7b79f18fde62d86d42bd6545ce7f0a3c5ee72340a57a108c13630073c8517f 08:06:45 % Total % Received % Xferd Average Speed Time Time Time Current 08:06:45 Dload Upload Total Spent Left Speed 08:06:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14845 0 0 100 14845 0 73128 --:--:-- --:--:-- --:--:-- 72769 100 14845 0 0 100 14845 0 57538 --:--:-- --:--:-- --:--:-- 57316 08:06:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] } 08:06:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:06:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives ] 08:06:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives 08:06:48 total 16 08:06:48 drwxr-xr-x 3 root root 4096 May 24 07:58 . 08:06:48 drwxrwxr-x 11 jenkins jenkins 4096 May 24 07:58 .. 08:06:48 drwxr-xr-x 2 root root 4096 May 24 07:58 cost 08:06:48 -rw-r--r-- 1 root root 86 May 24 07:58 cost.csv 08:06:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives 08:06:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives 08:06:48 total 16 08:06:48 drwxr-xr-x 3 jenkins jenkins 4096 May 24 07:58 . 08:06:48 drwxrwxr-x 11 jenkins jenkins 4096 May 24 07:58 .. 08:06:48 drwxr-xr-x 2 jenkins jenkins 4096 May 24 07:58 cost 08:06:48 -rw-r--r-- 1 jenkins jenkins 86 May 24 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:06:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:06:49 ---> package-listing.sh 08:06:49 ++ facter osfamily 08:06:49 ++ tr '[:upper:]' '[:lower:]' 08:06:49 + OS_FAMILY=debian 08:06:49 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-673 08:06:49 + START_PACKAGES=/tmp/packages_start.txt 08:06:49 + END_PACKAGES=/tmp/packages_end.txt 08:06:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:06:49 + PACKAGES=/tmp/packages_start.txt 08:06:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-673 ']' 08:06:49 + PACKAGES=/tmp/packages_end.txt 08:06:49 + case "${OS_FAMILY}" in 08:06:49 + dpkg -l 08:06:49 + grep '^ii' 08:06:49 + '[' -f /tmp/packages_start.txt ']' 08:06:49 + '[' -f /tmp/packages_end.txt ']' 08:06:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:06:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-673 ']' 08:06:49 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives/ 08:06:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives/ [Pipeline] echo 08:06:49 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-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:06:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:50 prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container 08:06:50 $ 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-673/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-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@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:latest cat 08:06:50 $ docker top 5134d6b40f5f332757b0a37160e6ee7d35f67d1bd3a08d149f08bb90f7a0c4b3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:06:51 + touch /tmp/pre-build-complete [Pipeline] sh 08:06:51 + mkdir -p /var/log/sysstat [Pipeline] sh 08:06:51 + ls /var/log/sa-host 08:06:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:06:52 provisioning config files... 08:06:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config2418221603434474973tmp [Pipeline] { [Pipeline] echo 08:06:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:06:52 ---> create-netrc.sh [Pipeline] } 08:06:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:06:53 ---> python-tools-install.sh [Pipeline] echo 08:06:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:06:53 ---> sudo-logs.sh 08:06:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:06:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:06:53 ---> job-cost.sh 08:06:53 lf-activate-venv: SKIPPING 08:06:53 DEBUG: total: 0.2199999988079071 08:06:53 INFO: Retrieving Stack Cost... 08:06:54 INFO: Retrieving Pricing Info for: v3-standard-8 08:06:54 INFO: Archiving Costs [Pipeline] echo 08:06:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:06:54 ---> logs-deploy.sh 08:06:54 lf-activate-venv: SKIPPING 08:06:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-673/1 08:06:54 INFO: archiving workspace using pattern(s): 08:06:55 Archives upload complete. 08:06:55 INFO: archiving logs to Nexus