Pull request #576 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c1bde9435fddd83639de3716b0c11b051f4304e+5b2c861b7985e68cc74183010c56eea75d87e84b (bda22266222ce5fb62f9700a37ea0d68a98973e9) 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-ssh16268646044274662786.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-ssh5329986332480227016.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-576/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-576/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17138367928162776964.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 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-ssh16812816306955757172.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-576/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-576/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16151814857720016306.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-9458’ Running on prd-ubuntu20.04-docker-8c-8g-9461 in /w/workspace/gexfoundry_device-mqtt-go_PR-576 [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-576 # 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 Merging remotes/origin/main commit 5b2c861b7985e68cc74183010c56eea75d87e84b into PR head commit 2c1bde9435fddd83639de3716b0c11b051f4304e Merge succeeded, producing 2c1bde9435fddd83639de3716b0c11b051f4304e Checking out Revision 2c1bde9435fddd83639de3716b0c11b051f4304e (PR-576) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > 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/576/head:refs/remotes/origin/PR-576 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c1bde9435fddd83639de3716b0c11b051f4304e # 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 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c1bde9435fddd83639de3716b0c11b051f4304e # timeout=10 > git rev-list --no-walk d3ad5517524b46eecb6ae36a212a4c2c57031168 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:35:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:35:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:35:28 ========================================================= 02:35:28 EdgeX Global Pipelines Version Info 02:35:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:35:28 ------------------- 02:35:28 stable info: 02:35:28 ------------------- 02:35:28 Commited By: Bill Mahoney bill.mahoney@intel.com 02:35:28 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:35:28 Message: update stable to v1.0.248 02:35:29 ------------------- 02:35:29 experimental info: 02:35:29 ------------------- 02:35:29 Commited By: **** collab-it+edgex@linuxfoundation.org 02:35:29 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:35:29 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-576 [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-576 [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-576 [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c1bde9435fddd83639de3716b0c11b051f4304e [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c1bde9 [Pipeline] echo 02:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:30 provisioning config files... 02:35:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config2824951478970975219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:30 ---> docker-login.sh 02:35:30 nexus3.edgexfoundry.org:10001 02:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:31 Configure a credential helper to remove this warning. See 02:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:31 02:35:31 Login Succeeded 02:35:31 nexus3.edgexfoundry.org:10002 02:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:31 Configure a credential helper to remove this warning. See 02:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:31 02:35:31 Login Succeeded 02:35:31 nexus3.edgexfoundry.org:10003 02:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 nexus3.edgexfoundry.org:10004 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 docker.io 02:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:32 Configure a credential helper to remove this warning. See 02:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:32 02:35:32 Login Succeeded 02:35:32 ---> docker-login.sh ends [Pipeline] } 02:35:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:35:32 + git rev-list -1 --merges 2c1bde9435fddd83639de3716b0c11b051f4304e~1..2c1bde9435fddd83639de3716b0c11b051f4304e [Pipeline] echo 02:35:32 -----------> git rev-list -1 --merges 2c1bde9435fddd83639de3716b0c11b051f4304e~1..2c1bde9435fddd83639de3716b0c11b051f4304e 2c1bde9435fddd83639de3716b0c11b051f4304e [false] [Pipeline] sh 02:35:32 + git log --format=format:%s -1 2c1bde9435fddd83639de3716b0c11b051f4304e [Pipeline] echo 02:35:33 ========================================================= 02:35:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:35:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:33 + git log --format=format:%s -1 2c1bde9435fddd83639de3716b0c11b051f4304e [Pipeline] echo 02:35:33 [semverPrep] GIT_COMMIT: 2c1bde9435fddd83639de3716b0c11b051f4304e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 02:35:33 [semverPrep] This is not a build commit. [Pipeline] sh 02:35:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:35:33 + grep -v github /etc/ssh/ssh_known_hosts 02:35:33 + [ -e /tmp/ssh_known_hosts ] 02:35:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:35:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:35:33 + sudo tee -a /etc/ssh/ssh_known_hosts 02:35:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:35:34 02:35:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:35:34 0.1.4: Pulling from edgex-devops/py-git-semver 02:35:34 b85a868b505f: Pulling fs layer 02:35:34 e2be974225ed: Pulling fs layer 02:35:34 339a4e72a1f5: Pulling fs layer 02:35:34 988bab9f4d93: Pulling fs layer 02:35:34 1469e6f7b9e6: Pulling fs layer 02:35:34 eaf3925da568: Pulling fs layer 02:35:34 bab4dde63d76: Pulling fs layer 02:35:34 bde34c3a00c8: Pulling fs layer 02:35:34 b352a97aabf1: Pulling fs layer 02:35:34 4872d77fe225: Pulling fs layer 02:35:34 5851b861e8e6: Pulling fs layer 02:35:34 eaf3925da568: Waiting 02:35:34 bab4dde63d76: Waiting 02:35:34 bde34c3a00c8: Waiting 02:35:34 b352a97aabf1: Waiting 02:35:34 4872d77fe225: Waiting 02:35:34 5851b861e8e6: Waiting 02:35:34 988bab9f4d93: Waiting 02:35:34 1469e6f7b9e6: Waiting 02:35:34 e2be974225ed: Download complete 02:35:34 988bab9f4d93: Verifying Checksum 02:35:34 988bab9f4d93: Download complete 02:35:34 1469e6f7b9e6: Verifying Checksum 02:35:34 1469e6f7b9e6: Download complete 02:35:34 339a4e72a1f5: Verifying Checksum 02:35:34 339a4e72a1f5: Download complete 02:35:34 eaf3925da568: Download complete 02:35:34 bde34c3a00c8: Verifying Checksum 02:35:34 bde34c3a00c8: Download complete 02:35:34 b352a97aabf1: Download complete 02:35:35 4872d77fe225: Verifying Checksum 02:35:35 4872d77fe225: Download complete 02:35:35 5851b861e8e6: Verifying Checksum 02:35:35 5851b861e8e6: Download complete 02:35:35 b85a868b505f: Verifying Checksum 02:35:35 b85a868b505f: Download complete 02:35:35 bab4dde63d76: Verifying Checksum 02:35:35 bab4dde63d76: Download complete 02:35:36 b85a868b505f: Pull complete 02:35:36 e2be974225ed: Pull complete 02:35:36 339a4e72a1f5: Pull complete 02:35:37 988bab9f4d93: Pull complete 02:35:37 1469e6f7b9e6: Pull complete 02:35:37 eaf3925da568: Pull complete 02:35:39 bab4dde63d76: Pull complete 02:35:39 bde34c3a00c8: Pull complete 02:35:39 b352a97aabf1: Pull complete 02:35:39 4872d77fe225: Pull complete 02:35:39 5851b861e8e6: Pull complete 02:35:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:35:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:35:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:39 prd-ubuntu20.04-docker-8c-8g-9461 does not seem to be running inside a container 02:35:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@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-devops/py-git-semver:0.1.4 cat 02:35:42 $ docker top 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 -eo pid,comm 02:35:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:35:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:35:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:42 [ssh-agent] Looking for ssh-agent implementation... 02:35:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:42 $ docker exec 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 ssh-agent 02:35:42 SSH_AUTH_SOCK=/tmp/ssh-1GMssRQNjyL5/agent.31 02:35:42 SSH_AGENT_PID=37 02:35:42 Running ssh-add (command line suppressed) 02:35:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_11910461448679792183.key (/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_11910461448679792183.key) 02:35:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:43 + git tag --points-at HEAD [Pipeline] } 02:35:43 $ docker exec --env ******** --env ******** 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 ssh-agent -k 02:35:43 unset SSH_AUTH_SOCK; 02:35:43 unset SSH_AGENT_PID; 02:35:43 echo Agent pid 37 killed; 02:35:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:35:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:43 [ssh-agent] Looking for ssh-agent implementation... 02:35:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:43 $ docker exec 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 ssh-agent 02:35:43 SSH_AUTH_SOCK=/tmp/ssh-n5wrmYhI4X4a/agent.69 02:35:43 SSH_AGENT_PID=75 02:35:43 Running ssh-add (command line suppressed) 02:35:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_5579642681743769357.key (/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/private_key_5579642681743769357.key) 02:35:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:43 + git semver init 02:35:44 2023-04-24 02:35:44,028 [run_init] DEBUG init version:0.0.0 force:False 02:35:44 2023-04-24 02:35:44,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver 02:35:44 2023-04-24 02:35:44,029 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver 02:35:44 2023-04-24 02:35:44,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-576, universal_newlines=False, shell=None, istream=None) 02:35:45 2023-04-24 02:35:44,789 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.git/info/exclude 02:35:45 2023-04-24 02:35:44,789 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver/PR-576 with force:False 02:35:45 2023-04-24 02:35:44,790 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver/PR-576 02:35:45 2023-04-24 02:35:44,794 [execute] INFO git cat-file --batch-check 02:35:45 2023-04-24 02:35:44,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver, universal_newlines=False, shell=None, istream=) 02:35:45 2023-04-24 02:35:44,800 [execute] INFO git cat-file --batch 02:35:45 2023-04-24 02:35:44,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver, universal_newlines=False, shell=None, istream=) 02:35:45 2023-04-24 02:35:44,805 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-576/.semver/PR-576 02:35:45 0.0.0 [Pipeline] } 02:35:45 $ docker exec --env ******** --env ******** 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 ssh-agent -k 02:35:45 unset SSH_AUTH_SOCK; 02:35:45 unset SSH_AGENT_PID; 02:35:45 echo Agent pid 75 killed; 02:35:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:35:45 + git semver [Pipeline] } 02:35:45 $ docker stop --time=1 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 02:35:47 $ docker rm -f --volumes 34ead598ebed8759e0c0618bb76bbc975469d37808375d8d52a4fc759aeb0823 [Pipeline] // withDockerContainer [Pipeline] sh 02:35:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:35:47 Stashed 1 file(s) [Pipeline] echo 02:35:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:47 provisioning config files... 02:35:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config9785227501721184580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:48 ---> docker-login.sh 02:35:48 nexus3.edgexfoundry.org:10001 02:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:48 Configure a credential helper to remove this warning. See 02:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:48 02:35:48 Login Succeeded 02:35:48 nexus3.edgexfoundry.org:10002 02:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:48 Configure a credential helper to remove this warning. See 02:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:48 02:35:48 Login Succeeded 02:35:48 nexus3.edgexfoundry.org:10003 02:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:48 Configure a credential helper to remove this warning. See 02:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:48 02:35:48 Login Succeeded 02:35:48 nexus3.edgexfoundry.org:10004 02:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:48 Configure a credential helper to remove this warning. See 02:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:48 02:35:48 Login Succeeded 02:35:48 docker.io 02:35:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:48 Configure a credential helper to remove this warning. See 02:35:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:48 02:35:48 Login Succeeded 02:35:48 ---> docker-login.sh ends [Pipeline] } 02:35:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:48 ========================================================= 02:35:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:35:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:35:49 Sending build context to Docker daemon 6.452MB 02:35:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:35:49 Step 2/12 : FROM ${BASE} AS builder 02:35:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:49 63b65145d645: Pulling fs layer 02:35:49 a2d21d5440eb: Pulling fs layer 02:35:49 935e6c44a52c: Pulling fs layer 02:35:49 94cc34f8dd06: Pulling fs layer 02:35:49 30dea6a524f1: Pulling fs layer 02:35:49 a2aff8979fd8: Pulling fs layer 02:35:49 6808be2612f2: Pulling fs layer 02:35:49 f25807f1079a: Pulling fs layer 02:35:49 94cc34f8dd06: Waiting 02:35:49 30dea6a524f1: Waiting 02:35:49 a2aff8979fd8: Waiting 02:35:49 6808be2612f2: Waiting 02:35:49 f25807f1079a: Waiting 02:35:49 a2d21d5440eb: Download complete 02:35:49 94cc34f8dd06: Download complete 02:35:49 30dea6a524f1: Verifying Checksum 02:35:49 30dea6a524f1: Download complete 02:35:49 63b65145d645: Verifying Checksum 02:35:49 63b65145d645: Download complete 02:35:49 a2aff8979fd8: Verifying Checksum 02:35:49 a2aff8979fd8: Download complete 02:35:49 63b65145d645: Pull complete 02:35:49 a2d21d5440eb: Pull complete 02:35:49 f25807f1079a: Verifying Checksum 02:35:49 f25807f1079a: Download complete 02:35:49 935e6c44a52c: Verifying Checksum 02:35:49 935e6c44a52c: Download complete 02:35:50 6808be2612f2: Verifying Checksum 02:35:50 6808be2612f2: Download complete 02:35:53 935e6c44a52c: Pull complete 02:35:53 94cc34f8dd06: Pull complete 02:35:53 30dea6a524f1: Pull complete 02:35:53 a2aff8979fd8: Pull complete 02:35:55 6808be2612f2: Pull complete 02:35:56 f25807f1079a: Pull complete 02:35:56 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:35:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:35:56 ---> 3b553350e43f 02:35:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:36:01 ---> Running in f56e7da364e9 02:36:01 Removing intermediate container f56e7da364e9 02:36:01 ---> d72034b21f4f 02:36:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:01 ---> Running in 790cf96809f9 02:36:01 Removing intermediate container 790cf96809f9 02:36:01 ---> 28cd1b340c32 02:36:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:36:01 ---> Running in c8ce349f72d6 02:36:01 Removing intermediate container c8ce349f72d6 02:36:01 ---> 802a1aaeeb46 02:36:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:36:01 ---> Running in bb328ae76057 02:36:01 Removing intermediate container bb328ae76057 02:36:01 ---> 79aea7f6fee8 02:36:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:01 ---> Running in e82d00c33913 02:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:36:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:36:02 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:36:02 (2/4) Installing libedit (20221030.3.1-r0) 02:36:02 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:36:02 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:36:02 Executing busybox-1.35.0-r29.trigger 02:36:02 OK: 269 MiB in 57 packages 02:36:02 Still waiting to schedule task 02:36:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9460’ 02:36:03 Removing intermediate container e82d00c33913 02:36:03 ---> cac3ef9ad196 02:36:03 Step 8/12 : WORKDIR /device-mqtt-go 02:36:03 ---> Running in 797aefd25465 02:36:03 Removing intermediate container 797aefd25465 02:36:03 ---> 0eff555025f5 02:36:03 Step 9/12 : COPY go.mod vendor* ./ 02:36:03 ---> 5fed1cebd4e8 02:36:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:03 ---> Running in 40dc852e9713 02:36:35 Removing intermediate container 40dc852e9713 02:36:35 ---> 6b4ddfdc7cd0 02:36:35 Step 11/12 : COPY . . 02:36:35 ---> 9d15367c066c 02:36:35 Step 12/12 : RUN $MAKE 02:36:35 ---> Running in 7e30b46dbc4e 02:36:35 noop 02:36:35 Removing intermediate container 7e30b46dbc4e 02:36:35 ---> 8aabefaa80d4 02:36:35 Successfully built 8aabefaa80d4 02:36:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:36 + docker inspect -f . ci-base-image-x86_64 02:36:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:36 prd-ubuntu20.04-docker-8c-8g-9461 does not seem to be running inside a container 02:36:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:36 $ docker top 8f480216c9b88355000a21eba3b1cf10d696c72153f4a35a50c4dce0ea5150f5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:36 + go version 02:36:36 go version go1.20.2 linux/amd64 [Pipeline] } 02:36:36 $ docker stop --time=1 8f480216c9b88355000a21eba3b1cf10d696c72153f4a35a50c4dce0ea5150f5 02:36:38 $ docker rm -f --volumes 8f480216c9b88355000a21eba3b1cf10d696c72153f4a35a50c4dce0ea5150f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:38 + docker inspect -f . ci-base-image-x86_64 02:36:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:38 prd-ubuntu20.04-docker-8c-8g-9461 does not seem to be running inside a container 02:36: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-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:38 $ docker top 54d763f2e0a95ed9d13837b2ed2a6ab63c45d70cd00883b832e93b0cf589c1ef -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-576 [Pipeline] fileExists [Pipeline] sh 02:36:39 + make test 02:36:39 go test ./... -coverprofile=coverage.out ./... 02:36:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:36:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:36:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:36:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.9% of statements 02:36:59 go vet ./... 02:37:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:37:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:37:02 ./bin/test-attribution-txt.sh [Pipeline] echo 02:37:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:37:02 $ docker stop --time=1 54d763f2e0a95ed9d13837b2ed2a6ab63c45d70cd00883b832e93b0cf589c1ef 02:37:06 $ docker rm -f --volumes 54d763f2e0a95ed9d13837b2ed2a6ab63c45d70cd00883b832e93b0cf589c1ef [Pipeline] // withDockerContainer [Pipeline] sh 02:37:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:37:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:37:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:37:07 + ls -al . 02:37:07 total 180 02:37:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 02:36 . 02:37:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:35 .. 02:37:07 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 02:35 .dockerignore 02:37:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 02:35 .git 02:37:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:35 .github 02:37:07 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 02:35 .gitignore 02:37:07 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 02:35 .golangci.yml 02:37:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 02:35 .semver 02:37:07 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 02:35 Attribution.txt 02:37:07 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 02:35 CHANGELOG.md 02:37:07 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 02:35 Dockerfile 02:37:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 02:35 GOVERNANCE.md 02:37:07 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 02:35 Jenkinsfile 02:37:07 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 02:35 LICENSE 02:37:07 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 02:35 Makefile 02:37:07 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 02:35 OWNERS.md 02:37:07 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 02:35 README.md 02:37:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 02:35 VERSION 02:37:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:35 bin 02:37:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:35 cmd 02:37:07 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 02:36 coverage.out 02:37:07 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 02:35 go.mod 02:37:07 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 02:35 go.sum 02:37:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:35 internal 02:37:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:35 mock 02:37:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:35 snap 02:37:07 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:07 + 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=2c1bde9435fddd83639de3716b0c11b051f4304e --label arch=amd64 --label version=0.0.0 . 02:37:07 Sending build context to Docker daemon 6.472MB 02:37:07 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:37:07 Step 2/24 : FROM ${BASE} AS builder 02:37:07 ---> 8aabefaa80d4 02:37:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:37:07 ---> Running in af21b1348645 02:37:07 Removing intermediate container af21b1348645 02:37:07 ---> 9db44a033e65 02:37:07 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:07 ---> Running in b2d4b7015e23 02:37:07 Removing intermediate container b2d4b7015e23 02:37:07 ---> a23cc3636cb4 02:37:07 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:37:07 ---> Running in 1e7d6b0b15a0 02:37:08 Removing intermediate container 1e7d6b0b15a0 02:37:08 ---> 8343ef0555d3 02:37:08 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:37:08 ---> Running in 16eccec0efc2 02:37:08 Removing intermediate container 16eccec0efc2 02:37:08 ---> 1128f1d17636 02:37:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:08 ---> Running in 88fea72f8e06 02:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:37:08 OK: 269 MiB in 57 packages 02:37:09 Removing intermediate container 88fea72f8e06 02:37:09 ---> d996fd9efdea 02:37:09 Step 8/24 : WORKDIR /device-mqtt-go 02:37:09 ---> Running in c5d28a6e1ff7 02:37:09 Removing intermediate container c5d28a6e1ff7 02:37:09 ---> 7026b8575304 02:37:09 Step 9/24 : COPY go.mod vendor* ./ 02:37:09 ---> 7155d2cfdf84 02:37:09 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:09 ---> Running in a879feaf1bab 02:37:09 Removing intermediate container a879feaf1bab 02:37:09 ---> d054ef011477 02:37:09 Step 11/24 : COPY . . 02:37:10 ---> 482e99eb21b0 02:37:10 Step 12/24 : RUN $MAKE 02:37:10 ---> Running in 5e15d22dcef7 02:37:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:37:28 Removing intermediate container 5e15d22dcef7 02:37:28 ---> f106caaec277 02:37:28 Step 13/24 : FROM alpine:3.17 02:37:29 3.17: Pulling from library/alpine 02:37:29 f56be85fc22e: Pulling fs layer 02:37:29 f56be85fc22e: Verifying Checksum 02:37:29 f56be85fc22e: Download complete 02:37:29 f56be85fc22e: Pull complete 02:37:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:37:29 Status: Downloaded newer image for alpine:3.17 02:37:29 ---> 9ed4aefc74f6 02:37:29 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:37:29 ---> Running in 7d1a098dcdac 02:37:29 Removing intermediate container 7d1a098dcdac 02:37:29 ---> a34bc67a55c1 02:37:29 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:37:29 ---> Running in 8749dbd1f0cf 02:37:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:37:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:37:30 (1/1) Installing dumb-init (1.2.5-r2) 02:37:30 Executing busybox-1.35.0-r29.trigger 02:37:30 OK: 7 MiB in 16 packages 02:37:31 Removing intermediate container 8749dbd1f0cf 02:37:31 ---> 835ff5ef9499 02:37:31 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:37:31 ---> 11c92873a67e 02:37:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:37:31 ---> 080d26b86a78 02:37:31 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:37:32 ---> 390de3943430 02:37:32 Step 19/24 : EXPOSE 59982 02:37:32 ---> Running in 6c0ad29fe06b 02:37:32 Removing intermediate container 6c0ad29fe06b 02:37:32 ---> 6211a77b3c38 02:37:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:37:32 ---> Running in 68eadf25004d 02:37:32 Removing intermediate container 68eadf25004d 02:37:32 ---> bc42dc2209cb 02:37:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:37:32 ---> Running in 51d6cf9ba102 02:37:32 Removing intermediate container 51d6cf9ba102 02:37:32 ---> 4fe1d89219ed 02:37:32 Step 22/24 : LABEL arch=amd64 02:37:32 ---> Running in c22819b0803f 02:37:32 Removing intermediate container c22819b0803f 02:37:32 ---> 2cacce4af3fb 02:37:32 Step 23/24 : LABEL git_sha=2c1bde9435fddd83639de3716b0c11b051f4304e 02:37:32 ---> Running in 063eed4fb9b6 02:37:32 Removing intermediate container 063eed4fb9b6 02:37:32 ---> 3c12223666d6 02:37:32 Step 24/24 : LABEL version=0.0.0 02:37:32 ---> Running in c53435a5252a 02:37:32 Removing intermediate container c53435a5252a 02:37:32 ---> 1a1cd495c1a2 02:37:32 [Warning] One or more build-args [ARCH] were not consumed 02:37:32 Successfully built 1a1cd495c1a2 02:37:32 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:33 02:37:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:33 latest: Pulling from edgex-lftools-log-publisher 02:37:33 5eb5b503b376: Pulling fs layer 02:37:33 5c69ac0246d0: Pulling fs layer 02:37:33 ec43610c2a17: Pulling fs layer 02:37:33 3a2ae6a8a46f: Pulling fs layer 02:37:33 33b1e0a273af: Pulling fs layer 02:37:33 5d3b04190fa2: Pulling fs layer 02:37:33 2f39f015ded8: Pulling fs layer 02:37:33 33b1e0a273af: Waiting 02:37:33 5d3b04190fa2: Waiting 02:37:33 3a2ae6a8a46f: Waiting 02:37:33 2f39f015ded8: Waiting 02:37:33 5c69ac0246d0: Verifying Checksum 02:37:33 5c69ac0246d0: Download complete 02:37:33 3a2ae6a8a46f: Download complete 02:37:33 ec43610c2a17: Verifying Checksum 02:37:33 ec43610c2a17: Download complete 02:37:33 33b1e0a273af: Verifying Checksum 02:37:33 33b1e0a273af: Download complete 02:37:33 5d3b04190fa2: Download complete 02:37:33 5eb5b503b376: Verifying Checksum 02:37:33 5eb5b503b376: Download complete 02:37:34 2f39f015ded8: Download complete 02:37:34 5eb5b503b376: Pull complete 02:37:34 5c69ac0246d0: Pull complete 02:37:35 ec43610c2a17: Pull complete 02:37:35 3a2ae6a8a46f: Pull complete 02:37:35 33b1e0a273af: Pull complete 02:37:35 5d3b04190fa2: Pull complete 02:37:39 2f39f015ded8: Pull complete 02:37:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:39 prd-ubuntu20.04-docker-8c-8g-9461 does not seem to be running inside a container 02:37:40 $ 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-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:37:44 $ docker top 46c28d2e5aa35bcbdfba4aa23770f291f70b29e3395418d99516d7da8d29c52a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:44 ---> job-cost.sh 02:37:44 lf-activate-venv: SKIPPING 02:37:44 INFO: No Stack... 02:37:45 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:45 INFO: Archiving Costs [Pipeline] sh 02:37:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives/cost.csv 02:37:45 + cut -d, -f6 [Pipeline] lock 02:37:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] 02:37:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] did not exist. Created. 02:37:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:46 + echo total: 0.2199999988079071 [Pipeline] stash 02:37:46 Stashed 1 file(s) [Pipeline] } 02:37:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:46 $ docker stop --time=1 46c28d2e5aa35bcbdfba4aa23770f291f70b29e3395418d99516d7da8d29c52a 02:37:47 $ docker rm -f --volumes 46c28d2e5aa35bcbdfba4aa23770f291f70b29e3395418d99516d7da8d29c52a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:38:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9463 in /w/workspace/gexfoundry_device-mqtt-go_PR-576 [Pipeline] { [Pipeline] ws 02:38:37 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 02:38:37 Selected Git installation does not exist. Using Default 02:38:37 The recommended git tool is: NONE 02:38:43 using credential edgex-jenkins-ssh 02:38:43 Cloning the remote Git repository 02:38:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:38:43 > git init /w/workspace/device-mqtt-go/2 # timeout=10 02:38:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:38:43 > git --version # timeout=10 02:38:43 > git --version # 'git version 2.25.1' 02:38:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:38:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:38:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:38:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:38:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:38:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/576/head:refs/remotes/origin/PR-576 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:38:46 Merging remotes/origin/main commit 5b2c861b7985e68cc74183010c56eea75d87e84b into PR head commit 2c1bde9435fddd83639de3716b0c11b051f4304e 02:38:46 Merge succeeded, producing 2c1bde9435fddd83639de3716b0c11b051f4304e 02:38:46 Checking out Revision 2c1bde9435fddd83639de3716b0c11b051f4304e (PR-576) 02:38:47 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:38:46 > git config core.sparsecheckout # timeout=10 02:38:46 > git checkout -f 2c1bde9435fddd83639de3716b0c11b051f4304e # timeout=10 02:38:46 > git remote # timeout=10 02:38:46 > git config --get remote.origin.url # timeout=10 02:38:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:38:46 > git merge 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 02:38:46 > git rev-parse HEAD^{commit} # timeout=10 02:38:46 > git config core.sparsecheckout # timeout=10 02:38:46 > git checkout -f 2c1bde9435fddd83639de3716b0c11b051f4304e # timeout=10 02:38:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:38:48 % Total % Received % Xferd Average Speed Time Time Time Current 02:38:48 Dload Upload Total Spent Left Speed 02:38:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 02:38:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:38:49 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 02:38:49 tee /etc/docker/daemon.new 02:38:49 { 02:38:49 "registry-mirrors": [ 02:38:49 "https://nexus3.edgexfoundry.org:10001" 02:38:49 ], 02:38:49 "bip": "10.250.0.254/24", 02:38:49 "hosts": [ 02:38:49 "tcp://0.0.0.0:5555", 02:38:49 "unix:///var/run/docker.sock" 02:38:49 ], 02:38:49 "mtu": 1458, 02:38:49 "selinux-enabled": true, 02:38:49 "seccomp-profile": "/etc/docker/seccomp.json" 02:38:49 } [Pipeline] sh 02:38:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:38:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:08 provisioning config files... 02:39:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2466094630940472982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:08 ---> docker-login.sh 02:39:08 nexus3.edgexfoundry.org:10001 02:39:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:10 Configure a credential helper to remove this warning. See 02:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:10 02:39:10 Login Succeeded 02:39:10 nexus3.edgexfoundry.org:10002 02:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:10 Configure a credential helper to remove this warning. See 02:39:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:10 02:39:10 Login Succeeded 02:39:10 nexus3.edgexfoundry.org:10003 02:39:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:11 Configure a credential helper to remove this warning. See 02:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:11 02:39:11 Login Succeeded 02:39:11 nexus3.edgexfoundry.org:10004 02:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:11 Configure a credential helper to remove this warning. See 02:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:11 02:39:11 Login Succeeded 02:39:11 docker.io 02:39:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:11 Configure a credential helper to remove this warning. See 02:39:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:11 02:39:11 Login Succeeded 02:39:11 ---> docker-login.sh ends [Pipeline] } 02:39:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:39:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:12 ========================================================= 02:39:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:39:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:39:13 Sending build context to Docker daemon 3.362MB 02:39:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:39:13 Step 2/12 : FROM ${BASE} AS builder 02:39:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:39:13 af6eaf76a39c: Pulling fs layer 02:39:13 55522c791124: Pulling fs layer 02:39:13 ce5c4a1c91eb: Pulling fs layer 02:39:13 169dfbe0d373: Pulling fs layer 02:39:13 e1ff8fa3b103: Pulling fs layer 02:39:13 52ebb69f0ebf: Pulling fs layer 02:39:13 5abe8eddf0d5: Pulling fs layer 02:39:13 e1ff8fa3b103: Waiting 02:39:13 52ebb69f0ebf: Waiting 02:39:13 169dfbe0d373: Waiting 02:39:13 55522c791124: Verifying Checksum 02:39:13 55522c791124: Download complete 02:39:13 169dfbe0d373: Verifying Checksum 02:39:13 169dfbe0d373: Download complete 02:39:13 e1ff8fa3b103: Verifying Checksum 02:39:13 e1ff8fa3b103: Download complete 02:39:13 af6eaf76a39c: Verifying Checksum 02:39:13 af6eaf76a39c: Download complete 02:39:14 af6eaf76a39c: Pull complete 02:39:14 5abe8eddf0d5: Verifying Checksum 02:39:14 5abe8eddf0d5: Download complete 02:39:15 55522c791124: Pull complete 02:39:16 ce5c4a1c91eb: Verifying Checksum 02:39:16 ce5c4a1c91eb: Download complete 02:39:16 52ebb69f0ebf: Verifying Checksum 02:39:16 52ebb69f0ebf: Download complete 02:39:28 ce5c4a1c91eb: Pull complete 02:39:28 169dfbe0d373: Pull complete 02:39:28 e1ff8fa3b103: Pull complete 02:39:35 52ebb69f0ebf: Pull complete 02:39:36 5abe8eddf0d5: Pull complete 02:39:36 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:39:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:39:36 ---> 6cb57ee374ae 02:39:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:39:38 ---> Running in d887affadd87 02:39:38 Removing intermediate container d887affadd87 02:39:38 ---> 4f88ba98cfc4 02:39:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:39:38 ---> Running in 9e47c5c91f22 02:39:38 Removing intermediate container 9e47c5c91f22 02:39:38 ---> 77536004c5e3 02:39:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:39:38 ---> Running in c18bd8a144b7 02:39:39 Removing intermediate container c18bd8a144b7 02:39:39 ---> d58ee80eb570 02:39:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:39:39 ---> Running in bf4670236a43 02:39:39 Removing intermediate container bf4670236a43 02:39:39 ---> 872febe60229 02:39:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:39:39 ---> Running in 75ae13a56a74 02:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:39:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:39:42 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:39:42 (2/4) Installing libedit (20221030.3.1-r0) 02:39:42 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:39:42 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:39:42 Executing busybox-1.35.0-r29.trigger 02:39:42 OK: 268 MiB in 57 packages 02:39:43 Removing intermediate container 75ae13a56a74 02:39:43 ---> a8dae7aa6408 02:39:43 Step 8/12 : WORKDIR /device-mqtt-go 02:39:43 ---> Running in aa326a62c1ce 02:39:44 Removing intermediate container aa326a62c1ce 02:39:44 ---> c936bbab04a7 02:39:44 Step 9/12 : COPY go.mod vendor* ./ 02:39:44 ---> 4e073feb8029 02:39:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:39:44 ---> Running in 033c61644c33 02:40:52 Removing intermediate container 033c61644c33 02:40:52 ---> abb58fb76e68 02:40:52 Step 11/12 : COPY . . 02:40:52 ---> 7aa318bfa5f8 02:40:52 Step 12/12 : RUN $MAKE 02:40:52 ---> Running in 6afcdf3d9f7d 02:40:52 noop 02:40:52 Removing intermediate container 6afcdf3d9f7d 02:40:52 ---> ec3608e4adb5 02:40:52 Successfully built ec3608e4adb5 02:40:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:52 + docker inspect -f . ci-base-image-arm64 02:40:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-9463 does not seem to be running inside a container 02:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:40:54 $ docker top 40c2e27f1146d948427d22ba02d45d3ed0851e874393102d5065b67c5a91a485 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:55 + go version 02:40:55 go version go1.20.2 linux/arm64 [Pipeline] } 02:40:55 $ docker stop --time=1 40c2e27f1146d948427d22ba02d45d3ed0851e874393102d5065b67c5a91a485 02:40:56 $ docker rm -f --volumes 40c2e27f1146d948427d22ba02d45d3ed0851e874393102d5065b67c5a91a485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:57 + docker inspect -f . ci-base-image-arm64 02:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:57 prd-ubuntu20.04-docker-arm64-4c-16g-9463 does not seem to be running inside a container 02:40:57 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:40:58 $ docker top 7a4b7fb5746f9d8436cdf6d7ed0b5b00617927406271bee5d634bc42e153bed3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:59 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 02:40:59 + make test 02:40:59 go test ./... -coverprofile=coverage.out ./... 02:41:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:43:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:43:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:43:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.9% of statements 02:43:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:43:47 go vet ./... 02:44:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:44:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:44:26 ./bin/test-attribution-txt.sh [Pipeline] echo 02:44:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:44:26 $ docker stop --time=1 7a4b7fb5746f9d8436cdf6d7ed0b5b00617927406271bee5d634bc42e153bed3 02:44:29 $ docker rm -f --volumes 7a4b7fb5746f9d8436cdf6d7ed0b5b00617927406271bee5d634bc42e153bed3 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:44:30 Warning: overwriting stash ‘coverage-report’ 02:44:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:44:31 + ls -al . 02:44:31 total 176 02:44:31 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 02:41 . 02:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:38 .. 02:44:31 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 02:38 .dockerignore 02:44:31 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 02:38 .git 02:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:38 .github 02:44:31 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 02:38 .gitignore 02:44:31 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 02:38 .golangci.yml 02:44:31 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 02:38 Attribution.txt 02:44:31 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 02:38 CHANGELOG.md 02:44:31 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 02:38 Dockerfile 02:44:31 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 02:38 GOVERNANCE.md 02:44:31 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 02:38 Jenkinsfile 02:44:31 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 02:38 LICENSE 02:44:31 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 02:38 Makefile 02:44:31 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 02:38 OWNERS.md 02:44:31 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 02:38 README.md 02:44:31 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 02:35 VERSION 02:44:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:38 bin 02:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:38 cmd 02:44:31 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 02:43 coverage.out 02:44:31 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 02:38 go.mod 02:44:31 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 02:38 go.sum 02:44:31 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:38 internal 02:44:31 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:38 mock 02:44:31 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:38 snap 02:44:31 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 02:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:31 + 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=2c1bde9435fddd83639de3716b0c11b051f4304e --label arch=arm64 --label version=0.0.0 . 02:44:32 Sending build context to Docker daemon 3.381MB 02:44:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:44:32 Step 2/24 : FROM ${BASE} AS builder 02:44:32 ---> ec3608e4adb5 02:44:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:44:32 ---> Running in 00cd71e5b8ce 02:44:32 Removing intermediate container 00cd71e5b8ce 02:44:32 ---> f070b900748f 02:44:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:32 ---> Running in 191f1362f272 02:44:33 Removing intermediate container 191f1362f272 02:44:33 ---> 9417a895c227 02:44:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:33 ---> Running in a005dce4a713 02:44:33 Removing intermediate container a005dce4a713 02:44:33 ---> 5002c6b086a0 02:44:33 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:44:33 ---> Running in e94d98739ad6 02:44:33 Removing intermediate container e94d98739ad6 02:44:33 ---> 283463fde3c5 02:44:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:33 ---> Running in da15185d4674 02:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:44:36 OK: 268 MiB in 57 packages 02:44:37 Removing intermediate container da15185d4674 02:44:37 ---> e2b907c7ac79 02:44:37 Step 8/24 : WORKDIR /device-mqtt-go 02:44:37 ---> Running in f770a01b11d9 02:44:38 Removing intermediate container f770a01b11d9 02:44:38 ---> 8b42b7a074eb 02:44:38 Step 9/24 : COPY go.mod vendor* ./ 02:44:38 ---> ec879029a289 02:44:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:38 ---> Running in da9df5199c1d 02:44:42 Removing intermediate container da9df5199c1d 02:44:42 ---> d8839fc79593 02:44:42 Step 11/24 : COPY . . 02:44:43 ---> f2f91e451e22 02:44:43 Step 12/24 : RUN $MAKE 02:44:43 ---> Running in 7acb6e69fc65 02:44:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:47:06 Removing intermediate container 7acb6e69fc65 02:47:06 ---> ba2e1ba6e8b4 02:47:06 Step 13/24 : FROM alpine:3.17 02:47:06 3.17: Pulling from library/alpine 02:47:06 c41833b44d91: Pulling fs layer 02:47:06 c41833b44d91: Verifying Checksum 02:47:06 c41833b44d91: Download complete 02:47:06 c41833b44d91: Pull complete 02:47:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:47:06 Status: Downloaded newer image for alpine:3.17 02:47:06 ---> 51e60588ff2c 02:47:06 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:47:06 ---> Running in 0011bd3bf79c 02:47:06 Removing intermediate container 0011bd3bf79c 02:47:06 ---> 0e9fd1815ef0 02:47:06 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:47:06 ---> Running in e4bf9df7f1fc 02:47:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:47:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:47:06 (1/1) Installing dumb-init (1.2.5-r2) 02:47:06 Executing busybox-1.35.0-r29.trigger 02:47:06 OK: 8 MiB in 16 packages 02:47:06 Removing intermediate container e4bf9df7f1fc 02:47:06 ---> 473e5fa8693e 02:47:06 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:47:06 ---> 59ddcb7e2f92 02:47:06 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:47:06 ---> 6a50e58ab2ff 02:47:06 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:47:06 ---> 6d8484f6f36a 02:47:06 Step 19/24 : EXPOSE 59982 02:47:06 ---> Running in f86cc98dc113 02:47:06 Removing intermediate container f86cc98dc113 02:47:06 ---> 33ce9d6bd4f4 02:47:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:47:06 ---> Running in d3f1368bae4d 02:47:06 Removing intermediate container d3f1368bae4d 02:47:06 ---> 586630fda961 02:47:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:47:06 ---> Running in 8da2534ca77e 02:47:06 Removing intermediate container 8da2534ca77e 02:47:06 ---> 6f7f27184ebd 02:47:06 Step 22/24 : LABEL arch=arm64 02:47:06 ---> Running in 1bc78537c40c 02:47:06 Removing intermediate container 1bc78537c40c 02:47:06 ---> 3ab9c5574bfd 02:47:06 Step 23/24 : LABEL git_sha=2c1bde9435fddd83639de3716b0c11b051f4304e 02:47:06 ---> Running in 28106be5072b 02:47:06 Removing intermediate container 28106be5072b 02:47:06 ---> ba83b572daa3 02:47:06 Step 24/24 : LABEL version=0.0.0 02:47:06 ---> Running in 9bc3973ad14a 02:47:06 Removing intermediate container 9bc3973ad14a 02:47:06 ---> 253d04df8d17 02:47:06 [Warning] One or more build-args [ARCH] were not consumed 02:47:06 Successfully built 253d04df8d17 02:47:06 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:06 02:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:06 arm64: Pulling from edgex-lftools-log-publisher 02:47:06 8998bd30e6a1: Pulling fs layer 02:47:06 04944245beec: Pulling fs layer 02:47:06 699f458cf7ca: Pulling fs layer 02:47:06 765212b225bb: Pulling fs layer 02:47:06 f23df028b6ca: Pulling fs layer 02:47:06 d65c8cfc05b1: Pulling fs layer 02:47:06 2437ff75d9bd: Pulling fs layer 02:47:06 765212b225bb: Waiting 02:47:06 d65c8cfc05b1: Waiting 02:47:06 f23df028b6ca: Waiting 02:47:06 2437ff75d9bd: Waiting 02:47:07 04944245beec: Download complete 02:47:07 765212b225bb: Verifying Checksum 02:47:07 765212b225bb: Download complete 02:47:07 f23df028b6ca: Verifying Checksum 02:47:07 f23df028b6ca: Download complete 02:47:07 d65c8cfc05b1: Verifying Checksum 02:47:07 d65c8cfc05b1: Download complete 02:47:07 699f458cf7ca: Verifying Checksum 02:47:07 699f458cf7ca: Download complete 02:47:07 8998bd30e6a1: Verifying Checksum 02:47:07 8998bd30e6a1: Download complete 02:47:10 2437ff75d9bd: Verifying Checksum 02:47:10 2437ff75d9bd: Download complete 02:47:11 8998bd30e6a1: Pull complete 02:47:12 04944245beec: Pull complete 02:47:13 699f458cf7ca: Pull complete 02:47:13 765212b225bb: Pull complete 02:47:14 f23df028b6ca: Pull complete 02:47:14 d65c8cfc05b1: Pull complete 02:47:29 2437ff75d9bd: Pull complete 02:47:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:30 prd-ubuntu20.04-docker-arm64-4c-16g-9463 does not seem to be running inside a container 02:47:30 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:47:32 $ docker top 158dca87d051eb70fca5a2235c95a6dba60f9ae70cab434c7c9186054b174578 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:33 ---> job-cost.sh 02:47:33 lf-activate-venv: SKIPPING 02:47:33 INFO: No Stack... 02:47:33 INFO: Retrieving Pricing Info for: v3-standard-4 02:47:34 INFO: Archiving Costs [Pipeline] sh 02:47:35 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 02:47:35 + cut -d, -f6 [Pipeline] lock 02:47:35 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] 02:47:35 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] did not exist. Created. 02:47:35 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:35 /w/workspace/device-mqtt-go/2@tmp/durable-4c42e4c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:47:36 + echo total: 0.10999999940395355 [Pipeline] stash 02:47:36 Warning: overwriting stash ‘stack-cost’ 02:47:36 Stashed 1 file(s) [Pipeline] } 02:47:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-576-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:36 $ docker stop --time=1 158dca87d051eb70fca5a2235c95a6dba60f9ae70cab434c7c9186054b174578 02:47:37 $ docker rm -f --volumes 158dca87d051eb70fca5a2235c95a6dba60f9ae70cab434c7c9186054b174578 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:47:38 provisioning config files... 02:47:38 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config8684113212365221814tmp [Pipeline] { [Pipeline] sh 02:47:38 + set +x 02:47:38 + curl -s https://codecov.io/bash 02:47:38 + bash -s -- 02:47:38 02:47:38 _____ _ 02:47:38 / ____| | | 02:47:38 | | ___ __| | ___ ___ _____ __ 02:47:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:47:38 | |___| (_) | (_| | __/ (_| (_) \ V / 02:47:38 \_____\___/ \__,_|\___|\___\___/ \_/ 02:47:38 Bash-1.0.6 02:47:38 02:47:38 02:47:38 ==> git version 2.25.1 found 02:47:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:47:38 Release-Date: 2020-01-08 02:47:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:47:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:47:38 ==> Jenkins CI detected. 02:47:38 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-576 02:47:38 project root: . 02:47:38 --> token set from env 02:47:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:47:38 ==> Running gcov in . (disable via -X gcov) 02:47:38 ==> Python coveragepy not found 02:47:38 ==> Searching for coverage reports in: 02:47:38 + . 02:47:38 -> Found 1 reports 02:47:38 ==> Detecting git/mercurial file structure 02:47:38 ==> Reading reports 02:47:38 + ./coverage.out bytes=18460 02:47:38 ==> Appending adjustments 02:47:38 https://docs.codecov.io/docs/fixing-reports 02:47:38 + Found adjustments 02:47:38 ==> Gzipping contents 02:47:38 4.0K /tmp/codecov.n2riQf.gz 02:47:38 ==> Uploading reports 02:47:38 url: https://codecov.io 02:47:38 query: branch=PR-576&commit=2c1bde9435fddd83639de3716b0c11b051f4304e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-576%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=576&job=&cmd_args= 02:47:38 -> Pinging Codecov 02:47:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-576&commit=2c1bde9435fddd83639de3716b0c11b051f4304e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-576%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=576&job=&cmd_args= 02:47:38 -> Uploading to 02:47:38 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7D719EC7BBE17E464838252E33014C33/2c1bde9435fddd83639de3716b0c11b051f4304e/8d654269-99d0-4afe-95d8-65c54dca0eab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T024738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3b1e0532b6d39c1dd40907634b0626f7ee53c7fbd85c89f54da81d2c03f8ded 02:47:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:47:38 Dload Upload Total Spent Left Speed 02:47:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13369 --:--:-- --:--:-- --:--:-- 13369 02:47:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2c1bde9435fddd83639de3716b0c11b051f4304e [Pipeline] } 02:47:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:47:39 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives ] 02:47:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives 02:47:39 total 16 02:47:39 drwxr-xr-x 3 root root 4096 Apr 24 02:37 . 02:47:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 02:37 .. 02:47:39 drwxr-xr-x 2 root root 4096 Apr 24 02:37 cost 02:47:39 -rw-r--r-- 1 root root 86 Apr 24 02:37 cost.csv 02:47:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives 02:47:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives 02:47:39 total 16 02:47:39 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 02:37 . 02:47:39 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 02:37 .. 02:47:39 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 02:37 cost 02:47:39 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 02:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:47:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:47:40 ---> package-listing.sh 02:47:40 ++ facter osfamily 02:47:40 ++ tr '[:upper:]' '[:lower:]' 02:47:41 + OS_FAMILY=debian 02:47:41 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-576 02:47:41 + START_PACKAGES=/tmp/packages_start.txt 02:47:41 + END_PACKAGES=/tmp/packages_end.txt 02:47:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:47:41 + PACKAGES=/tmp/packages_start.txt 02:47:41 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-576 ']' 02:47:41 + PACKAGES=/tmp/packages_end.txt 02:47:41 + case "${OS_FAMILY}" in 02:47:41 + dpkg -l 02:47:41 + grep '^ii' 02:47:41 + '[' -f /tmp/packages_start.txt ']' 02:47:41 + '[' -f /tmp/packages_end.txt ']' 02:47:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:47:41 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-576 ']' 02:47:41 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives/ 02:47:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-576/archives/ [Pipeline] echo 02:47:41 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-576/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:47:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:47:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:42 prd-ubuntu20.04-docker-8c-8g-9461 does not seem to be running inside a container 02:47:42 $ 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-576/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-576 -v /w/workspace/gexfoundry_device-mqtt-go_PR-576:/w/workspace/gexfoundry_device-mqtt-go_PR-576:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:47:42 $ docker top f2100a073255992667ea9fb50f86549ff14b0a97c8c7d9a20c30bc5b2ca317cb -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:42 + touch /tmp/pre-build-complete [Pipeline] sh 02:47:42 + mkdir -p /var/log/sysstat [Pipeline] sh 02:47:43 + ls /var/log/sa-host 02:47:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:47:43 provisioning config files... 02:47:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-576@tmp/config5100211920168099670tmp [Pipeline] { [Pipeline] echo 02:47:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:47:43 ---> create-netrc.sh [Pipeline] } 02:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:47:43 ---> python-tools-install.sh [Pipeline] echo 02:47:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:47:44 ---> sudo-logs.sh 02:47:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:47:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:47:44 ---> job-cost.sh 02:47:44 lf-activate-venv: SKIPPING 02:47:44 DEBUG: total: 0.2199999988079071 02:47:44 INFO: Retrieving Stack Cost... 02:47:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:47:45 INFO: Archiving Costs [Pipeline] echo 02:47:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:47:45 ---> logs-deploy.sh 02:47:45 lf-activate-venv: SKIPPING 02:47:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-576/2 02:47:45 INFO: archiving workspace using pattern(s): 02:47:46 Archives upload complete. 02:47:46 INFO: archiving logs to Nexus