Pull request #585 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 984453636795e7b5ab512edbc2c0af761e717627+44db128f908bb002eba25d15c491b9a779a086c0 (d9ac5d477ff967b7013c0f0dacac04d2cad1c2a4) 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-ssh16644618477899171462.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10521727183021566410.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-585/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-585/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh932087269055210272.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-585/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3909337668377427282.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh15390204685930153475.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-585/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-585/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2171695603124292013.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12220’ Running on prd-ubuntu20.04-docker-8c-8g-12225 in /w/workspace/gexfoundry_device-mqtt-go_PR-585 [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-585 # 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/585/head:refs/remotes/origin/PR-585 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 984453636795e7b5ab512edbc2c0af761e717627 Merge succeeded, producing 984453636795e7b5ab512edbc2c0af761e717627 Checking out Revision 984453636795e7b5ab512edbc2c0af761e717627 (PR-585) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:48:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:48:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 984453636795e7b5ab512edbc2c0af761e717627 # 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 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 984453636795e7b5ab512edbc2c0af761e717627 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:48:32 ========================================================= 18:48:32 EdgeX Global Pipelines Version Info 18:48:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:48:32 ------------------- 18:48:32 stable info: 18:48:32 ------------------- 18:48:32 Commited By: Bill Mahoney bill.mahoney@intel.com 18:48:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 18:48:32 Message: update stable to v1.0.248 18:48:33 ------------------- 18:48:33 experimental info: 18:48:33 ------------------- 18:48:33 Commited By: **** collab-it+edgex@linuxfoundation.org 18:48:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:48:33 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:48:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:48:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:48:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:48:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-585 [Pipeline] echo 18:48:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-585 [Pipeline] echo 18:48:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-585 [Pipeline] echo 18:48:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 984453636795e7b5ab512edbc2c0af761e717627 [Pipeline] echo 18:48:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9844536 [Pipeline] echo 18:48:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:35 provisioning config files... 18:48:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/config13000339197289497173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:35 ---> docker-login.sh 18:48:35 nexus3.edgexfoundry.org:10001 18:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:35 Configure a credential helper to remove this warning. See 18:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:35 18:48:35 Login Succeeded 18:48:35 nexus3.edgexfoundry.org:10002 18:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:35 Configure a credential helper to remove this warning. See 18:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:35 18:48:35 Login Succeeded 18:48:35 nexus3.edgexfoundry.org:10003 18:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:36 Configure a credential helper to remove this warning. See 18:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:36 18:48:36 Login Succeeded 18:48:36 nexus3.edgexfoundry.org:10004 18:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:36 Configure a credential helper to remove this warning. See 18:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:36 18:48:36 Login Succeeded 18:48:36 docker.io 18:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:36 Configure a credential helper to remove this warning. See 18:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:36 18:48:36 Login Succeeded 18:48:36 ---> docker-login.sh ends [Pipeline] } 18:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:48:37 + git rev-list -1 --merges 984453636795e7b5ab512edbc2c0af761e717627~1..984453636795e7b5ab512edbc2c0af761e717627 [Pipeline] echo 18:48:37 -----------> git rev-list -1 --merges 984453636795e7b5ab512edbc2c0af761e717627~1..984453636795e7b5ab512edbc2c0af761e717627 984453636795e7b5ab512edbc2c0af761e717627 [false] [Pipeline] sh 18:48:37 + git log --format=format:%s -1 984453636795e7b5ab512edbc2c0af761e717627 [Pipeline] echo 18:48:37 ========================================================= 18:48:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:48:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:37 + git log --format=format:%s -1 984453636795e7b5ab512edbc2c0af761e717627 [Pipeline] echo 18:48:37 [semverPrep] GIT_COMMIT: 984453636795e7b5ab512edbc2c0af761e717627, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 18:48:37 [semverPrep] This is not a build commit. [Pipeline] sh 18:48:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:48:38 + grep -v github /etc/ssh/ssh_known_hosts 18:48:38 + [ -e /tmp/ssh_known_hosts ] 18:48:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:48:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:48:38 + sudo tee -a /etc/ssh/ssh_known_hosts 18:48:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:38 18:48:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:39 0.1.4: Pulling from edgex-devops/py-git-semver 18:48:39 b85a868b505f: Pulling fs layer 18:48:39 e2be974225ed: Pulling fs layer 18:48:39 339a4e72a1f5: Pulling fs layer 18:48:39 988bab9f4d93: Pulling fs layer 18:48:39 1469e6f7b9e6: Pulling fs layer 18:48:39 eaf3925da568: Pulling fs layer 18:48:39 bab4dde63d76: Pulling fs layer 18:48:39 bde34c3a00c8: Pulling fs layer 18:48:39 b352a97aabf1: Pulling fs layer 18:48:39 4872d77fe225: Pulling fs layer 18:48:39 5851b861e8e6: Pulling fs layer 18:48:39 b352a97aabf1: Waiting 18:48:39 988bab9f4d93: Waiting 18:48:39 eaf3925da568: Waiting 18:48:39 1469e6f7b9e6: Waiting 18:48:39 bab4dde63d76: Waiting 18:48:39 bde34c3a00c8: Waiting 18:48:39 4872d77fe225: Waiting 18:48:39 5851b861e8e6: Waiting 18:48:39 e2be974225ed: Download complete 18:48:39 988bab9f4d93: Verifying Checksum 18:48:39 988bab9f4d93: Download complete 18:48:39 1469e6f7b9e6: Verifying Checksum 18:48:39 1469e6f7b9e6: Download complete 18:48:39 eaf3925da568: Verifying Checksum 18:48:39 eaf3925da568: Download complete 18:48:39 339a4e72a1f5: Verifying Checksum 18:48:39 339a4e72a1f5: Download complete 18:48:39 bde34c3a00c8: Verifying Checksum 18:48:39 bde34c3a00c8: Download complete 18:48:39 b352a97aabf1: Verifying Checksum 18:48:39 b352a97aabf1: Download complete 18:48:39 4872d77fe225: Download complete 18:48:39 5851b861e8e6: Verifying Checksum 18:48:39 5851b861e8e6: Download complete 18:48:39 b85a868b505f: Verifying Checksum 18:48:39 b85a868b505f: Download complete 18:48:39 bab4dde63d76: Verifying Checksum 18:48:39 bab4dde63d76: Download complete 18:48:40 b85a868b505f: Pull complete 18:48:40 e2be974225ed: Pull complete 18:48:41 339a4e72a1f5: Pull complete 18:48:41 988bab9f4d93: Pull complete 18:48:41 1469e6f7b9e6: Pull complete 18:48:41 eaf3925da568: Pull complete 18:48:43 bab4dde63d76: Pull complete 18:48:43 bde34c3a00c8: Pull complete 18:48:43 b352a97aabf1: Pull complete 18:48:43 4872d77fe225: Pull complete 18:48:43 5851b861e8e6: Pull complete 18:48:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:48:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:48:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:43 prd-ubuntu20.04-docker-8c-8g-12225 does not seem to be running inside a container 18:48:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-585 -v /w/workspace/gexfoundry_device-mqtt-go_PR-585:/w/workspace/gexfoundry_device-mqtt-go_PR-585:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-585@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 18:48:46 $ docker top 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c -eo pid,comm 18:48:46 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). 18:48:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:48:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:46 [ssh-agent] Looking for ssh-agent implementation... 18:48:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:46 $ docker exec 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c ssh-agent 18:48:46 SSH_AUTH_SOCK=/tmp/ssh-9SfAngmXnv8b/agent.32 18:48:46 SSH_AGENT_PID=38 18:48:46 Running ssh-add (command line suppressed) 18:48:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/private_key_3430443739449264533.key (/w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/private_key_3430443739449264533.key) 18:48:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:47 + git tag --points-at HEAD [Pipeline] } 18:48:47 $ docker exec --env ******** --env ******** 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c ssh-agent -k 18:48:47 unset SSH_AUTH_SOCK; 18:48:47 unset SSH_AGENT_PID; 18:48:47 echo Agent pid 38 killed; 18:48:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:48:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:48:47 [ssh-agent] Looking for ssh-agent implementation... 18:48:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:48:47 $ docker exec 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c ssh-agent 18:48:47 SSH_AUTH_SOCK=/tmp/ssh-GXJBPkiPKMAe/agent.70 18:48:47 SSH_AGENT_PID=75 18:48:47 Running ssh-add (command line suppressed) 18:48:47 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/private_key_14916479022659438599.key (/w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/private_key_14916479022659438599.key) 18:48:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:48:48 + git semver init 18:48:48 2023-05-01 18:48:48,333 [run_init] DEBUG init version:0.0.0 force:False 18:48:48 2023-05-01 18:48:48,334 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver 18:48:48 2023-05-01 18:48:48,334 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver 18:48:48 2023-05-01 18:48:48,334 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-585, universal_newlines=False, shell=None, istream=None) 18:48:49 2023-05-01 18:48:49,134 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-585/.git/info/exclude 18:48:49 2023-05-01 18:48:49,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver/PR-585 with force:False 18:48:49 2023-05-01 18:48:49,135 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver/PR-585 18:48:49 2023-05-01 18:48:49,139 [execute] INFO git cat-file --batch-check 18:48:49 2023-05-01 18:48:49,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver, universal_newlines=False, shell=None, istream=) 18:48:49 2023-05-01 18:48:49,146 [execute] INFO git cat-file --batch 18:48:49 2023-05-01 18:48:49,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver, universal_newlines=False, shell=None, istream=) 18:48:49 2023-05-01 18:48:49,150 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-585/.semver/PR-585 18:48:49 0.0.0 [Pipeline] } 18:48:49 $ docker exec --env ******** --env ******** 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c ssh-agent -k 18:48:49 unset SSH_AUTH_SOCK; 18:48:49 unset SSH_AGENT_PID; 18:48:49 echo Agent pid 75 killed; 18:48:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:48:49 + git semver [Pipeline] } 18:48:50 $ docker stop --time=1 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c 18:48:51 $ docker rm -f --volumes 841e2b9c0951b6c0bbfc89b7f75e024d93f7d21edef6d66b1b41d6dc1d4d0a5c [Pipeline] // withDockerContainer [Pipeline] sh 18:48:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:48:52 Stashed 1 file(s) [Pipeline] echo 18:48:52 [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 18:48:52 provisioning config files... 18:48:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/config16211789202000450924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:53 ---> docker-login.sh 18:48:53 nexus3.edgexfoundry.org:10001 18:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:53 Configure a credential helper to remove this warning. See 18:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:53 18:48:53 Login Succeeded 18:48:53 nexus3.edgexfoundry.org:10002 18:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:53 Configure a credential helper to remove this warning. See 18:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:53 18:48:53 Login Succeeded 18:48:53 nexus3.edgexfoundry.org:10003 18:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:53 Configure a credential helper to remove this warning. See 18:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:53 18:48:53 Login Succeeded 18:48:53 nexus3.edgexfoundry.org:10004 18:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:53 Configure a credential helper to remove this warning. See 18:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:53 18:48:53 Login Succeeded 18:48:53 docker.io 18:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:53 Configure a credential helper to remove this warning. See 18:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:53 18:48:53 Login Succeeded 18:48:53 ---> docker-login.sh ends [Pipeline] } 18:48:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:53 ========================================================= 18:48:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:48:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:54 + 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 . 18:48:54 Sending build context to Docker daemon 6.469MB 18:48:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:48:54 Step 2/12 : FROM ${BASE} AS builder 18:48:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:48:54 f56be85fc22e: Pulling fs layer 18:48:54 85791d961cd3: Pulling fs layer 18:48:54 d694b5ae8c79: Pulling fs layer 18:48:54 9f32a84ed3da: Pulling fs layer 18:48:54 4d19c01a9841: Pulling fs layer 18:48:54 9325e15d5711: Pulling fs layer 18:48:54 556b6ee489ea: Pulling fs layer 18:48:54 c5a4b2cf53e6: Pulling fs layer 18:48:54 9f32a84ed3da: Waiting 18:48:54 4d19c01a9841: Waiting 18:48:54 c5a4b2cf53e6: Waiting 18:48:54 9325e15d5711: Waiting 18:48:54 556b6ee489ea: Waiting 18:48:54 85791d961cd3: Verifying Checksum 18:48:54 85791d961cd3: Download complete 18:48:54 9f32a84ed3da: Verifying Checksum 18:48:54 9f32a84ed3da: Download complete 18:48:54 4d19c01a9841: Verifying Checksum 18:48:54 4d19c01a9841: Download complete 18:48:54 f56be85fc22e: Verifying Checksum 18:48:54 f56be85fc22e: Download complete 18:48:54 9325e15d5711: Verifying Checksum 18:48:54 9325e15d5711: Download complete 18:48:54 f56be85fc22e: Pull complete 18:48:54 85791d961cd3: Pull complete 18:48:54 c5a4b2cf53e6: Verifying Checksum 18:48:54 c5a4b2cf53e6: Download complete 18:48:55 d694b5ae8c79: Verifying Checksum 18:48:55 d694b5ae8c79: Download complete 18:48:55 556b6ee489ea: Verifying Checksum 18:48:55 556b6ee489ea: Download complete 18:48:58 d694b5ae8c79: Pull complete 18:48:58 9f32a84ed3da: Pull complete 18:48:58 4d19c01a9841: Pull complete 18:48:58 9325e15d5711: Pull complete 18:49:00 556b6ee489ea: Pull complete 18:49:01 c5a4b2cf53e6: Pull complete 18:49:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:49:01 ---> c4be618373d6 18:49:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:49:06 ---> Running in 1782ebaed4d8 18:49:06 Removing intermediate container 1782ebaed4d8 18:49:06 ---> 6511afa61dc6 18:49:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:49:06 ---> Running in d0e9e88eeb61 18:49:06 Removing intermediate container d0e9e88eeb61 18:49:06 ---> b047b9f33e6a 18:49:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:49:06 ---> Running in 1e857bbfff3e 18:49:06 Removing intermediate container 1e857bbfff3e 18:49:06 ---> ae812f4c554d 18:49:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:49:06 ---> Running in 5f8105c2e823 18:49:06 Removing intermediate container 5f8105c2e823 18:49:06 ---> a335850bb76d 18:49:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:06 ---> Running in eb171dd1ad13 18:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:49:07 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:49:07 (2/4) Installing libedit (20221030.3.1-r0) 18:49:07 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:49:07 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:49:07 Executing busybox-1.35.0-r29.trigger 18:49:07 OK: 269 MiB in 57 packages 18:49:07 Still waiting to schedule task 18:49:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12222’ 18:49:07 Removing intermediate container eb171dd1ad13 18:49:07 ---> 9e46d03688e4 18:49:07 Step 8/12 : WORKDIR /device-mqtt-go 18:49:07 ---> Running in 2db0d426478d 18:49:07 Removing intermediate container 2db0d426478d 18:49:07 ---> 3a269604644f 18:49:07 Step 9/12 : COPY go.mod vendor* ./ 18:49:07 ---> ff37e872641f 18:49:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:07 ---> Running in 4f39cbac5ec5 18:49:34 Removing intermediate container 4f39cbac5ec5 18:49:34 ---> ccc84d2b8b63 18:49:34 Step 11/12 : COPY . . 18:49:34 ---> 75c72978c3b9 18:49:34 Step 12/12 : RUN $MAKE 18:49:34 ---> Running in 67bbe8ea1644 18:49:34 noop 18:49:34 Removing intermediate container 67bbe8ea1644 18:49:34 ---> ce464ce7e966 18:49:34 Successfully built ce464ce7e966 18:49:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:35 + docker inspect -f . ci-base-image-x86_64 18:49:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:35 prd-ubuntu20.04-docker-8c-8g-12225 does not seem to be running inside a container 18:49:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-585 -v /w/workspace/gexfoundry_device-mqtt-go_PR-585:/w/workspace/gexfoundry_device-mqtt-go_PR-585:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-585@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 18:49:35 $ docker top 4c6a491043c647456c5eceb42909d80df16763266552fb6626557b222d568952 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:36 + go version 18:49:36 go version go1.20.2 linux/amd64 [Pipeline] } 18:49:36 $ docker stop --time=1 4c6a491043c647456c5eceb42909d80df16763266552fb6626557b222d568952 18:49:37 $ docker rm -f --volumes 4c6a491043c647456c5eceb42909d80df16763266552fb6626557b222d568952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:38 + docker inspect -f . ci-base-image-x86_64 18:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:38 prd-ubuntu20.04-docker-8c-8g-12225 does not seem to be running inside a container 18:49:38 $ 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-585 -v /w/workspace/gexfoundry_device-mqtt-go_PR-585:/w/workspace/gexfoundry_device-mqtt-go_PR-585:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-585@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 18:49:38 $ docker top 77d101a9a2dc7e69194aec8b33a3c7c43c5e363a5e3deb0b40e434496ed64ee9 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-585 [Pipeline] fileExists [Pipeline] sh 18:49:39 + make test 18:49:39 go test ./... -coverprofile=coverage.out ./... 18:49:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:49:54 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:49:54 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:49:54 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 24.6% of statements 18:50:01 go vet ./... 18:50:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:50:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:50:04 ./bin/test-attribution-txt.sh [Pipeline] echo 18:50:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:50:04 $ docker stop --time=1 77d101a9a2dc7e69194aec8b33a3c7c43c5e363a5e3deb0b40e434496ed64ee9 18:50:07 $ docker rm -f --volumes 77d101a9a2dc7e69194aec8b33a3c7c43c5e363a5e3deb0b40e434496ed64ee9 [Pipeline] // withDockerContainer [Pipeline] sh 18:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:50:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:50:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:50:09 + ls -al . 18:50:09 total 180 18:50:09 drwxrwxr-x 10 jenkins jenkins 4096 May 1 18:49 . 18:50:09 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:48 .. 18:50:09 -rw-rw-r-- 1 jenkins jenkins 140 May 1 18:48 .dockerignore 18:50:09 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:48 .git 18:50:09 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:48 .github 18:50:09 -rw-rw-r-- 1 jenkins jenkins 329 May 1 18:48 .gitignore 18:50:09 -rw-rw-r-- 1 jenkins jenkins 41 May 1 18:48 .golangci.yml 18:50:09 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:48 .semver 18:50:09 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 18:48 Attribution.txt 18:50:09 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 18:48 CHANGELOG.md 18:50:09 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 18:48 Dockerfile 18:50:09 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:48 GOVERNANCE.md 18:50:09 -rw-rw-r-- 1 jenkins jenkins 678 May 1 18:48 Jenkinsfile 18:50:09 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 18:48 LICENSE 18:50:09 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 18:48 Makefile 18:50:09 -rw-rw-r-- 1 jenkins jenkins 620 May 1 18:48 OWNERS.md 18:50:09 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 18:48 README.md 18:50:09 -rw-rw-r-- 1 jenkins jenkins 5 May 1 18:48 VERSION 18:50:09 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:48 bin 18:50:09 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:48 cmd 18:50:09 -rw-r--r-- 1 jenkins jenkins 16535 May 1 18:49 coverage.out 18:50:09 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 18:48 go.mod 18:50:09 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 18:48 go.sum 18:50:09 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:48 internal 18:50:09 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:48 mock 18:50:09 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:48 snap 18:50:09 -rw-rw-r-- 1 jenkins jenkins 227 May 1 18:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:09 + 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=984453636795e7b5ab512edbc2c0af761e717627 --label arch=amd64 --label version=0.0.0 . 18:50:09 Sending build context to Docker daemon 6.487MB 18:50:09 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:50:09 Step 2/24 : FROM ${BASE} AS builder 18:50:09 ---> ce464ce7e966 18:50:09 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:50:10 ---> Running in 0bb1d271185b 18:50:10 Removing intermediate container 0bb1d271185b 18:50:10 ---> 868871b61535 18:50:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:10 ---> Running in 7bf8d3aa9e3d 18:50:10 Removing intermediate container 7bf8d3aa9e3d 18:50:10 ---> f10f46601c2b 18:50:10 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:50:10 ---> Running in 96b15b78ce08 18:50:10 Removing intermediate container 96b15b78ce08 18:50:10 ---> 136dd7bc2203 18:50:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:50:10 ---> Running in 6899a100fae6 18:50:10 Removing intermediate container 6899a100fae6 18:50:10 ---> ddf49142d323 18:50:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:50:10 ---> Running in d7970380a1cc 18:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:50:10 OK: 269 MiB in 57 packages 18:50:11 Removing intermediate container d7970380a1cc 18:50:11 ---> 3225f8f28ce8 18:50:11 Step 8/24 : WORKDIR /device-mqtt-go 18:50:11 ---> Running in f5fcdd4f656c 18:50:11 Removing intermediate container f5fcdd4f656c 18:50:11 ---> d4cd7a4ed215 18:50:11 Step 9/24 : COPY go.mod vendor* ./ 18:50:11 ---> 127717fff18b 18:50:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:11 ---> Running in 526b6dd40d90 18:50:12 Removing intermediate container 526b6dd40d90 18:50:12 ---> 89336b116692 18:50:12 Step 11/24 : COPY . . 18:50:12 ---> c3a21623e74b 18:50:12 Step 12/24 : RUN $MAKE 18:50:12 ---> Running in 334a20e125c1 18:50:13 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 18:50:34 Removing intermediate container 334a20e125c1 18:50:34 ---> e3cdd722447b 18:50:34 Step 13/24 : FROM alpine:3.17 18:50:34 3.17: Pulling from library/alpine 18:50:34 f56be85fc22e: Already exists 18:50:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:50:34 Status: Downloaded newer image for alpine:3.17 18:50:34 ---> 9ed4aefc74f6 18:50:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:50:34 ---> Running in 17f6c97bf2cf 18:50:34 Removing intermediate container 17f6c97bf2cf 18:50:34 ---> 9506552b66d4 18:50:34 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:50:34 ---> Running in 13359dbc5119 18:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:50:34 (1/1) Installing dumb-init (1.2.5-r2) 18:50:34 Executing busybox-1.35.0-r29.trigger 18:50:34 OK: 7 MiB in 16 packages 18:50:34 Removing intermediate container 13359dbc5119 18:50:34 ---> 15cdebd66d55 18:50:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:50:34 ---> 59e0db6e4833 18:50:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:50:34 ---> 9bc477b2f937 18:50:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:50:34 ---> 2027ca876cee 18:50:34 Step 19/24 : EXPOSE 59982 18:50:34 ---> Running in 0ccd3579ae87 18:50:34 Removing intermediate container 0ccd3579ae87 18:50:34 ---> 6f263705ba84 18:50:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:50:34 ---> Running in 01636f28c33b 18:50:34 Removing intermediate container 01636f28c33b 18:50:34 ---> 19d4532c1cb3 18:50:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:50:34 ---> Running in dbaf6172afb8 18:50:34 Removing intermediate container dbaf6172afb8 18:50:34 ---> 7443ccd28289 18:50:34 Step 22/24 : LABEL arch=amd64 18:50:34 ---> Running in f61e798861c1 18:50:34 Removing intermediate container f61e798861c1 18:50:34 ---> 61a5014d9f3f 18:50:34 Step 23/24 : LABEL git_sha=984453636795e7b5ab512edbc2c0af761e717627 18:50:34 ---> Running in ddd01604114d 18:50:34 Removing intermediate container ddd01604114d 18:50:34 ---> 83aad34578b6 18:50:34 Step 24/24 : LABEL version=0.0.0 18:50:34 ---> Running in 70ed9e220356 18:50:34 Removing intermediate container 70ed9e220356 18:50:34 ---> e7906293c80a 18:50:34 [Warning] One or more build-args [ARCH] were not consumed 18:50:34 Successfully built e7906293c80a 18:50:34 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 18:50:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:35 18:50:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:36 latest: Pulling from edgex-lftools-log-publisher 18:50:36 5eb5b503b376: Pulling fs layer 18:50:36 5c69ac0246d0: Pulling fs layer 18:50:36 ec43610c2a17: Pulling fs layer 18:50:36 3a2ae6a8a46f: Pulling fs layer 18:50:36 33b1e0a273af: Pulling fs layer 18:50:36 5d3b04190fa2: Pulling fs layer 18:50:36 2f39f015ded8: Pulling fs layer 18:50:36 33b1e0a273af: Waiting 18:50:36 5d3b04190fa2: Waiting 18:50:36 2f39f015ded8: Waiting 18:50:36 3a2ae6a8a46f: Waiting 18:50:36 5c69ac0246d0: Download complete 18:50:36 3a2ae6a8a46f: Verifying Checksum 18:50:36 3a2ae6a8a46f: Download complete 18:50:36 33b1e0a273af: Verifying Checksum 18:50:36 33b1e0a273af: Download complete 18:50:36 5d3b04190fa2: Download complete 18:50:36 ec43610c2a17: Verifying Checksum 18:50:36 ec43610c2a17: Download complete 18:50:36 5eb5b503b376: Download complete 18:50:36 2f39f015ded8: Verifying Checksum 18:50:36 2f39f015ded8: Download complete 18:50:37 5eb5b503b376: Pull complete 18:50:37 5c69ac0246d0: Pull complete 18:50:38 ec43610c2a17: Pull complete 18:50:38 3a2ae6a8a46f: Pull complete 18:50:38 33b1e0a273af: Pull complete 18:50:38 5d3b04190fa2: Pull complete 18:50:42 2f39f015ded8: Pull complete 18:50:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:50:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:50:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:43 prd-ubuntu20.04-docker-8c-8g-12225 does not seem to be running inside a container 18:50:43 $ 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-585 -v /w/workspace/gexfoundry_device-mqtt-go_PR-585:/w/workspace/gexfoundry_device-mqtt-go_PR-585:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-585@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 18:50:46 $ docker top d3d00df6d427909ed90b462e8f16b4880c2ad1bdba5c1b9d51787fd6c2c5bb14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:46 ---> job-cost.sh 18:50:46 lf-activate-venv: SKIPPING 18:50:46 INFO: No Stack... 18:50:47 INFO: Retrieving Pricing Info for: v3-standard-8 18:50:47 INFO: Archiving Costs [Pipeline] sh 18:50:47 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives/cost.csv 18:50:47 + cut -d, -f6 [Pipeline] lock 18:50:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] 18:50:47 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] did not exist. Created. 18:50:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:50:48 + echo total: 0.2199999988079071 [Pipeline] stash 18:50:48 Stashed 1 file(s) [Pipeline] } 18:50:48 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:50:48 $ docker stop --time=1 d3d00df6d427909ed90b462e8f16b4880c2ad1bdba5c1b9d51787fd6c2c5bb14 18:50:49 $ docker rm -f --volumes d3d00df6d427909ed90b462e8f16b4880c2ad1bdba5c1b9d51787fd6c2c5bb14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:52:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12227 in /w/workspace/gexfoundry_device-mqtt-go_PR-585 [Pipeline] { [Pipeline] ws 18:52:12 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 18:52:12 Selected Git installation does not exist. Using Default 18:52:12 The recommended git tool is: NONE 18:52:18 using credential edgex-jenkins-ssh 18:52:18 Cloning the remote Git repository 18:52:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:52:18 > git init /w/workspace/device-mqtt-go/1 # timeout=10 18:52:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:52:18 > git --version # timeout=10 18:52:18 > git --version # 'git version 2.25.1' 18:52:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:52:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:52:21 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 984453636795e7b5ab512edbc2c0af761e717627 18:52:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:52:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:52:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/585/head:refs/remotes/origin/PR-585 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:52:21 > git config core.sparsecheckout # timeout=10 18:52:21 > git checkout -f 984453636795e7b5ab512edbc2c0af761e717627 # timeout=10 18:52:21 Merge succeeded, producing 984453636795e7b5ab512edbc2c0af761e717627 18:52:21 Checking out Revision 984453636795e7b5ab512edbc2c0af761e717627 (PR-585) 18:52:22 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 18:52:22 > git --version # timeout=10 18:52:22 > git --version # 'git version 2.25.1' 18:52:22 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:21 > git remote # timeout=10 18:52:21 > git config --get remote.origin.url # timeout=10 18:52:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:52:21 > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 18:52:21 > git rev-parse HEAD^{commit} # timeout=10 18:52:21 > git config core.sparsecheckout # timeout=10 18:52:21 > git checkout -f 984453636795e7b5ab512edbc2c0af761e717627 # timeout=10 18:52:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:52:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:23 Dload Upload Total Spent Left Speed 18:52:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 18:52:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:52:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:52:24 + sudo tee /etc/docker/daemon.new 18:52:24 { 18:52:24 "registry-mirrors": [ 18:52:24 "https://nexus3.edgexfoundry.org:10001" 18:52:24 ], 18:52:24 "bip": "10.250.0.254/24", 18:52:24 "hosts": [ 18:52:24 "tcp://0.0.0.0:5555", 18:52:24 "unix:///var/run/docker.sock" 18:52:24 ], 18:52:24 "mtu": 1458, 18:52:24 "selinux-enabled": true, 18:52:24 "seccomp-profile": "/etc/docker/seccomp.json" 18:52:24 } [Pipeline] sh 18:52:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:52:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:43 provisioning config files... 18:52:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1402375399192317360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:44 ---> docker-login.sh 18:52:44 nexus3.edgexfoundry.org:10001 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:44 Configure a credential helper to remove this warning. See 18:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:44 18:52:44 Login Succeeded 18:52:44 nexus3.edgexfoundry.org:10002 18:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:45 Configure a credential helper to remove this warning. See 18:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:45 18:52:45 Login Succeeded 18:52:45 nexus3.edgexfoundry.org:10003 18:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:45 Configure a credential helper to remove this warning. See 18:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:45 18:52:45 Login Succeeded 18:52:45 nexus3.edgexfoundry.org:10004 18:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:45 Configure a credential helper to remove this warning. See 18:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:45 18:52:45 Login Succeeded 18:52:45 docker.io 18:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:46 Configure a credential helper to remove this warning. See 18:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:46 18:52:46 Login Succeeded 18:52:46 ---> docker-login.sh ends [Pipeline] } 18:52:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:46 ========================================================= 18:52:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:52:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52: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 . 18:52:48 Sending build context to Docker daemon 3.369MB 18:52:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:52:48 Step 2/12 : FROM ${BASE} AS builder 18:52:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:52:48 c41833b44d91: Pulling fs layer 18:52:48 ed15518f5707: Pulling fs layer 18:52:48 feae8fd75edb: Pulling fs layer 18:52:48 242c74f7c9fa: Pulling fs layer 18:52:48 3cdef696dda3: Pulling fs layer 18:52:48 2ced38df9373: Pulling fs layer 18:52:48 58f1dce35555: Pulling fs layer 18:52:48 242c74f7c9fa: Waiting 18:52:48 3cdef696dda3: Waiting 18:52:48 2ced38df9373: Waiting 18:52:48 58f1dce35555: Waiting 18:52:48 ed15518f5707: Verifying Checksum 18:52:48 ed15518f5707: Download complete 18:52:48 242c74f7c9fa: Verifying Checksum 18:52:48 242c74f7c9fa: Download complete 18:52:48 3cdef696dda3: Verifying Checksum 18:52:48 3cdef696dda3: Download complete 18:52:48 c41833b44d91: Verifying Checksum 18:52:49 c41833b44d91: Pull complete 18:52:49 58f1dce35555: Verifying Checksum 18:52:49 58f1dce35555: Download complete 18:52:50 ed15518f5707: Pull complete 18:52:51 feae8fd75edb: Download complete 18:52:51 2ced38df9373: Download complete 18:53:03 feae8fd75edb: Pull complete 18:53:03 242c74f7c9fa: Pull complete 18:53:03 3cdef696dda3: Pull complete 18:53:10 2ced38df9373: Pull complete 18:53:11 58f1dce35555: Pull complete 18:53:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:53:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:53:11 ---> fadd8f120f05 18:53:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:53:13 ---> Running in 1cfb008462b3 18:53:13 Removing intermediate container 1cfb008462b3 18:53:13 ---> 5cbdeefee2f4 18:53:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:13 ---> Running in 3fca63b53ec9 18:53:13 Removing intermediate container 3fca63b53ec9 18:53:13 ---> 3717408b4060 18:53:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:13 ---> Running in cf8fefec492e 18:53:14 Removing intermediate container cf8fefec492e 18:53:14 ---> ccade0b75662 18:53:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:53:14 ---> Running in a4212715a9d6 18:53:14 Removing intermediate container a4212715a9d6 18:53:14 ---> fc8683a6f401 18:53:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:14 ---> Running in 1753f7ad9c23 18:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:53:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:53:17 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:53:17 (2/4) Installing libedit (20221030.3.1-r0) 18:53:17 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:53:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:53:17 Executing busybox-1.35.0-r29.trigger 18:53:17 OK: 268 MiB in 57 packages 18:53:18 Removing intermediate container 1753f7ad9c23 18:53:18 ---> 0d31f7eccd27 18:53:18 Step 8/12 : WORKDIR /device-mqtt-go 18:53:19 ---> Running in e3f945d3f61f 18:53:19 Removing intermediate container e3f945d3f61f 18:53:19 ---> 138efafd02e5 18:53:19 Step 9/12 : COPY go.mod vendor* ./ 18:53:19 ---> 7074be533dad 18:53:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:19 ---> Running in b69c404925c6 18:54:27 Removing intermediate container b69c404925c6 18:54:27 ---> d13b48b9be0c 18:54:27 Step 11/12 : COPY . . 18:54:27 ---> a4b106385b22 18:54:27 Step 12/12 : RUN $MAKE 18:54:27 ---> Running in b6b1b096ce5f 18:54:27 noop 18:54:27 Removing intermediate container b6b1b096ce5f 18:54:27 ---> ef9961ab97f1 18:54:27 Successfully built ef9961ab97f1 18:54:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:28 + docker inspect -f . ci-base-image-arm64 18:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:28 prd-ubuntu20.04-docker-arm64-4c-16g-12227 does not seem to be running inside a container 18:54:28 $ 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 18:54:29 $ docker top 4208430a78dc6b1b9a0d0b23f1b5e4336b4d37eecf1e5914342c33476b06aaaf -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:30 + go version 18:54:30 go version go1.20.2 linux/arm64 [Pipeline] } 18:54:30 $ docker stop --time=1 4208430a78dc6b1b9a0d0b23f1b5e4336b4d37eecf1e5914342c33476b06aaaf 18:54:32 $ docker rm -f --volumes 4208430a78dc6b1b9a0d0b23f1b5e4336b4d37eecf1e5914342c33476b06aaaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:33 + docker inspect -f . ci-base-image-arm64 18:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:33 prd-ubuntu20.04-docker-arm64-4c-16g-12227 does not seem to be running inside a container 18:54:33 $ 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 18:54:34 $ docker top c2a3bd92554001fb2d4af7e5810027c85488fa4f9e8fe59ea6753eb271092ad6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:35 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 18:54:36 + make test 18:54:36 go test ./... -coverprofile=coverage.out ./... 18:55:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:57:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:57:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:57:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.093s coverage: 24.6% of statements 18:57:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:57:30 go vet ./... 18:58:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:58:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:58:02 ./bin/test-attribution-txt.sh [Pipeline] echo 18:58:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:58:02 $ docker stop --time=1 c2a3bd92554001fb2d4af7e5810027c85488fa4f9e8fe59ea6753eb271092ad6 18:58:04 $ docker rm -f --volumes c2a3bd92554001fb2d4af7e5810027c85488fa4f9e8fe59ea6753eb271092ad6 [Pipeline] // withDockerContainer [Pipeline] sh 18:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:58:05 Warning: overwriting stash ‘coverage-report’ 18:58:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:58:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:58:07 + ls -al . 18:58:07 total 176 18:58:07 drwxrwxr-x 9 jenkins jenkins 4096 May 1 18:54 . 18:58:07 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:52 .. 18:58:07 -rw-rw-r-- 1 jenkins jenkins 140 May 1 18:52 .dockerignore 18:58:07 drwxrwxr-x 8 jenkins jenkins 4096 May 1 18:52 .git 18:58:07 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:52 .github 18:58:07 -rw-rw-r-- 1 jenkins jenkins 329 May 1 18:52 .gitignore 18:58:07 -rw-rw-r-- 1 jenkins jenkins 41 May 1 18:52 .golangci.yml 18:58:07 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 18:52 Attribution.txt 18:58:07 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 18:52 CHANGELOG.md 18:58:07 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 18:52 Dockerfile 18:58:07 -rw-rw-r-- 1 jenkins jenkins 677 May 1 18:52 GOVERNANCE.md 18:58:07 -rw-rw-r-- 1 jenkins jenkins 678 May 1 18:52 Jenkinsfile 18:58:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 18:52 LICENSE 18:58:07 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 18:52 Makefile 18:58:07 -rw-rw-r-- 1 jenkins jenkins 620 May 1 18:52 OWNERS.md 18:58:07 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 18:52 README.md 18:58:07 -rw-rw-r-- 1 jenkins jenkins 5 May 1 18:48 VERSION 18:58:07 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:52 bin 18:58:07 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:52 cmd 18:58:07 -rw-r--r-- 1 jenkins jenkins 16535 May 1 18:57 coverage.out 18:58:07 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 18:52 go.mod 18:58:07 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 18:52 go.sum 18:58:07 drwxrwxr-x 3 jenkins jenkins 4096 May 1 18:52 internal 18:58:07 drwxrwxr-x 2 jenkins jenkins 4096 May 1 18:52 mock 18:58:07 drwxrwxr-x 4 jenkins jenkins 4096 May 1 18:52 snap 18:58:07 -rw-rw-r-- 1 jenkins jenkins 227 May 1 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:07 + 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=984453636795e7b5ab512edbc2c0af761e717627 --label arch=arm64 --label version=0.0.0 . 18:58:07 Sending build context to Docker daemon 3.387MB 18:58:07 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:58:07 Step 2/24 : FROM ${BASE} AS builder 18:58:07 ---> ef9961ab97f1 18:58:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:58:10 ---> Running in 3e5a43ee0352 18:58:10 Removing intermediate container 3e5a43ee0352 18:58:10 ---> d00a758c1350 18:58:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:58:10 ---> Running in 806c0a09053b 18:58:10 Removing intermediate container 806c0a09053b 18:58:10 ---> 0b9f8cf9f202 18:58:10 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:58:10 ---> Running in 42b3c5cfd75c 18:58:11 Removing intermediate container 42b3c5cfd75c 18:58:11 ---> 335a8f5371ef 18:58:11 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:58:11 ---> Running in e89cb8195d73 18:58:11 Removing intermediate container e89cb8195d73 18:58:11 ---> 8e9e922f4083 18:58:11 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:58:11 ---> Running in a0fc33f4f4a7 18:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:58:14 OK: 268 MiB in 57 packages 18:58:15 Removing intermediate container a0fc33f4f4a7 18:58:15 ---> 99e223e5a84d 18:58:15 Step 8/24 : WORKDIR /device-mqtt-go 18:58:15 ---> Running in 662215f3cf99 18:58:16 Removing intermediate container 662215f3cf99 18:58:16 ---> dafd0be13ace 18:58:16 Step 9/24 : COPY go.mod vendor* ./ 18:58:16 ---> 2c6a351e6c2c 18:58:16 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:58:16 ---> Running in 850d78e096e9 18:58:19 Removing intermediate container 850d78e096e9 18:58:19 ---> eb4a31535540 18:58:19 Step 11/24 : COPY . . 18:58:20 ---> a7cc49107173 18:58:20 Step 12/24 : RUN $MAKE 18:58:20 ---> Running in 7dd3590c6bb6 18:58:21 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 19:00:43 Removing intermediate container 7dd3590c6bb6 19:00:43 ---> e3cd8fdfc1bf 19:00:43 Step 13/24 : FROM alpine:3.17 19:00:43 3.17: Pulling from library/alpine 19:00:43 c41833b44d91: Already exists 19:00:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:00:43 Status: Downloaded newer image for alpine:3.17 19:00:43 ---> 51e60588ff2c 19:00:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:00:43 ---> Running in a2c0425a07ac 19:00:43 Removing intermediate container a2c0425a07ac 19:00:43 ---> 4017e0f625a5 19:00:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 19:00:43 ---> Running in 9483cc1641db 19:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:00:43 (1/1) Installing dumb-init (1.2.5-r2) 19:00:43 Executing busybox-1.35.0-r29.trigger 19:00:43 OK: 8 MiB in 16 packages 19:00:43 Removing intermediate container 9483cc1641db 19:00:43 ---> 4df67eac4512 19:00:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:00:45 ---> 68bc46f0d92e 19:00:45 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:00:45 ---> 62bbc6e90ce3 19:00:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:00:45 ---> a84121401040 19:00:45 Step 19/24 : EXPOSE 59982 19:00:46 ---> Running in b3f576bf6ba7 19:00:46 Removing intermediate container b3f576bf6ba7 19:00:46 ---> 5d3b8841dad1 19:00:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:00:46 ---> Running in 13c3b14776e0 19:00:46 Removing intermediate container 13c3b14776e0 19:00:46 ---> e355481c1a30 19:00:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:00:46 ---> Running in 66abd236c587 19:00:47 Removing intermediate container 66abd236c587 19:00:47 ---> 32b06000aef0 19:00:47 Step 22/24 : LABEL arch=arm64 19:00:47 ---> Running in aaa103c6c33c 19:00:47 Removing intermediate container aaa103c6c33c 19:00:47 ---> b7498cf71059 19:00:47 Step 23/24 : LABEL git_sha=984453636795e7b5ab512edbc2c0af761e717627 19:00:47 ---> Running in b31f53d06e59 19:00:47 Removing intermediate container b31f53d06e59 19:00:47 ---> 4b1df7312a8a 19:00:47 Step 24/24 : LABEL version=0.0.0 19:00:48 ---> Running in fb6b5ccc5462 19:00:48 Removing intermediate container fb6b5ccc5462 19:00:48 ---> dcf7997062d5 19:00:48 [Warning] One or more build-args [ARCH] were not consumed 19:00:48 Successfully built dcf7997062d5 19:00:48 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 19:00:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:49 19:00:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:00:49 arm64: Pulling from edgex-lftools-log-publisher 19:00:49 8998bd30e6a1: Pulling fs layer 19:00:49 04944245beec: Pulling fs layer 19:00:49 699f458cf7ca: Pulling fs layer 19:00:49 765212b225bb: Pulling fs layer 19:00:49 f23df028b6ca: Pulling fs layer 19:00:49 d65c8cfc05b1: Pulling fs layer 19:00:49 2437ff75d9bd: Pulling fs layer 19:00:49 765212b225bb: Waiting 19:00:49 f23df028b6ca: Waiting 19:00:49 d65c8cfc05b1: Waiting 19:00:50 04944245beec: Verifying Checksum 19:00:50 04944245beec: Download complete 19:00:50 765212b225bb: Verifying Checksum 19:00:50 765212b225bb: Download complete 19:00:50 f23df028b6ca: Verifying Checksum 19:00:50 f23df028b6ca: Download complete 19:00:50 d65c8cfc05b1: Verifying Checksum 19:00:50 d65c8cfc05b1: Download complete 19:00:50 699f458cf7ca: Verifying Checksum 19:00:50 699f458cf7ca: Download complete 19:00:50 8998bd30e6a1: Download complete 19:00:53 2437ff75d9bd: Verifying Checksum 19:00:53 2437ff75d9bd: Download complete 19:00:55 8998bd30e6a1: Pull complete 19:00:55 04944245beec: Pull complete 19:00:56 699f458cf7ca: Pull complete 19:00:56 765212b225bb: Pull complete 19:00:57 f23df028b6ca: Pull complete 19:00:57 d65c8cfc05b1: Pull complete 19:01:12 2437ff75d9bd: Pull complete 19:01:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:01:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:01:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:13 prd-ubuntu20.04-docker-arm64-4c-16g-12227 does not seem to be running inside a container 19:01:13 $ 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 19:01:16 $ docker top e0f00c860278882d8c20830a8bba99a50f635d361a914e317189fbc1950647d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:16 ---> job-cost.sh 19:01:16 lf-activate-venv: SKIPPING 19:01:16 INFO: No Stack... 19:01:17 INFO: Retrieving Pricing Info for: v3-standard-4 19:01:18 INFO: Archiving Costs [Pipeline] sh 19:01:18 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 19:01:18 + cut -d, -f6 [Pipeline] lock 19:01:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] 19:01:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] did not exist. Created. 19:01:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:19 /w/workspace/device-mqtt-go/1@tmp/durable-010c6591/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:01:20 + echo total: 0.10999999940395355 [Pipeline] stash 19:01:20 Warning: overwriting stash ‘stack-cost’ 19:01:20 Stashed 1 file(s) [Pipeline] } 19:01:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-585-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:20 $ docker stop --time=1 e0f00c860278882d8c20830a8bba99a50f635d361a914e317189fbc1950647d7 19:01:22 $ docker rm -f --volumes e0f00c860278882d8c20830a8bba99a50f635d361a914e317189fbc1950647d7 [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 19:01:23 provisioning config files... 19:01:23 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/config8858401026107241712tmp [Pipeline] { [Pipeline] sh 19:01:23 + set +x 19:01:23 + + curl -s https://codecov.io/bash 19:01:23 bash -s -- 19:01:23 19:01:23 _____ _ 19:01:23 / ____| | | 19:01:23 | | ___ __| | ___ ___ _____ __ 19:01:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:01:23 | |___| (_) | (_| | __/ (_| (_) \ V / 19:01:23 \_____\___/ \__,_|\___|\___\___/ \_/ 19:01:23 Bash-1.0.6 19:01:23 19:01:23 19:01:23 ==> git version 2.25.1 found 19:01:23 ==> 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 19:01:23 Release-Date: 2020-01-08 19:01:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:01:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:01:23 ==> Jenkins CI detected. 19:01:23 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-585 19:01:23 project root: . 19:01:23 --> token set from env 19:01:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:01:23 ==> Running gcov in . (disable via -X gcov) 19:01:23 ==> Python coveragepy not found 19:01:23 ==> Searching for coverage reports in: 19:01:23 + . 19:01:23 -> Found 1 reports 19:01:23 ==> Detecting git/mercurial file structure 19:01:23 ==> Reading reports 19:01:23 + ./coverage.out bytes=16535 19:01:23 ==> Appending adjustments 19:01:23 https://docs.codecov.io/docs/fixing-reports 19:01:23 + Found adjustments 19:01:23 ==> Gzipping contents 19:01:23 4.0K /tmp/codecov.mpPpMz.gz 19:01:23 ==> Uploading reports 19:01:23 url: https://codecov.io 19:01:23 query: branch=PR-585&commit=984453636795e7b5ab512edbc2c0af761e717627&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-585%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=585&job=&cmd_args= 19:01:23 -> Pinging Codecov 19:01:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-585&commit=984453636795e7b5ab512edbc2c0af761e717627&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-585%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=585&job=&cmd_args= 19:01:23 -> Uploading to 19:01:23 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/7D719EC7BBE17E464838252E33014C33/984453636795e7b5ab512edbc2c0af761e717627/4f4a022d-508d-4657-b53b-26d461e18476.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T190123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d14946f7a84b8c006c75673ec1115e67c8c89990e8d0a7b2c3e925c050e73e42 19:01:23 % Total % Received % Xferd Average Speed Time Time Time Current 19:01:23 Dload Upload Total Spent Left Speed 19:01:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 13408 --:--:-- --:--:-- --:--:-- 13408 19:01:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/984453636795e7b5ab512edbc2c0af761e717627 [Pipeline] } 19:01:24 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 19:01:25 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives ] 19:01:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives 19:01:25 total 16 19:01:25 drwxr-xr-x 3 root root 4096 May 1 18:50 . 19:01:25 drwxrwxr-x 11 jenkins jenkins 4096 May 1 18:50 .. 19:01:25 drwxr-xr-x 2 root root 4096 May 1 18:50 cost 19:01:25 -rw-r--r-- 1 root root 86 May 1 18:50 cost.csv 19:01:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives 19:01:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives 19:01:25 total 16 19:01:25 drwxr-xr-x 3 jenkins jenkins 4096 May 1 18:50 . 19:01:25 drwxrwxr-x 11 jenkins jenkins 4096 May 1 18:50 .. 19:01:25 drwxr-xr-x 2 jenkins jenkins 4096 May 1 18:50 cost 19:01:25 -rw-r--r-- 1 jenkins jenkins 86 May 1 18:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:01:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:01:27 ---> package-listing.sh 19:01:27 ++ facter osfamily 19:01:27 ++ tr '[:upper:]' '[:lower:]' 19:01:27 + OS_FAMILY=debian 19:01:27 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-585 19:01:27 + START_PACKAGES=/tmp/packages_start.txt 19:01:27 + END_PACKAGES=/tmp/packages_end.txt 19:01:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:01:27 + PACKAGES=/tmp/packages_start.txt 19:01:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-585 ']' 19:01:27 + PACKAGES=/tmp/packages_end.txt 19:01:27 + case "${OS_FAMILY}" in 19:01:27 + dpkg -l 19:01:27 + grep '^ii' 19:01:27 + '[' -f /tmp/packages_start.txt ']' 19:01:27 + '[' -f /tmp/packages_end.txt ']' 19:01:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:01:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-585 ']' 19:01:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives/ 19:01:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-585/archives/ [Pipeline] echo 19:01:27 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-585/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:01:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:28 prd-ubuntu20.04-docker-8c-8g-12225 does not seem to be running inside a container 19:01:28 $ 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-585/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-585 -v /w/workspace/gexfoundry_device-mqtt-go_PR-585:/w/workspace/gexfoundry_device-mqtt-go_PR-585:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-585@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 19:01:28 $ docker top 02fc81d73b9b103fb06a89243dc786010f5c18dbc088ab79901da302573da411 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:29 + touch /tmp/pre-build-complete [Pipeline] sh 19:01:29 + mkdir -p /var/log/sysstat [Pipeline] sh 19:01:29 + ls /var/log/sa-host 19:01:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:29 provisioning config files... 19:01:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-585@tmp/config9267281747694469005tmp [Pipeline] { [Pipeline] echo 19:01:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:01:30 ---> create-netrc.sh [Pipeline] } 19:01:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:01:30 ---> python-tools-install.sh [Pipeline] echo 19:01:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:01:31 ---> sudo-logs.sh 19:01:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:01:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:01:31 ---> job-cost.sh 19:01:31 lf-activate-venv: SKIPPING 19:01:31 DEBUG: total: 0.2199999988079071 19:01:31 INFO: Retrieving Stack Cost... 19:01:31 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:32 INFO: Archiving Costs [Pipeline] echo 19:01:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:01:32 ---> logs-deploy.sh 19:01:32 lf-activate-venv: SKIPPING 19:01:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-585/1 19:01:32 INFO: archiving workspace using pattern(s): 19:01:33 Archives upload complete. 19:01:33 INFO: archiving logs to Nexus