Pull request #602 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af735c48828f0e3c64dc28decfb285ada11c3cad+956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 (5f70e126dc6d508b26838599752fa1e304a8365e) 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-ssh5494916785029574191.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-ssh7317095188115988245.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-602/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-602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12995464211457943544.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-602/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7267734504484080850.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-ssh16387487993294986273.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-602/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-602/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11080557530066653249.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-15824 in /w/workspace/gexfoundry_device-mqtt-go_PR-602 [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-602 # 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/602/head:refs/remotes/origin/PR-602 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 into PR head commit af735c48828f0e3c64dc28decfb285ada11c3cad Merge succeeded, producing af735c48828f0e3c64dc28decfb285ada11c3cad Checking out Revision af735c48828f0e3c64dc28decfb285ada11c3cad (PR-602) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/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] { > git config core.sparsecheckout # timeout=10 > git checkout -f af735c48828f0e3c64dc28decfb285ada11c3cad # 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 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af735c48828f0e3c64dc28decfb285ada11c3cad # timeout=10 [Pipeline] timeout 02:01:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:01:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:03 ========================================================= 02:01:03 EdgeX Global Pipelines Version Info 02:01:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:04 ------------------- 02:01:04 stable info: 02:01:04 ------------------- 02:01:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:01:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:04 Message: update stable to v1.0.249 02:01:04 ------------------- 02:01:04 experimental info: 02:01:04 ------------------- 02:01:04 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-602 [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-602 [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-602 [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af735c48828f0e3c64dc28decfb285ada11c3cad [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af735c4 [Pipeline] echo 02:01:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:06 provisioning config files... 02:01:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/config14959071570481419751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:07 ---> docker-login.sh 02:01:07 nexus3.edgexfoundry.org:10001 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:07 Configure a credential helper to remove this warning. See 02:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:07 02:01:07 Login Succeeded 02:01:07 nexus3.edgexfoundry.org:10002 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:07 Configure a credential helper to remove this warning. See 02:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:07 02:01:07 Login Succeeded 02:01:07 nexus3.edgexfoundry.org:10003 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:07 Configure a credential helper to remove this warning. See 02:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:07 02:01:07 Login Succeeded 02:01:07 nexus3.edgexfoundry.org:10004 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:07 Configure a credential helper to remove this warning. See 02:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:07 02:01:07 Login Succeeded 02:01:07 docker.io 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:08 Configure a credential helper to remove this warning. See 02:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:08 02:01:08 Login Succeeded 02:01:08 ---> docker-login.sh ends [Pipeline] } 02:01:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:08 + git rev-list -1 --merges af735c48828f0e3c64dc28decfb285ada11c3cad~1..af735c48828f0e3c64dc28decfb285ada11c3cad [Pipeline] echo 02:01:08 -----------> git rev-list -1 --merges af735c48828f0e3c64dc28decfb285ada11c3cad~1..af735c48828f0e3c64dc28decfb285ada11c3cad af735c48828f0e3c64dc28decfb285ada11c3cad [false] [Pipeline] sh 02:01:09 + git log --format=format:%s -1 af735c48828f0e3c64dc28decfb285ada11c3cad [Pipeline] echo 02:01:09 ========================================================= 02:01:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:09 + git log --format=format:%s -1 af735c48828f0e3c64dc28decfb285ada11c3cad [Pipeline] echo 02:01:09 [semverPrep] GIT_COMMIT: af735c48828f0e3c64dc28decfb285ada11c3cad, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:01:09 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:10 + grep -v github /etc/ssh/ssh_known_hosts 02:01:10 + [ -e /tmp/ssh_known_hosts ] 02:01:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:10 + sudo tee -a /etc/ssh/ssh_known_hosts 02:01:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:10 02:01:10 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:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:11 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:11 b85a868b505f: Pulling fs layer 02:01:11 e2be974225ed: Pulling fs layer 02:01:11 339a4e72a1f5: Pulling fs layer 02:01:11 988bab9f4d93: Pulling fs layer 02:01:11 1469e6f7b9e6: Pulling fs layer 02:01:11 eaf3925da568: Pulling fs layer 02:01:11 bab4dde63d76: Pulling fs layer 02:01:11 bde34c3a00c8: Pulling fs layer 02:01:11 b352a97aabf1: Pulling fs layer 02:01:11 4872d77fe225: Pulling fs layer 02:01:11 5851b861e8e6: Pulling fs layer 02:01:11 988bab9f4d93: Waiting 02:01:11 1469e6f7b9e6: Waiting 02:01:11 eaf3925da568: Waiting 02:01:11 bab4dde63d76: Waiting 02:01:11 bde34c3a00c8: Waiting 02:01:11 b352a97aabf1: Waiting 02:01:11 4872d77fe225: Waiting 02:01:11 5851b861e8e6: Waiting 02:01:11 e2be974225ed: Verifying Checksum 02:01:11 e2be974225ed: Download complete 02:01:11 988bab9f4d93: Verifying Checksum 02:01:11 988bab9f4d93: Download complete 02:01:11 1469e6f7b9e6: Verifying Checksum 02:01:11 1469e6f7b9e6: Download complete 02:01:11 eaf3925da568: Verifying Checksum 02:01:11 eaf3925da568: Download complete 02:01:11 339a4e72a1f5: Verifying Checksum 02:01:11 339a4e72a1f5: Download complete 02:01:11 bde34c3a00c8: Download complete 02:01:11 b352a97aabf1: Download complete 02:01:11 4872d77fe225: Download complete 02:01:11 5851b861e8e6: Verifying Checksum 02:01:11 5851b861e8e6: Download complete 02:01:11 b85a868b505f: Verifying Checksum 02:01:11 b85a868b505f: Download complete 02:01:11 bab4dde63d76: Verifying Checksum 02:01:11 bab4dde63d76: Download complete 02:01:12 b85a868b505f: Pull complete 02:01:12 e2be974225ed: Pull complete 02:01:13 339a4e72a1f5: Pull complete 02:01:13 988bab9f4d93: Pull complete 02:01:13 1469e6f7b9e6: Pull complete 02:01:13 eaf3925da568: Pull complete 02:01:15 bab4dde63d76: Pull complete 02:01:15 bde34c3a00c8: Pull complete 02:01:15 b352a97aabf1: Pull complete 02:01:15 4872d77fe225: Pull complete 02:01:15 5851b861e8e6: Pull complete 02:01:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:15 prd-ubuntu20.04-docker-8c-8g-15824 does not seem to be running inside a container 02:01:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-602 -v /w/workspace/gexfoundry_device-mqtt-go_PR-602:/w/workspace/gexfoundry_device-mqtt-go_PR-602:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-602@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:18 $ docker top 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 -eo pid,comm 02:01:18 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:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:18 [ssh-agent] Looking for ssh-agent implementation... 02:01:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:18 $ docker exec 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 ssh-agent 02:01:18 SSH_AUTH_SOCK=/tmp/ssh-TlGMrCccfvD5/agent.33 02:01:18 SSH_AGENT_PID=39 02:01:18 Running ssh-add (command line suppressed) 02:01:19 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/private_key_8290960152563453185.key (/w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/private_key_8290960152563453185.key) 02:01:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:19 + git tag --points-at HEAD [Pipeline] } 02:01:19 $ docker exec --env ******** --env ******** 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 ssh-agent -k 02:01:19 unset SSH_AUTH_SOCK; 02:01:19 unset SSH_AGENT_PID; 02:01:19 echo Agent pid 39 killed; 02:01:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:19 [ssh-agent] Looking for ssh-agent implementation... 02:01:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:19 $ docker exec 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 ssh-agent 02:01:19 SSH_AUTH_SOCK=/tmp/ssh-DXrz05Eoz6c4/agent.71 02:01:19 SSH_AGENT_PID=77 02:01:19 Running ssh-add (command line suppressed) 02:01:20 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/private_key_16180336850254798827.key (/w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/private_key_16180336850254798827.key) 02:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:20 + git semver init 02:01:20 2023-05-17 02:01:20,604 [run_init] DEBUG init version:0.0.0 force:False 02:01:20 2023-05-17 02:01:20,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver 02:01:20 2023-05-17 02:01:20,606 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver 02:01:20 2023-05-17 02:01:20,606 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-602, universal_newlines=False, shell=None, istream=None) 02:01:21 2023-05-17 02:01:21,403 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-602/.git/info/exclude 02:01:21 2023-05-17 02:01:21,403 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver/PR-602 with force:False 02:01:21 2023-05-17 02:01:21,403 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver/PR-602 02:01:21 2023-05-17 02:01:21,406 [execute] INFO git cat-file --batch-check 02:01:21 2023-05-17 02:01:21,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver, universal_newlines=False, shell=None, istream=) 02:01:21 2023-05-17 02:01:21,411 [execute] INFO git cat-file --batch 02:01:21 2023-05-17 02:01:21,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver, universal_newlines=False, shell=None, istream=) 02:01:21 2023-05-17 02:01:21,416 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-602/.semver/PR-602 02:01:21 0.0.0 [Pipeline] } 02:01:21 $ docker exec --env ******** --env ******** 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 ssh-agent -k 02:01:21 unset SSH_AUTH_SOCK; 02:01:21 unset SSH_AGENT_PID; 02:01:21 echo Agent pid 77 killed; 02:01:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:22 + git semver [Pipeline] } 02:01:22 $ docker stop --time=1 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 02:01:23 $ docker rm -f --volumes 3defdd5e6ebf777dc7238306d70868e4c944b70f291584e416620bd611aa2ca7 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:01:24 Stashed 1 file(s) [Pipeline] echo 02:01:24 [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:25 provisioning config files... 02:01:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/config4577153637566665281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:25 ---> docker-login.sh 02:01:25 nexus3.edgexfoundry.org:10001 02:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:25 Configure a credential helper to remove this warning. See 02:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:25 02:01:25 Login Succeeded 02:01:25 nexus3.edgexfoundry.org:10002 02:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:25 Configure a credential helper to remove this warning. See 02:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:25 02:01:25 Login Succeeded 02:01:25 nexus3.edgexfoundry.org:10003 02:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:25 Configure a credential helper to remove this warning. See 02:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:25 02:01:25 Login Succeeded 02:01:25 nexus3.edgexfoundry.org:10004 02:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:25 Configure a credential helper to remove this warning. See 02:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:25 02:01:25 Login Succeeded 02:01:25 docker.io 02:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:26 Configure a credential helper to remove this warning. See 02:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:26 02:01:26 Login Succeeded 02:01:26 ---> docker-login.sh ends [Pipeline] } 02:01:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:26 ========================================================= 02:01:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:01:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:27 + 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:27 Sending build context to Docker daemon 6.543MB 02:01:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:27 Step 2/12 : FROM ${BASE} AS builder 02:01:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:01:27 f56be85fc22e: Pulling fs layer 02:01:27 85791d961cd3: Pulling fs layer 02:01:27 d694b5ae8c79: Pulling fs layer 02:01:27 9f32a84ed3da: Pulling fs layer 02:01:27 4d19c01a9841: Pulling fs layer 02:01:27 9325e15d5711: Pulling fs layer 02:01:27 556b6ee489ea: Pulling fs layer 02:01:27 c5a4b2cf53e6: Pulling fs layer 02:01:27 9f32a84ed3da: Waiting 02:01:27 4d19c01a9841: Waiting 02:01:27 9325e15d5711: Waiting 02:01:27 556b6ee489ea: Waiting 02:01:27 c5a4b2cf53e6: Waiting 02:01:27 85791d961cd3: Download complete 02:01:27 9f32a84ed3da: Verifying Checksum 02:01:27 9f32a84ed3da: Download complete 02:01:27 4d19c01a9841: Download complete 02:01:27 f56be85fc22e: Verifying Checksum 02:01:27 f56be85fc22e: Download complete 02:01:27 9325e15d5711: Verifying Checksum 02:01:27 9325e15d5711: Download complete 02:01:27 f56be85fc22e: Pull complete 02:01:27 85791d961cd3: Pull complete 02:01:27 d694b5ae8c79: Verifying Checksum 02:01:27 d694b5ae8c79: Download complete 02:01:27 c5a4b2cf53e6: Verifying Checksum 02:01:27 c5a4b2cf53e6: Download complete 02:01:28 556b6ee489ea: Verifying Checksum 02:01:28 556b6ee489ea: Download complete 02:01:31 d694b5ae8c79: Pull complete 02:01:31 9f32a84ed3da: Pull complete 02:01:31 4d19c01a9841: Pull complete 02:01:31 9325e15d5711: Pull complete 02:01:33 556b6ee489ea: Pull complete 02:01:34 c5a4b2cf53e6: Pull complete 02:01:34 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:01:34 ---> c4be618373d6 02:01:34 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:01:39 ---> Running in 23fce9f71662 02:01:39 Removing intermediate container 23fce9f71662 02:01:39 ---> d29ade5ca28b 02:01:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:39 ---> Running in b0865fe348f2 02:01:39 Removing intermediate container b0865fe348f2 02:01:39 ---> f390cc38960f 02:01:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:39 ---> Running in 57f52cce7c03 02:01:39 Removing intermediate container 57f52cce7c03 02:01:39 ---> 70aed156ba0a 02:01:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:01:39 ---> Running in 24231f281a52 02:01:39 Removing intermediate container 24231f281a52 02:01:39 ---> ca7100deafe8 02:01:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:39 ---> Running in 5f49d9f0d670 02:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:39 Still waiting to schedule task 02:01:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15823’ 02:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:40 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:01:40 (2/4) Installing libedit (20221030.3.1-r0) 02:01:40 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:01:40 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:01:40 Executing busybox-1.35.0-r29.trigger 02:01:40 OK: 269 MiB in 57 packages 02:01:40 Removing intermediate container 5f49d9f0d670 02:01:40 ---> ad4b6ba09d56 02:01:40 Step 8/12 : WORKDIR /device-mqtt-go 02:01:40 ---> Running in 7658087929aa 02:01:40 Removing intermediate container 7658087929aa 02:01:40 ---> c893c93c714c 02:01:40 Step 9/12 : COPY go.mod vendor* ./ 02:01:40 ---> 8b2e8bee8f18 02:01:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:41 ---> Running in 260b9480f4b6 02:02:27 Removing intermediate container 260b9480f4b6 02:02:27 ---> 92b2cc044d3a 02:02:27 Step 11/12 : COPY . . 02:02:27 ---> 9f95e3dadd5d 02:02:27 Step 12/12 : RUN $MAKE 02:02:27 ---> Running in ae6ad849efa3 02:02:27 noop 02:02:27 Removing intermediate container ae6ad849efa3 02:02:27 ---> b4cdc4142be8 02:02:27 Successfully built b4cdc4142be8 02:02:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:28 + docker inspect -f . ci-base-image-x86_64 02:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:28 prd-ubuntu20.04-docker-8c-8g-15824 does not seem to be running inside a container 02:02:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-602 -v /w/workspace/gexfoundry_device-mqtt-go_PR-602:/w/workspace/gexfoundry_device-mqtt-go_PR-602:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-602@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:28 $ docker top cbae902708fca2dabc0bd9bad3cd2f839c8f3db4e2d2ed8191167af8c4500265 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:29 + go version 02:02:29 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:29 $ docker stop --time=1 cbae902708fca2dabc0bd9bad3cd2f839c8f3db4e2d2ed8191167af8c4500265 02:02:30 $ docker rm -f --volumes cbae902708fca2dabc0bd9bad3cd2f839c8f3db4e2d2ed8191167af8c4500265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:31 + docker inspect -f . ci-base-image-x86_64 02:02:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:31 prd-ubuntu20.04-docker-8c-8g-15824 does not seem to be running inside a container 02:02:31 $ 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-602 -v /w/workspace/gexfoundry_device-mqtt-go_PR-602:/w/workspace/gexfoundry_device-mqtt-go_PR-602:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-602@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:31 $ docker top d2cf7db00cdb0ca76f1007a0a4e5dd00b8a7effa81cfa6930d900daebd4b61cb -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-602 [Pipeline] fileExists [Pipeline] sh 02:02:32 + make test 02:02:32 go test ./... -coverprofile=coverage.out ./... 02:02:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:02:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:02:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:02:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 23.1% of statements 02:02:53 go vet ./... 02:02:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:02:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:02:55 ./bin/test-attribution-txt.sh [Pipeline] echo 02:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:02:56 $ docker stop --time=1 d2cf7db00cdb0ca76f1007a0a4e5dd00b8a7effa81cfa6930d900daebd4b61cb 02:03:00 $ docker rm -f --volumes d2cf7db00cdb0ca76f1007a0a4e5dd00b8a7effa81cfa6930d900daebd4b61cb [Pipeline] // withDockerContainer [Pipeline] sh 02:03:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:03:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:03:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:01 + ls -al . 02:03:01 total 180 02:03:01 drwxrwxr-x 10 jenkins jenkins 4096 May 17 02:02 . 02:03:01 drwxrwxr-x 4 jenkins jenkins 4096 May 17 02:01 .. 02:03:01 -rw-rw-r-- 1 jenkins jenkins 140 May 17 02:01 .dockerignore 02:03:01 drwxrwxr-x 8 jenkins jenkins 4096 May 17 02:01 .git 02:03:01 drwxrwxr-x 3 jenkins jenkins 4096 May 17 02:01 .github 02:03:01 -rw-rw-r-- 1 jenkins jenkins 329 May 17 02:01 .gitignore 02:03:01 -rw-rw-r-- 1 jenkins jenkins 41 May 17 02:01 .golangci.yml 02:03:01 drwxr-xr-x 3 jenkins jenkins 4096 May 17 02:01 .semver 02:03:01 -rw-rw-r-- 1 jenkins jenkins 9417 May 17 02:01 Attribution.txt 02:03:01 -rw-rw-r-- 1 jenkins jenkins 13162 May 17 02:01 CHANGELOG.md 02:03:01 -rw-rw-r-- 1 jenkins jenkins 1689 May 17 02:01 Dockerfile 02:03:01 -rw-rw-r-- 1 jenkins jenkins 677 May 17 02:01 GOVERNANCE.md 02:03:01 -rw-rw-r-- 1 jenkins jenkins 678 May 17 02:01 Jenkinsfile 02:03:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 02:01 LICENSE 02:03:01 -rw-rw-r-- 1 jenkins jenkins 1732 May 17 02:01 Makefile 02:03:01 -rw-rw-r-- 1 jenkins jenkins 620 May 17 02:01 OWNERS.md 02:03:01 -rw-rw-r-- 1 jenkins jenkins 3165 May 17 02:01 README.md 02:03:01 -rw-rw-r-- 1 jenkins jenkins 5 May 17 02:01 VERSION 02:03:01 drwxrwxr-x 2 jenkins jenkins 4096 May 17 02:01 bin 02:03:01 drwxrwxr-x 3 jenkins jenkins 4096 May 17 02:01 cmd 02:03:01 -rw-r--r-- 1 jenkins jenkins 18144 May 17 02:02 coverage.out 02:03:01 -rw-rw-r-- 1 jenkins jenkins 3333 May 17 02:01 go.mod 02:03:01 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 02:01 go.sum 02:03:01 drwxrwxr-x 3 jenkins jenkins 4096 May 17 02:01 internal 02:03:01 drwxrwxr-x 2 jenkins jenkins 4096 May 17 02:01 mock 02:03:01 drwxrwxr-x 4 jenkins jenkins 4096 May 17 02:01 snap 02:03:01 -rw-rw-r-- 1 jenkins jenkins 227 May 17 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:02 + 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=af735c48828f0e3c64dc28decfb285ada11c3cad --label arch=amd64 --label version=0.0.0 . 02:03:02 Sending build context to Docker daemon 6.562MB 02:03:02 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:03:02 Step 2/24 : FROM ${BASE} AS builder 02:03:02 ---> b4cdc4142be8 02:03:02 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:03:02 ---> Running in 43a6e7ebda6c 02:03:02 Removing intermediate container 43a6e7ebda6c 02:03:02 ---> 4e436c61c88b 02:03:02 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:02 ---> Running in d489e7881dd0 02:03:02 Removing intermediate container d489e7881dd0 02:03:02 ---> 644ef467e1b9 02:03:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:03:02 ---> Running in 323f66da0c08 02:03:02 Removing intermediate container 323f66da0c08 02:03:02 ---> 1a187d01e9c7 02:03:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:03:02 ---> Running in 539b9210da1e 02:03:02 Removing intermediate container 539b9210da1e 02:03:02 ---> 0ea2ce7383e0 02:03:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:02 ---> Running in b41763265a5a 02:03:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:03 OK: 269 MiB in 57 packages 02:03:03 Removing intermediate container b41763265a5a 02:03:03 ---> df4a0b6e385c 02:03:03 Step 8/24 : WORKDIR /device-mqtt-go 02:03:03 ---> Running in 01aed0ead5be 02:03:03 Removing intermediate container 01aed0ead5be 02:03:03 ---> 444907dabb47 02:03:03 Step 9/24 : COPY go.mod vendor* ./ 02:03:03 ---> fafde856c5d2 02:03:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:03 ---> Running in bd33aa5848ca 02:03:04 Removing intermediate container bd33aa5848ca 02:03:04 ---> ad4d2a29d88f 02:03:04 Step 11/24 : COPY . . 02:03:05 ---> e99d2c618f74 02:03:05 Step 12/24 : RUN $MAKE 02:03:05 ---> Running in fa8ccc2230a9 02:03:05 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:03:27 Removing intermediate container fa8ccc2230a9 02:03:27 ---> fa4ae30ae511 02:03:27 Step 13/24 : FROM alpine:3.17 02:03:27 3.17: Pulling from library/alpine 02:03:27 f56be85fc22e: Already exists 02:03:27 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:03:27 Status: Downloaded newer image for alpine:3.17 02:03:27 ---> 9ed4aefc74f6 02:03:27 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:03:27 ---> Running in 5135454abc9a 02:03:27 Removing intermediate container 5135454abc9a 02:03:27 ---> 3a4621fa7624 02:03:27 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:03:27 ---> Running in 85c04f1be632 02:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:27 (1/1) Installing dumb-init (1.2.5-r2) 02:03:27 Executing busybox-1.35.0-r29.trigger 02:03:27 OK: 7 MiB in 16 packages 02:03:27 Removing intermediate container 85c04f1be632 02:03:27 ---> e64ccf2dee0c 02:03:27 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:27 ---> ad5e2d9fc48b 02:03:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:27 ---> 34ed80aeb37c 02:03:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:27 ---> 6d41df7f4c79 02:03:27 Step 19/24 : EXPOSE 59982 02:03:27 ---> Running in 6ee7880a83a4 02:03:27 Removing intermediate container 6ee7880a83a4 02:03:27 ---> 96ed0ce82956 02:03:27 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:27 ---> Running in f1009007ae0c 02:03:27 Removing intermediate container f1009007ae0c 02:03:27 ---> e6ed984f0d98 02:03:27 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:27 ---> Running in ae745b90969f 02:03:27 Removing intermediate container ae745b90969f 02:03:27 ---> 0bf165c3768c 02:03:27 Step 22/24 : LABEL arch=amd64 02:03:27 ---> Running in 5e90c08eac1e 02:03:27 Removing intermediate container 5e90c08eac1e 02:03:27 ---> 3694bd580bba 02:03:27 Step 23/24 : LABEL git_sha=af735c48828f0e3c64dc28decfb285ada11c3cad 02:03:27 ---> Running in 105cde0e10f9 02:03:27 Removing intermediate container 105cde0e10f9 02:03:27 ---> 07f779a67192 02:03:27 Step 24/24 : LABEL version=0.0.0 02:03:27 ---> Running in c94b22b4d4eb 02:03:27 Removing intermediate container c94b22b4d4eb 02:03:27 ---> 4e712f458043 02:03:27 [Warning] One or more build-args [ARCH] were not consumed 02:03:27 Successfully built 4e712f458043 02:03:27 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:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:28 02:03:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:29 latest: Pulling from edgex-lftools-log-publisher 02:03:29 5eb5b503b376: Pulling fs layer 02:03:29 5c69ac0246d0: Pulling fs layer 02:03:29 ec43610c2a17: Pulling fs layer 02:03:29 3a2ae6a8a46f: Pulling fs layer 02:03:29 33b1e0a273af: Pulling fs layer 02:03:29 5d3b04190fa2: Pulling fs layer 02:03:29 3a2ae6a8a46f: Waiting 02:03:29 33b1e0a273af: Waiting 02:03:29 2f39f015ded8: Pulling fs layer 02:03:29 5d3b04190fa2: Waiting 02:03:29 2f39f015ded8: Waiting 02:03:29 5c69ac0246d0: Verifying Checksum 02:03:29 5c69ac0246d0: Download complete 02:03:29 3a2ae6a8a46f: Verifying Checksum 02:03:29 3a2ae6a8a46f: Download complete 02:03:29 33b1e0a273af: Verifying Checksum 02:03:29 33b1e0a273af: Download complete 02:03:29 5d3b04190fa2: Verifying Checksum 02:03:29 5d3b04190fa2: Download complete 02:03:29 ec43610c2a17: Verifying Checksum 02:03:29 ec43610c2a17: Download complete 02:03:29 5eb5b503b376: Download complete 02:03:29 2f39f015ded8: Download complete 02:03:30 5eb5b503b376: Pull complete 02:03:30 5c69ac0246d0: Pull complete 02:03:31 ec43610c2a17: Pull complete 02:03:31 3a2ae6a8a46f: Pull complete 02:03:31 33b1e0a273af: Pull complete 02:03:31 5d3b04190fa2: Pull complete 02:03:35 2f39f015ded8: Pull complete 02:03:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:35 prd-ubuntu20.04-docker-8c-8g-15824 does not seem to be running inside a container 02:03:35 $ 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-602 -v /w/workspace/gexfoundry_device-mqtt-go_PR-602:/w/workspace/gexfoundry_device-mqtt-go_PR-602:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-602@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:39 $ docker top b526b2f7e3f082ae1c2837b949fa24a7ed8f2c700ad4bf3e27088d3759e659eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:40 ---> job-cost.sh 02:03:40 lf-activate-venv: SKIPPING 02:03:40 INFO: No Stack... 02:03:41 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:41 INFO: Archiving Costs [Pipeline] sh 02:03:41 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives/cost.csv 02:03:41 + cut -d, -f6 [Pipeline] lock 02:03:41 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] 02:03:41 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] did not exist. Created. 02:03:41 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:42 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:42 Stashed 1 file(s) [Pipeline] } 02:03:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:42 $ docker stop --time=1 b526b2f7e3f082ae1c2837b949fa24a7ed8f2c700ad4bf3e27088d3759e659eb 02:03:43 $ docker rm -f --volumes b526b2f7e3f082ae1c2837b949fa24a7ed8f2c700ad4bf3e27088d3759e659eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:05:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15826 in /w/workspace/gexfoundry_device-mqtt-go_PR-602 [Pipeline] { [Pipeline] ws 02:05:13 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:05:13 Selected Git installation does not exist. Using Default 02:05:13 The recommended git tool is: NONE 02:05:19 using credential edgex-jenkins-ssh 02:05:19 Cloning the remote Git repository 02:05:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:05:19 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:05:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:19 > git --version # timeout=10 02:05:19 > git --version # 'git version 2.25.1' 02:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:22 Merging remotes/origin/main commit 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 into PR head commit af735c48828f0e3c64dc28decfb285ada11c3cad 02:05:22 Merge succeeded, producing af735c48828f0e3c64dc28decfb285ada11c3cad 02:05:22 Checking out Revision af735c48828f0e3c64dc28decfb285ada11c3cad (PR-602) 02:05:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/602/head:refs/remotes/origin/PR-602 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:05:22 > git config core.sparsecheckout # timeout=10 02:05:22 > git checkout -f af735c48828f0e3c64dc28decfb285ada11c3cad # timeout=10 02:05:22 > git remote # timeout=10 02:05:22 > git config --get remote.origin.url # timeout=10 02:05:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:22 > git merge 956e8fc39a0f2febe15e0cd3d023f9e8edea2df2 # timeout=10 02:05:22 > git rev-parse HEAD^{commit} # timeout=10 02:05:22 > git config core.sparsecheckout # timeout=10 02:05:22 > git checkout -f af735c48828f0e3c64dc28decfb285ada11c3cad # timeout=10 02:05:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 02:05:23 > git --version # timeout=10 02:05:23 > git --version # 'git version 2.25.1' 02:05:23 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:05:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:24 Dload Upload Total Spent Left Speed 02:05:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 02:05:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:05:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:05:25 + sudo tee /etc/docker/daemon.new 02:05:25 { 02:05:25 "registry-mirrors": [ 02:05:25 "https://nexus3.edgexfoundry.org:10001" 02:05:25 ], 02:05:25 "bip": "10.250.0.254/24", 02:05:25 "hosts": [ 02:05:25 "tcp://0.0.0.0:5555", 02:05:25 "unix:///var/run/docker.sock" 02:05:25 ], 02:05:25 "mtu": 1458, 02:05:25 "selinux-enabled": true, 02:05:25 "seccomp-profile": "/etc/docker/seccomp.json" 02:05:25 } [Pipeline] sh 02:05:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:05:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:44 provisioning config files... 02:05:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10717474471800114369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:44 ---> docker-login.sh 02:05:44 nexus3.edgexfoundry.org:10001 02:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:45 Configure a credential helper to remove this warning. See 02:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:45 02:05:45 Login Succeeded 02:05:45 nexus3.edgexfoundry.org:10002 02:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:45 Configure a credential helper to remove this warning. See 02:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:45 02:05:45 Login Succeeded 02:05:45 nexus3.edgexfoundry.org:10003 02:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:46 Configure a credential helper to remove this warning. See 02:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:46 02:05:46 Login Succeeded 02:05:46 nexus3.edgexfoundry.org:10004 02:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:46 Configure a credential helper to remove this warning. See 02:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:46 02:05:46 Login Succeeded 02:05:46 docker.io 02:05:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:46 Configure a credential helper to remove this warning. See 02:05:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:46 02:05:46 Login Succeeded 02:05:46 ---> docker-login.sh ends [Pipeline] } 02:05:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:05:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:47 ========================================================= 02:05:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:05:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:47 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:05:48 Sending build context to Docker daemon 3.402MB 02:05:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:05:48 Step 2/12 : FROM ${BASE} AS builder 02:05:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:05:48 c41833b44d91: Pulling fs layer 02:05:48 ed15518f5707: Pulling fs layer 02:05:48 feae8fd75edb: Pulling fs layer 02:05:48 242c74f7c9fa: Pulling fs layer 02:05:48 3cdef696dda3: Pulling fs layer 02:05:48 2ced38df9373: Pulling fs layer 02:05:48 58f1dce35555: Pulling fs layer 02:05:48 2ced38df9373: Waiting 02:05:48 242c74f7c9fa: Waiting 02:05:48 58f1dce35555: Waiting 02:05:48 3cdef696dda3: Waiting 02:05:48 ed15518f5707: Download complete 02:05:48 242c74f7c9fa: Download complete 02:05:48 3cdef696dda3: Verifying Checksum 02:05:48 3cdef696dda3: Download complete 02:05:48 c41833b44d91: Verifying Checksum 02:05:48 c41833b44d91: Download complete 02:05:49 c41833b44d91: Pull complete 02:05:50 58f1dce35555: Download complete 02:05:50 ed15518f5707: Pull complete 02:05:51 feae8fd75edb: Verifying Checksum 02:05:51 feae8fd75edb: Download complete 02:05:51 2ced38df9373: Verifying Checksum 02:05:51 2ced38df9373: Download complete 02:06:03 feae8fd75edb: Pull complete 02:06:03 242c74f7c9fa: Pull complete 02:06:03 3cdef696dda3: Pull complete 02:06:10 2ced38df9373: Pull complete 02:06:12 58f1dce35555: Pull complete 02:06:12 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:06:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:06:12 ---> fadd8f120f05 02:06:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:06:14 ---> Running in b0c43d123fa2 02:06:14 Removing intermediate container b0c43d123fa2 02:06:14 ---> 1704e63eb916 02:06:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:14 ---> Running in e8c1b7f59bc0 02:06:15 Removing intermediate container e8c1b7f59bc0 02:06:15 ---> 3aef204a4143 02:06:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:15 ---> Running in 42979565e2f0 02:06:15 Removing intermediate container 42979565e2f0 02:06:15 ---> 8b77cc84252c 02:06:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:06:15 ---> Running in 355140e210c8 02:06:15 Removing intermediate container 355140e210c8 02:06:15 ---> 10c62ed6f6a9 02:06:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:15 ---> Running in c43c0aed9f81 02:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:06:18 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:06:18 (2/4) Installing libedit (20221030.3.1-r0) 02:06:18 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:06:18 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:06:18 Executing busybox-1.35.0-r29.trigger 02:06:18 OK: 268 MiB in 57 packages 02:06:20 Removing intermediate container c43c0aed9f81 02:06:20 ---> 9c664ae928dd 02:06:20 Step 8/12 : WORKDIR /device-mqtt-go 02:06:20 ---> Running in 5977faba7c20 02:06:20 Removing intermediate container 5977faba7c20 02:06:20 ---> 0e7fe4c3cded 02:06:20 Step 9/12 : COPY go.mod vendor* ./ 02:06:20 ---> f09521499b79 02:06:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:20 ---> Running in 4618d48a518d 02:07:28 Removing intermediate container 4618d48a518d 02:07:28 ---> e6b83a9f41ec 02:07:28 Step 11/12 : COPY . . 02:07:28 ---> b30d739f1bd4 02:07:28 Step 12/12 : RUN $MAKE 02:07:28 ---> Running in a6a7b05a9627 02:07:28 noop 02:07:28 Removing intermediate container a6a7b05a9627 02:07:28 ---> 1df4eb46fe95 02:07:28 Successfully built 1df4eb46fe95 02:07:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:29 + docker inspect -f . ci-base-image-arm64 02:07:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:29 prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container 02:07:29 $ 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:30 $ docker top 55c400b5f038712ad65561a12504e2365568ebea002940026fbaf1c35a728e31 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:31 + go version 02:07:31 go version go1.20.2 linux/arm64 [Pipeline] } 02:07:31 $ docker stop --time=1 55c400b5f038712ad65561a12504e2365568ebea002940026fbaf1c35a728e31 02:07:33 $ docker rm -f --volumes 55c400b5f038712ad65561a12504e2365568ebea002940026fbaf1c35a728e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:34 + docker inspect -f . ci-base-image-arm64 02:07:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:34 prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container 02:07:34 $ 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:35 $ docker top d2766f22a888c616b33658bfaf83b2b12e2d3a1c2efbe490e4895cb4823c01e9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:36 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:07:37 + make test 02:07:37 go test ./... -coverprofile=coverage.out ./... 02:08:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 23.1% of statements 02:10:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:01 go vet ./... 02:10:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:28 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:28 $ docker stop --time=1 d2766f22a888c616b33658bfaf83b2b12e2d3a1c2efbe490e4895cb4823c01e9 02:10:29 $ docker rm -f --volumes d2766f22a888c616b33658bfaf83b2b12e2d3a1c2efbe490e4895cb4823c01e9 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:31 Warning: overwriting stash ‘coverage-report’ 02:10:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:32 + ls -al . 02:10:32 total 176 02:10:32 drwxrwxr-x 9 jenkins jenkins 4096 May 17 02:07 . 02:10:32 drwxrwxr-x 4 jenkins jenkins 4096 May 17 02:05 .. 02:10:32 -rw-rw-r-- 1 jenkins jenkins 140 May 17 02:05 .dockerignore 02:10:32 drwxrwxr-x 8 jenkins jenkins 4096 May 17 02:05 .git 02:10:32 drwxrwxr-x 3 jenkins jenkins 4096 May 17 02:05 .github 02:10:32 -rw-rw-r-- 1 jenkins jenkins 329 May 17 02:05 .gitignore 02:10:32 -rw-rw-r-- 1 jenkins jenkins 41 May 17 02:05 .golangci.yml 02:10:32 -rw-rw-r-- 1 jenkins jenkins 9417 May 17 02:05 Attribution.txt 02:10:32 -rw-rw-r-- 1 jenkins jenkins 13162 May 17 02:05 CHANGELOG.md 02:10:32 -rw-rw-r-- 1 jenkins jenkins 1689 May 17 02:05 Dockerfile 02:10:32 -rw-rw-r-- 1 jenkins jenkins 677 May 17 02:05 GOVERNANCE.md 02:10:32 -rw-rw-r-- 1 jenkins jenkins 678 May 17 02:05 Jenkinsfile 02:10:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 02:05 LICENSE 02:10:32 -rw-rw-r-- 1 jenkins jenkins 1732 May 17 02:05 Makefile 02:10:32 -rw-rw-r-- 1 jenkins jenkins 620 May 17 02:05 OWNERS.md 02:10:32 -rw-rw-r-- 1 jenkins jenkins 3165 May 17 02:05 README.md 02:10:32 -rw-rw-r-- 1 jenkins jenkins 5 May 17 02:01 VERSION 02:10:32 drwxrwxr-x 2 jenkins jenkins 4096 May 17 02:05 bin 02:10:32 drwxrwxr-x 3 jenkins jenkins 4096 May 17 02:05 cmd 02:10:32 -rw-r--r-- 1 jenkins jenkins 18144 May 17 02:09 coverage.out 02:10:32 -rw-rw-r-- 1 jenkins jenkins 3333 May 17 02:05 go.mod 02:10:32 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 02:05 go.sum 02:10:32 drwxrwxr-x 3 jenkins jenkins 4096 May 17 02:05 internal 02:10:32 drwxrwxr-x 2 jenkins jenkins 4096 May 17 02:05 mock 02:10:32 drwxrwxr-x 4 jenkins jenkins 4096 May 17 02:05 snap 02:10:32 -rw-rw-r-- 1 jenkins jenkins 227 May 17 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:33 + 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=af735c48828f0e3c64dc28decfb285ada11c3cad --label arch=arm64 --label version=0.0.0 . 02:10:33 Sending build context to Docker daemon 3.421MB 02:10:33 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:10:33 Step 2/24 : FROM ${BASE} AS builder 02:10:33 ---> 1df4eb46fe95 02:10:33 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:10:33 ---> Running in 341e47391d82 02:10:33 Removing intermediate container 341e47391d82 02:10:33 ---> 3e341bf24db6 02:10:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:10:33 ---> Running in 1a7160ee6abf 02:10:34 Removing intermediate container 1a7160ee6abf 02:10:34 ---> 760195435b36 02:10:34 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:10:34 ---> Running in a281b6759299 02:10:34 Removing intermediate container a281b6759299 02:10:34 ---> 263b52c185d7 02:10:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:10:34 ---> Running in 2a6184f3c827 02:10:34 Removing intermediate container 2a6184f3c827 02:10:34 ---> 2e1acb88e88d 02:10:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:10:34 ---> Running in ce60f847b126 02:10:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:10:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:10:37 OK: 268 MiB in 57 packages 02:10:38 Removing intermediate container ce60f847b126 02:10:38 ---> 2a1d88be8fa5 02:10:38 Step 8/24 : WORKDIR /device-mqtt-go 02:10:38 ---> Running in 504544009e42 02:10:38 Removing intermediate container 504544009e42 02:10:38 ---> 769bdc3cd71f 02:10:38 Step 9/24 : COPY go.mod vendor* ./ 02:10:39 ---> 91fa575d4ab9 02:10:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:39 ---> Running in dc489e606395 02:10:41 Removing intermediate container dc489e606395 02:10:41 ---> eb8ddd6d4795 02:10:41 Step 11/24 : COPY . . 02:10:42 ---> 04feea3d02ae 02:10:42 Step 12/24 : RUN $MAKE 02:10:42 ---> Running in 6f3cf5f1ba1e 02:10:43 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:12:50 Removing intermediate container 6f3cf5f1ba1e 02:12:50 ---> a99e4fcaaa5b 02:12:50 Step 13/24 : FROM alpine:3.17 02:12:50 3.17: Pulling from library/alpine 02:12:50 c41833b44d91: Already exists 02:12:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:12:50 Status: Downloaded newer image for alpine:3.17 02:12:50 ---> 51e60588ff2c 02:12:50 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:12:50 ---> Running in b18ace79cfd5 02:12:51 Removing intermediate container b18ace79cfd5 02:12:51 ---> 2ff44abe2d42 02:12:51 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:12:51 ---> Running in 7d8d2583510f 02:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:12:53 (1/1) Installing dumb-init (1.2.5-r2) 02:12:53 Executing busybox-1.35.0-r29.trigger 02:12:53 OK: 8 MiB in 16 packages 02:12:54 Removing intermediate container 7d8d2583510f 02:12:54 ---> 67edf57f14a0 02:12:54 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:12:55 ---> f8f7b5fb4878 02:12:55 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:12:56 ---> 52ee1d23ba12 02:12:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:12:56 ---> 60049527b6d3 02:12:56 Step 19/24 : EXPOSE 59982 02:12:56 ---> Running in a7dc827c496d 02:12:57 Removing intermediate container a7dc827c496d 02:12:57 ---> 12f6ecb24b29 02:12:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:12:57 ---> Running in ef259e11c5cb 02:12:57 Removing intermediate container ef259e11c5cb 02:12:57 ---> bcdf44cc97ac 02:12:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:12:57 ---> Running in 67c32156c64a 02:12:57 Removing intermediate container 67c32156c64a 02:12:57 ---> 6b5f9a510077 02:12:57 Step 22/24 : LABEL arch=arm64 02:12:57 ---> Running in 1c8493ca340d 02:12:58 Removing intermediate container 1c8493ca340d 02:12:58 ---> 800a2136f971 02:12:58 Step 23/24 : LABEL git_sha=af735c48828f0e3c64dc28decfb285ada11c3cad 02:12:58 ---> Running in 78c0bdc9ec66 02:12:58 Removing intermediate container 78c0bdc9ec66 02:12:58 ---> 7774508ca197 02:12:58 Step 24/24 : LABEL version=0.0.0 02:12:58 ---> Running in 938e8d5d47ca 02:12:58 Removing intermediate container 938e8d5d47ca 02:12:58 ---> 74e6736e8750 02:12:58 [Warning] One or more build-args [ARCH] were not consumed 02:12:58 Successfully built 74e6736e8750 02:12:58 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:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:59 02:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:59 arm64: Pulling from edgex-lftools-log-publisher 02:12:59 8998bd30e6a1: Pulling fs layer 02:12:59 04944245beec: Pulling fs layer 02:12:59 699f458cf7ca: Pulling fs layer 02:12:59 765212b225bb: Pulling fs layer 02:12:59 f23df028b6ca: Pulling fs layer 02:12:59 d65c8cfc05b1: Pulling fs layer 02:12:59 2437ff75d9bd: Pulling fs layer 02:12:59 765212b225bb: Waiting 02:12:59 f23df028b6ca: Waiting 02:12:59 d65c8cfc05b1: Waiting 02:12:59 2437ff75d9bd: Waiting 02:13:00 04944245beec: Verifying Checksum 02:13:00 04944245beec: Download complete 02:13:00 765212b225bb: Download complete 02:13:00 f23df028b6ca: Verifying Checksum 02:13:00 f23df028b6ca: Download complete 02:13:00 d65c8cfc05b1: Verifying Checksum 02:13:00 d65c8cfc05b1: Download complete 02:13:00 699f458cf7ca: Verifying Checksum 02:13:00 699f458cf7ca: Download complete 02:13:00 8998bd30e6a1: Download complete 02:13:03 2437ff75d9bd: Verifying Checksum 02:13:03 2437ff75d9bd: Download complete 02:13:05 8998bd30e6a1: Pull complete 02:13:06 04944245beec: Pull complete 02:13:07 699f458cf7ca: Pull complete 02:13:07 765212b225bb: Pull complete 02:13:08 f23df028b6ca: Pull complete 02:13:08 d65c8cfc05b1: Pull complete 02:13:20 2437ff75d9bd: Pull complete 02:13:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:21 prd-ubuntu20.04-docker-arm64-4c-16g-15826 does not seem to be running inside a container 02:13:21 $ 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:23 $ docker top f7e762ed840dd983096808de0b52d7fdef2b2d62b25839d86304a380f03016e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:24 ---> job-cost.sh 02:13:24 lf-activate-venv: SKIPPING 02:13:24 INFO: No Stack... 02:13:25 INFO: Retrieving Pricing Info for: v3-standard-4 02:13:26 INFO: Archiving Costs [Pipeline] sh 02:13:26 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:13:26 + cut -d, -f6 [Pipeline] lock 02:13:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] 02:13:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] did not exist. Created. 02:13:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:26 /w/workspace/device-mqtt-go/1@tmp/durable-8aa279df/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:13:27 + echo total: 0.10999999940395355 [Pipeline] stash 02:13:27 Warning: overwriting stash ‘stack-cost’ 02:13:27 Stashed 1 file(s) [Pipeline] } 02:13:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-602-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:27 $ docker stop --time=1 f7e762ed840dd983096808de0b52d7fdef2b2d62b25839d86304a380f03016e6 02:13:29 $ docker rm -f --volumes f7e762ed840dd983096808de0b52d7fdef2b2d62b25839d86304a380f03016e6 [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:30 provisioning config files... 02:13:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/config7282039123339114146tmp [Pipeline] { [Pipeline] sh 02:13:30 + set +x 02:13:30 + bash -s -- 02:13:30 + curl -s https://codecov.io/bash 02:13:30 02:13:30 _____ _ 02:13:30 / ____| | | 02:13:30 | | ___ __| | ___ ___ _____ __ 02:13:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:30 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:30 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:30 Bash-1.0.6 02:13:30 02:13:30 02:13:30 ==> git version 2.25.1 found 02:13:30 ==> 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:30 Release-Date: 2020-01-08 02:13:30 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:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:30 ==> Jenkins CI detected. 02:13:30 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-602 02:13:30 project root: . 02:13:30 --> token set from env 02:13:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:30 ==> Running gcov in . (disable via -X gcov) 02:13:30 ==> Python coveragepy not found 02:13:30 ==> Searching for coverage reports in: 02:13:30 + . 02:13:30 -> Found 1 reports 02:13:30 ==> Detecting git/mercurial file structure 02:13:31 ==> Reading reports 02:13:31 + ./coverage.out bytes=18144 02:13:31 ==> Appending adjustments 02:13:31 https://docs.codecov.io/docs/fixing-reports 02:13:31 + Found adjustments 02:13:31 ==> Gzipping contents 02:13:31 4.0K /tmp/codecov.g4p8MX.gz 02:13:31 ==> Uploading reports 02:13:31 url: https://codecov.io 02:13:31 query: branch=PR-602&commit=af735c48828f0e3c64dc28decfb285ada11c3cad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=602&job=&cmd_args= 02:13:31 -> Pinging Codecov 02:13:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-602&commit=af735c48828f0e3c64dc28decfb285ada11c3cad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-602%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=602&job=&cmd_args= 02:13:31 -> Uploading to 02:13:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/7D719EC7BBE17E464838252E33014C33/af735c48828f0e3c64dc28decfb285ada11c3cad/49b3dbed-3f41-4901-8f49-f1139159c375.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T021331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8b737947719c96f9ae2cde2c758efc5c4dc1e787ed45f338b14e6b0e3ad7a7d 02:13:31 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:31 Dload Upload Total Spent Left Speed 02:13:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 15234 --:--:-- --:--:-- --:--:-- 15161 100 3184 0 0 100 3184 0 15161 --:--:-- --:--:-- --:--:-- 15161 02:13:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/af735c48828f0e3c64dc28decfb285ada11c3cad [Pipeline] } 02:13:31 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:13:33 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives ] 02:13:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives 02:13:33 total 16 02:13:33 drwxr-xr-x 3 root root 4096 May 17 02:03 . 02:13:33 drwxrwxr-x 11 jenkins jenkins 4096 May 17 02:03 .. 02:13:33 drwxr-xr-x 2 root root 4096 May 17 02:03 cost 02:13:33 -rw-r--r-- 1 root root 86 May 17 02:03 cost.csv 02:13:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives 02:13:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives 02:13:33 total 16 02:13:33 drwxr-xr-x 3 jenkins jenkins 4096 May 17 02:03 . 02:13:33 drwxrwxr-x 11 jenkins jenkins 4096 May 17 02:03 .. 02:13:33 drwxr-xr-x 2 jenkins jenkins 4096 May 17 02:03 cost 02:13:33 -rw-r--r-- 1 jenkins jenkins 86 May 17 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:13:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:13:34 ---> package-listing.sh 02:13:34 ++ facter osfamily 02:13:34 ++ tr '[:upper:]' '[:lower:]' 02:13:34 + OS_FAMILY=debian 02:13:34 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-602 02:13:34 + START_PACKAGES=/tmp/packages_start.txt 02:13:34 + END_PACKAGES=/tmp/packages_end.txt 02:13:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:13:34 + PACKAGES=/tmp/packages_start.txt 02:13:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-602 ']' 02:13:34 + PACKAGES=/tmp/packages_end.txt 02:13:34 + case "${OS_FAMILY}" in 02:13:34 + dpkg -l 02:13:34 + grep '^ii' 02:13:34 + '[' -f /tmp/packages_start.txt ']' 02:13:34 + '[' -f /tmp/packages_end.txt ']' 02:13:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:13:34 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-602 ']' 02:13:34 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives/ 02:13:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-602/archives/ [Pipeline] echo 02:13:34 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-602/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:13:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:36 prd-ubuntu20.04-docker-8c-8g-15824 does not seem to be running inside a container 02:13:36 $ 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-602/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-602 -v /w/workspace/gexfoundry_device-mqtt-go_PR-602:/w/workspace/gexfoundry_device-mqtt-go_PR-602:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-602@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:13:38 $ docker top 4ab34e06f960fb489a62da18837103f7fcc2e87700c81533a3b3d26063739120 -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:39 + touch /tmp/pre-build-complete [Pipeline] sh 02:13:39 + mkdir -p /var/log/sysstat [Pipeline] sh 02:13:40 + ls /var/log/sa-host 02:13:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:40 provisioning config files... 02:13:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-602@tmp/config14930324063180991141tmp [Pipeline] { [Pipeline] echo 02:13:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:13:40 ---> create-netrc.sh [Pipeline] } 02:13:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:13:41 ---> python-tools-install.sh [Pipeline] echo 02:13:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:13:41 ---> sudo-logs.sh 02:13:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:13:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:13:41 ---> job-cost.sh 02:13:41 lf-activate-venv: SKIPPING 02:13:41 DEBUG: total: 0.2199999988079071 02:13:41 INFO: Retrieving Stack Cost... 02:13:42 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:42 INFO: Archiving Costs [Pipeline] echo 02:13:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:13:43 ---> logs-deploy.sh 02:13:43 lf-activate-venv: SKIPPING 02:13:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-602/1 02:13:43 INFO: archiving workspace using pattern(s): 02:13:44 Archives upload complete. 02:13:44 INFO: archiving logs to Nexus