Pull request #601 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ece186a237ca6ecbc7becba4d1764eaf7cc635cb+aee7b0e7ef23d1e8502c68f930469c32112c0c09 (2bdc998ae5daf341e554a885e03813d2c5181251) 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-ssh18342693345165323682.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1148668720075280738.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-601/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-601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2125515397777875201.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-601/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5244837675318474996.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8519714493042038840.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-601/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-601/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1209123327805962097.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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-15531’ Running on prd-ubuntu20.04-docker-8c-8g-15533 in /w/workspace/gexfoundry_device-mqtt-go_PR-601 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-601 # 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/601/head:refs/remotes/origin/PR-601 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aee7b0e7ef23d1e8502c68f930469c32112c0c09 into PR head commit ece186a237ca6ecbc7becba4d1764eaf7cc635cb Merge succeeded, producing ece186a237ca6ecbc7becba4d1764eaf7cc635cb Checking out Revision ece186a237ca6ecbc7becba4d1764eaf7cc635cb (PR-601) Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:47:09 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ece186a237ca6ecbc7becba4d1764eaf7cc635cb # 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 aee7b0e7ef23d1e8502c68f930469c32112c0c09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ece186a237ca6ecbc7becba4d1764eaf7cc635cb # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:47:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:47:10 ========================================================= 09:47:10 EdgeX Global Pipelines Version Info 09:47:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:47:10 ------------------- 09:47:10 stable info: 09:47:10 ------------------- 09:47:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:47:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:47:10 Message: update stable to v1.0.249 09:47:11 ------------------- 09:47:11 experimental info: 09:47:11 ------------------- 09:47:11 Commited By: **** collab-it+edgex@linuxfoundation.org 09:47:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:47:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:47:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:47:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:47:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:47:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:47:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:47:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-601 [Pipeline] echo 09:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-601 [Pipeline] echo 09:47:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-601 [Pipeline] echo 09:47:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ece186a237ca6ecbc7becba4d1764eaf7cc635cb [Pipeline] echo 09:47:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ece186a [Pipeline] echo 09:47:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:47:13 provisioning config files... 09:47:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/config14037886844465726445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:13 ---> docker-login.sh 09:47:13 nexus3.edgexfoundry.org:10001 09:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:13 Configure a credential helper to remove this warning. See 09:47:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:13 09:47:13 Login Succeeded 09:47:13 nexus3.edgexfoundry.org:10002 09:47:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:14 Configure a credential helper to remove this warning. See 09:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:14 09:47:14 Login Succeeded 09:47:14 nexus3.edgexfoundry.org:10003 09:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:14 Configure a credential helper to remove this warning. See 09:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:14 09:47:14 Login Succeeded 09:47:14 nexus3.edgexfoundry.org:10004 09:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:14 Configure a credential helper to remove this warning. See 09:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:14 09:47:14 Login Succeeded 09:47:14 docker.io 09:47:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:14 Configure a credential helper to remove this warning. See 09:47:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:14 09:47:14 Login Succeeded 09:47:14 ---> docker-login.sh ends [Pipeline] } 09:47:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:47:15 + git rev-list -1 --merges ece186a237ca6ecbc7becba4d1764eaf7cc635cb~1..ece186a237ca6ecbc7becba4d1764eaf7cc635cb [Pipeline] echo 09:47:15 -----------> git rev-list -1 --merges ece186a237ca6ecbc7becba4d1764eaf7cc635cb~1..ece186a237ca6ecbc7becba4d1764eaf7cc635cb ece186a237ca6ecbc7becba4d1764eaf7cc635cb [false] [Pipeline] sh 09:47:15 + git log --format=format:%s -1 ece186a237ca6ecbc7becba4d1764eaf7cc635cb [Pipeline] echo 09:47:15 ========================================================= 09:47:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:47:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:47:16 + git log --format=format:%s -1 ece186a237ca6ecbc7becba4d1764eaf7cc635cb [Pipeline] echo 09:47:16 [semverPrep] GIT_COMMIT: ece186a237ca6ecbc7becba4d1764eaf7cc635cb, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo 09:47:16 [semverPrep] This is not a build commit. [Pipeline] sh 09:47:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:47:16 + grep -v github /etc/ssh/ssh_known_hosts 09:47:16 + [ -e /tmp/ssh_known_hosts ] 09:47:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:47:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:47:16 + sudo tee -a /etc/ssh/ssh_known_hosts 09:47:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:17 09:47:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:17 0.1.4: Pulling from edgex-devops/py-git-semver 09:47:17 b85a868b505f: Pulling fs layer 09:47:17 e2be974225ed: Pulling fs layer 09:47:17 339a4e72a1f5: Pulling fs layer 09:47:17 988bab9f4d93: Pulling fs layer 09:47:17 1469e6f7b9e6: Pulling fs layer 09:47:17 988bab9f4d93: Waiting 09:47:17 1469e6f7b9e6: Waiting 09:47:17 eaf3925da568: Pulling fs layer 09:47:17 bab4dde63d76: Pulling fs layer 09:47:17 bde34c3a00c8: Pulling fs layer 09:47:17 b352a97aabf1: Pulling fs layer 09:47:17 4872d77fe225: Pulling fs layer 09:47:17 5851b861e8e6: Pulling fs layer 09:47:17 eaf3925da568: Waiting 09:47:17 b352a97aabf1: Waiting 09:47:17 4872d77fe225: Waiting 09:47:17 bde34c3a00c8: Waiting 09:47:17 e2be974225ed: Verifying Checksum 09:47:17 e2be974225ed: Download complete 09:47:17 988bab9f4d93: Download complete 09:47:17 339a4e72a1f5: Verifying Checksum 09:47:17 339a4e72a1f5: Download complete 09:47:17 1469e6f7b9e6: Verifying Checksum 09:47:17 1469e6f7b9e6: Download complete 09:47:17 eaf3925da568: Verifying Checksum 09:47:17 eaf3925da568: Download complete 09:47:17 bde34c3a00c8: Verifying Checksum 09:47:17 bde34c3a00c8: Download complete 09:47:17 b352a97aabf1: Download complete 09:47:17 4872d77fe225: Verifying Checksum 09:47:17 4872d77fe225: Download complete 09:47:17 5851b861e8e6: Download complete 09:47:17 b85a868b505f: Download complete 09:47:18 bab4dde63d76: Verifying Checksum 09:47:18 bab4dde63d76: Download complete 09:47:19 b85a868b505f: Pull complete 09:47:19 e2be974225ed: Pull complete 09:47:19 339a4e72a1f5: Pull complete 09:47:19 988bab9f4d93: Pull complete 09:47:19 1469e6f7b9e6: Pull complete 09:47:20 eaf3925da568: Pull complete 09:47:21 bab4dde63d76: Pull complete 09:47:21 bde34c3a00c8: Pull complete 09:47:21 b352a97aabf1: Pull complete 09:47:21 4872d77fe225: Pull complete 09:47:21 5851b861e8e6: Pull complete 09:47:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:47:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:47:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:22 prd-ubuntu20.04-docker-8c-8g-15533 does not seem to be running inside a container 09:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-601 -v /w/workspace/gexfoundry_device-mqtt-go_PR-601:/w/workspace/gexfoundry_device-mqtt-go_PR-601:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-601@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:47:24 $ docker top 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 -eo pid,comm 09:47: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). 09:47:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:47:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:47:24 [ssh-agent] Looking for ssh-agent implementation... 09:47:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:47:24 $ docker exec 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 ssh-agent 09:47:25 SSH_AUTH_SOCK=/tmp/ssh-ExGFrutzzYvf/agent.34 09:47:25 SSH_AGENT_PID=40 09:47:25 Running ssh-add (command line suppressed) 09:47:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/private_key_1254196394386552174.key (/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/private_key_1254196394386552174.key) 09:47:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:47:25 + git tag --points-at HEAD [Pipeline] } 09:47:25 $ docker exec --env ******** --env ******** 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 ssh-agent -k 09:47:25 unset SSH_AUTH_SOCK; 09:47:25 unset SSH_AGENT_PID; 09:47:25 echo Agent pid 40 killed; 09:47:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:47:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:47:25 [ssh-agent] Looking for ssh-agent implementation... 09:47:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:47:25 $ docker exec 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 ssh-agent 09:47:25 SSH_AUTH_SOCK=/tmp/ssh-cfRzSH5rfXXR/agent.72 09:47:25 SSH_AGENT_PID=78 09:47:25 Running ssh-add (command line suppressed) 09:47:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/private_key_4415145715390487188.key (/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/private_key_4415145715390487188.key) 09:47:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:47:26 + git semver init 09:47:26 2023-05-16 09:47:26,559 [run_init] DEBUG init version:0.0.0 force:False 09:47:26 2023-05-16 09:47:26,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver 09:47:26 2023-05-16 09:47:26,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver 09:47:26 2023-05-16 09:47:26,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-601, universal_newlines=False, shell=None, istream=None) 09:47:27 2023-05-16 09:47:27,530 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-601/.git/info/exclude 09:47:27 2023-05-16 09:47:27,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver/PR-601 with force:False 09:47:27 2023-05-16 09:47:27,530 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver/PR-601 09:47:27 2023-05-16 09:47:27,535 [execute] INFO git cat-file --batch-check 09:47:27 2023-05-16 09:47:27,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver, universal_newlines=False, shell=None, istream=) 09:47:27 2023-05-16 09:47:27,542 [execute] INFO git cat-file --batch 09:47:27 2023-05-16 09:47:27,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver, universal_newlines=False, shell=None, istream=) 09:47:27 2023-05-16 09:47:27,548 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-601/.semver/PR-601 09:47:27 0.0.0 [Pipeline] } 09:47:27 $ docker exec --env ******** --env ******** 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 ssh-agent -k 09:47:27 unset SSH_AUTH_SOCK; 09:47:27 unset SSH_AGENT_PID; 09:47:27 echo Agent pid 78 killed; 09:47:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:47:28 + git semver [Pipeline] } 09:47:28 $ docker stop --time=1 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 09:47:29 $ docker rm -f --volumes 001c2942dc5f03254ab14e252b6b137c585ba309d3af1f53c9cbb6e2d9a67b08 [Pipeline] // withDockerContainer [Pipeline] sh 09:47:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:47:30 Stashed 1 file(s) [Pipeline] echo 09:47: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 09:47:31 provisioning config files... 09:47:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/config2075713992007118665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:47:31 ---> docker-login.sh 09:47:31 nexus3.edgexfoundry.org:10001 09:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:31 Configure a credential helper to remove this warning. See 09:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:31 09:47:31 Login Succeeded 09:47:31 nexus3.edgexfoundry.org:10002 09:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:31 Configure a credential helper to remove this warning. See 09:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:31 09:47:31 Login Succeeded 09:47:31 nexus3.edgexfoundry.org:10003 09:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:31 Configure a credential helper to remove this warning. See 09:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:31 09:47:31 Login Succeeded 09:47:31 nexus3.edgexfoundry.org:10004 09:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:31 Configure a credential helper to remove this warning. See 09:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:31 09:47:31 Login Succeeded 09:47:31 docker.io 09:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:47:32 Configure a credential helper to remove this warning. See 09:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:47:32 09:47:32 Login Succeeded 09:47:32 ---> docker-login.sh ends [Pipeline] } 09:47:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:47:32 ========================================================= 09:47:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:47:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:47:32 Sending build context to Docker daemon 6.55MB 09:47:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:47:32 Step 2/12 : FROM ${BASE} AS builder 09:47:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:47:33 f56be85fc22e: Pulling fs layer 09:47:33 85791d961cd3: Pulling fs layer 09:47:33 d694b5ae8c79: Pulling fs layer 09:47:33 9f32a84ed3da: Pulling fs layer 09:47:33 4d19c01a9841: Pulling fs layer 09:47:33 9325e15d5711: Pulling fs layer 09:47:33 556b6ee489ea: Pulling fs layer 09:47:33 c5a4b2cf53e6: Pulling fs layer 09:47:33 4d19c01a9841: Waiting 09:47:33 9325e15d5711: Waiting 09:47:33 556b6ee489ea: Waiting 09:47:33 c5a4b2cf53e6: Waiting 09:47:33 9f32a84ed3da: Waiting 09:47:33 85791d961cd3: Download complete 09:47:33 9f32a84ed3da: Download complete 09:47:33 4d19c01a9841: Download complete 09:47:33 f56be85fc22e: Verifying Checksum 09:47:33 f56be85fc22e: Download complete 09:47:33 9325e15d5711: Verifying Checksum 09:47:33 9325e15d5711: Download complete 09:47:33 f56be85fc22e: Pull complete 09:47:33 85791d961cd3: Pull complete 09:47:33 d694b5ae8c79: Verifying Checksum 09:47:33 d694b5ae8c79: Download complete 09:47:33 c5a4b2cf53e6: Verifying Checksum 09:47:33 c5a4b2cf53e6: Download complete 09:47:33 556b6ee489ea: Verifying Checksum 09:47:33 556b6ee489ea: Download complete 09:47:37 d694b5ae8c79: Pull complete 09:47:37 9f32a84ed3da: Pull complete 09:47:37 4d19c01a9841: Pull complete 09:47:37 9325e15d5711: Pull complete 09:47:39 556b6ee489ea: Pull complete 09:47:40 c5a4b2cf53e6: Pull complete 09:47:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:47:40 ---> c4be618373d6 09:47:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:47:44 ---> Running in 2340a1a65413 09:47:44 Removing intermediate container 2340a1a65413 09:47:44 ---> b75c20182fea 09:47:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:44 ---> Running in 9f58916cd3b7 09:47:44 Removing intermediate container 9f58916cd3b7 09:47:44 ---> eceb671529a9 09:47:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:47:44 ---> Running in 89218c2a6802 09:47:44 Removing intermediate container 89218c2a6802 09:47:44 ---> 3a1420f7b2c2 09:47:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:47:45 ---> Running in 6a5a0db4a125 09:47:45 Removing intermediate container 6a5a0db4a125 09:47:45 ---> 21d9ea82e5e6 09:47:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:47:45 ---> Running in 646dddb7dad6 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:47:45 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:47:45 (2/4) Installing libedit (20221030.3.1-r0) 09:47:45 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:47:45 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:47:45 Executing busybox-1.35.0-r29.trigger 09:47:45 OK: 269 MiB in 57 packages 09:47:45 Still waiting to schedule task 09:47:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15532’ 09:47:46 Removing intermediate container 646dddb7dad6 09:47:46 ---> 379c67717c9a 09:47:46 Step 8/12 : WORKDIR /device-mqtt-go 09:47:46 ---> Running in 6ae693996432 09:47:46 Removing intermediate container 6ae693996432 09:47:46 ---> cb189eadb3fe 09:47:46 Step 9/12 : COPY go.mod vendor* ./ 09:47:46 ---> e4665a8fca56 09:47:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:46 ---> Running in 73964066780c 09:48:13 Removing intermediate container 73964066780c 09:48:13 ---> e2ca16302c1b 09:48:13 Step 11/12 : COPY . . 09:48:13 ---> f99c44cab54c 09:48:13 Step 12/12 : RUN $MAKE 09:48:13 ---> Running in 9f0fc4d47952 09:48:13 noop 09:48:13 Removing intermediate container 9f0fc4d47952 09:48:13 ---> 6176be692a15 09:48:13 Successfully built 6176be692a15 09:48:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:13 + docker inspect -f . ci-base-image-x86_64 09:48:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:13 prd-ubuntu20.04-docker-8c-8g-15533 does not seem to be running inside a container 09:48:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-601 -v /w/workspace/gexfoundry_device-mqtt-go_PR-601:/w/workspace/gexfoundry_device-mqtt-go_PR-601:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:48:13 $ docker top 422dca802e006b00d1ccc2070f5b8e61dfbce4bdf1dd266c4c2582bfacd71dbc -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:14 + go version 09:48:14 go version go1.20.2 linux/amd64 [Pipeline] } 09:48:14 $ docker stop --time=1 422dca802e006b00d1ccc2070f5b8e61dfbce4bdf1dd266c4c2582bfacd71dbc 09:48:15 $ docker rm -f --volumes 422dca802e006b00d1ccc2070f5b8e61dfbce4bdf1dd266c4c2582bfacd71dbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:16 + docker inspect -f . ci-base-image-x86_64 09:48:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:48:16 prd-ubuntu20.04-docker-8c-8g-15533 does not seem to be running inside a container 09:48:16 $ 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-601 -v /w/workspace/gexfoundry_device-mqtt-go_PR-601:/w/workspace/gexfoundry_device-mqtt-go_PR-601:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:48:16 $ docker top a5bf83206d8998b7e1a1a192eecffc875851116013b407a889cccf2a56c8516a -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-601 [Pipeline] fileExists [Pipeline] sh 09:48:17 + make test 09:48:17 go test ./... -coverprofile=coverage.out ./... 09:48:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:48:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:48:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:48:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 23.1% of statements 09:48:37 go vet ./... 09:48:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:48:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:48:40 ./bin/test-attribution-txt.sh [Pipeline] echo 09:48:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:48:40 $ docker stop --time=1 a5bf83206d8998b7e1a1a192eecffc875851116013b407a889cccf2a56c8516a 09:48:43 $ docker rm -f --volumes a5bf83206d8998b7e1a1a192eecffc875851116013b407a889cccf2a56c8516a [Pipeline] // withDockerContainer [Pipeline] sh 09:48:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:48:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:48:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:48:45 + ls -al . 09:48:45 total 180 09:48:45 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:48 . 09:48:45 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:47 .. 09:48:45 -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:47 .dockerignore 09:48:45 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:47 .git 09:48:45 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:47 .github 09:48:45 -rw-rw-r-- 1 jenkins jenkins 329 May 16 09:47 .gitignore 09:48:45 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:47 .golangci.yml 09:48:45 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:47 .semver 09:48:45 -rw-rw-r-- 1 jenkins jenkins 9417 May 16 09:47 Attribution.txt 09:48:45 -rw-rw-r-- 1 jenkins jenkins 13162 May 16 09:47 CHANGELOG.md 09:48:45 -rw-rw-r-- 1 jenkins jenkins 1689 May 16 09:47 Dockerfile 09:48:45 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:47 GOVERNANCE.md 09:48:45 -rw-rw-r-- 1 jenkins jenkins 678 May 16 09:47 Jenkinsfile 09:48:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:47 LICENSE 09:48:45 -rw-rw-r-- 1 jenkins jenkins 1732 May 16 09:47 Makefile 09:48:45 -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:47 OWNERS.md 09:48:45 -rw-rw-r-- 1 jenkins jenkins 3165 May 16 09:47 README.md 09:48:45 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:47 VERSION 09:48:45 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:47 bin 09:48:45 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:47 cmd 09:48:45 -rw-r--r-- 1 jenkins jenkins 18144 May 16 09:48 coverage.out 09:48:45 -rw-rw-r-- 1 jenkins jenkins 3333 May 16 09:47 go.mod 09:48:45 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 09:47 go.sum 09:48:45 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:47 internal 09:48:45 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:47 mock 09:48:45 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:47 snap 09:48:45 -rw-rw-r-- 1 jenkins jenkins 227 May 16 09:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:48:45 + 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=ece186a237ca6ecbc7becba4d1764eaf7cc635cb --label arch=amd64 --label version=0.0.0 . 09:48:45 Sending build context to Docker daemon 6.568MB 09:48:45 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:48:45 Step 2/24 : FROM ${BASE} AS builder 09:48:45 ---> 6176be692a15 09:48:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:48:45 ---> Running in bdd847f110fc 09:48:45 Removing intermediate container bdd847f110fc 09:48:45 ---> 20db94a7ebcc 09:48:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:48:45 ---> Running in 37031cac6010 09:48:45 Removing intermediate container 37031cac6010 09:48:45 ---> 4d94487569b3 09:48:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:48:45 ---> Running in 116bb1c00e03 09:48:46 Removing intermediate container 116bb1c00e03 09:48:46 ---> b27bf38354a5 09:48:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:48:46 ---> Running in 8cbde742fd01 09:48:46 Removing intermediate container 8cbde742fd01 09:48:46 ---> 5c3c16801760 09:48:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:48:46 ---> Running in 7f6801db89f4 09:48:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:48:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:48:46 OK: 269 MiB in 57 packages 09:48:46 Removing intermediate container 7f6801db89f4 09:48:46 ---> 2a9dd289d2d1 09:48:46 Step 8/24 : WORKDIR /device-mqtt-go 09:48:46 ---> Running in d19b67f91f9e 09:48:46 Removing intermediate container d19b67f91f9e 09:48:46 ---> f89b07be599d 09:48:46 Step 9/24 : COPY go.mod vendor* ./ 09:48:47 ---> 8132eaf8d2e5 09:48:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:48:47 ---> Running in 502b6a8b2ba4 09:48:48 Removing intermediate container 502b6a8b2ba4 09:48:48 ---> be42511606ce 09:48:48 Step 11/24 : COPY . . 09:48:48 ---> c578a8f564d8 09:48:48 Step 12/24 : RUN $MAKE 09:48:48 ---> Running in 83df21fcf8ee 09:48:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 09:49:10 Removing intermediate container 83df21fcf8ee 09:49:10 ---> 562d4275d0cd 09:49:10 Step 13/24 : FROM alpine:3.17 09:49:10 3.17: Pulling from library/alpine 09:49:10 f56be85fc22e: Already exists 09:49:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:49:10 Status: Downloaded newer image for alpine:3.17 09:49:10 ---> 9ed4aefc74f6 09:49:10 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:49:10 ---> Running in 2cbabecf180a 09:49:10 Removing intermediate container 2cbabecf180a 09:49:10 ---> 6b9bdbdbae42 09:49:10 Step 15/24 : RUN apk add --update --no-cache dumb-init 09:49:10 ---> Running in 5faab798f574 09:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:49:10 (1/1) Installing dumb-init (1.2.5-r2) 09:49:10 Executing busybox-1.35.0-r29.trigger 09:49:10 OK: 7 MiB in 16 packages 09:49:10 Removing intermediate container 5faab798f574 09:49:10 ---> 2fb10463732b 09:49:10 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:49:10 ---> 6a9e89e04b26 09:49:10 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:49:10 ---> 62a07e4863fe 09:49:10 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:49:10 ---> f2c63b25e0a3 09:49:10 Step 19/24 : EXPOSE 59982 09:49:10 ---> Running in 6bdab6dcf1bf 09:49:11 Removing intermediate container 6bdab6dcf1bf 09:49:11 ---> 9a06afb1b95e 09:49:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:49:11 ---> Running in b2946f4465b7 09:49:11 Removing intermediate container b2946f4465b7 09:49:11 ---> d6f9c3d73852 09:49:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:49:11 ---> Running in 880436c6016a 09:49:11 Removing intermediate container 880436c6016a 09:49:11 ---> 23cbb79f91c9 09:49:11 Step 22/24 : LABEL arch=amd64 09:49:11 ---> Running in e0a8853657c3 09:49:11 Removing intermediate container e0a8853657c3 09:49:11 ---> 531b77096472 09:49:11 Step 23/24 : LABEL git_sha=ece186a237ca6ecbc7becba4d1764eaf7cc635cb 09:49:11 ---> Running in 442714f55d64 09:49:11 Removing intermediate container 442714f55d64 09:49:11 ---> 72f68b1e3c9a 09:49:11 Step 24/24 : LABEL version=0.0.0 09:49:11 ---> Running in 0c09f91f4ec1 09:49:11 Removing intermediate container 0c09f91f4ec1 09:49:11 ---> 81601e33c8ff 09:49:11 [Warning] One or more build-args [ARCH] were not consumed 09:49:11 Successfully built 81601e33c8ff 09:49:11 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:12 09:49:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:12 latest: Pulling from edgex-lftools-log-publisher 09:49:12 5eb5b503b376: Pulling fs layer 09:49:12 5c69ac0246d0: Pulling fs layer 09:49:12 ec43610c2a17: Pulling fs layer 09:49:12 3a2ae6a8a46f: Pulling fs layer 09:49:12 33b1e0a273af: Pulling fs layer 09:49:12 5d3b04190fa2: Pulling fs layer 09:49:12 2f39f015ded8: Pulling fs layer 09:49:12 33b1e0a273af: Waiting 09:49:12 2f39f015ded8: Waiting 09:49:12 5c69ac0246d0: Verifying Checksum 09:49:12 5c69ac0246d0: Download complete 09:49:12 3a2ae6a8a46f: Verifying Checksum 09:49:12 3a2ae6a8a46f: Download complete 09:49:12 ec43610c2a17: Verifying Checksum 09:49:12 ec43610c2a17: Download complete 09:49:12 33b1e0a273af: Verifying Checksum 09:49:12 33b1e0a273af: Download complete 09:49:12 5d3b04190fa2: Verifying Checksum 09:49:12 5d3b04190fa2: Download complete 09:49:12 5eb5b503b376: Verifying Checksum 09:49:12 5eb5b503b376: Download complete 09:49:13 2f39f015ded8: Download complete 09:49:14 5eb5b503b376: Pull complete 09:49:14 5c69ac0246d0: Pull complete 09:49:14 ec43610c2a17: Pull complete 09:49:14 3a2ae6a8a46f: Pull complete 09:49:14 33b1e0a273af: Pull complete 09:49:14 5d3b04190fa2: Pull complete 09:49:19 2f39f015ded8: Pull complete 09:49:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:49:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:49:19 prd-ubuntu20.04-docker-8c-8g-15533 does not seem to be running inside a container 09:49:19 $ 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-601 -v /w/workspace/gexfoundry_device-mqtt-go_PR-601:/w/workspace/gexfoundry_device-mqtt-go_PR-601:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-601@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 09:49:22 $ docker top 9e812c10bcdb4fe007e2bf49e829c9ba17e9c5b3aac3ee1a2e3bc438742d4a33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:49:23 ---> job-cost.sh 09:49:23 lf-activate-venv: SKIPPING 09:49:23 INFO: No Stack... 09:49:23 INFO: Retrieving Pricing Info for: v3-standard-8 09:49:23 INFO: Archiving Costs [Pipeline] sh 09:49:24 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives/cost.csv 09:49:24 + cut -d, -f6 [Pipeline] lock 09:49:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] 09:49:24 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] did not exist. Created. 09:49:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:49:24 + echo total: 0.2199999988079071 [Pipeline] stash 09:49:24 Stashed 1 file(s) [Pipeline] } 09:49:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:49:24 $ docker stop --time=1 9e812c10bcdb4fe007e2bf49e829c9ba17e9c5b3aac3ee1a2e3bc438742d4a33 09:49:25 $ docker rm -f --volumes 9e812c10bcdb4fe007e2bf49e829c9ba17e9c5b3aac3ee1a2e3bc438742d4a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:51:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15534 in /w/workspace/gexfoundry_device-mqtt-go_PR-601 [Pipeline] { [Pipeline] ws 09:51:10 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 09:51:10 Selected Git installation does not exist. Using Default 09:51:10 The recommended git tool is: NONE 09:51:17 using credential edgex-jenkins-ssh 09:51:17 Cloning the remote Git repository 09:51:17 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:51:17 > git init /w/workspace/device-mqtt-go/1 # timeout=10 09:51:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:51:18 > git --version # timeout=10 09:51:18 > git --version # 'git version 2.25.1' 09:51:18 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:51:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:51:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:51:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/601/head:refs/remotes/origin/PR-601 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:51:21 Merging remotes/origin/main commit aee7b0e7ef23d1e8502c68f930469c32112c0c09 into PR head commit ece186a237ca6ecbc7becba4d1764eaf7cc635cb 09:51:21 Merge succeeded, producing ece186a237ca6ecbc7becba4d1764eaf7cc635cb 09:51:21 Checking out Revision ece186a237ca6ecbc7becba4d1764eaf7cc635cb (PR-601) 09:51:22 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3" 09:51:22 > git --version # timeout=10 09:51:22 > git --version # 'git version 2.25.1' 09:51:22 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:51:21 > git config core.sparsecheckout # timeout=10 09:51:21 > git checkout -f ece186a237ca6ecbc7becba4d1764eaf7cc635cb # timeout=10 09:51:21 > git remote # timeout=10 09:51:21 > git config --get remote.origin.url # timeout=10 09:51:21 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:21 > git merge aee7b0e7ef23d1e8502c68f930469c32112c0c09 # timeout=10 09:51:21 > git rev-parse HEAD^{commit} # timeout=10 09:51:21 > git config core.sparsecheckout # timeout=10 09:51:21 > git checkout -f ece186a237ca6ecbc7becba4d1764eaf7cc635cb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:51:23 % Total % Received % Xferd Average Speed Time Time Time Current 09:51:23 Dload Upload Total Spent Left Speed 09:51:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 09:51:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:51:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:51:24 + sudo tee /etc/docker/daemon.new 09:51:24 { 09:51:24 "registry-mirrors": [ 09:51:24 "https://nexus3.edgexfoundry.org:10001" 09:51:24 ], 09:51:24 "bip": "10.250.0.254/24", 09:51:24 "hosts": [ 09:51:24 "tcp://0.0.0.0:5555", 09:51:24 "unix:///var/run/docker.sock" 09:51:24 ], 09:51:24 "mtu": 1458, 09:51:24 "selinux-enabled": true, 09:51:24 "seccomp-profile": "/etc/docker/seccomp.json" 09:51:24 } [Pipeline] sh 09:51:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:51:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:51:43 provisioning config files... 09:51:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8712062409649510510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:44 ---> docker-login.sh 09:51:44 nexus3.edgexfoundry.org:10001 09:51:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:44 Configure a credential helper to remove this warning. See 09:51:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:44 09:51:44 Login Succeeded 09:51:44 nexus3.edgexfoundry.org:10002 09:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:45 Configure a credential helper to remove this warning. See 09:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:45 09:51:45 Login Succeeded 09:51:45 nexus3.edgexfoundry.org:10003 09:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:45 Configure a credential helper to remove this warning. See 09:51:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:45 09:51:45 Login Succeeded 09:51:45 nexus3.edgexfoundry.org:10004 09:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:46 Configure a credential helper to remove this warning. See 09:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:46 09:51:46 Login Succeeded 09:51:46 docker.io 09:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:46 Configure a credential helper to remove this warning. See 09:51:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:46 09:51:46 Login Succeeded 09:51:46 ---> docker-login.sh ends [Pipeline] } 09:51:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:51:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:51:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:51:47 ========================================================= 09:51:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:51:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:51:48 Sending build context to Docker daemon 3.405MB 09:51:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:51:48 Step 2/12 : FROM ${BASE} AS builder 09:51:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:51:48 c41833b44d91: Pulling fs layer 09:51:48 ed15518f5707: Pulling fs layer 09:51:48 feae8fd75edb: Pulling fs layer 09:51:48 242c74f7c9fa: Pulling fs layer 09:51:48 3cdef696dda3: Pulling fs layer 09:51:48 2ced38df9373: Pulling fs layer 09:51:48 58f1dce35555: Pulling fs layer 09:51:48 3cdef696dda3: Waiting 09:51:48 2ced38df9373: Waiting 09:51:48 58f1dce35555: Waiting 09:51:48 242c74f7c9fa: Waiting 09:51:48 ed15518f5707: Download complete 09:51:48 242c74f7c9fa: Verifying Checksum 09:51:48 242c74f7c9fa: Download complete 09:51:48 3cdef696dda3: Verifying Checksum 09:51:48 3cdef696dda3: Download complete 09:51:48 c41833b44d91: Verifying Checksum 09:51:48 c41833b44d91: Download complete 09:51:50 c41833b44d91: Pull complete 09:51:50 58f1dce35555: Download complete 09:51:50 ed15518f5707: Pull complete 09:51:51 2ced38df9373: Verifying Checksum 09:51:51 2ced38df9373: Download complete 09:51:51 feae8fd75edb: Verifying Checksum 09:51:51 feae8fd75edb: Download complete 09:52:04 feae8fd75edb: Pull complete 09:52:04 242c74f7c9fa: Pull complete 09:52:04 3cdef696dda3: Pull complete 09:52:12 2ced38df9373: Pull complete 09:52:14 58f1dce35555: Pull complete 09:52:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:52:14 ---> fadd8f120f05 09:52:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:52:16 ---> Running in 779e6fb4f119 09:52:16 Removing intermediate container 779e6fb4f119 09:52:16 ---> 3eb3c8646de8 09:52:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:52:16 ---> Running in e59f2a7e0f77 09:52:17 Removing intermediate container e59f2a7e0f77 09:52:17 ---> 2dfbdb023fad 09:52:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:52:17 ---> Running in 39d7052b5dc4 09:52:17 Removing intermediate container 39d7052b5dc4 09:52:17 ---> 79628f9a062f 09:52:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:52:17 ---> Running in 3dc13f5a1540 09:52:17 Removing intermediate container 3dc13f5a1540 09:52:17 ---> d5c4e1eb86d1 09:52:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:52:17 ---> Running in 164e427b84d5 09:52:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:52:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:52:20 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:52:20 (2/4) Installing libedit (20221030.3.1-r0) 09:52:20 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:52:20 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:52:20 Executing busybox-1.35.0-r29.trigger 09:52:20 OK: 268 MiB in 57 packages 09:52:25 Removing intermediate container 164e427b84d5 09:52:25 ---> 2b987b41d9ff 09:52:25 Step 8/12 : WORKDIR /device-mqtt-go 09:52:25 ---> Running in 31071fdb9b30 09:52:25 Removing intermediate container 31071fdb9b30 09:52:25 ---> a391f753645e 09:52:25 Step 9/12 : COPY go.mod vendor* ./ 09:52:25 ---> 4e7f9e134e77 09:52:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:52:25 ---> Running in 0339ba467af4 09:53:33 Removing intermediate container 0339ba467af4 09:53:33 ---> f120d135747b 09:53:33 Step 11/12 : COPY . . 09:53:33 ---> bb178be44fdf 09:53:33 Step 12/12 : RUN $MAKE 09:53:33 ---> Running in e1c20abd4a68 09:53:33 noop 09:53:33 Removing intermediate container e1c20abd4a68 09:53:33 ---> b3c9a1129004 09:53:33 Successfully built b3c9a1129004 09:53:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:33 + docker inspect -f . ci-base-image-arm64 09:53:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:34 prd-ubuntu20.04-docker-arm64-4c-16g-15534 does not seem to be running inside a container 09:53:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:35 $ docker top cffc624b54cb23e8f4e8798b581b5373b228a64f7c4a93cd6c4afe6c89e32d81 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:36 + go version 09:53:36 go version go1.20.2 linux/arm64 [Pipeline] } 09:53:36 $ docker stop --time=1 cffc624b54cb23e8f4e8798b581b5373b228a64f7c4a93cd6c4afe6c89e32d81 09:53:38 $ docker rm -f --volumes cffc624b54cb23e8f4e8798b581b5373b228a64f7c4a93cd6c4afe6c89e32d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:38 + docker inspect -f . ci-base-image-arm64 09:53:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:39 prd-ubuntu20.04-docker-arm64-4c-16g-15534 does not seem to be running inside a container 09:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:40 $ docker top d5fd181003f38d4b8771c75df3546bfcb9d2c55b2547ddd80e0a18377bf7521e -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:41 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 09:53:41 + make test 09:53:41 go test ./... -coverprofile=coverage.out ./... 09:54:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:56:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:56:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:56:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 23.1% of statements 09:56:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:56:24 go vet ./... 09:56:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:56:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:56:57 ./bin/test-attribution-txt.sh [Pipeline] echo 09:56:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:56:57 $ docker stop --time=1 d5fd181003f38d4b8771c75df3546bfcb9d2c55b2547ddd80e0a18377bf7521e 09:56:58 $ docker rm -f --volumes d5fd181003f38d4b8771c75df3546bfcb9d2c55b2547ddd80e0a18377bf7521e [Pipeline] // withDockerContainer [Pipeline] sh 09:57:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:57:00 Warning: overwriting stash ‘coverage-report’ 09:57:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:57:01 + ls -al . 09:57:01 total 176 09:57:01 drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:53 . 09:57:01 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:51 .. 09:57:01 -rw-rw-r-- 1 jenkins jenkins 140 May 16 09:51 .dockerignore 09:57:01 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:51 .git 09:57:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:51 .github 09:57:01 -rw-rw-r-- 1 jenkins jenkins 329 May 16 09:51 .gitignore 09:57:01 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:51 .golangci.yml 09:57:01 -rw-rw-r-- 1 jenkins jenkins 9417 May 16 09:51 Attribution.txt 09:57:01 -rw-rw-r-- 1 jenkins jenkins 13162 May 16 09:51 CHANGELOG.md 09:57:01 -rw-rw-r-- 1 jenkins jenkins 1689 May 16 09:51 Dockerfile 09:57:01 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:51 GOVERNANCE.md 09:57:01 -rw-rw-r-- 1 jenkins jenkins 678 May 16 09:51 Jenkinsfile 09:57:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:51 LICENSE 09:57:01 -rw-rw-r-- 1 jenkins jenkins 1732 May 16 09:51 Makefile 09:57:01 -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:51 OWNERS.md 09:57:01 -rw-rw-r-- 1 jenkins jenkins 3165 May 16 09:51 README.md 09:57:01 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:47 VERSION 09:57:01 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:51 bin 09:57:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:51 cmd 09:57:01 -rw-r--r-- 1 jenkins jenkins 18144 May 16 09:56 coverage.out 09:57:01 -rw-rw-r-- 1 jenkins jenkins 3333 May 16 09:51 go.mod 09:57:01 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 09:51 go.sum 09:57:01 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:51 internal 09:57:01 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:51 mock 09:57:01 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:51 snap 09:57:01 -rw-rw-r-- 1 jenkins jenkins 227 May 16 09:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:02 + 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=ece186a237ca6ecbc7becba4d1764eaf7cc635cb --label arch=arm64 --label version=0.0.0 . 09:57:02 Sending build context to Docker daemon 3.424MB 09:57:02 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:57:02 Step 2/24 : FROM ${BASE} AS builder 09:57:02 ---> b3c9a1129004 09:57:02 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:57:02 ---> Running in bba9b086a464 09:57:03 Removing intermediate container bba9b086a464 09:57:03 ---> 77d19a9c431f 09:57:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:57:03 ---> Running in c1e8c7f33005 09:57:03 Removing intermediate container c1e8c7f33005 09:57:03 ---> bcd9f0b1e6e4 09:57:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:57:03 ---> Running in b23698acec9d 09:57:04 Removing intermediate container b23698acec9d 09:57:04 ---> a77d5c681b72 09:57:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:57:04 ---> Running in e2277abd27bc 09:57:04 Removing intermediate container e2277abd27bc 09:57:04 ---> d4357136ee48 09:57:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:57:04 ---> Running in 33751ffe7345 09:57:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:57:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:57:07 OK: 268 MiB in 57 packages 09:57:08 Removing intermediate container 33751ffe7345 09:57:08 ---> eb6681631c10 09:57:08 Step 8/24 : WORKDIR /device-mqtt-go 09:57:08 ---> Running in 75f5f57edcd9 09:57:09 Removing intermediate container 75f5f57edcd9 09:57:09 ---> 6a770a879ecd 09:57:09 Step 9/24 : COPY go.mod vendor* ./ 09:57:10 ---> 801b92a7e582 09:57:10 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:57:10 ---> Running in 12b04dc08b9f 09:57:12 Removing intermediate container 12b04dc08b9f 09:57:12 ---> 3f6c83516ad4 09:57:12 Step 11/24 : COPY . . 09:57:13 ---> 2cd36c7a2a2c 09:57:13 Step 12/24 : RUN $MAKE 09:57:13 ---> Running in c5a3699d7034 09:57:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 10:00:07 Removing intermediate container c5a3699d7034 10:00:07 ---> d1d7a8bb0f52 10:00:07 Step 13/24 : FROM alpine:3.17 10:00:07 3.17: Pulling from library/alpine 10:00:07 c41833b44d91: Already exists 10:00:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:00:07 Status: Downloaded newer image for alpine:3.17 10:00:07 ---> 51e60588ff2c 10:00:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:00:07 ---> Running in e61cd10d99f9 10:00:07 Removing intermediate container e61cd10d99f9 10:00:07 ---> b169f20d8d2d 10:00:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 10:00:07 ---> Running in 09f0f9c89d7b 10:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:00:07 (1/1) Installing dumb-init (1.2.5-r2) 10:00:07 Executing busybox-1.35.0-r29.trigger 10:00:07 OK: 8 MiB in 16 packages 10:00:07 Removing intermediate container 09f0f9c89d7b 10:00:07 ---> 10f0d2869d56 10:00:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:00:07 ---> 36c64beefde9 10:00:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:00:07 ---> 574d8d8f3490 10:00:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:00:07 ---> 2ea31be9876a 10:00:07 Step 19/24 : EXPOSE 59982 10:00:07 ---> Running in da7e08f4db53 10:00:07 Removing intermediate container da7e08f4db53 10:00:07 ---> cb50298d15ec 10:00:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:00:07 ---> Running in fff149a670c9 10:00:07 Removing intermediate container fff149a670c9 10:00:07 ---> b72cf8c3e9f6 10:00:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:00:07 ---> Running in 9ad599675057 10:00:07 Removing intermediate container 9ad599675057 10:00:07 ---> cdd7f148715b 10:00:07 Step 22/24 : LABEL arch=arm64 10:00:07 ---> Running in 0b8982c77a09 10:00:07 Removing intermediate container 0b8982c77a09 10:00:07 ---> 0f2ff9ba63ab 10:00:07 Step 23/24 : LABEL git_sha=ece186a237ca6ecbc7becba4d1764eaf7cc635cb 10:00:07 ---> Running in 88830c90d5d5 10:00:07 Removing intermediate container 88830c90d5d5 10:00:07 ---> 7df79208421c 10:00:07 Step 24/24 : LABEL version=0.0.0 10:00:07 ---> Running in fc3571d39964 10:00:07 Removing intermediate container fc3571d39964 10:00:07 ---> 8fbaf98c16ca 10:00:07 [Warning] One or more build-args [ARCH] were not consumed 10:00:07 Successfully built 8fbaf98c16ca 10:00:07 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:00:07 10:00:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:00:08 arm64: Pulling from edgex-lftools-log-publisher 10:00:08 8998bd30e6a1: Pulling fs layer 10:00:08 04944245beec: Pulling fs layer 10:00:08 699f458cf7ca: Pulling fs layer 10:00:08 765212b225bb: Pulling fs layer 10:00:08 f23df028b6ca: Pulling fs layer 10:00:08 d65c8cfc05b1: Pulling fs layer 10:00:08 2437ff75d9bd: Pulling fs layer 10:00:08 765212b225bb: Waiting 10:00:08 f23df028b6ca: Waiting 10:00:08 d65c8cfc05b1: Waiting 10:00:08 2437ff75d9bd: Waiting 10:00:08 04944245beec: Verifying Checksum 10:00:08 04944245beec: Download complete 10:00:08 765212b225bb: Download complete 10:00:08 f23df028b6ca: Verifying Checksum 10:00:08 f23df028b6ca: Download complete 10:00:08 d65c8cfc05b1: Verifying Checksum 10:00:08 d65c8cfc05b1: Download complete 10:00:08 699f458cf7ca: Verifying Checksum 10:00:08 699f458cf7ca: Download complete 10:00:09 8998bd30e6a1: Verifying Checksum 10:00:09 8998bd30e6a1: Download complete 10:00:12 2437ff75d9bd: Verifying Checksum 10:00:12 2437ff75d9bd: Download complete 10:00:13 8998bd30e6a1: Pull complete 10:00:13 04944245beec: Pull complete 10:00:15 699f458cf7ca: Pull complete 10:00:15 765212b225bb: Pull complete 10:00:16 f23df028b6ca: Pull complete 10:00:16 d65c8cfc05b1: Pull complete 10:00:30 2437ff75d9bd: Pull complete 10:00:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:00:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:00:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:34 prd-ubuntu20.04-docker-arm64-4c-16g-15534 does not seem to be running inside a container 10:00: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:00:38 $ docker top a04d16dafcc4180dd0248cf76d82abe04e016eb1a9e15a36074c7757a2d0c462 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:00:39 ---> job-cost.sh 10:00:39 lf-activate-venv: SKIPPING 10:00:39 INFO: No Stack... 10:00:39 INFO: Retrieving Pricing Info for: v3-standard-4 10:00:40 INFO: Archiving Costs [Pipeline] sh 10:00:41 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 10:00:41 + cut -d, -f6 [Pipeline] lock 10:00:41 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] 10:00:41 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] did not exist. Created. 10:00:41 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:00:41 /w/workspace/device-mqtt-go/1@tmp/durable-afc6fcf2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:00:42 + echo total: 0.10999999940395355 [Pipeline] stash 10:00:42 Warning: overwriting stash ‘stack-cost’ 10:00:42 Stashed 1 file(s) [Pipeline] } 10:00:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-601-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:00:42 $ docker stop --time=1 a04d16dafcc4180dd0248cf76d82abe04e016eb1a9e15a36074c7757a2d0c462 10:00:44 $ docker rm -f --volumes a04d16dafcc4180dd0248cf76d82abe04e016eb1a9e15a36074c7757a2d0c462 [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 10:00:45 provisioning config files... 10:00:45 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/config10761044327019680754tmp [Pipeline] { [Pipeline] sh 10:00:45 + set +x 10:00:45 + curl -s https://codecov.io/bash 10:00:45 + bash -s -- 10:00:45 10:00:45 _____ _ 10:00:45 / ____| | | 10:00:45 | | ___ __| | ___ ___ _____ __ 10:00:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:00:45 | |___| (_) | (_| | __/ (_| (_) \ V / 10:00:45 \_____\___/ \__,_|\___|\___\___/ \_/ 10:00:45 Bash-1.0.6 10:00:45 10:00:45 10:00:45 ==> git version 2.25.1 found 10:00:45 ==> 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 10:00:45 Release-Date: 2020-01-08 10:00:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:00:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:00:45 ==> Jenkins CI detected. 10:00:45 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-601 10:00:45 project root: . 10:00:45 --> token set from env 10:00:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:00:45 ==> Running gcov in . (disable via -X gcov) 10:00:45 ==> Python coveragepy not found 10:00:45 ==> Searching for coverage reports in: 10:00:45 + . 10:00:45 -> Found 1 reports 10:00:45 ==> Detecting git/mercurial file structure 10:00:46 ==> Reading reports 10:00:46 + ./coverage.out bytes=18144 10:00:46 ==> Appending adjustments 10:00:46 https://docs.codecov.io/docs/fixing-reports 10:00:46 + Found adjustments 10:00:46 ==> Gzipping contents 10:00:46 4.0K /tmp/codecov.karq4M.gz 10:00:46 ==> Uploading reports 10:00:46 url: https://codecov.io 10:00:46 query: branch=PR-601&commit=ece186a237ca6ecbc7becba4d1764eaf7cc635cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-601%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=601&job=&cmd_args= 10:00:46 -> Pinging Codecov 10:00:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-601&commit=ece186a237ca6ecbc7becba4d1764eaf7cc635cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-601%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=601&job=&cmd_args= 10:00:46 -> Uploading to 10:00:46 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/7D719EC7BBE17E464838252E33014C33/ece186a237ca6ecbc7becba4d1764eaf7cc635cb/e973ac5e-d078-4689-8543-a03b94d273b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T100046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ffee9569a948276d5f10dd21a6489bc5dc016155302822bd00c133d8aa4bc09 10:00:46 % Total % Received % Xferd Average Speed Time Time Time Current 10:00:46 Dload Upload Total Spent Left Speed 10:00:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 16936 --:--:-- --:--:-- --:--:-- 16936 10:00:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ece186a237ca6ecbc7becba4d1764eaf7cc635cb [Pipeline] } 10:00:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:00:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives ] 10:00:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives 10:00:48 total 16 10:00:48 drwxr-xr-x 3 root root 4096 May 16 09:49 . 10:00:48 drwxrwxr-x 11 jenkins jenkins 4096 May 16 09:49 .. 10:00:48 drwxr-xr-x 2 root root 4096 May 16 09:49 cost 10:00:48 -rw-r--r-- 1 root root 86 May 16 09:49 cost.csv 10:00:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives 10:00:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives 10:00:48 total 16 10:00:48 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:49 . 10:00:48 drwxrwxr-x 11 jenkins jenkins 4096 May 16 09:49 .. 10:00:48 drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:49 cost 10:00:48 -rw-r--r-- 1 jenkins jenkins 86 May 16 09:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:00:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:00:49 ---> package-listing.sh 10:00:49 ++ facter osfamily 10:00:49 ++ tr '[:upper:]' '[:lower:]' 10:00:49 + OS_FAMILY=debian 10:00:49 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-601 10:00:49 + START_PACKAGES=/tmp/packages_start.txt 10:00:49 + END_PACKAGES=/tmp/packages_end.txt 10:00:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:00:49 + PACKAGES=/tmp/packages_start.txt 10:00:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-601 ']' 10:00:49 + PACKAGES=/tmp/packages_end.txt 10:00:49 + case "${OS_FAMILY}" in 10:00:49 + dpkg -l 10:00:49 + grep '^ii' 10:00:49 + '[' -f /tmp/packages_start.txt ']' 10:00:49 + '[' -f /tmp/packages_end.txt ']' 10:00:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:00:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-601 ']' 10:00:49 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives/ 10:00:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-601/archives/ [Pipeline] echo 10:00: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-601/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:00:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:50 prd-ubuntu20.04-docker-8c-8g-15533 does not seem to be running inside a container 10:00: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-601/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-601 -v /w/workspace/gexfoundry_device-mqtt-go_PR-601:/w/workspace/gexfoundry_device-mqtt-go_PR-601:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:00:51 $ docker top 93400e08800309e013afacf5546f9cbd12c1b1351c21d6ab75e1b20f75382b92 -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:51 + touch /tmp/pre-build-complete [Pipeline] sh 10:00:51 + mkdir -p /var/log/sysstat [Pipeline] sh 10:00:52 + ls /var/log/sa-host 10:00:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:00:52 provisioning config files... 10:00:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-601@tmp/config592924152926050774tmp [Pipeline] { [Pipeline] echo 10:00:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:00:52 ---> create-netrc.sh [Pipeline] } 10:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:00:53 ---> python-tools-install.sh [Pipeline] echo 10:00:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:00:53 ---> sudo-logs.sh 10:00:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:00:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:00:53 ---> job-cost.sh 10:00:53 lf-activate-venv: SKIPPING 10:00:53 DEBUG: total: 0.2199999988079071 10:00:53 INFO: Retrieving Stack Cost... 10:00:54 INFO: Retrieving Pricing Info for: v3-standard-8 10:00:54 INFO: Archiving Costs [Pipeline] echo 10:00:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:00:55 ---> logs-deploy.sh 10:00:55 lf-activate-venv: SKIPPING 10:00:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-601/1 10:00:55 INFO: archiving workspace using pattern(s): 10:00:55 Archives upload complete. 10:00:56 INFO: archiving logs to Nexus