Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 59d9d27582aa15e2ef2e035b449923c99c04be20+a5ec5e69222fbe1cabc57f6e226de7296c53eab0 (28cfcbf304d6ce4c87d9b37634da15750b25a44c) 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-ssh10956782040365189265.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-ssh15148692825678346633.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-565/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-565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16709148791724898633.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-ssh10309078691724668124.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-565/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-565/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8959449547524730859.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9009 in /w/workspace/gexfoundry_device-mqtt-go_PR-565 [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-565 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/565/head:refs/remotes/origin/PR-565 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a5ec5e69222fbe1cabc57f6e226de7296c53eab0 into PR head commit 59d9d27582aa15e2ef2e035b449923c99c04be20 Merge succeeded, producing e80e0b047dc45bb187a6ae380aa83bb02074a2c4 Checking out Revision e80e0b047dc45bb187a6ae380aa83bb02074a2c4 (PR-565) > git config core.sparsecheckout # timeout=10 > git checkout -f 59d9d27582aa15e2ef2e035b449923c99c04be20 # 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 a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e80e0b047dc45bb187a6ae380aa83bb02074a2c4 # timeout=10 Commit message: "Merge commit 'a5ec5e69222fbe1cabc57f6e226de7296c53eab0' into HEAD" > git rev-list --no-walk 59d9d27582aa15e2ef2e035b449923c99c04be20 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:23 ========================================================= 23:17:23 EdgeX Global Pipelines Version Info 23:17:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:23 ------------------- 23:17:23 stable info: 23:17:23 ------------------- 23:17:23 Commited By: Bill Mahoney bill.mahoney@intel.com 23:17:23 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:17:23 Message: update stable to v1.0.248 23:17:24 ------------------- 23:17:24 experimental info: 23:17:24 ------------------- 23:17:24 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:24 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:17:24 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-565 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-565 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-565 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e80e0b047dc45bb187a6ae380aa83bb02074a2c4 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e80e0b0 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:25 provisioning config files... 23:17:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/config11327946259255421379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:25 ---> docker-login.sh 23:17:25 nexus3.edgexfoundry.org:10001 23:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:26 Configure a credential helper to remove this warning. See 23:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:26 23:17:26 Login Succeeded 23:17:26 nexus3.edgexfoundry.org:10002 23:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:26 Configure a credential helper to remove this warning. See 23:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:26 23:17:26 Login Succeeded 23:17:26 nexus3.edgexfoundry.org:10003 23:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:26 Configure a credential helper to remove this warning. See 23:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:26 23:17:26 Login Succeeded 23:17:26 nexus3.edgexfoundry.org:10004 23:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:26 Configure a credential helper to remove this warning. See 23:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:26 23:17:26 Login Succeeded 23:17:26 docker.io 23:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:26 Configure a credential helper to remove this warning. See 23:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:26 23:17:26 Login Succeeded 23:17:26 ---> docker-login.sh ends [Pipeline] } 23:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:27 + git rev-list -1 --merges e80e0b047dc45bb187a6ae380aa83bb02074a2c4~1..e80e0b047dc45bb187a6ae380aa83bb02074a2c4 [Pipeline] echo 23:17:27 -----------> git rev-list -1 --merges e80e0b047dc45bb187a6ae380aa83bb02074a2c4~1..e80e0b047dc45bb187a6ae380aa83bb02074a2c4 e80e0b047dc45bb187a6ae380aa83bb02074a2c4 23:17:27 e80e0b047dc45bb187a6ae380aa83bb02074a2c4 [false] [Pipeline] sh 23:17:27 + git log --format=format:%s -1 e80e0b047dc45bb187a6ae380aa83bb02074a2c4 [Pipeline] echo 23:17:27 ========================================================= 23:17:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:27 + git log --format=format:%s -1 e80e0b047dc45bb187a6ae380aa83bb02074a2c4 [Pipeline] echo 23:17:27 [semverPrep] GIT_COMMIT: e80e0b047dc45bb187a6ae380aa83bb02074a2c4, Commit Message: Merge commit 'a5ec5e69222fbe1cabc57f6e226de7296c53eab0' into HEAD [Pipeline] echo 23:17:27 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:28 + grep -v github /etc/ssh/ssh_known_hosts 23:17:28 + [ -e /tmp/ssh_known_hosts ] 23:17:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:28 + sudo tee -a /etc/ssh/ssh_known_hosts 23:17:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:28 23:17:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:29 0.1.4: Pulling from edgex-devops/py-git-semver 23:17:29 b85a868b505f: Pulling fs layer 23:17:29 e2be974225ed: Pulling fs layer 23:17:29 339a4e72a1f5: Pulling fs layer 23:17:29 988bab9f4d93: Pulling fs layer 23:17:29 1469e6f7b9e6: Pulling fs layer 23:17:29 eaf3925da568: Pulling fs layer 23:17:29 bab4dde63d76: Pulling fs layer 23:17:29 bde34c3a00c8: Pulling fs layer 23:17:29 b352a97aabf1: Pulling fs layer 23:17:29 4872d77fe225: Pulling fs layer 23:17:29 5851b861e8e6: Pulling fs layer 23:17:29 1469e6f7b9e6: Waiting 23:17:29 eaf3925da568: Waiting 23:17:29 4872d77fe225: Waiting 23:17:29 5851b861e8e6: Waiting 23:17:29 bab4dde63d76: Waiting 23:17:29 bde34c3a00c8: Waiting 23:17:29 b352a97aabf1: Waiting 23:17:29 988bab9f4d93: Waiting 23:17:29 e2be974225ed: Verifying Checksum 23:17:29 e2be974225ed: Download complete 23:17:29 988bab9f4d93: Download complete 23:17:29 1469e6f7b9e6: Verifying Checksum 23:17:29 1469e6f7b9e6: Download complete 23:17:29 339a4e72a1f5: Verifying Checksum 23:17:29 339a4e72a1f5: Download complete 23:17:29 eaf3925da568: Verifying Checksum 23:17:29 eaf3925da568: Download complete 23:17:29 bde34c3a00c8: Verifying Checksum 23:17:29 bde34c3a00c8: Download complete 23:17:29 b352a97aabf1: Verifying Checksum 23:17:29 b352a97aabf1: Download complete 23:17:29 4872d77fe225: Verifying Checksum 23:17:29 4872d77fe225: Download complete 23:17:29 5851b861e8e6: Verifying Checksum 23:17:29 5851b861e8e6: Download complete 23:17:29 b85a868b505f: Verifying Checksum 23:17:29 b85a868b505f: Download complete 23:17:29 bab4dde63d76: Verifying Checksum 23:17:29 bab4dde63d76: Download complete 23:17:30 b85a868b505f: Pull complete 23:17:30 e2be974225ed: Pull complete 23:17:31 339a4e72a1f5: Pull complete 23:17:31 988bab9f4d93: Pull complete 23:17:31 1469e6f7b9e6: Pull complete 23:17:31 eaf3925da568: Pull complete 23:17:33 bab4dde63d76: Pull complete 23:17:33 bde34c3a00c8: Pull complete 23:17:33 b352a97aabf1: Pull complete 23:17:33 4872d77fe225: Pull complete 23:17:33 5851b861e8e6: Pull complete 23:17:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:33 prd-ubuntu20.04-docker-8c-8g-9009 does not seem to be running inside a container 23:17:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-565 -v /w/workspace/gexfoundry_device-mqtt-go_PR-565:/w/workspace/gexfoundry_device-mqtt-go_PR-565:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:17:34 $ docker top d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c -eo pid,comm 23:17:34 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). 23:17:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:34 [ssh-agent] Looking for ssh-agent implementation... 23:17:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:34 $ docker exec d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c ssh-agent 23:17:35 SSH_AUTH_SOCK=/tmp/ssh-W5QsmePlzbsV/agent.32 23:17:35 SSH_AGENT_PID=38 23:17:35 Running ssh-add (command line suppressed) 23:17:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/private_key_3850701479233043578.key (/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/private_key_3850701479233043578.key) 23:17:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:35 + git tag --points-at HEAD [Pipeline] } 23:17:35 $ docker exec --env ******** --env ******** d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c ssh-agent -k 23:17:35 unset SSH_AUTH_SOCK; 23:17:35 unset SSH_AGENT_PID; 23:17:35 echo Agent pid 38 killed; 23:17:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:35 [ssh-agent] Looking for ssh-agent implementation... 23:17:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:35 $ docker exec d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c ssh-agent 23:17:35 SSH_AUTH_SOCK=/tmp/ssh-XDmkKSF6HhBq/agent.70 23:17:35 SSH_AGENT_PID=76 23:17:35 Running ssh-add (command line suppressed) 23:17:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/private_key_13426102783889638321.key (/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/private_key_13426102783889638321.key) 23:17:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:36 + git semver init 23:17:36 2023-04-18 23:17:36,427 [run_init] DEBUG init version:0.0.0 force:False 23:17:36 2023-04-18 23:17:36,428 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver 23:17:36 2023-04-18 23:17:36,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver 23:17:36 2023-04-18 23:17:36,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-565, universal_newlines=False, shell=None, istream=None) 23:17:37 2023-04-18 23:17:37,167 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-565/.git/info/exclude 23:17:37 2023-04-18 23:17:37,168 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver/PR-565 with force:False 23:17:37 2023-04-18 23:17:37,168 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver/PR-565 23:17:37 2023-04-18 23:17:37,171 [execute] INFO git cat-file --batch-check 23:17:37 2023-04-18 23:17:37,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver, universal_newlines=False, shell=None, istream=) 23:17:37 2023-04-18 23:17:37,176 [execute] INFO git cat-file --batch 23:17:37 2023-04-18 23:17:37,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver, universal_newlines=False, shell=None, istream=) 23:17:37 2023-04-18 23:17:37,181 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-565/.semver/PR-565 23:17:37 0.0.0 [Pipeline] } 23:17:37 $ docker exec --env ******** --env ******** d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c ssh-agent -k 23:17:37 unset SSH_AUTH_SOCK; 23:17:37 unset SSH_AGENT_PID; 23:17:37 echo Agent pid 76 killed; 23:17:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:37 + git semver [Pipeline] } 23:17:38 $ docker stop --time=1 d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c 23:17:39 $ docker rm -f --volumes d3031ddf3183bd38d382f39c1923a74f4e5b0a7a6607199f0533f6a5c023f79c [Pipeline] // withDockerContainer [Pipeline] sh 23:17:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:17:40 Stashed 1 file(s) [Pipeline] echo 23:17:40 [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 23:17:40 provisioning config files... 23:17:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/config5164161013574325700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:40 ---> docker-login.sh 23:17:40 nexus3.edgexfoundry.org:10001 23:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:40 Configure a credential helper to remove this warning. See 23:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:40 23:17:40 Login Succeeded 23:17:40 nexus3.edgexfoundry.org:10002 23:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:40 Configure a credential helper to remove this warning. See 23:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:40 23:17:40 Login Succeeded 23:17:40 nexus3.edgexfoundry.org:10003 23:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:40 Configure a credential helper to remove this warning. See 23:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:40 23:17:40 Login Succeeded 23:17:40 nexus3.edgexfoundry.org:10004 23:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:40 Configure a credential helper to remove this warning. See 23:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:40 23:17:40 Login Succeeded 23:17:40 docker.io 23:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:41 Configure a credential helper to remove this warning. See 23:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:41 23:17:41 Login Succeeded 23:17:41 ---> docker-login.sh ends [Pipeline] } 23:17:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:17:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:41 ========================================================= 23:17:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:17:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:41 + 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 . 23:17:41 Sending build context to Docker daemon 6.458MB 23:17:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:17:41 Step 2/12 : FROM ${BASE} AS builder 23:17:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:17:41 63b65145d645: Pulling fs layer 23:17:41 a2d21d5440eb: Pulling fs layer 23:17:41 935e6c44a52c: Pulling fs layer 23:17:41 94cc34f8dd06: Pulling fs layer 23:17:41 30dea6a524f1: Pulling fs layer 23:17:41 a2aff8979fd8: Pulling fs layer 23:17:41 6808be2612f2: Pulling fs layer 23:17:41 f25807f1079a: Pulling fs layer 23:17:41 30dea6a524f1: Waiting 23:17:41 6808be2612f2: Waiting 23:17:41 f25807f1079a: Waiting 23:17:41 a2d21d5440eb: Verifying Checksum 23:17:41 a2d21d5440eb: Download complete 23:17:41 94cc34f8dd06: Verifying Checksum 23:17:41 94cc34f8dd06: Download complete 23:17:41 30dea6a524f1: Verifying Checksum 23:17:41 30dea6a524f1: Download complete 23:17:41 63b65145d645: Download complete 23:17:41 a2aff8979fd8: Verifying Checksum 23:17:41 a2aff8979fd8: Download complete 23:17:41 63b65145d645: Pull complete 23:17:41 a2d21d5440eb: Pull complete 23:17:41 f25807f1079a: Verifying Checksum 23:17:41 f25807f1079a: Download complete 23:17:42 935e6c44a52c: Verifying Checksum 23:17:42 935e6c44a52c: Download complete 23:17:42 6808be2612f2: Verifying Checksum 23:17:42 6808be2612f2: Download complete 23:17:45 935e6c44a52c: Pull complete 23:17:45 94cc34f8dd06: Pull complete 23:17:45 30dea6a524f1: Pull complete 23:17:45 a2aff8979fd8: Pull complete 23:17:48 6808be2612f2: Pull complete 23:17:49 f25807f1079a: Pull complete 23:17:49 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:17:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:17:49 ---> 3b553350e43f 23:17:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:17:50 ---> Running in 749ea38c3f0a 23:17:50 Removing intermediate container 749ea38c3f0a 23:17:50 ---> e373643ead43 23:17:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:50 ---> Running in 2175ed06f960 23:17:50 Removing intermediate container 2175ed06f960 23:17:50 ---> d3692163b21f 23:17:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:17:50 ---> Running in c1f989573b0d 23:17:50 Removing intermediate container c1f989573b0d 23:17:50 ---> 96fbe4b936a7 23:17:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:17:50 ---> Running in ba27474f8496 23:17:50 Removing intermediate container ba27474f8496 23:17:50 ---> d1a054f01e85 23:17:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:50 ---> Running in c9fbd23e8a98 23:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:17:51 (2/4) Installing libedit (20221030.3.1-r0) 23:17:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:17:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:17:51 Executing busybox-1.35.0-r29.trigger 23:17:51 OK: 269 MiB in 57 packages 23:17:51 Removing intermediate container c9fbd23e8a98 23:17:51 ---> 5f40e07866a1 23:17:51 Step 8/12 : WORKDIR /device-mqtt-go 23:17:51 ---> Running in 2f84c407e68c 23:17:51 Removing intermediate container 2f84c407e68c 23:17:51 ---> fc608307a3ca 23:17:51 Step 9/12 : COPY go.mod vendor* ./ 23:17:51 ---> f65337591722 23:17:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:51 ---> Running in 8d88e55c1643 23:17:55 Still waiting to schedule task 23:17:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:18:24 Removing intermediate container 8d88e55c1643 23:18:24 ---> 86a8ad70c1ec 23:18:24 Step 11/12 : COPY . . 23:18:24 ---> 9aeb172e24b4 23:18:24 Step 12/12 : RUN $MAKE 23:18:24 ---> Running in 64702c2e38de 23:18:24 noop 23:18:24 Removing intermediate container 64702c2e38de 23:18:24 ---> 87589dc8fc90 23:18:24 Successfully built 87589dc8fc90 23:18:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:24 + docker inspect -f . ci-base-image-x86_64 23:18:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:24 prd-ubuntu20.04-docker-8c-8g-9009 does not seem to be running inside a container 23:18:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-565 -v /w/workspace/gexfoundry_device-mqtt-go_PR-565:/w/workspace/gexfoundry_device-mqtt-go_PR-565:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-565@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 ******** ci-base-image-x86_64 cat 23:18:24 $ docker top 00257c6508ec01b6c102c044c57fdb84b5fb85adbbe3b831293a169a7c41abdc -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:25 + go version 23:18:25 go version go1.20.2 linux/amd64 [Pipeline] } 23:18:25 $ docker stop --time=1 00257c6508ec01b6c102c044c57fdb84b5fb85adbbe3b831293a169a7c41abdc 23:18:26 $ docker rm -f --volumes 00257c6508ec01b6c102c044c57fdb84b5fb85adbbe3b831293a169a7c41abdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:27 + docker inspect -f . ci-base-image-x86_64 23:18:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:27 prd-ubuntu20.04-docker-8c-8g-9009 does not seem to be running inside a container 23:18:27 $ 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-565 -v /w/workspace/gexfoundry_device-mqtt-go_PR-565:/w/workspace/gexfoundry_device-mqtt-go_PR-565:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-565@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 ******** ci-base-image-x86_64 cat 23:18:27 $ docker top fb1493c3364fa1a8c2a7d6d331385f6b97d838c1ddad7458c99eb1c63a35e962 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-565 [Pipeline] fileExists [Pipeline] sh 23:18:28 + make test 23:18:28 go test ./... -coverprofile=coverage.out ./... 23:18:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:18:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:18:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:18:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 21.9% of statements 23:18:49 go vet ./... 23:18:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:54 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:54 $ docker stop --time=1 fb1493c3364fa1a8c2a7d6d331385f6b97d838c1ddad7458c99eb1c63a35e962 23:18:55 $ docker rm -f --volumes fb1493c3364fa1a8c2a7d6d331385f6b97d838c1ddad7458c99eb1c63a35e962 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:57 + ls -al . 23:18:57 total 180 23:18:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 23:18 . 23:18:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 23:17 .. 23:18:57 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 23:17 .dockerignore 23:18:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 23:17 .git 23:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 23:17 .github 23:18:57 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 23:17 .gitignore 23:18:57 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 23:17 .golangci.yml 23:18:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 23:17 .semver 23:18:57 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 18 23:17 Attribution.txt 23:18:57 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 18 23:17 CHANGELOG.md 23:18:57 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 18 23:17 Dockerfile 23:18:57 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 23:17 GOVERNANCE.md 23:18:57 -rw-rw-r-- 1 jenkins jenkins 678 Apr 18 23:17 Jenkinsfile 23:18:57 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 23:17 LICENSE 23:18:57 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 18 23:17 Makefile 23:18:57 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 23:17 OWNERS.md 23:18:57 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 18 23:17 README.md 23:18:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 23:17 VERSION 23:18:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 23:17 bin 23:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 23:17 cmd 23:18:57 -rw-r--r-- 1 jenkins jenkins 18460 Apr 18 23:18 coverage.out 23:18:57 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 18 23:17 go.mod 23:18:57 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 23:17 go.sum 23:18:57 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 23:17 internal 23:18:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 23:17 mock 23:18:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 23:17 snap 23:18:57 -rw-rw-r-- 1 jenkins jenkins 227 Apr 18 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:57 + 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=e80e0b047dc45bb187a6ae380aa83bb02074a2c4 --label arch=amd64 --label version=0.0.0 . 23:18:57 Sending build context to Docker daemon 6.478MB 23:18:57 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:18:57 Step 2/24 : FROM ${BASE} AS builder 23:18:57 ---> 87589dc8fc90 23:18:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:18:57 ---> Running in c1b0791b33b6 23:18:57 Removing intermediate container c1b0791b33b6 23:18:57 ---> 92e8b3c763b7 23:18:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:57 ---> Running in 53b4eab817a5 23:18:57 Removing intermediate container 53b4eab817a5 23:18:57 ---> 80ae8f0740e7 23:18:57 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:57 ---> Running in 80c4c883b47a 23:18:57 Removing intermediate container 80c4c883b47a 23:18:57 ---> b2fc274935a9 23:18:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:18:57 ---> Running in 568773601b47 23:18:58 Removing intermediate container 568773601b47 23:18:58 ---> fab014434c59 23:18:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:58 ---> Running in 3a2eae003906 23:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:58 OK: 269 MiB in 57 packages 23:18:58 Removing intermediate container 3a2eae003906 23:18:58 ---> 90541270ad23 23:18:58 Step 8/24 : WORKDIR /device-mqtt-go 23:18:58 ---> Running in 586813ee3044 23:18:59 Removing intermediate container 586813ee3044 23:18:59 ---> 0507afc8e98d 23:18:59 Step 9/24 : COPY go.mod vendor* ./ 23:18:59 ---> 072d6c6b4680 23:18:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:59 ---> Running in 0b24e41dc96d 23:19:00 Removing intermediate container 0b24e41dc96d 23:19:00 ---> 0bc4c607d418 23:19:00 Step 11/24 : COPY . . 23:19:00 ---> 107f3c20bc39 23:19:00 Step 12/24 : RUN $MAKE 23:19:00 ---> Running in f98a15d0ddac 23:19:00 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 23:19:18 Removing intermediate container f98a15d0ddac 23:19:18 ---> a30f3cadfafa 23:19:18 Step 13/24 : FROM alpine:3.17 23:19:18 3.17: Pulling from library/alpine 23:19:18 f56be85fc22e: Pulling fs layer 23:19:18 f56be85fc22e: Verifying Checksum 23:19:18 f56be85fc22e: Download complete 23:19:18 f56be85fc22e: Pull complete 23:19:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:19:18 Status: Downloaded newer image for alpine:3.17 23:19:18 ---> 9ed4aefc74f6 23:19:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:19:18 ---> Running in 5f28618575f0 23:19:18 Removing intermediate container 5f28618575f0 23:19:18 ---> 41625f7081f6 23:19:18 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:19:18 ---> Running in 7d5461ce7eac 23:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:19 (1/1) Installing dumb-init (1.2.5-r2) 23:19:19 Executing busybox-1.35.0-r29.trigger 23:19:19 OK: 7 MiB in 16 packages 23:19:19 Removing intermediate container 7d5461ce7eac 23:19:19 ---> 1367b47cf7f4 23:19:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:19:20 ---> 716afe8f8460 23:19:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:19:20 ---> c65a20280378 23:19:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:19:20 ---> c1f5bbed1b7b 23:19:20 Step 19/24 : EXPOSE 59982 23:19:20 ---> Running in d266ce0f8f21 23:19:20 Removing intermediate container d266ce0f8f21 23:19:20 ---> b0dd29457d58 23:19:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:19:20 ---> Running in 2250acda35fc 23:19:20 Removing intermediate container 2250acda35fc 23:19:20 ---> 2785aca65000 23:19:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:19:20 ---> Running in ec5db7f0c8d6 23:19:20 Removing intermediate container ec5db7f0c8d6 23:19:20 ---> 58f5808546af 23:19:20 Step 22/24 : LABEL arch=amd64 23:19:20 ---> Running in baa219fdcf1e 23:19:20 Removing intermediate container baa219fdcf1e 23:19:20 ---> 888326fdfb99 23:19:20 Step 23/24 : LABEL git_sha=e80e0b047dc45bb187a6ae380aa83bb02074a2c4 23:19:20 ---> Running in 55244e3613c1 23:19:20 Removing intermediate container 55244e3613c1 23:19:20 ---> cc615d83db8b 23:19:20 Step 24/24 : LABEL version=0.0.0 23:19:20 ---> Running in 2fbe8c030166 23:19:20 Removing intermediate container 2fbe8c030166 23:19:20 ---> eac9ec78c139 23:19:20 [Warning] One or more build-args [ARCH] were not consumed 23:19:20 Successfully built eac9ec78c139 23:19:20 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 23:19:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:21 23:19:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:21 latest: Pulling from edgex-lftools-log-publisher 23:19:21 5eb5b503b376: Pulling fs layer 23:19:21 5c69ac0246d0: Pulling fs layer 23:19:21 ec43610c2a17: Pulling fs layer 23:19:21 3a2ae6a8a46f: Pulling fs layer 23:19:21 33b1e0a273af: Pulling fs layer 23:19:21 5d3b04190fa2: Pulling fs layer 23:19:21 2f39f015ded8: Pulling fs layer 23:19:21 3a2ae6a8a46f: Waiting 23:19:21 33b1e0a273af: Waiting 23:19:21 5d3b04190fa2: Waiting 23:19:21 2f39f015ded8: Waiting 23:19:21 5c69ac0246d0: Verifying Checksum 23:19:21 5c69ac0246d0: Download complete 23:19:21 3a2ae6a8a46f: Verifying Checksum 23:19:21 3a2ae6a8a46f: Download complete 23:19:21 33b1e0a273af: Verifying Checksum 23:19:21 33b1e0a273af: Download complete 23:19:21 ec43610c2a17: Verifying Checksum 23:19:21 ec43610c2a17: Download complete 23:19:21 5d3b04190fa2: Verifying Checksum 23:19:21 5d3b04190fa2: Download complete 23:19:21 5eb5b503b376: Verifying Checksum 23:19:21 5eb5b503b376: Download complete 23:19:22 2f39f015ded8: Download complete 23:19:23 5eb5b503b376: Pull complete 23:19:23 5c69ac0246d0: Pull complete 23:19:23 ec43610c2a17: Pull complete 23:19:23 3a2ae6a8a46f: Pull complete 23:19:23 33b1e0a273af: Pull complete 23:19:24 5d3b04190fa2: Pull complete 23:19:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9010 in /w/workspace/gexfoundry_device-mqtt-go_PR-565 [Pipeline] { [Pipeline] ws 23:19:27 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 23:19:27 Selected Git installation does not exist. Using Default 23:19:27 The recommended git tool is: NONE 23:19:28 2f39f015ded8: Pull complete 23:19:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:19:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:28 prd-ubuntu20.04-docker-8c-8g-9009 does not seem to be running inside a container 23:19:28 $ 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-565 -v /w/workspace/gexfoundry_device-mqtt-go_PR-565:/w/workspace/gexfoundry_device-mqtt-go_PR-565:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-565@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 23:19:29 $ docker top d7e150f3593adf86ee05ae3b84bd29326c0c25150dcb61b5f0c5c309857001c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:29 ---> job-cost.sh 23:19:29 lf-activate-venv: SKIPPING 23:19:29 INFO: No Stack... 23:19:30 INFO: Retrieving Pricing Info for: v3-standard-8 23:19:30 INFO: Archiving Costs [Pipeline] sh 23:19:30 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives/cost.csv 23:19:30 + cut -d, -f6 [Pipeline] lock 23:19:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] 23:19:30 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] did not exist. Created. 23:19:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:31 + echo total: 0.2199999988079071 [Pipeline] stash 23:19:31 Stashed 1 file(s) [Pipeline] } 23:19:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:31 $ docker stop --time=1 d7e150f3593adf86ee05ae3b84bd29326c0c25150dcb61b5f0c5c309857001c3 23:19:32 $ docker rm -f --volumes d7e150f3593adf86ee05ae3b84bd29326c0c25150dcb61b5f0c5c309857001c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 23:19:32 using credential edgex-jenkins-ssh [Pipeline] } [Pipeline] // withEnv 23:19:32 Cloning the remote Git repository [Pipeline] } [Pipeline] // stage [Pipeline] } 23:19:32 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:19:32 > git init /w/workspace/device-mqtt-go/3 # timeout=10 23:19:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:32 > git --version # timeout=10 23:19:32 > git --version # 'git version 2.25.1' 23:19:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:37 Merging remotes/origin/main commit a5ec5e69222fbe1cabc57f6e226de7296c53eab0 into PR head commit 59d9d27582aa15e2ef2e035b449923c99c04be20 23:19:37 Merge succeeded, producing b816bf7317c62679e7c8bc59280fef08dc1b5ca5 23:19:37 Checking out Revision b816bf7317c62679e7c8bc59280fef08dc1b5ca5 (PR-565) 23:19:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/565/head:refs/remotes/origin/PR-565 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:19:37 > git config core.sparsecheckout # timeout=10 23:19:37 > git checkout -f 59d9d27582aa15e2ef2e035b449923c99c04be20 # timeout=10 23:19:37 > git remote # timeout=10 23:19:37 > git config --get remote.origin.url # timeout=10 23:19:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:37 > git merge a5ec5e69222fbe1cabc57f6e226de7296c53eab0 # timeout=10 23:19:37 > git rev-parse HEAD^{commit} # timeout=10 23:19:37 > git config core.sparsecheckout # timeout=10 23:19:37 > git checkout -f b816bf7317c62679e7c8bc59280fef08dc1b5ca5 # timeout=10 23:19:40 Commit message: "Merge commit 'a5ec5e69222fbe1cabc57f6e226de7296c53eab0' into HEAD" 23:19:40 > git rev-list --no-walk 59d9d27582aa15e2ef2e035b449923c99c04be20 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 23:19:41 Dload Upload Total Spent Left Speed 23:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 23:19:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:19:42 + sudo tee /etc/docker/daemon.new 23:19:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:19:42 { 23:19:42 "registry-mirrors": [ 23:19:42 "https://nexus3.edgexfoundry.org:10001" 23:19:42 ], 23:19:42 "bip": "10.250.0.254/24", 23:19:42 "hosts": [ 23:19:42 "tcp://0.0.0.0:5555", 23:19:42 "unix:///var/run/docker.sock" 23:19:42 ], 23:19:42 "mtu": 1458, 23:19:42 "selinux-enabled": true, 23:19:42 "seccomp-profile": "/etc/docker/seccomp.json" 23:19:42 } [Pipeline] sh 23:19:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:19:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:01 provisioning config files... 23:20:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config1923253922636157318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:02 ---> docker-login.sh 23:20:02 nexus3.edgexfoundry.org:10001 23:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:02 Configure a credential helper to remove this warning. See 23:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:02 23:20:02 Login Succeeded 23:20:02 nexus3.edgexfoundry.org:10002 23:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:02 Configure a credential helper to remove this warning. See 23:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:02 23:20:02 Login Succeeded 23:20:02 nexus3.edgexfoundry.org:10003 23:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:03 Configure a credential helper to remove this warning. See 23:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:03 23:20:03 Login Succeeded 23:20:03 nexus3.edgexfoundry.org:10004 23:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:03 Configure a credential helper to remove this warning. See 23:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:03 23:20:03 Login Succeeded 23:20:03 docker.io 23:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:04 Configure a credential helper to remove this warning. See 23:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:04 23:20:04 Login Succeeded 23:20:04 ---> docker-login.sh ends [Pipeline] } 23:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:04 ========================================================= 23:20:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:20:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:04 + 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 . 23:20:05 Sending build context to Docker daemon 3.339MB 23:20:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:20:05 Step 2/12 : FROM ${BASE} AS builder 23:20:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:05 af6eaf76a39c: Pulling fs layer 23:20:05 55522c791124: Pulling fs layer 23:20:05 ce5c4a1c91eb: Pulling fs layer 23:20:05 169dfbe0d373: Pulling fs layer 23:20:05 e1ff8fa3b103: Pulling fs layer 23:20:05 52ebb69f0ebf: Pulling fs layer 23:20:05 5abe8eddf0d5: Pulling fs layer 23:20:05 169dfbe0d373: Waiting 23:20:05 e1ff8fa3b103: Waiting 23:20:05 52ebb69f0ebf: Waiting 23:20:05 5abe8eddf0d5: Waiting 23:20:05 55522c791124: Verifying Checksum 23:20:05 55522c791124: Download complete 23:20:05 169dfbe0d373: Download complete 23:20:05 e1ff8fa3b103: Verifying Checksum 23:20:05 e1ff8fa3b103: Download complete 23:20:05 af6eaf76a39c: Verifying Checksum 23:20:05 af6eaf76a39c: Download complete 23:20:06 af6eaf76a39c: Pull complete 23:20:06 5abe8eddf0d5: Verifying Checksum 23:20:06 5abe8eddf0d5: Download complete 23:20:07 55522c791124: Pull complete 23:20:08 ce5c4a1c91eb: Verifying Checksum 23:20:08 ce5c4a1c91eb: Download complete 23:20:08 52ebb69f0ebf: Verifying Checksum 23:20:08 52ebb69f0ebf: Download complete 23:20:20 ce5c4a1c91eb: Pull complete 23:20:20 169dfbe0d373: Pull complete 23:20:20 e1ff8fa3b103: Pull complete 23:20:27 52ebb69f0ebf: Pull complete 23:20:29 5abe8eddf0d5: Pull complete 23:20:29 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:20:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:20:29 ---> 6cb57ee374ae 23:20:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:20:30 ---> Running in 02b585eebe6d 23:20:30 Removing intermediate container 02b585eebe6d 23:20:30 ---> 25f8f1c4f5aa 23:20:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:30 ---> Running in 17567440663b 23:20:31 Removing intermediate container 17567440663b 23:20:31 ---> 754ee2a6c7e9 23:20:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:31 ---> Running in 6b1c060b623f 23:20:31 Removing intermediate container 6b1c060b623f 23:20:31 ---> 3116882f9c2b 23:20:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:20:31 ---> Running in 64895868e36f 23:20:32 Removing intermediate container 64895868e36f 23:20:32 ---> 6221a89850c1 23:20:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:32 ---> Running in d61c3a145a51 23:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:34 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:20:34 (2/4) Installing libedit (20221030.3.1-r0) 23:20:34 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:20:34 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:20:34 Executing busybox-1.35.0-r29.trigger 23:20:34 OK: 268 MiB in 57 packages 23:20:36 Removing intermediate container d61c3a145a51 23:20:36 ---> f2a17c4ff043 23:20:36 Step 8/12 : WORKDIR /device-mqtt-go 23:20:36 ---> Running in 3be701a6e6d0 23:20:36 Removing intermediate container 3be701a6e6d0 23:20:36 ---> 69d0fa1d6cb3 23:20:36 Step 9/12 : COPY go.mod vendor* ./ 23:20:36 ---> 8115da96f16e 23:20:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:36 ---> Running in 644ba1470b74 23:21:44 Removing intermediate container 644ba1470b74 23:21:44 ---> 28afd131f054 23:21:44 Step 11/12 : COPY . . 23:21:44 ---> d590fed7e226 23:21:44 Step 12/12 : RUN $MAKE 23:21:44 ---> Running in 40bf4e46a6ca 23:21:44 noop 23:21:44 Removing intermediate container 40bf4e46a6ca 23:21:44 ---> 0b5b886aad95 23:21:44 Successfully built 0b5b886aad95 23:21:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:45 + docker inspect -f . ci-base-image-arm64 23:21:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:45 prd-ubuntu20.04-docker-arm64-4c-16g-9010 does not seem to be running inside a container 23:21:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-arm64 cat 23:21:46 $ docker top f0a91cd27035aeaa25cf8fb46ce0840977a695de5010533e4e26e5fe0a1a1199 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:47 + go version 23:21:47 go version go1.20.2 linux/arm64 [Pipeline] } 23:21:47 $ docker stop --time=1 f0a91cd27035aeaa25cf8fb46ce0840977a695de5010533e4e26e5fe0a1a1199 23:21:49 $ docker rm -f --volumes f0a91cd27035aeaa25cf8fb46ce0840977a695de5010533e4e26e5fe0a1a1199 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:49 + docker inspect -f . ci-base-image-arm64 23:21:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:50 prd-ubuntu20.04-docker-arm64-4c-16g-9010 does not seem to be running inside a container 23:21:50 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** ci-base-image-arm64 cat 23:21:51 $ docker top 34b42ba3dcbd742114749bea548d03863b7e113303760a10d5317bf258582ee9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 23:21:52 + make test 23:21:52 go test ./... -coverprofile=coverage.out ./... 23:22:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.9% of statements 23:24:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:16 go vet ./... 23:24:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:55 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:24:55 $ docker stop --time=1 34b42ba3dcbd742114749bea548d03863b7e113303760a10d5317bf258582ee9 23:24:57 $ docker rm -f --volumes 34b42ba3dcbd742114749bea548d03863b7e113303760a10d5317bf258582ee9 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:58 Warning: overwriting stash ‘coverage-report’ 23:24:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:00 + ls -al . 23:25:00 total 176 23:25:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 23:21 . 23:25:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 23:19 .. 23:25:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 23:19 .dockerignore 23:25:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 23:19 .git 23:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 23:19 .github 23:25:00 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 23:19 .gitignore 23:25:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 23:19 .golangci.yml 23:25:00 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 18 23:19 Attribution.txt 23:25:00 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 18 23:19 CHANGELOG.md 23:25:00 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 18 23:19 Dockerfile 23:25:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 23:19 GOVERNANCE.md 23:25:00 -rw-rw-r-- 1 jenkins jenkins 678 Apr 18 23:19 Jenkinsfile 23:25:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 23:19 LICENSE 23:25:00 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 18 23:19 Makefile 23:25:00 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 23:19 OWNERS.md 23:25:00 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 18 23:19 README.md 23:25:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 23:17 VERSION 23:25:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 23:19 bin 23:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 23:19 cmd 23:25:00 -rw-r--r-- 1 jenkins jenkins 18460 Apr 18 23:24 coverage.out 23:25:00 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 18 23:19 go.mod 23:25:00 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 23:19 go.sum 23:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 23:19 internal 23:25:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 23:19 mock 23:25:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 23:19 snap 23:25:00 -rw-rw-r-- 1 jenkins jenkins 227 Apr 18 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:00 + 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=b816bf7317c62679e7c8bc59280fef08dc1b5ca5 --label arch=arm64 --label version=0.0.0 . 23:25:00 Sending build context to Docker daemon 3.358MB 23:25:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:25:00 Step 2/24 : FROM ${BASE} AS builder 23:25:00 ---> 0b5b886aad95 23:25:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:25:00 ---> Running in e24107f678f8 23:25:01 Removing intermediate container e24107f678f8 23:25:01 ---> 3948dcdf42b7 23:25:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:01 ---> Running in 3c5dcfae33b2 23:25:01 Removing intermediate container 3c5dcfae33b2 23:25:01 ---> 1ecbc653207f 23:25:01 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:25:01 ---> Running in 11ab1ff292d5 23:25:01 Removing intermediate container 11ab1ff292d5 23:25:01 ---> 130fbb532cd2 23:25:01 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:25:02 ---> Running in 07c28749614f 23:25:02 Removing intermediate container 07c28749614f 23:25:02 ---> ce9c70f16152 23:25:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:02 ---> Running in 644336da0742 23:25:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:05 OK: 268 MiB in 57 packages 23:25:06 Removing intermediate container 644336da0742 23:25:06 ---> e0b1d689fc2a 23:25:06 Step 8/24 : WORKDIR /device-mqtt-go 23:25:06 ---> Running in f09c7e8b0ca3 23:25:06 Removing intermediate container f09c7e8b0ca3 23:25:06 ---> b7f901bb80f8 23:25:06 Step 9/24 : COPY go.mod vendor* ./ 23:25:06 ---> c5f83d6770f6 23:25:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:06 ---> Running in 7c7962ecd6c6 23:25:11 Removing intermediate container 7c7962ecd6c6 23:25:11 ---> f40e2f6587cb 23:25:11 Step 11/24 : COPY . . 23:25:11 ---> ea446c8b8ede 23:25:11 Step 12/24 : RUN $MAKE 23:25:11 ---> Running in 97a408b583cb 23:25:12 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 23:27:19 Removing intermediate container 97a408b583cb 23:27:19 ---> 2bed45e311fd 23:27:19 Step 13/24 : FROM alpine:3.17 23:27:19 3.17: Pulling from library/alpine 23:27:19 c41833b44d91: Pulling fs layer 23:27:19 c41833b44d91: Download complete 23:27:19 c41833b44d91: Pull complete 23:27:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:27:19 Status: Downloaded newer image for alpine:3.17 23:27:19 ---> 51e60588ff2c 23:27:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:27:19 ---> Running in d8bf8cffa999 23:27:19 Removing intermediate container d8bf8cffa999 23:27:19 ---> 64bba8e2f030 23:27:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:27:19 ---> Running in 19123a57bcf2 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:19 (1/1) Installing dumb-init (1.2.5-r2) 23:27:19 Executing busybox-1.35.0-r29.trigger 23:27:19 OK: 8 MiB in 16 packages 23:27:19 Removing intermediate container 19123a57bcf2 23:27:19 ---> 89c162e5f712 23:27:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:27:21 ---> 0e8a3d802652 23:27:21 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:27:21 ---> 006663ae450f 23:27:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:27:21 ---> 4ec639efb562 23:27:21 Step 19/24 : EXPOSE 59982 23:27:22 ---> Running in 5b28e3fd26fa 23:27:24 Removing intermediate container 5b28e3fd26fa 23:27:24 ---> e9b2a527ae5c 23:27:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:27:24 ---> Running in 6a50ec6199e3 23:27:24 Removing intermediate container 6a50ec6199e3 23:27:24 ---> 487510628e9c 23:27:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:27:24 ---> Running in 992fbeb81780 23:27:24 Removing intermediate container 992fbeb81780 23:27:24 ---> a41066a7d5c5 23:27:24 Step 22/24 : LABEL arch=arm64 23:27:24 ---> Running in 4d520d74d08f 23:27:25 Removing intermediate container 4d520d74d08f 23:27:25 ---> 0c589f65e1c1 23:27:25 Step 23/24 : LABEL git_sha=b816bf7317c62679e7c8bc59280fef08dc1b5ca5 23:27:25 ---> Running in b754750af9a9 23:27:25 Removing intermediate container b754750af9a9 23:27:25 ---> 42ed48e79199 23:27:25 Step 24/24 : LABEL version=0.0.0 23:27:25 ---> Running in a4b72c706b5a 23:27:25 Removing intermediate container a4b72c706b5a 23:27:25 ---> 6204609ed8cb 23:27:25 [Warning] One or more build-args [ARCH] were not consumed 23:27:25 Successfully built 6204609ed8cb 23:27:25 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 23:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:26 23:27:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:26 arm64: Pulling from edgex-lftools-log-publisher 23:27:26 8998bd30e6a1: Pulling fs layer 23:27:26 04944245beec: Pulling fs layer 23:27:26 699f458cf7ca: Pulling fs layer 23:27:26 765212b225bb: Pulling fs layer 23:27:26 f23df028b6ca: Pulling fs layer 23:27:26 d65c8cfc05b1: Pulling fs layer 23:27:26 2437ff75d9bd: Pulling fs layer 23:27:26 765212b225bb: Waiting 23:27:26 f23df028b6ca: Waiting 23:27:26 d65c8cfc05b1: Waiting 23:27:26 2437ff75d9bd: Waiting 23:27:27 04944245beec: Verifying Checksum 23:27:27 04944245beec: Download complete 23:27:27 765212b225bb: Verifying Checksum 23:27:27 765212b225bb: Download complete 23:27:27 f23df028b6ca: Verifying Checksum 23:27:27 f23df028b6ca: Download complete 23:27:27 d65c8cfc05b1: Verifying Checksum 23:27:27 d65c8cfc05b1: Download complete 23:27:27 699f458cf7ca: Verifying Checksum 23:27:27 699f458cf7ca: Download complete 23:27:27 8998bd30e6a1: Download complete 23:27:30 2437ff75d9bd: Verifying Checksum 23:27:30 2437ff75d9bd: Download complete 23:27:31 8998bd30e6a1: Pull complete 23:27:31 04944245beec: Pull complete 23:27:33 699f458cf7ca: Pull complete 23:27:33 765212b225bb: Pull complete 23:27:33 f23df028b6ca: Pull complete 23:27:34 d65c8cfc05b1: Pull complete 23:27:46 2437ff75d9bd: Pull complete 23:27:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:46 prd-ubuntu20.04-docker-arm64-4c-16g-9010 does not seem to be running inside a container 23:27:46 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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:arm64 cat 23:27:49 $ docker top eeb34fd7930ea3d0c07cb730fe7209fd1d61317c4db110813ecfc47eaea36446 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:50 ---> job-cost.sh 23:27:50 lf-activate-venv: SKIPPING 23:27:50 INFO: No Stack... 23:27:50 INFO: Retrieving Pricing Info for: v3-standard-4 23:27:51 INFO: Archiving Costs [Pipeline] sh 23:27:51 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 23:27:51 + cut -d, -f6 [Pipeline] lock 23:27:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] 23:27:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] did not exist. Created. 23:27:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:52 /w/workspace/device-mqtt-go/3@tmp/durable-b0b891a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:27:53 + echo total: 0.10999999940395355 [Pipeline] stash 23:27:53 Warning: overwriting stash ‘stack-cost’ 23:27:53 Stashed 1 file(s) [Pipeline] } 23:27:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-565-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:53 $ docker stop --time=1 eeb34fd7930ea3d0c07cb730fe7209fd1d61317c4db110813ecfc47eaea36446 23:27:54 $ docker rm -f --volumes eeb34fd7930ea3d0c07cb730fe7209fd1d61317c4db110813ecfc47eaea36446 [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 23:27:55 provisioning config files... 23:27:55 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/config14438398713748718329tmp [Pipeline] { [Pipeline] sh 23:27:55 + set +x 23:27:55 + curl -s https://codecov.io/bash 23:27:55 + bash -s -- 23:27:55 23:27:55 _____ _ 23:27:55 / ____| | | 23:27:55 | | ___ __| | ___ ___ _____ __ 23:27:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:27:55 | |___| (_) | (_| | __/ (_| (_) \ V / 23:27:55 \_____\___/ \__,_|\___|\___\___/ \_/ 23:27:55 Bash-1.0.6 23:27:55 23:27:55 23:27:55 ==> git version 2.25.1 found 23:27:55 ==> 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 23:27:55 Release-Date: 2020-01-08 23:27:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:27:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:27:55 ==> Jenkins CI detected. 23:27:55 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-565 23:27:55 project root: . 23:27:55 --> token set from env 23:27:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:27:55 ==> Running gcov in . (disable via -X gcov) 23:27:55 ==> Python coveragepy not found 23:27:55 ==> Searching for coverage reports in: 23:27:55 + . 23:27:55 -> Found 1 reports 23:27:55 ==> Detecting git/mercurial file structure 23:27:55 ==> Reading reports 23:27:55 + ./coverage.out bytes=18460 23:27:55 ==> Appending adjustments 23:27:55 https://docs.codecov.io/docs/fixing-reports 23:27:55 + Found adjustments 23:27:55 ==> Gzipping contents 23:27:55 4.0K /tmp/codecov.J1sUfR.gz 23:27:55 ==> Uploading reports 23:27:55 url: https://codecov.io 23:27:55 query: branch=PR-565&commit=e80e0b047dc45bb187a6ae380aa83bb02074a2c4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-565%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=565&job=&cmd_args= 23:27:55 -> Pinging Codecov 23:27:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-565&commit=e80e0b047dc45bb187a6ae380aa83bb02074a2c4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-565%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=565&job=&cmd_args= 23:27:56 -> Uploading to 23:27:56 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7D719EC7BBE17E464838252E33014C33/e80e0b047dc45bb187a6ae380aa83bb02074a2c4/ad5445ce-a385-495b-8fcf-c8e404f81214.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T232755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef14d941720a7998302195ca5f72db1443347f969e5f5edc263cd3a9ff69262e 23:27:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:56 Dload Upload Total Spent Left Speed 23:27:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13715 --:--:-- --:--:-- --:--:-- 13715 23:27:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e80e0b047dc45bb187a6ae380aa83bb02074a2c4 [Pipeline] } 23:27:56 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 23:27:57 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives ] 23:27:57 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives 23:27:57 total 16 23:27:57 drwxr-xr-x 3 root root 4096 Apr 18 23:19 . 23:27:57 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 23:19 .. 23:27:57 drwxr-xr-x 2 root root 4096 Apr 18 23:19 cost 23:27:57 -rw-r--r-- 1 root root 86 Apr 18 23:19 cost.csv 23:27:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives 23:27:57 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives 23:27:57 total 16 23:27:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 23:19 . 23:27:57 drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 23:19 .. 23:27:57 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 23:19 cost 23:27:57 -rw-r--r-- 1 jenkins jenkins 86 Apr 18 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:27:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:27:58 ---> package-listing.sh 23:27:58 ++ facter osfamily 23:27:58 ++ tr '[:upper:]' '[:lower:]' 23:27:58 + OS_FAMILY=debian 23:27:58 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-565 23:27:58 + START_PACKAGES=/tmp/packages_start.txt 23:27:58 + END_PACKAGES=/tmp/packages_end.txt 23:27:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:27:58 + PACKAGES=/tmp/packages_start.txt 23:27:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-565 ']' 23:27:58 + PACKAGES=/tmp/packages_end.txt 23:27:58 + case "${OS_FAMILY}" in 23:27:58 + dpkg -l 23:27:58 + grep '^ii' 23:27:58 + '[' -f /tmp/packages_start.txt ']' 23:27:58 + '[' -f /tmp/packages_end.txt ']' 23:27:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:27:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-565 ']' 23:27:58 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives/ 23:27:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-565/archives/ [Pipeline] echo 23:27:58 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-565/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:27:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:59 prd-ubuntu20.04-docker-8c-8g-9009 does not seem to be running inside a container 23:27:59 $ 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-565/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-565 -v /w/workspace/gexfoundry_device-mqtt-go_PR-565:/w/workspace/gexfoundry_device-mqtt-go_PR-565:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-565@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:27:59 $ docker top 348dd492e4629d673237a8336c78684beae9a14a805fb7adaf412f7eb55caedb -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:00 + ls /var/log/sa-host 23:28:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:00 provisioning config files... 23:28:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-565@tmp/config3377977610038912516tmp [Pipeline] { [Pipeline] echo 23:28:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> create-netrc.sh [Pipeline] } 23:28:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> python-tools-install.sh [Pipeline] echo 23:28:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> sudo-logs.sh 23:28:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:02 ---> job-cost.sh 23:28:02 lf-activate-venv: SKIPPING 23:28:02 DEBUG: total: 0.2199999988079071 23:28:02 INFO: Retrieving Stack Cost... 23:28:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:02 INFO: Archiving Costs [Pipeline] echo 23:28:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:03 ---> logs-deploy.sh 23:28:03 lf-activate-venv: SKIPPING 23:28:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-565/3 23:28:03 INFO: archiving workspace using pattern(s): 23:28:04 Archives upload complete. 23:28:04 INFO: archiving logs to Nexus