Pull request #595 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d4ddb400a35b03adadd8724aa5179f70b38731ee+57e3d53da137a61fe75c45ca6235a80f80bfde57 (946b646739bab39964bf7d5942edefd1787e57fb) 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-ssh13541608583983892994.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-ssh1335061384892299437.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-595/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-595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh707560954900460869.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-595/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4466825075494547753.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-ssh17115206083445281154.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-595/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-595/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8317248113778222375.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14417 in /w/workspace/gexfoundry_device-mqtt-go_PR-595 [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-595 # 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/595/head:refs/remotes/origin/PR-595 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57e3d53da137a61fe75c45ca6235a80f80bfde57 into PR head commit d4ddb400a35b03adadd8724aa5179f70b38731ee Merge succeeded, producing d4ddb400a35b03adadd8724aa5179f70b38731ee Checking out Revision d4ddb400a35b03adadd8724aa5179f70b38731ee (PR-595) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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 02:01:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d4ddb400a35b03adadd8724aa5179f70b38731ee # 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 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4ddb400a35b03adadd8724aa5179f70b38731ee # timeout=10 [Pipeline] withCredentials 02:01:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:11 ========================================================= 02:01:11 EdgeX Global Pipelines Version Info 02:01:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:12 ------------------- 02:01:12 stable info: 02:01:12 ------------------- 02:01:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:01:12 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:12 Message: update stable to v1.0.249 02:01:13 ------------------- 02:01:13 experimental info: 02:01:13 ------------------- 02:01:13 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:13 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:13 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-595 [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-595 [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-595 [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4ddb400a35b03adadd8724aa5179f70b38731ee [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4ddb40 [Pipeline] echo 02:01:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:15 provisioning config files... 02:01:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/config16320691463220098862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:15 ---> docker-login.sh 02:01:15 nexus3.edgexfoundry.org:10001 02:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:15 Configure a credential helper to remove this warning. See 02:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:15 02:01:15 Login Succeeded 02:01:15 nexus3.edgexfoundry.org:10002 02:01:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:15 Configure a credential helper to remove this warning. See 02:01:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:15 02:01:15 Login Succeeded 02:01:15 nexus3.edgexfoundry.org:10003 02:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:16 Configure a credential helper to remove this warning. See 02:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:16 02:01:16 Login Succeeded 02:01:16 nexus3.edgexfoundry.org:10004 02:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:16 Configure a credential helper to remove this warning. See 02:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:16 02:01:16 Login Succeeded 02:01:16 docker.io 02:01:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:16 Configure a credential helper to remove this warning. See 02:01:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:16 02:01:16 Login Succeeded 02:01:16 ---> docker-login.sh ends [Pipeline] } 02:01:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:16 + git rev-list -1 --merges d4ddb400a35b03adadd8724aa5179f70b38731ee~1..d4ddb400a35b03adadd8724aa5179f70b38731ee [Pipeline] echo 02:01:17 -----------> git rev-list -1 --merges d4ddb400a35b03adadd8724aa5179f70b38731ee~1..d4ddb400a35b03adadd8724aa5179f70b38731ee d4ddb400a35b03adadd8724aa5179f70b38731ee [false] [Pipeline] sh 02:01:17 + git log --format=format:%s -1 d4ddb400a35b03adadd8724aa5179f70b38731ee [Pipeline] echo 02:01:17 ========================================================= 02:01:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:17 + git log --format=format:%s -1 d4ddb400a35b03adadd8724aa5179f70b38731ee [Pipeline] echo 02:01:17 [semverPrep] GIT_COMMIT: d4ddb400a35b03adadd8724aa5179f70b38731ee, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 02:01:17 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:18 + grep -v github /etc/ssh/ssh_known_hosts 02:01:18 + [ -e /tmp/ssh_known_hosts ] 02:01:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:18 + sudo tee -a /etc/ssh/ssh_known_hosts 02:01:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:18 02:01:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:19 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:19 b85a868b505f: Pulling fs layer 02:01:19 e2be974225ed: Pulling fs layer 02:01:19 339a4e72a1f5: Pulling fs layer 02:01:19 988bab9f4d93: Pulling fs layer 02:01:19 1469e6f7b9e6: Pulling fs layer 02:01:19 eaf3925da568: Pulling fs layer 02:01:19 bab4dde63d76: Pulling fs layer 02:01:19 bde34c3a00c8: Pulling fs layer 02:01:19 b352a97aabf1: Pulling fs layer 02:01:19 4872d77fe225: Pulling fs layer 02:01:19 5851b861e8e6: Pulling fs layer 02:01:19 bab4dde63d76: Waiting 02:01:19 bde34c3a00c8: Waiting 02:01:19 b352a97aabf1: Waiting 02:01:19 4872d77fe225: Waiting 02:01:19 5851b861e8e6: Waiting 02:01:19 988bab9f4d93: Waiting 02:01:19 eaf3925da568: Waiting 02:01:19 e2be974225ed: Verifying Checksum 02:01:19 e2be974225ed: Download complete 02:01:19 988bab9f4d93: Verifying Checksum 02:01:19 988bab9f4d93: Download complete 02:01:19 1469e6f7b9e6: Verifying Checksum 02:01:19 1469e6f7b9e6: Download complete 02:01:19 eaf3925da568: Verifying Checksum 02:01:19 eaf3925da568: Download complete 02:01:19 339a4e72a1f5: Verifying Checksum 02:01:19 339a4e72a1f5: Download complete 02:01:19 bde34c3a00c8: Download complete 02:01:19 b352a97aabf1: Download complete 02:01:19 4872d77fe225: Verifying Checksum 02:01:19 5851b861e8e6: Verifying Checksum 02:01:19 5851b861e8e6: Download complete 02:01:19 b85a868b505f: Verifying Checksum 02:01:19 b85a868b505f: Download complete 02:01:19 bab4dde63d76: Verifying Checksum 02:01:19 bab4dde63d76: Download complete 02:01:20 b85a868b505f: Pull complete 02:01:20 e2be974225ed: Pull complete 02:01:21 339a4e72a1f5: Pull complete 02:01:21 988bab9f4d93: Pull complete 02:01:21 1469e6f7b9e6: Pull complete 02:01:21 eaf3925da568: Pull complete 02:01:23 bab4dde63d76: Pull complete 02:01:23 bde34c3a00c8: Pull complete 02:01:23 b352a97aabf1: Pull complete 02:01:23 4872d77fe225: Pull complete 02:01:23 5851b861e8e6: Pull complete 02:01:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:23 prd-ubuntu20.04-docker-8c-8g-14417 does not seem to be running inside a container 02:01:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-595 -v /w/workspace/gexfoundry_device-mqtt-go_PR-595:/w/workspace/gexfoundry_device-mqtt-go_PR-595:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-595@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 02:01:24 $ docker top 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee -eo pid,comm 02:01: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). 02:01:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:25 [ssh-agent] Looking for ssh-agent implementation... 02:01:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:25 $ docker exec 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee ssh-agent 02:01:25 SSH_AUTH_SOCK=/tmp/ssh-xCnv656XfPpC/agent.32 02:01:25 SSH_AGENT_PID=39 02:01:25 Running ssh-add (command line suppressed) 02:01:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/private_key_6118802426597045138.key (/w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/private_key_6118802426597045138.key) 02:01:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:25 + git tag --points-at HEAD [Pipeline] } 02:01:25 $ docker exec --env ******** --env ******** 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee ssh-agent -k 02:01:25 unset SSH_AUTH_SOCK; 02:01:25 unset SSH_AGENT_PID; 02:01:25 echo Agent pid 39 killed; 02:01:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:25 [ssh-agent] Looking for ssh-agent implementation... 02:01:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:26 $ docker exec 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee ssh-agent 02:01:26 SSH_AUTH_SOCK=/tmp/ssh-DKlwbmserSYI/agent.70 02:01:26 SSH_AGENT_PID=76 02:01:26 Running ssh-add (command line suppressed) 02:01:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/private_key_9389204475277219221.key (/w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/private_key_9389204475277219221.key) 02:01:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:26 + git semver init 02:01:26 2023-05-08 02:01:26,826 [run_init] DEBUG init version:0.0.0 force:False 02:01:26 2023-05-08 02:01:26,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver 02:01:26 2023-05-08 02:01:26,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver 02:01:26 2023-05-08 02:01:26,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-595, universal_newlines=False, shell=None, istream=None) 02:01:27 2023-05-08 02:01:27,549 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-595/.git/info/exclude 02:01:27 2023-05-08 02:01:27,549 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver/PR-595 with force:False 02:01:27 2023-05-08 02:01:27,549 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver/PR-595 02:01:27 2023-05-08 02:01:27,553 [execute] INFO git cat-file --batch-check 02:01:27 2023-05-08 02:01:27,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver, universal_newlines=False, shell=None, istream=) 02:01:27 2023-05-08 02:01:27,559 [execute] INFO git cat-file --batch 02:01:27 2023-05-08 02:01:27,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver, universal_newlines=False, shell=None, istream=) 02:01:27 2023-05-08 02:01:27,564 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-595/.semver/PR-595 02:01:27 0.0.0 [Pipeline] } 02:01:27 $ docker exec --env ******** --env ******** 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee ssh-agent -k 02:01:27 unset SSH_AUTH_SOCK; 02:01:27 unset SSH_AGENT_PID; 02:01:27 echo Agent pid 76 killed; 02:01:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:28 + git semver [Pipeline] } 02:01:28 $ docker stop --time=1 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee 02:01:30 $ docker rm -f --volumes 18b844e1fb664d29dee4d3d3220304a5d735f1cad82b7e90dc26fb9b9772d0ee [Pipeline] // withDockerContainer [Pipeline] sh 02:01:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:01:30 Stashed 1 file(s) [Pipeline] echo 02:01: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 02:01:31 provisioning config files... 02:01:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/config6884399227726647259tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:31 ---> docker-login.sh 02:01:31 nexus3.edgexfoundry.org:10001 02:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:31 Configure a credential helper to remove this warning. See 02:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:31 02:01:31 Login Succeeded 02:01:31 nexus3.edgexfoundry.org:10002 02:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:31 Configure a credential helper to remove this warning. See 02:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:31 02:01:31 Login Succeeded 02:01:31 nexus3.edgexfoundry.org:10003 02:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:31 Configure a credential helper to remove this warning. See 02:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:31 02:01:31 Login Succeeded 02:01:31 nexus3.edgexfoundry.org:10004 02:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:31 Configure a credential helper to remove this warning. See 02:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:31 02:01:31 Login Succeeded 02:01:31 docker.io 02:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:32 Configure a credential helper to remove this warning. See 02:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:32 02:01:32 Login Succeeded 02:01:32 ---> docker-login.sh ends [Pipeline] } 02:01:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:32 ========================================================= 02:01:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:01:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01: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 . 02:01:32 Sending build context to Docker daemon 6.544MB 02:01:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:32 Step 2/12 : FROM ${BASE} AS builder 02:01:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:01:32 f56be85fc22e: Pulling fs layer 02:01:32 85791d961cd3: Pulling fs layer 02:01:32 d694b5ae8c79: Pulling fs layer 02:01:32 9f32a84ed3da: Pulling fs layer 02:01:32 4d19c01a9841: Pulling fs layer 02:01:32 9325e15d5711: Pulling fs layer 02:01:32 556b6ee489ea: Pulling fs layer 02:01:32 c5a4b2cf53e6: Pulling fs layer 02:01:32 9f32a84ed3da: Waiting 02:01:32 4d19c01a9841: Waiting 02:01:32 9325e15d5711: Waiting 02:01:32 556b6ee489ea: Waiting 02:01:32 c5a4b2cf53e6: Waiting 02:01:32 85791d961cd3: Verifying Checksum 02:01:32 85791d961cd3: Download complete 02:01:32 9f32a84ed3da: Verifying Checksum 02:01:32 9f32a84ed3da: Download complete 02:01:32 4d19c01a9841: Verifying Checksum 02:01:32 4d19c01a9841: Download complete 02:01:33 f56be85fc22e: Download complete 02:01:33 9325e15d5711: Verifying Checksum 02:01:33 9325e15d5711: Download complete 02:01:33 f56be85fc22e: Pull complete 02:01:33 85791d961cd3: Pull complete 02:01:33 c5a4b2cf53e6: Verifying Checksum 02:01:33 c5a4b2cf53e6: Download complete 02:01:33 d694b5ae8c79: Verifying Checksum 02:01:33 d694b5ae8c79: Download complete 02:01:34 556b6ee489ea: Verifying Checksum 02:01:34 556b6ee489ea: Download complete 02:01:37 d694b5ae8c79: Pull complete 02:01:37 9f32a84ed3da: Pull complete 02:01:37 4d19c01a9841: Pull complete 02:01:37 9325e15d5711: Pull complete 02:01:39 556b6ee489ea: Pull complete 02:01:40 c5a4b2cf53e6: Pull complete 02:01:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:01:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:01:40 ---> c4be618373d6 02:01:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:01:42 ---> Running in ece779ad8559 02:01:42 Removing intermediate container ece779ad8559 02:01:42 ---> ef02f9de9c66 02:01:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:42 ---> Running in 59fb71cdaa91 02:01:42 Removing intermediate container 59fb71cdaa91 02:01:42 ---> ab3383ad8a5c 02:01:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:42 ---> Running in 8c51703d0e55 02:01:42 Removing intermediate container 8c51703d0e55 02:01:42 ---> 67c9b2a89983 02:01:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:01:42 ---> Running in 63ee6df0dcc9 02:01:42 Removing intermediate container 63ee6df0dcc9 02:01:42 ---> cb6fa1702460 02:01:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:42 ---> Running in aa17579483ea 02:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:01:43 (2/4) Installing libedit (20221030.3.1-r0) 02:01:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:01:43 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:01:43 Executing busybox-1.35.0-r29.trigger 02:01:43 OK: 269 MiB in 57 packages 02:01:43 Removing intermediate container aa17579483ea 02:01:43 ---> 1dd686b89753 02:01:43 Step 8/12 : WORKDIR /device-mqtt-go 02:01:43 ---> Running in fc8b7fb299a0 02:01:43 Removing intermediate container fc8b7fb299a0 02:01:43 ---> e770040b5f80 02:01:43 Step 9/12 : COPY go.mod vendor* ./ 02:01:44 ---> 1103121fdde8 02:01:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:44 ---> Running in 2ac42f257516 02:01:46 Still waiting to schedule task 02:01:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:02:02 Removing intermediate container 2ac42f257516 02:02:02 ---> f6821294b883 02:02:02 Step 11/12 : COPY . . 02:02:02 ---> a3689ef65874 02:02:02 Step 12/12 : RUN $MAKE 02:02:02 ---> Running in 86191b732f78 02:02:02 noop 02:02:02 Removing intermediate container 86191b732f78 02:02:02 ---> 3f2a50d4da26 02:02:02 Successfully built 3f2a50d4da26 02:02:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:03 + docker inspect -f . ci-base-image-x86_64 02:02:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:03 prd-ubuntu20.04-docker-8c-8g-14417 does not seem to be running inside a container 02:02:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-595 -v /w/workspace/gexfoundry_device-mqtt-go_PR-595:/w/workspace/gexfoundry_device-mqtt-go_PR-595:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-595@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 02:02:03 $ docker top 9254be8c6e03a322d403495dd6f063c15791e2e3689b52f15c4f81d8a1db18f3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:04 + go version 02:02:04 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:04 $ docker stop --time=1 9254be8c6e03a322d403495dd6f063c15791e2e3689b52f15c4f81d8a1db18f3 02:02:05 $ docker rm -f --volumes 9254be8c6e03a322d403495dd6f063c15791e2e3689b52f15c4f81d8a1db18f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:06 + docker inspect -f . ci-base-image-x86_64 02:02:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:06 prd-ubuntu20.04-docker-8c-8g-14417 does not seem to be running inside a container 02:02:06 $ 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-595 -v /w/workspace/gexfoundry_device-mqtt-go_PR-595:/w/workspace/gexfoundry_device-mqtt-go_PR-595:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-595@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 02:02:06 $ docker top de36a99922a038ecdaa38562c571f7955e29765fe5761c7d3e38ce409820c9a9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-595 [Pipeline] fileExists [Pipeline] sh 02:02:07 + make test 02:02:07 go test ./... -coverprofile=coverage.out ./... 02:02:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:02:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:02:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:02:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements 02:02:30 go vet ./... 02:02:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:02:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:02:34 ./bin/test-attribution-txt.sh [Pipeline] echo 02:02:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:02:34 $ docker stop --time=1 de36a99922a038ecdaa38562c571f7955e29765fe5761c7d3e38ce409820c9a9 02:02:36 $ docker rm -f --volumes de36a99922a038ecdaa38562c571f7955e29765fe5761c7d3e38ce409820c9a9 [Pipeline] // withDockerContainer [Pipeline] sh 02:02:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:02:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:02:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:02:38 + ls -al . 02:02:38 total 180 02:02:38 drwxrwxr-x 10 jenkins jenkins 4096 May 8 02:02 . 02:02:38 drwxrwxr-x 4 jenkins jenkins 4096 May 8 02:01 .. 02:02:38 -rw-rw-r-- 1 jenkins jenkins 140 May 8 02:01 .dockerignore 02:02:38 drwxrwxr-x 8 jenkins jenkins 4096 May 8 02:01 .git 02:02:38 drwxrwxr-x 3 jenkins jenkins 4096 May 8 02:01 .github 02:02:38 -rw-rw-r-- 1 jenkins jenkins 329 May 8 02:01 .gitignore 02:02:38 -rw-rw-r-- 1 jenkins jenkins 41 May 8 02:01 .golangci.yml 02:02:38 drwxr-xr-x 3 jenkins jenkins 4096 May 8 02:01 .semver 02:02:38 -rw-rw-r-- 1 jenkins jenkins 9417 May 8 02:01 Attribution.txt 02:02:38 -rw-rw-r-- 1 jenkins jenkins 13162 May 8 02:01 CHANGELOG.md 02:02:38 -rw-rw-r-- 1 jenkins jenkins 1689 May 8 02:01 Dockerfile 02:02:38 -rw-rw-r-- 1 jenkins jenkins 677 May 8 02:01 GOVERNANCE.md 02:02:38 -rw-rw-r-- 1 jenkins jenkins 678 May 8 02:01 Jenkinsfile 02:02:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 02:01 LICENSE 02:02:38 -rw-rw-r-- 1 jenkins jenkins 1732 May 8 02:01 Makefile 02:02:38 -rw-rw-r-- 1 jenkins jenkins 620 May 8 02:01 OWNERS.md 02:02:38 -rw-rw-r-- 1 jenkins jenkins 3165 May 8 02:01 README.md 02:02:38 -rw-rw-r-- 1 jenkins jenkins 5 May 8 02:01 VERSION 02:02:38 drwxrwxr-x 2 jenkins jenkins 4096 May 8 02:01 bin 02:02:38 drwxrwxr-x 3 jenkins jenkins 4096 May 8 02:01 cmd 02:02:38 -rw-r--r-- 1 jenkins jenkins 18144 May 8 02:02 coverage.out 02:02:38 -rw-rw-r-- 1 jenkins jenkins 3333 May 8 02:01 go.mod 02:02:38 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 02:01 go.sum 02:02:38 drwxrwxr-x 3 jenkins jenkins 4096 May 8 02:01 internal 02:02:38 drwxrwxr-x 2 jenkins jenkins 4096 May 8 02:01 mock 02:02:38 drwxrwxr-x 4 jenkins jenkins 4096 May 8 02:01 snap 02:02:38 -rw-rw-r-- 1 jenkins jenkins 227 May 8 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:38 + 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=d4ddb400a35b03adadd8724aa5179f70b38731ee --label arch=amd64 --label version=0.0.0 . 02:02:38 Sending build context to Docker daemon 6.563MB 02:02:38 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:02:38 Step 2/24 : FROM ${BASE} AS builder 02:02:38 ---> 3f2a50d4da26 02:02:38 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:02:38 ---> Running in 35ed958f0bda 02:02:38 Removing intermediate container 35ed958f0bda 02:02:38 ---> 6249f7a7dd92 02:02:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:38 ---> Running in eb97e79f475c 02:02:38 Removing intermediate container eb97e79f475c 02:02:38 ---> 65814967f33b 02:02:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:38 ---> Running in 1ef06c465cbc 02:02:38 Removing intermediate container 1ef06c465cbc 02:02:38 ---> 0ed0802804b1 02:02:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:02:38 ---> Running in 9d3d5a22a5ef 02:02:39 Removing intermediate container 9d3d5a22a5ef 02:02:39 ---> 339b655ac598 02:02:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:39 ---> Running in de1fb558fc9b 02:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:39 OK: 269 MiB in 57 packages 02:02:40 Removing intermediate container de1fb558fc9b 02:02:40 ---> 87c425516915 02:02:40 Step 8/24 : WORKDIR /device-mqtt-go 02:02:40 ---> Running in 14b1db4891f7 02:02:40 Removing intermediate container 14b1db4891f7 02:02:40 ---> 7d4950893a86 02:02:40 Step 9/24 : COPY go.mod vendor* ./ 02:02:40 ---> 815742628fec 02:02:40 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:40 ---> Running in 178731c65269 02:02:41 Removing intermediate container 178731c65269 02:02:41 ---> f93ceb1dae41 02:02:41 Step 11/24 : COPY . . 02:02:41 ---> b3c08f67a53e 02:02:41 Step 12/24 : RUN $MAKE 02:02:41 ---> Running in b8bd6c6b2536 02:02:41 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 02:02:59 Removing intermediate container b8bd6c6b2536 02:02:59 ---> e07463312daa 02:02:59 Step 13/24 : FROM alpine:3.17 02:02:59 3.17: Pulling from library/alpine 02:02:59 f56be85fc22e: Already exists 02:02:59 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:02:59 Status: Downloaded newer image for alpine:3.17 02:02:59 ---> 9ed4aefc74f6 02:02:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:02:59 ---> Running in 1b48e90d65e9 02:02:59 Removing intermediate container 1b48e90d65e9 02:02:59 ---> 6839a02481e1 02:02:59 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:02:59 ---> Running in 706d70a70d4e 02:02:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:59 (1/1) Installing dumb-init (1.2.5-r2) 02:02:59 Executing busybox-1.35.0-r29.trigger 02:02:59 OK: 7 MiB in 16 packages 02:03:00 Removing intermediate container 706d70a70d4e 02:03:00 ---> 0e80c81508c0 02:03:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:00 ---> 4d1fd3a135c8 02:03:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:00 ---> 8edc3ef2e41d 02:03:00 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:00 ---> 291432c7a257 02:03:00 Step 19/24 : EXPOSE 59982 02:03:00 ---> Running in 46447aba43c5 02:03:00 Removing intermediate container 46447aba43c5 02:03:00 ---> e2b8d065641b 02:03:00 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:00 ---> Running in 3def3af82bff 02:03:00 Removing intermediate container 3def3af82bff 02:03:00 ---> 7d207f6bc02d 02:03:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:00 ---> Running in f13187951889 02:03:00 Removing intermediate container f13187951889 02:03:00 ---> 7fe87b82700e 02:03:00 Step 22/24 : LABEL arch=amd64 02:03:00 ---> Running in 87b6c6f1c086 02:03:01 Removing intermediate container 87b6c6f1c086 02:03:01 ---> bd1d24d7afa0 02:03:01 Step 23/24 : LABEL git_sha=d4ddb400a35b03adadd8724aa5179f70b38731ee 02:03:01 ---> Running in 70dfccf6bbcc 02:03:01 Removing intermediate container 70dfccf6bbcc 02:03:01 ---> d5f5ecbf39d6 02:03:01 Step 24/24 : LABEL version=0.0.0 02:03:01 ---> Running in f0965a0e6144 02:03:01 Removing intermediate container f0965a0e6144 02:03:01 ---> 26ddd06704ae 02:03:01 [Warning] One or more build-args [ARCH] were not consumed 02:03:01 Successfully built 26ddd06704ae 02:03:01 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 02:03:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:01 02:03:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:02 latest: Pulling from edgex-lftools-log-publisher 02:03:02 5eb5b503b376: Pulling fs layer 02:03:02 5c69ac0246d0: Pulling fs layer 02:03:02 ec43610c2a17: Pulling fs layer 02:03:02 3a2ae6a8a46f: Pulling fs layer 02:03:02 33b1e0a273af: Pulling fs layer 02:03:02 5d3b04190fa2: Pulling fs layer 02:03:02 2f39f015ded8: Pulling fs layer 02:03:02 33b1e0a273af: Waiting 02:03:02 5d3b04190fa2: Waiting 02:03:02 3a2ae6a8a46f: Waiting 02:03:02 2f39f015ded8: Waiting 02:03:02 5c69ac0246d0: Verifying Checksum 02:03:02 5c69ac0246d0: Download complete 02:03:02 3a2ae6a8a46f: Verifying Checksum 02:03:02 3a2ae6a8a46f: Download complete 02:03:02 33b1e0a273af: Verifying Checksum 02:03:02 33b1e0a273af: Download complete 02:03:02 ec43610c2a17: Verifying Checksum 02:03:02 ec43610c2a17: Download complete 02:03:02 5d3b04190fa2: Download complete 02:03:02 5eb5b503b376: Download complete 02:03:03 2f39f015ded8: Download complete 02:03:03 5eb5b503b376: Pull complete 02:03:03 5c69ac0246d0: Pull complete 02:03:03 ec43610c2a17: Pull complete 02:03:04 3a2ae6a8a46f: Pull complete 02:03:04 33b1e0a273af: Pull complete 02:03:04 5d3b04190fa2: Pull complete 02:03:08 2f39f015ded8: Pull complete 02:03:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:08 prd-ubuntu20.04-docker-8c-8g-14417 does not seem to be running inside a container 02:03:08 $ 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-595 -v /w/workspace/gexfoundry_device-mqtt-go_PR-595:/w/workspace/gexfoundry_device-mqtt-go_PR-595:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-595@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 02:03:09 $ docker top fc566958fb4f412d68d84acafccb3d9a1d38e2d5693d110d17476edf1a9af08e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:10 ---> job-cost.sh 02:03:10 lf-activate-venv: SKIPPING 02:03:10 INFO: No Stack... 02:03:10 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:10 INFO: Archiving Costs [Pipeline] sh 02:03:11 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives/cost.csv 02:03:11 + cut -d, -f6 [Pipeline] lock 02:03:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] 02:03:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] did not exist. Created. 02:03:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:11 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:11 Stashed 1 file(s) [Pipeline] } 02:03:11 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:11 $ docker stop --time=1 fc566958fb4f412d68d84acafccb3d9a1d38e2d5693d110d17476edf1a9af08e 02:03:12 $ docker rm -f --volumes fc566958fb4f412d68d84acafccb3d9a1d38e2d5693d110d17476edf1a9af08e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:04:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14419 in /w/workspace/gexfoundry_device-mqtt-go_PR-595 [Pipeline] { [Pipeline] ws 02:04:37 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:04:37 Selected Git installation does not exist. Using Default 02:04:37 The recommended git tool is: NONE 02:04:44 using credential edgex-jenkins-ssh 02:04:44 Cloning the remote Git repository 02:04:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:04:44 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:04:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:04:44 > git --version # timeout=10 02:04:45 > git --version # 'git version 2.25.1' 02:04:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:04:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:04:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:04:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:04:48 Merging remotes/origin/main commit 57e3d53da137a61fe75c45ca6235a80f80bfde57 into PR head commit d4ddb400a35b03adadd8724aa5179f70b38731ee 02:04:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:04:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:04:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:04:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/595/head:refs/remotes/origin/PR-595 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:04:48 > git config core.sparsecheckout # timeout=10 02:04:48 > git checkout -f d4ddb400a35b03adadd8724aa5179f70b38731ee # timeout=10 02:04:48 > git remote # timeout=10 02:04:48 Merge succeeded, producing d4ddb400a35b03adadd8724aa5179f70b38731ee 02:04:48 Checking out Revision d4ddb400a35b03adadd8724aa5179f70b38731ee (PR-595) 02:04:48 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 02:04:49 > git --version # timeout=10 02:04:49 > git --version # 'git version 2.25.1' 02:04:49 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:04:48 > git config --get remote.origin.url # timeout=10 02:04:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:04:48 > git merge 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 02:04:48 > git rev-parse HEAD^{commit} # timeout=10 02:04:48 > git config core.sparsecheckout # timeout=10 02:04:48 > git checkout -f d4ddb400a35b03adadd8724aa5179f70b38731ee # timeout=10 02:04:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:04:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:50 Dload Upload Total Spent Left Speed 02:04:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 02:04:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:04:51 + sudo tee /etc/docker/daemon.new 02:04:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:04:51 { 02:04:51 "registry-mirrors": [ 02:04:51 "https://nexus3.edgexfoundry.org:10001" 02:04:51 ], 02:04:51 "bip": "10.250.0.254/24", 02:04:51 "hosts": [ 02:04:51 "tcp://0.0.0.0:5555", 02:04:51 "unix:///var/run/docker.sock" 02:04:51 ], 02:04:51 "mtu": 1458, 02:04:51 "selinux-enabled": true, 02:04:51 "seccomp-profile": "/etc/docker/seccomp.json" 02:04:51 } [Pipeline] sh 02:04:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:04:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:09 provisioning config files... 02:05:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15596786779670598549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:10 ---> docker-login.sh 02:05:10 nexus3.edgexfoundry.org:10001 02:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:10 Configure a credential helper to remove this warning. See 02:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:10 02:05:10 Login Succeeded 02:05:10 nexus3.edgexfoundry.org:10002 02:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:11 Configure a credential helper to remove this warning. See 02:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:11 02:05:11 Login Succeeded 02:05:11 nexus3.edgexfoundry.org:10003 02:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:11 Configure a credential helper to remove this warning. See 02:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:11 02:05:11 Login Succeeded 02:05:11 nexus3.edgexfoundry.org:10004 02:05:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:12 Configure a credential helper to remove this warning. See 02:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:12 02:05:12 Login Succeeded 02:05:12 docker.io 02:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:12 Configure a credential helper to remove this warning. See 02:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:12 02:05:12 Login Succeeded 02:05:12 ---> docker-login.sh ends [Pipeline] } 02:05:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:13 ========================================================= 02:05:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:05:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:14 + 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 . 02:05:14 Sending build context to Docker daemon 3.388MB 02:05:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:05:14 Step 2/12 : FROM ${BASE} AS builder 02:05:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:05:14 c41833b44d91: Pulling fs layer 02:05:14 ed15518f5707: Pulling fs layer 02:05:14 feae8fd75edb: Pulling fs layer 02:05:14 242c74f7c9fa: Pulling fs layer 02:05:14 3cdef696dda3: Pulling fs layer 02:05:14 242c74f7c9fa: Waiting 02:05:14 2ced38df9373: Pulling fs layer 02:05:14 3cdef696dda3: Waiting 02:05:14 2ced38df9373: Waiting 02:05:14 58f1dce35555: Pulling fs layer 02:05:14 ed15518f5707: Verifying Checksum 02:05:14 ed15518f5707: Download complete 02:05:14 242c74f7c9fa: Verifying Checksum 02:05:14 242c74f7c9fa: Download complete 02:05:14 3cdef696dda3: Verifying Checksum 02:05:14 3cdef696dda3: Download complete 02:05:14 c41833b44d91: Verifying Checksum 02:05:14 c41833b44d91: Download complete 02:05:15 c41833b44d91: Pull complete 02:05:16 58f1dce35555: Verifying Checksum 02:05:16 58f1dce35555: Download complete 02:05:16 ed15518f5707: Pull complete 02:05:17 feae8fd75edb: Verifying Checksum 02:05:17 feae8fd75edb: Download complete 02:05:17 2ced38df9373: Verifying Checksum 02:05:17 2ced38df9373: Download complete 02:05:30 feae8fd75edb: Pull complete 02:05:30 242c74f7c9fa: Pull complete 02:05:30 3cdef696dda3: Pull complete 02:05:40 2ced38df9373: Pull complete 02:05:41 58f1dce35555: Pull complete 02:05:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:05:41 ---> fadd8f120f05 02:05:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:05:43 ---> Running in c9204d59357d 02:05:43 Removing intermediate container c9204d59357d 02:05:43 ---> 5821fbddb2f7 02:05:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:05:43 ---> Running in ee84e4f7b2b1 02:05:44 Removing intermediate container ee84e4f7b2b1 02:05:44 ---> fb72f3639d23 02:05:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:05:44 ---> Running in f49dc66642ef 02:05:44 Removing intermediate container f49dc66642ef 02:05:44 ---> dacc5abb86a8 02:05:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:05:44 ---> Running in 5815791bd337 02:05:44 Removing intermediate container 5815791bd337 02:05:44 ---> a90d80bd6c96 02:05:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:05:45 ---> Running in 2a34238a1e20 02:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:05:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:05:48 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:05:48 (2/4) Installing libedit (20221030.3.1-r0) 02:05:48 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:05:48 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:05:48 Executing busybox-1.35.0-r29.trigger 02:05:48 OK: 268 MiB in 57 packages 02:05:50 Removing intermediate container 2a34238a1e20 02:05:50 ---> 0e249f5922d0 02:05:50 Step 8/12 : WORKDIR /device-mqtt-go 02:05:50 ---> Running in d41fce5eed24 02:05:50 Removing intermediate container d41fce5eed24 02:05:50 ---> 3c0dc147241a 02:05:50 Step 9/12 : COPY go.mod vendor* ./ 02:05:51 ---> 2c8d399b9ad8 02:05:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:05:51 ---> Running in 437e52f99b1b 02:06:59 Removing intermediate container 437e52f99b1b 02:06:59 ---> db9f91bce30e 02:06:59 Step 11/12 : COPY . . 02:06:59 ---> 4ee3580647d4 02:06:59 Step 12/12 : RUN $MAKE 02:06:59 ---> Running in 1a0ab60ab482 02:06:59 noop 02:06:59 Removing intermediate container 1a0ab60ab482 02:06:59 ---> 0a868fede049 02:06:59 Successfully built 0a868fede049 02:06:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:59 + docker inspect -f . ci-base-image-arm64 02:06:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:59 prd-ubuntu20.04-docker-arm64-4c-16g-14419 does not seem to be running inside a container 02:06:59 $ 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 02:07:01 $ docker top 45bd46e2187b1b24deae68af1cbd9edef5f6df80f01b399347d044ed7b1ddf21 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:02 + go version 02:07:02 go version go1.20.2 linux/arm64 [Pipeline] } 02:07:02 $ docker stop --time=1 45bd46e2187b1b24deae68af1cbd9edef5f6df80f01b399347d044ed7b1ddf21 02:07:03 $ docker rm -f --volumes 45bd46e2187b1b24deae68af1cbd9edef5f6df80f01b399347d044ed7b1ddf21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:04 + docker inspect -f . ci-base-image-arm64 02:07:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:05 prd-ubuntu20.04-docker-arm64-4c-16g-14419 does not seem to be running inside a container 02:07:05 $ 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 02:07:06 $ docker top c2b73326fc84f79d01e5042c545fc905d66d73f73c61b06c63b0a9caba686879 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:07 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:07:07 + make test 02:07:07 go test ./... -coverprofile=coverage.out ./... 02:07:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 23.1% of statements 02:10:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:08 go vet ./... 02:10:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:30 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:30 $ docker stop --time=1 c2b73326fc84f79d01e5042c545fc905d66d73f73c61b06c63b0a9caba686879 02:10:32 $ docker rm -f --volumes c2b73326fc84f79d01e5042c545fc905d66d73f73c61b06c63b0a9caba686879 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:33 Warning: overwriting stash ‘coverage-report’ 02:10:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:35 + ls -al . 02:10:35 total 176 02:10:35 drwxrwxr-x 9 jenkins jenkins 4096 May 8 02:07 . 02:10:35 drwxrwxr-x 4 jenkins jenkins 4096 May 8 02:04 .. 02:10:35 -rw-rw-r-- 1 jenkins jenkins 140 May 8 02:04 .dockerignore 02:10:35 drwxrwxr-x 8 jenkins jenkins 4096 May 8 02:04 .git 02:10:35 drwxrwxr-x 3 jenkins jenkins 4096 May 8 02:04 .github 02:10:35 -rw-rw-r-- 1 jenkins jenkins 329 May 8 02:04 .gitignore 02:10:35 -rw-rw-r-- 1 jenkins jenkins 41 May 8 02:04 .golangci.yml 02:10:35 -rw-rw-r-- 1 jenkins jenkins 9417 May 8 02:04 Attribution.txt 02:10:35 -rw-rw-r-- 1 jenkins jenkins 13162 May 8 02:04 CHANGELOG.md 02:10:35 -rw-rw-r-- 1 jenkins jenkins 1689 May 8 02:04 Dockerfile 02:10:35 -rw-rw-r-- 1 jenkins jenkins 677 May 8 02:04 GOVERNANCE.md 02:10:35 -rw-rw-r-- 1 jenkins jenkins 678 May 8 02:04 Jenkinsfile 02:10:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 02:04 LICENSE 02:10:35 -rw-rw-r-- 1 jenkins jenkins 1732 May 8 02:04 Makefile 02:10:35 -rw-rw-r-- 1 jenkins jenkins 620 May 8 02:04 OWNERS.md 02:10:35 -rw-rw-r-- 1 jenkins jenkins 3165 May 8 02:04 README.md 02:10:35 -rw-rw-r-- 1 jenkins jenkins 5 May 8 02:01 VERSION 02:10:35 drwxrwxr-x 2 jenkins jenkins 4096 May 8 02:04 bin 02:10:35 drwxrwxr-x 3 jenkins jenkins 4096 May 8 02:04 cmd 02:10:35 -rw-r--r-- 1 jenkins jenkins 18144 May 8 02:10 coverage.out 02:10:35 -rw-rw-r-- 1 jenkins jenkins 3333 May 8 02:04 go.mod 02:10:35 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 02:04 go.sum 02:10:35 drwxrwxr-x 3 jenkins jenkins 4096 May 8 02:04 internal 02:10:35 drwxrwxr-x 2 jenkins jenkins 4096 May 8 02:04 mock 02:10:35 drwxrwxr-x 4 jenkins jenkins 4096 May 8 02:04 snap 02:10:35 -rw-rw-r-- 1 jenkins jenkins 227 May 8 02:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:35 + 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=d4ddb400a35b03adadd8724aa5179f70b38731ee --label arch=arm64 --label version=0.0.0 . 02:10:35 Sending build context to Docker daemon 3.407MB 02:10:35 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:10:35 Step 2/24 : FROM ${BASE} AS builder 02:10:35 ---> 0a868fede049 02:10:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:10:37 ---> Running in 87a2d7448f8e 02:10:37 Removing intermediate container 87a2d7448f8e 02:10:37 ---> 6478a48e892c 02:10:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:10:37 ---> Running in 961239e25af6 02:10:37 Removing intermediate container 961239e25af6 02:10:37 ---> 287456117673 02:10:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:10:37 ---> Running in 8458556ca751 02:10:38 Removing intermediate container 8458556ca751 02:10:38 ---> 47bedf09f2e2 02:10:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:10:38 ---> Running in 163a126b9ea0 02:10:38 Removing intermediate container 163a126b9ea0 02:10:38 ---> 67b00cfe125c 02:10:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:10:38 ---> Running in ff6130d19cc5 02:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:10:42 OK: 268 MiB in 57 packages 02:10:42 Removing intermediate container ff6130d19cc5 02:10:42 ---> a6e59b837118 02:10:42 Step 8/24 : WORKDIR /device-mqtt-go 02:10:42 ---> Running in a54bce1daa34 02:10:43 Removing intermediate container a54bce1daa34 02:10:43 ---> 2418e032da5a 02:10:43 Step 9/24 : COPY go.mod vendor* ./ 02:10:43 ---> 5061c5ba7528 02:10:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:43 ---> Running in e26bc8c1a6e7 02:10:47 Removing intermediate container e26bc8c1a6e7 02:10:47 ---> 053b11e633d0 02:10:47 Step 11/24 : COPY . . 02:10:51 ---> 7cc1da06cc3e 02:10:51 Step 12/24 : RUN $MAKE 02:10:51 ---> Running in 752a102f27e2 02:10:52 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 02:13:14 Removing intermediate container 752a102f27e2 02:13:14 ---> c0c95eed43d2 02:13:14 Step 13/24 : FROM alpine:3.17 02:13:14 3.17: Pulling from library/alpine 02:13:14 c41833b44d91: Already exists 02:13:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:13:14 Status: Downloaded newer image for alpine:3.17 02:13:14 ---> 51e60588ff2c 02:13:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:13:14 ---> Running in d5ced981f44b 02:13:14 Removing intermediate container d5ced981f44b 02:13:14 ---> 7abd2030d08c 02:13:14 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:13:15 ---> Running in 24d2a2312217 02:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:13:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:13:18 (1/1) Installing dumb-init (1.2.5-r2) 02:13:18 Executing busybox-1.35.0-r29.trigger 02:13:18 OK: 8 MiB in 16 packages 02:13:18 Removing intermediate container 24d2a2312217 02:13:18 ---> cb83d7788287 02:13:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:13:20 ---> 768efe4a75e0 02:13:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:13:20 ---> 905b86945817 02:13:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:13:21 ---> 7035b5377681 02:13:21 Step 19/24 : EXPOSE 59982 02:13:21 ---> Running in 47df6916b9ae 02:13:21 Removing intermediate container 47df6916b9ae 02:13:21 ---> a35a29bada93 02:13:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:13:21 ---> Running in f49d75ebed55 02:13:21 Removing intermediate container f49d75ebed55 02:13:21 ---> 5be4ffb4f4a4 02:13:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:13:21 ---> Running in 6b096ba8c347 02:13:22 Removing intermediate container 6b096ba8c347 02:13:22 ---> 48680e017c44 02:13:22 Step 22/24 : LABEL arch=arm64 02:13:22 ---> Running in ad5a4e2898e3 02:13:22 Removing intermediate container ad5a4e2898e3 02:13:22 ---> 9ed02b28ac3e 02:13:22 Step 23/24 : LABEL git_sha=d4ddb400a35b03adadd8724aa5179f70b38731ee 02:13:22 ---> Running in 806746458bf7 02:13:22 Removing intermediate container 806746458bf7 02:13:22 ---> 44b192676650 02:13:22 Step 24/24 : LABEL version=0.0.0 02:13:23 ---> Running in 97e5808654db 02:13:23 Removing intermediate container 97e5808654db 02:13:23 ---> 62661e31ee46 02:13:23 [Warning] One or more build-args [ARCH] were not consumed 02:13:23 Successfully built 62661e31ee46 02:13:23 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 02:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:24 02:13:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:24 arm64: Pulling from edgex-lftools-log-publisher 02:13:24 8998bd30e6a1: Pulling fs layer 02:13:24 04944245beec: Pulling fs layer 02:13:24 699f458cf7ca: Pulling fs layer 02:13:24 765212b225bb: Pulling fs layer 02:13:24 f23df028b6ca: Pulling fs layer 02:13:24 d65c8cfc05b1: Pulling fs layer 02:13:24 2437ff75d9bd: Pulling fs layer 02:13:24 765212b225bb: Waiting 02:13:24 f23df028b6ca: Waiting 02:13:24 d65c8cfc05b1: Waiting 02:13:24 04944245beec: Verifying Checksum 02:13:24 04944245beec: Download complete 02:13:24 765212b225bb: Verifying Checksum 02:13:24 765212b225bb: Download complete 02:13:24 f23df028b6ca: Verifying Checksum 02:13:24 f23df028b6ca: Download complete 02:13:24 d65c8cfc05b1: Verifying Checksum 02:13:24 d65c8cfc05b1: Download complete 02:13:25 699f458cf7ca: Verifying Checksum 02:13:25 699f458cf7ca: Download complete 02:13:25 8998bd30e6a1: Download complete 02:13:27 2437ff75d9bd: Verifying Checksum 02:13:27 2437ff75d9bd: Download complete 02:13:29 8998bd30e6a1: Pull complete 02:13:29 04944245beec: Pull complete 02:13:31 699f458cf7ca: Pull complete 02:13:31 765212b225bb: Pull complete 02:13:31 f23df028b6ca: Pull complete 02:13:31 d65c8cfc05b1: Pull complete 02:13:46 2437ff75d9bd: Pull complete 02:13:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:13:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:47 prd-ubuntu20.04-docker-arm64-4c-16g-14419 does not seem to be running inside a container 02:13:47 $ 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 02:13:50 $ docker top e0cfcb797a3f68280a8733fce385db743bbf380a98a6259d38f15998400bde51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:50 ---> job-cost.sh 02:13:50 lf-activate-venv: SKIPPING 02:13:50 INFO: No Stack... 02:13:51 INFO: Retrieving Pricing Info for: v3-standard-4 02:13:52 INFO: Archiving Costs [Pipeline] sh 02:13:52 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:13:52 + cut -d, -f6 [Pipeline] lock 02:13:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] 02:13:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] did not exist. Created. 02:13:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:53 /w/workspace/device-mqtt-go/1@tmp/durable-d3b8f944/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:13:53 + echo total: 0.10999999940395355 [Pipeline] stash 02:13:53 Warning: overwriting stash ‘stack-cost’ 02:13:53 Stashed 1 file(s) [Pipeline] } 02:13:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-595-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:54 $ docker stop --time=1 e0cfcb797a3f68280a8733fce385db743bbf380a98a6259d38f15998400bde51 02:13:56 $ docker rm -f --volumes e0cfcb797a3f68280a8733fce385db743bbf380a98a6259d38f15998400bde51 [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 02:13:57 provisioning config files... 02:13:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/config17755280123355844138tmp [Pipeline] { [Pipeline] sh 02:13:58 + set +x 02:13:58 + curl -s https://codecov.io/bash 02:13:58 + bash -s -- 02:13:58 02:13:58 _____ _ 02:13:58 / ____| | | 02:13:58 | | ___ __| | ___ ___ _____ __ 02:13:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:58 Bash-1.0.6 02:13:58 02:13:58 02:13:58 ==> git version 2.25.1 found 02:13:58 ==> 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 02:13:58 Release-Date: 2020-01-08 02:13:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:13:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:58 ==> Jenkins CI detected. 02:13:58 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-595 02:13:58 project root: . 02:13:58 --> token set from env 02:13:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:58 ==> Running gcov in . (disable via -X gcov) 02:13:58 ==> Python coveragepy not found 02:13:58 ==> Searching for coverage reports in: 02:13:58 + . 02:13:58 -> Found 1 reports 02:13:58 ==> Detecting git/mercurial file structure 02:13:58 ==> Reading reports 02:13:58 + ./coverage.out bytes=18144 02:13:58 ==> Appending adjustments 02:13:58 https://docs.codecov.io/docs/fixing-reports 02:13:58 + Found adjustments 02:13:58 ==> Gzipping contents 02:13:58 4.0K /tmp/codecov.qoqG0K.gz 02:13:58 ==> Uploading reports 02:13:58 url: https://codecov.io 02:13:58 query: branch=PR-595&commit=d4ddb400a35b03adadd8724aa5179f70b38731ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-595%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=595&job=&cmd_args= 02:13:58 -> Pinging Codecov 02:13:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-595&commit=d4ddb400a35b03adadd8724aa5179f70b38731ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-595%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=595&job=&cmd_args= 02:13:58 -> Uploading to 02:13:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7D719EC7BBE17E464838252E33014C33/d4ddb400a35b03adadd8724aa5179f70b38731ee/42194bfd-e359-4fea-8fb7-e75900211135.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T021358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce26ee3e423f3acdfd5386e5aa009ad4c3ca9bd98e21701b858b30b765630385 02:13:58 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:58 Dload Upload Total Spent Left Speed 02:13:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 14278 --:--:-- --:--:-- --:--:-- 14278 02:13:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d4ddb400a35b03adadd8724aa5179f70b38731ee [Pipeline] } 02:13:58 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 02:14:00 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives ] 02:14:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives 02:14:00 total 16 02:14:00 drwxr-xr-x 3 root root 4096 May 8 02:03 . 02:14:00 drwxrwxr-x 11 jenkins jenkins 4096 May 8 02:03 .. 02:14:00 drwxr-xr-x 2 root root 4096 May 8 02:03 cost 02:14:00 -rw-r--r-- 1 root root 86 May 8 02:03 cost.csv 02:14:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives 02:14:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives 02:14:00 total 16 02:14:00 drwxr-xr-x 3 jenkins jenkins 4096 May 8 02:03 . 02:14:00 drwxrwxr-x 11 jenkins jenkins 4096 May 8 02:03 .. 02:14:00 drwxr-xr-x 2 jenkins jenkins 4096 May 8 02:03 cost 02:14:00 -rw-r--r-- 1 jenkins jenkins 86 May 8 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:14:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:14:01 ---> package-listing.sh 02:14:01 ++ facter osfamily 02:14:01 ++ tr '[:upper:]' '[:lower:]' 02:14:01 + OS_FAMILY=debian 02:14:01 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-595 02:14:01 + START_PACKAGES=/tmp/packages_start.txt 02:14:01 + END_PACKAGES=/tmp/packages_end.txt 02:14:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:14:01 + PACKAGES=/tmp/packages_start.txt 02:14:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-595 ']' 02:14:01 + PACKAGES=/tmp/packages_end.txt 02:14:01 + case "${OS_FAMILY}" in 02:14:01 + dpkg -l 02:14:01 + grep '^ii' 02:14:01 + '[' -f /tmp/packages_start.txt ']' 02:14:01 + '[' -f /tmp/packages_end.txt ']' 02:14:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:14:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-595 ']' 02:14:01 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives/ 02:14:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-595/archives/ [Pipeline] echo 02:14:01 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-595/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:14:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:03 prd-ubuntu20.04-docker-8c-8g-14417 does not seem to be running inside a container 02:14:03 $ 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-595/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-595 -v /w/workspace/gexfoundry_device-mqtt-go_PR-595:/w/workspace/gexfoundry_device-mqtt-go_PR-595:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-595@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 02:14:03 $ docker top a0d592ac088f5567de6e8e08eecdb27f71e55ade472372dc2836ad4a8b92c785 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:03 + touch /tmp/pre-build-complete [Pipeline] sh 02:14:03 + mkdir -p /var/log/sysstat [Pipeline] sh 02:14:04 + ls /var/log/sa-host 02:14:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:04 provisioning config files... 02:14:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-595@tmp/config4055239056279374915tmp [Pipeline] { [Pipeline] echo 02:14:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:14:04 ---> create-netrc.sh [Pipeline] } 02:14:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:14:05 ---> python-tools-install.sh [Pipeline] echo 02:14:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:14:05 ---> sudo-logs.sh 02:14:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:14:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:14:05 ---> job-cost.sh 02:14:05 lf-activate-venv: SKIPPING 02:14:05 DEBUG: total: 0.2199999988079071 02:14:05 INFO: Retrieving Stack Cost... 02:14:06 INFO: Retrieving Pricing Info for: v3-standard-8 02:14:06 INFO: Archiving Costs [Pipeline] echo 02:14:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:14:07 ---> logs-deploy.sh 02:14:07 lf-activate-venv: SKIPPING 02:14:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-595/1 02:14:07 INFO: archiving workspace using pattern(s): 02:14:08 Archives upload complete. 02:14:08 INFO: archiving logs to Nexus