Pull request #555 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 892aab36583b29d0a9b3c27fb0ca00be30d35f2e+bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 (c2a5b37f61122d8e149bbee7c2f541dcccc62b37) 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-ssh6789280476678531440.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6635647091805412317.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-555/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-555/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9390275652016608933.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14452680133673486825.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-555/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-555/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6855544233030343625.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 ‘prd-ubuntu20.04-docker-8c-8g-7102’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7105 in /w/workspace/gexfoundry_device-mqtt-go_PR-555 [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-555 # 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/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 892aab36583b29d0a9b3c27fb0ca00be30d35f2e Merge succeeded, producing 892aab36583b29d0a9b3c27fb0ca00be30d35f2e Checking out Revision 892aab36583b29d0a9b3c27fb0ca00be30d35f2e (PR-555) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:46:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:46:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:46:02 ========================================================= 07:46:02 EdgeX Global Pipelines Version Info 07:46:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 892aab36583b29d0a9b3c27fb0ca00be30d35f2e # 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 bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 892aab36583b29d0a9b3c27fb0ca00be30d35f2e # timeout=10 > git rev-list --no-walk f03fc1d8a33200e1270beabcfc4ddd503155c2c8 # timeout=10 07:46:03 ------------------- 07:46:03 stable info: 07:46:03 ------------------- 07:46:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:46:03 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:46:03 Message: update stable to v1.0.245 07:46:04 ------------------- 07:46:04 experimental info: 07:46:04 ------------------- 07:46:04 Commited By: **** collab-it+edgex@linuxfoundation.org 07:46:04 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 07:46:04 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-555 [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-555 [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-555 [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 892aab36583b29d0a9b3c27fb0ca00be30d35f2e [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 892aab3 [Pipeline] echo 07:46:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:46:04 provisioning config files... 07:46:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config2991224074722200669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:05 ---> docker-login.sh 07:46:05 nexus3.edgexfoundry.org:10001 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:05 Configure a credential helper to remove this warning. See 07:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:05 07:46:05 Login Succeeded 07:46:05 nexus3.edgexfoundry.org:10002 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:05 Configure a credential helper to remove this warning. See 07:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:05 07:46:05 Login Succeeded 07:46:05 nexus3.edgexfoundry.org:10003 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:05 Configure a credential helper to remove this warning. See 07:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:05 07:46:05 Login Succeeded 07:46:05 nexus3.edgexfoundry.org:10004 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:05 Configure a credential helper to remove this warning. See 07:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:05 07:46:05 Login Succeeded 07:46:05 docker.io 07:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:06 Configure a credential helper to remove this warning. See 07:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:06 07:46:06 Login Succeeded 07:46:06 ---> docker-login.sh ends [Pipeline] } 07:46:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:46:06 + git rev-list -1 --merges 892aab36583b29d0a9b3c27fb0ca00be30d35f2e~1..892aab36583b29d0a9b3c27fb0ca00be30d35f2e [Pipeline] echo 07:46:06 -----------> git rev-list -1 --merges 892aab36583b29d0a9b3c27fb0ca00be30d35f2e~1..892aab36583b29d0a9b3c27fb0ca00be30d35f2e 892aab36583b29d0a9b3c27fb0ca00be30d35f2e [false] [Pipeline] sh 07:46:06 + git log --format=format:%s -1 892aab36583b29d0a9b3c27fb0ca00be30d35f2e [Pipeline] echo 07:46:06 ========================================================= 07:46:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:46:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:46:07 + git log --format=format:%s -1 892aab36583b29d0a9b3c27fb0ca00be30d35f2e [Pipeline] echo 07:46:07 [semverPrep] GIT_COMMIT: 892aab36583b29d0a9b3c27fb0ca00be30d35f2e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 07:46:07 [semverPrep] This is not a build commit. [Pipeline] sh 07:46:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:46:07 + grep -v github /etc/ssh/ssh_known_hosts 07:46:07 + [ -e /tmp/ssh_known_hosts ] 07:46:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:46:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:46:07 + sudo tee -a /etc/ssh/ssh_known_hosts 07:46:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:07 07:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:08 0.1.4: Pulling from edgex-devops/py-git-semver 07:46:08 b85a868b505f: Pulling fs layer 07:46:08 e2be974225ed: Pulling fs layer 07:46:08 339a4e72a1f5: Pulling fs layer 07:46:08 988bab9f4d93: Pulling fs layer 07:46:08 1469e6f7b9e6: Pulling fs layer 07:46:08 eaf3925da568: Pulling fs layer 07:46:08 bab4dde63d76: Pulling fs layer 07:46:08 bde34c3a00c8: Pulling fs layer 07:46:08 b352a97aabf1: Pulling fs layer 07:46:08 4872d77fe225: Pulling fs layer 07:46:08 5851b861e8e6: Pulling fs layer 07:46:08 eaf3925da568: Waiting 07:46:08 bab4dde63d76: Waiting 07:46:08 bde34c3a00c8: Waiting 07:46:08 b352a97aabf1: Waiting 07:46:08 4872d77fe225: Waiting 07:46:08 5851b861e8e6: Waiting 07:46:08 988bab9f4d93: Waiting 07:46:08 1469e6f7b9e6: Waiting 07:46:08 e2be974225ed: Download complete 07:46:08 988bab9f4d93: Download complete 07:46:08 339a4e72a1f5: Verifying Checksum 07:46:08 339a4e72a1f5: Download complete 07:46:08 1469e6f7b9e6: Verifying Checksum 07:46:08 1469e6f7b9e6: Download complete 07:46:08 eaf3925da568: Download complete 07:46:08 bde34c3a00c8: Verifying Checksum 07:46:08 bde34c3a00c8: Download complete 07:46:08 b352a97aabf1: Download complete 07:46:08 4872d77fe225: Download complete 07:46:08 5851b861e8e6: Download complete 07:46:08 b85a868b505f: Verifying Checksum 07:46:08 b85a868b505f: Download complete 07:46:08 bab4dde63d76: Verifying Checksum 07:46:08 bab4dde63d76: Download complete 07:46:09 b85a868b505f: Pull complete 07:46:09 e2be974225ed: Pull complete 07:46:10 339a4e72a1f5: Pull complete 07:46:10 988bab9f4d93: Pull complete 07:46:10 1469e6f7b9e6: Pull complete 07:46:10 eaf3925da568: Pull complete 07:46:12 bab4dde63d76: Pull complete 07:46:12 bde34c3a00c8: Pull complete 07:46:12 b352a97aabf1: Pull complete 07:46:12 4872d77fe225: Pull complete 07:46:12 5851b861e8e6: Pull complete 07:46:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:46:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:46:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:46:12 prd-ubuntu20.04-docker-8c-8g-7105 does not seem to be running inside a container 07:46:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:46:15 $ docker top 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 -eo pid,comm 07:46:15 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). 07:46:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:46:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:46:15 [ssh-agent] Looking for ssh-agent implementation... 07:46:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:46:15 $ docker exec 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 ssh-agent 07:46:15 SSH_AUTH_SOCK=/tmp/ssh-P4pjGTB2bcrw/agent.33 07:46:15 SSH_AGENT_PID=39 07:46:15 Running ssh-add (command line suppressed) 07:46:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_10873765517460894973.key (/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_10873765517460894973.key) 07:46:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:46:15 + git tag --points-at HEAD [Pipeline] } 07:46:15 $ docker exec --env ******** --env ******** 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 ssh-agent -k 07:46:15 unset SSH_AUTH_SOCK; 07:46:15 unset SSH_AGENT_PID; 07:46:15 echo Agent pid 39 killed; 07:46:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:46:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:46:15 [ssh-agent] Looking for ssh-agent implementation... 07:46:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:46:16 $ docker exec 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 ssh-agent 07:46:16 SSH_AUTH_SOCK=/tmp/ssh-JeoxoiPpKmk7/agent.71 07:46:16 SSH_AGENT_PID=77 07:46:16 Running ssh-add (command line suppressed) 07:46:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_3647965501632182784.key (/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/private_key_3647965501632182784.key) 07:46:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:46:16 + git semver init 07:46:16 2023-04-07 07:46:16,692 [run_init] DEBUG init version:0.0.0 force:False 07:46:16 2023-04-07 07:46:16,693 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver 07:46:16 2023-04-07 07:46:16,693 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver 07:46:16 2023-04-07 07:46:16,694 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-555, universal_newlines=False, shell=None, istream=None) 07:46:17 2023-04-07 07:46:17,522 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.git/info/exclude 07:46:17 2023-04-07 07:46:17,522 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver/PR-555 with force:False 07:46:17 2023-04-07 07:46:17,522 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver/PR-555 07:46:17 2023-04-07 07:46:17,526 [execute] INFO git cat-file --batch-check 07:46:17 2023-04-07 07:46:17,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) 07:46:17 2023-04-07 07:46:17,531 [execute] INFO git cat-file --batch 07:46:17 2023-04-07 07:46:17,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver, universal_newlines=False, shell=None, istream=) 07:46:17 2023-04-07 07:46:17,536 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-555/.semver/PR-555 07:46:17 0.0.0 [Pipeline] } 07:46:17 $ docker exec --env ******** --env ******** 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 ssh-agent -k 07:46:17 unset SSH_AUTH_SOCK; 07:46:17 unset SSH_AGENT_PID; 07:46:17 echo Agent pid 77 killed; 07:46:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:46:18 + git semver [Pipeline] } 07:46:18 $ docker stop --time=1 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 07:46:19 $ docker rm -f --volumes 72f06a198dfbc529e14dde670f8d748fc832bce7b883934b03768f0b786d3f30 [Pipeline] // withDockerContainer [Pipeline] sh 07:46:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:46:20 Stashed 1 file(s) [Pipeline] echo 07:46:20 [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 07:46:20 provisioning config files... 07:46:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config9037530281526352225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:46:20 ---> docker-login.sh 07:46:20 nexus3.edgexfoundry.org:10001 07:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:20 Configure a credential helper to remove this warning. See 07:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:20 07:46:20 Login Succeeded 07:46:20 nexus3.edgexfoundry.org:10002 07:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:20 Configure a credential helper to remove this warning. See 07:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:20 07:46:20 Login Succeeded 07:46:20 nexus3.edgexfoundry.org:10003 07:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:20 Configure a credential helper to remove this warning. See 07:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:20 07:46:20 Login Succeeded 07:46:20 nexus3.edgexfoundry.org:10004 07:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:20 Configure a credential helper to remove this warning. See 07:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:20 07:46:20 Login Succeeded 07:46:20 docker.io 07:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:46:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:46:21 Configure a credential helper to remove this warning. See 07:46:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:46:21 07:46:21 Login Succeeded 07:46:21 ---> docker-login.sh ends [Pipeline] } 07:46:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:46:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:46:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:46:21 ========================================================= 07:46:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:46:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:46:21 + 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 . 07:46:21 Sending build context to Docker daemon 6.416MB 07:46:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:46:21 Step 2/12 : FROM ${BASE} AS builder 07:46:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:46:21 63b65145d645: Pulling fs layer 07:46:21 a2d21d5440eb: Pulling fs layer 07:46:21 935e6c44a52c: Pulling fs layer 07:46:21 94cc34f8dd06: Pulling fs layer 07:46:21 30dea6a524f1: Pulling fs layer 07:46:21 94cc34f8dd06: Waiting 07:46:21 a2aff8979fd8: Pulling fs layer 07:46:21 30dea6a524f1: Waiting 07:46:21 6808be2612f2: Pulling fs layer 07:46:21 a2aff8979fd8: Waiting 07:46:21 f25807f1079a: Pulling fs layer 07:46:21 a2d21d5440eb: Verifying Checksum 07:46:21 a2d21d5440eb: Download complete 07:46:21 94cc34f8dd06: Download complete 07:46:21 30dea6a524f1: Verifying Checksum 07:46:21 30dea6a524f1: Download complete 07:46:21 63b65145d645: Verifying Checksum 07:46:21 63b65145d645: Download complete 07:46:21 a2aff8979fd8: Verifying Checksum 07:46:21 a2aff8979fd8: Download complete 07:46:21 63b65145d645: Pull complete 07:46:22 a2d21d5440eb: Pull complete 07:46:22 f25807f1079a: Verifying Checksum 07:46:22 f25807f1079a: Download complete 07:46:22 935e6c44a52c: Verifying Checksum 07:46:22 935e6c44a52c: Download complete 07:46:22 6808be2612f2: Verifying Checksum 07:46:22 6808be2612f2: Download complete 07:46:25 935e6c44a52c: Pull complete 07:46:25 94cc34f8dd06: Pull complete 07:46:25 30dea6a524f1: Pull complete 07:46:25 a2aff8979fd8: Pull complete 07:46:28 6808be2612f2: Pull complete 07:46:28 f25807f1079a: Pull complete 07:46:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:46:28 ---> 3b553350e43f 07:46:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:46:32 ---> Running in 8c94c74ccdcc 07:46:32 Removing intermediate container 8c94c74ccdcc 07:46:32 ---> d949e4ad75b3 07:46:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:46:32 ---> Running in 7d1fbe75501a 07:46:32 Removing intermediate container 7d1fbe75501a 07:46:32 ---> 7756ffef0710 07:46:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:46:32 ---> Running in ca9b9ccec70d 07:46:32 Removing intermediate container ca9b9ccec70d 07:46:32 ---> f23632534b5d 07:46:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:46:32 ---> Running in 3cb999107ad6 07:46:32 Removing intermediate container 3cb999107ad6 07:46:32 ---> 2528b616ce55 07:46:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:46:33 ---> Running in ee046e6325f2 07:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:46:33 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:46:33 (2/4) Installing libedit (20221030.3.1-r0) 07:46:33 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:46:33 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:46:33 Executing busybox-1.35.0-r29.trigger 07:46:33 OK: 269 MiB in 57 packages 07:46:34 Removing intermediate container ee046e6325f2 07:46:34 ---> f5128c4baebf 07:46:34 Step 8/12 : WORKDIR /device-mqtt-go 07:46:34 ---> Running in 749b3e0263ee 07:46:34 Removing intermediate container 749b3e0263ee 07:46:34 ---> 049031cbf4dc 07:46:34 Step 9/12 : COPY go.mod vendor* ./ 07:46:34 ---> 2163ac531cac 07:46:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:46:34 ---> Running in 819e58edd8a0 07:46:35 Still waiting to schedule task 07:46:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7106’ is offline 07:47:01 Removing intermediate container 819e58edd8a0 07:47:01 ---> b055b63b17d2 07:47:01 Step 11/12 : COPY . . 07:47:01 ---> 7e67c3e87a75 07:47:01 Step 12/12 : RUN $MAKE 07:47:01 ---> Running in 49b169cc8890 07:47:01 noop 07:47:01 Removing intermediate container 49b169cc8890 07:47:01 ---> 27d7a5547696 07:47:01 Successfully built 27d7a5547696 07:47:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:01 + docker inspect -f . ci-base-image-x86_64 07:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:01 prd-ubuntu20.04-docker-8c-8g-7105 does not seem to be running inside a container 07:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:47:01 $ docker top e7200d3e2ab0aa565c3c26c373ab45e09d2a05e7894ce7bf711d480c2c8b200d -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:02 + go version 07:47:02 go version go1.20.2 linux/amd64 [Pipeline] } 07:47:02 $ docker stop --time=1 e7200d3e2ab0aa565c3c26c373ab45e09d2a05e7894ce7bf711d480c2c8b200d 07:47:03 $ docker rm -f --volumes e7200d3e2ab0aa565c3c26c373ab45e09d2a05e7894ce7bf711d480c2c8b200d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:03 + docker inspect -f . ci-base-image-x86_64 07:47:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:03 prd-ubuntu20.04-docker-8c-8g-7105 does not seem to be running inside a container 07:47:04 $ 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-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:47:04 $ docker top 482f1bd2a57ae9fb3668b897657b26ad4217b22d2a82e4843aa23da71446fdf9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:47:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-555 [Pipeline] fileExists [Pipeline] sh 07:47:05 + make test 07:47:05 go test ./... -coverprofile=coverage.out ./... 07:47:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:47:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:47:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:47:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements 07:47:25 go vet ./... 07:47:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:47:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:47:28 ./bin/test-attribution-txt.sh 07:47:28 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:47:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:47:28 $ docker stop --time=1 482f1bd2a57ae9fb3668b897657b26ad4217b22d2a82e4843aa23da71446fdf9 07:47:32 $ docker rm -f --volumes 482f1bd2a57ae9fb3668b897657b26ad4217b22d2a82e4843aa23da71446fdf9 [Pipeline] // withDockerContainer [Pipeline] sh 07:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:47:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:47:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:47:33 + ls -al . 07:47:33 total 180 07:47:33 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 07:47 . 07:47:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:46 .. 07:47:33 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 07:46 .dockerignore 07:47:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 07:46 .git 07:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:46 .github 07:47:33 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 07:46 .gitignore 07:47:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 07:46 .golangci.yml 07:47:33 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 07:46 .semver 07:47:33 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 07:46 Attribution.txt 07:47:33 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 07:46 CHANGELOG.md 07:47:33 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 07:46 Dockerfile 07:47:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 07:46 GOVERNANCE.md 07:47:33 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 07:46 Jenkinsfile 07:47:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 07:46 LICENSE 07:47:33 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 07:46 Makefile 07:47:33 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 07:46 OWNERS.md 07:47:33 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 07:46 README.md 07:47:33 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 07:46 VERSION 07:47:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:46 bin 07:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:46 cmd 07:47:33 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 07:47 coverage.out 07:47:33 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 07:46 go.mod 07:47:33 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 07:46 go.sum 07:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:46 internal 07:47:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:46 mock 07:47:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:46 snap 07:47:33 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 07:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:33 + 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=892aab36583b29d0a9b3c27fb0ca00be30d35f2e --label arch=amd64 --label version=0.0.0 . 07:47:33 Sending build context to Docker daemon 6.435MB 07:47:33 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:47:33 Step 2/24 : FROM ${BASE} AS builder 07:47:33 ---> 27d7a5547696 07:47:33 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:47:33 ---> Running in dea9330c79cc 07:47:34 Removing intermediate container dea9330c79cc 07:47:34 ---> c3262ff656e9 07:47:34 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:47:34 ---> Running in 4985049a924b 07:47:34 Removing intermediate container 4985049a924b 07:47:34 ---> d1e388a10e58 07:47:34 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:47:34 ---> Running in 38024ca7ca8c 07:47:34 Removing intermediate container 38024ca7ca8c 07:47:34 ---> 67a23ff7265c 07:47:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:47:34 ---> Running in 3e2c521dd6c3 07:47:34 Removing intermediate container 3e2c521dd6c3 07:47:34 ---> a10a7cdc41ce 07:47:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:47:34 ---> Running in 44c079ab1cba 07:47:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:47:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:47:34 OK: 269 MiB in 57 packages 07:47:35 Removing intermediate container 44c079ab1cba 07:47:35 ---> a875a433a893 07:47:35 Step 8/24 : WORKDIR /device-mqtt-go 07:47:35 ---> Running in 87b55792a4e7 07:47:35 Removing intermediate container 87b55792a4e7 07:47:35 ---> a33521b4de47 07:47:35 Step 9/24 : COPY go.mod vendor* ./ 07:47:35 ---> 5886c2ee0071 07:47:35 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:47:35 ---> Running in 8902ea080a74 07:47:36 Removing intermediate container 8902ea080a74 07:47:36 ---> 22a9b6585d79 07:47:36 Step 11/24 : COPY . . 07:47:36 ---> 48da550474a0 07:47:36 Step 12/24 : RUN $MAKE 07:47:36 ---> Running in 726777cb0b70 07:47:36 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 07:47:55 Removing intermediate container 726777cb0b70 07:47:55 ---> 7d65470c3741 07:47:55 Step 13/24 : FROM alpine:3.17 07:47:55 3.17: Pulling from library/alpine 07:47:55 f56be85fc22e: Pulling fs layer 07:47:55 f56be85fc22e: Download complete 07:47:55 f56be85fc22e: Pull complete 07:47:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:47:55 Status: Downloaded newer image for alpine:3.17 07:47:55 ---> 9ed4aefc74f6 07:47:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:47:55 ---> Running in 22759510be74 07:47:55 Removing intermediate container 22759510be74 07:47:55 ---> d7ba4f6e761a 07:47:55 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:47:55 ---> Running in 2b964b77c12c 07:47:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:47:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:47:55 (1/1) Installing dumb-init (1.2.5-r2) 07:47:55 Executing busybox-1.35.0-r29.trigger 07:47:55 OK: 7 MiB in 16 packages 07:47:56 Removing intermediate container 2b964b77c12c 07:47:56 ---> c2e1350dcd3a 07:47:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:47:56 ---> f1c16108c022 07:47:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:47:56 ---> bdd19b0ea6bd 07:47:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:47:56 ---> 533d95c6ed72 07:47:56 Step 19/24 : EXPOSE 59982 07:47:56 ---> Running in 83ccc773d1dc 07:47:56 Removing intermediate container 83ccc773d1dc 07:47:56 ---> c98dc322c735 07:47:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:47:56 ---> Running in efb9a1c58b50 07:47:56 Removing intermediate container efb9a1c58b50 07:47:56 ---> 659ba0020dc7 07:47:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:47:56 ---> Running in 3b9693d1904e 07:47:57 Removing intermediate container 3b9693d1904e 07:47:57 ---> 4523467a4c33 07:47:57 Step 22/24 : LABEL arch=amd64 07:47:57 ---> Running in 242171dac575 07:47:57 Removing intermediate container 242171dac575 07:47:57 ---> b3c5f87b5ccc 07:47:57 Step 23/24 : LABEL git_sha=892aab36583b29d0a9b3c27fb0ca00be30d35f2e 07:47:57 ---> Running in 7780bfed7194 07:47:57 Removing intermediate container 7780bfed7194 07:47:57 ---> b3d226502d4e 07:47:57 Step 24/24 : LABEL version=0.0.0 07:47:57 ---> Running in e30e44b01c40 07:47:57 Removing intermediate container e30e44b01c40 07:47:57 ---> c8807b668db9 07:47:57 [Warning] One or more build-args [ARCH] were not consumed 07:47:57 Successfully built c8807b668db9 07:47:57 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 07:47:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:57 07:47:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:47:58 latest: Pulling from edgex-lftools-log-publisher 07:47:58 5eb5b503b376: Pulling fs layer 07:47:58 5c69ac0246d0: Pulling fs layer 07:47:58 ec43610c2a17: Pulling fs layer 07:47:58 3a2ae6a8a46f: Pulling fs layer 07:47:58 33b1e0a273af: Pulling fs layer 07:47:58 5d3b04190fa2: Pulling fs layer 07:47:58 2f39f015ded8: Pulling fs layer 07:47:58 3a2ae6a8a46f: Waiting 07:47:58 33b1e0a273af: Waiting 07:47:58 5d3b04190fa2: Waiting 07:47:58 2f39f015ded8: Waiting 07:47:58 5c69ac0246d0: Verifying Checksum 07:47:58 5c69ac0246d0: Download complete 07:47:58 3a2ae6a8a46f: Verifying Checksum 07:47:58 3a2ae6a8a46f: Download complete 07:47:58 33b1e0a273af: Verifying Checksum 07:47:58 33b1e0a273af: Download complete 07:47:58 ec43610c2a17: Verifying Checksum 07:47:58 ec43610c2a17: Download complete 07:47:58 5d3b04190fa2: Download complete 07:47:58 5eb5b503b376: Verifying Checksum 07:47:58 5eb5b503b376: Download complete 07:47:58 2f39f015ded8: Download complete 07:47:59 5eb5b503b376: Pull complete 07:47:59 5c69ac0246d0: Pull complete 07:47:59 ec43610c2a17: Pull complete 07:47:59 3a2ae6a8a46f: Pull complete 07:48:00 33b1e0a273af: Pull complete 07:48:00 5d3b04190fa2: Pull complete 07:48:04 2f39f015ded8: Pull complete 07:48:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:48:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:48:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:04 prd-ubuntu20.04-docker-8c-8g-7105 does not seem to be running inside a container 07:48:04 $ 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-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:48:07 $ docker top 7fc7cd2650c40e21cfd96146f8a3b4630ca1e3947c45a781afa6402fd7b2afe6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:07 ---> job-cost.sh 07:48:07 lf-activate-venv: SKIPPING 07:48:07 INFO: No Stack... 07:48:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:48:08 INFO: Archiving Costs [Pipeline] sh 07:48:08 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives/cost.csv 07:48:08 + cut -d, -f6 [Pipeline] lock 07:48:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] 07:48:08 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] did not exist. Created. 07:48:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:08 + echo total: 0.2199999988079071 [Pipeline] stash 07:48:08 Stashed 1 file(s) [Pipeline] } 07:48:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:08 $ docker stop --time=1 7fc7cd2650c40e21cfd96146f8a3b4630ca1e3947c45a781afa6402fd7b2afe6 07:48:09 $ docker rm -f --volumes 7fc7cd2650c40e21cfd96146f8a3b4630ca1e3947c45a781afa6402fd7b2afe6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:49:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7108 in /w/workspace/gexfoundry_device-mqtt-go_PR-555 [Pipeline] { [Pipeline] ws 07:49:08 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 07:49:08 Selected Git installation does not exist. Using Default 07:49:08 The recommended git tool is: NONE 07:49:14 using credential edgex-jenkins-ssh 07:49:14 Cloning the remote Git repository 07:49:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:49:14 > git init /w/workspace/device-mqtt-go/3 # timeout=10 07:49:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:49:14 > git --version # timeout=10 07:49:14 > git --version # 'git version 2.25.1' 07:49:14 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:16 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:49:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:49:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:49:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/555/head:refs/remotes/origin/PR-555 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:49:17 Merging remotes/origin/main commit bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 into PR head commit 892aab36583b29d0a9b3c27fb0ca00be30d35f2e 07:49:17 Merge succeeded, producing 892aab36583b29d0a9b3c27fb0ca00be30d35f2e 07:49:17 Checking out Revision 892aab36583b29d0a9b3c27fb0ca00be30d35f2e (PR-555) 07:49:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 07:49:17 > git config core.sparsecheckout # timeout=10 07:49:17 > git checkout -f 892aab36583b29d0a9b3c27fb0ca00be30d35f2e # timeout=10 07:49:17 > git remote # timeout=10 07:49:17 > git config --get remote.origin.url # timeout=10 07:49:17 using GIT_SSH to set credentials SSH Credentials for GitHub 07:49:17 > git merge bc38c5ffd6dd6ea62ea0e86338abc96d012d22c4 # timeout=10 07:49:17 > git rev-parse HEAD^{commit} # timeout=10 07:49:17 > git config core.sparsecheckout # timeout=10 07:49:17 > git checkout -f 892aab36583b29d0a9b3c27fb0ca00be30d35f2e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:49:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:49:19 Dload Upload Total Spent Left Speed 07:49:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 07:49:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:49:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:49:20 + sudo tee /etc/docker/daemon.new 07:49:20 { 07:49:20 "registry-mirrors": [ 07:49:20 "https://nexus3.edgexfoundry.org:10001" 07:49:20 ], 07:49:20 "bip": "10.250.0.254/24", 07:49:20 "hosts": [ 07:49:20 "tcp://0.0.0.0:5555", 07:49:20 "unix:///var/run/docker.sock" 07:49:20 ], 07:49:20 "mtu": 1458, 07:49:20 "selinux-enabled": true, 07:49:20 "seccomp-profile": "/etc/docker/seccomp.json" 07:49:20 } [Pipeline] sh 07:49:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:49:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:39 provisioning config files... 07:49:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config2188210934534167150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:39 ---> docker-login.sh 07:49:39 nexus3.edgexfoundry.org:10001 07:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:40 Configure a credential helper to remove this warning. See 07:49:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:40 07:49:40 Login Succeeded 07:49:40 nexus3.edgexfoundry.org:10002 07:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:40 Configure a credential helper to remove this warning. See 07:49:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:40 07:49:40 Login Succeeded 07:49:40 nexus3.edgexfoundry.org:10003 07:49:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 nexus3.edgexfoundry.org:10004 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 docker.io 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 ---> docker-login.sh ends [Pipeline] } 07:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:49:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:49:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:49:42 ========================================================= 07:49:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:49:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:42 + 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 . 07:49:42 Sending build context to Docker daemon 3.339MB 07:49:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:49:42 Step 2/12 : FROM ${BASE} AS builder 07:49:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:49:43 af6eaf76a39c: Pulling fs layer 07:49:43 55522c791124: Pulling fs layer 07:49:43 ce5c4a1c91eb: Pulling fs layer 07:49:43 169dfbe0d373: Pulling fs layer 07:49:43 e1ff8fa3b103: Pulling fs layer 07:49:43 52ebb69f0ebf: Pulling fs layer 07:49:43 5abe8eddf0d5: Pulling fs layer 07:49:43 e1ff8fa3b103: Waiting 07:49:43 52ebb69f0ebf: Waiting 07:49:43 5abe8eddf0d5: Waiting 07:49:43 169dfbe0d373: Waiting 07:49:43 55522c791124: Verifying Checksum 07:49:43 55522c791124: Download complete 07:49:43 169dfbe0d373: Verifying Checksum 07:49:43 169dfbe0d373: Download complete 07:49:43 e1ff8fa3b103: Verifying Checksum 07:49:43 e1ff8fa3b103: Download complete 07:49:43 af6eaf76a39c: Verifying Checksum 07:49:44 af6eaf76a39c: Pull complete 07:49:44 5abe8eddf0d5: Verifying Checksum 07:49:44 5abe8eddf0d5: Download complete 07:49:44 55522c791124: Pull complete 07:49:45 ce5c4a1c91eb: Verifying Checksum 07:49:45 ce5c4a1c91eb: Download complete 07:49:45 52ebb69f0ebf: Verifying Checksum 07:49:45 52ebb69f0ebf: Download complete 07:49:55 ce5c4a1c91eb: Pull complete 07:49:55 169dfbe0d373: Pull complete 07:49:55 e1ff8fa3b103: Pull complete 07:50:02 52ebb69f0ebf: Pull complete 07:50:06 5abe8eddf0d5: Pull complete 07:50:06 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:50:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:50:06 ---> 6cb57ee374ae 07:50:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:50:08 ---> Running in f3690aa83259 07:50:08 Removing intermediate container f3690aa83259 07:50:08 ---> de3cc764c323 07:50:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:50:08 ---> Running in a170027f6006 07:50:08 Removing intermediate container a170027f6006 07:50:08 ---> df475b203a7e 07:50:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:50:08 ---> Running in 65073e129041 07:50:08 Removing intermediate container 65073e129041 07:50:08 ---> 2f539324a0a8 07:50:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:50:08 ---> Running in 3b31355105b2 07:50:09 Removing intermediate container 3b31355105b2 07:50:09 ---> 21ea6f092b79 07:50:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:50:09 ---> Running in 1b8d3aeeae0a 07:50:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:50:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:50:12 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:50:12 (2/4) Installing libedit (20221030.3.1-r0) 07:50:12 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:50:12 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:50:12 Executing busybox-1.35.0-r29.trigger 07:50:12 OK: 268 MiB in 57 packages 07:50:13 Removing intermediate container 1b8d3aeeae0a 07:50:13 ---> d2b03a852c75 07:50:13 Step 8/12 : WORKDIR /device-mqtt-go 07:50:13 ---> Running in 3c70438c832c 07:50:14 Removing intermediate container 3c70438c832c 07:50:14 ---> a168bc4bdea2 07:50:14 Step 9/12 : COPY go.mod vendor* ./ 07:50:14 ---> 66dff0869893 07:50:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:50:14 ---> Running in 95f7b2e9a8df 07:51:22 Removing intermediate container 95f7b2e9a8df 07:51:22 ---> 9544fc7ed1f7 07:51:22 Step 11/12 : COPY . . 07:51:22 ---> c366dab1ba48 07:51:22 Step 12/12 : RUN $MAKE 07:51:22 ---> Running in 46e53a41370b 07:51:22 noop 07:51:22 Removing intermediate container 46e53a41370b 07:51:22 ---> 5bd0b348ce70 07:51:22 Successfully built 5bd0b348ce70 07:51:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:23 + docker inspect -f . ci-base-image-arm64 07:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:23 prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container 07:51:23 $ 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 07:51:24 $ docker top b406689e8fa147b998eac6a991c70b135048d37ec575d6834286fefd73240a9c -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:25 + go version 07:51:25 go version go1.20.2 linux/arm64 [Pipeline] } 07:51:25 $ docker stop --time=1 b406689e8fa147b998eac6a991c70b135048d37ec575d6834286fefd73240a9c 07:51:27 $ docker rm -f --volumes b406689e8fa147b998eac6a991c70b135048d37ec575d6834286fefd73240a9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:27 + docker inspect -f . ci-base-image-arm64 07:51:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:27 prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container 07:51:28 $ 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 07:51:29 $ docker top fe4ff5421289a9c5310ab344d0d4d004b5cec887465e18a763fd2ae513c23ca2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:30 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 07:51:30 + make test 07:51:30 go test ./... -coverprofile=coverage.out ./... 07:52:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:54:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:54:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:54:21 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.085s coverage: 22.2% of statements 07:54:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:54:21 go vet ./... 07:55:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:55:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:55:00 ./bin/test-attribution-txt.sh 07:55:00 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:55:00 $ docker stop --time=1 fe4ff5421289a9c5310ab344d0d4d004b5cec887465e18a763fd2ae513c23ca2 07:55:02 $ docker rm -f --volumes fe4ff5421289a9c5310ab344d0d4d004b5cec887465e18a763fd2ae513c23ca2 [Pipeline] // withDockerContainer [Pipeline] sh 07:55:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:55:03 Warning: overwriting stash ‘coverage-report’ 07:55:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:55:04 + ls -al . 07:55:04 total 176 07:55:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 07:51 . 07:55:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:49 .. 07:55:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 07:49 .dockerignore 07:55:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 07:49 .git 07:55:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:49 .github 07:55:04 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 07:49 .gitignore 07:55:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 07:49 .golangci.yml 07:55:04 -rw-rw-r-- 1 jenkins jenkins 9288 Apr 7 07:49 Attribution.txt 07:55:04 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 7 07:49 CHANGELOG.md 07:55:04 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 7 07:49 Dockerfile 07:55:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 07:49 GOVERNANCE.md 07:55:04 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 07:49 Jenkinsfile 07:55:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 07:49 LICENSE 07:55:04 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 7 07:49 Makefile 07:55:04 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 07:49 OWNERS.md 07:55:04 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 7 07:49 README.md 07:55:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 07:46 VERSION 07:55:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:49 bin 07:55:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:49 cmd 07:55:04 -rw-r--r-- 1 jenkins jenkins 18047 Apr 7 07:54 coverage.out 07:55:04 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 7 07:49 go.mod 07:55:04 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 7 07:49 go.sum 07:55:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 07:49 internal 07:55:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 07:49 mock 07:55:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 07:49 snap 07:55:04 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 07:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:05 + 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=892aab36583b29d0a9b3c27fb0ca00be30d35f2e --label arch=arm64 --label version=0.0.0 . 07:55:05 Sending build context to Docker daemon 3.358MB 07:55:05 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:55:05 Step 2/24 : FROM ${BASE} AS builder 07:55:05 ---> 5bd0b348ce70 07:55:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:55:05 ---> Running in 86eba5997181 07:55:05 Removing intermediate container 86eba5997181 07:55:05 ---> c5f46cf66782 07:55:05 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:55:05 ---> Running in f2224a8a907e 07:55:06 Removing intermediate container f2224a8a907e 07:55:06 ---> 3581802f62c3 07:55:06 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:55:06 ---> Running in 0697a5da0cec 07:55:06 Removing intermediate container 0697a5da0cec 07:55:06 ---> 58318136c73c 07:55:06 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:55:06 ---> Running in 96b12b6759bd 07:55:07 Removing intermediate container 96b12b6759bd 07:55:07 ---> a6c7bd7b9155 07:55:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:55:07 ---> Running in ba63618c18a3 07:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:55:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:55:09 OK: 268 MiB in 57 packages 07:55:10 Removing intermediate container ba63618c18a3 07:55:10 ---> d58a4cbf3a6d 07:55:10 Step 8/24 : WORKDIR /device-mqtt-go 07:55:10 ---> Running in d42d7c2d17fe 07:55:11 Removing intermediate container d42d7c2d17fe 07:55:11 ---> 90526414a493 07:55:11 Step 9/24 : COPY go.mod vendor* ./ 07:55:12 ---> 8450aee12725 07:55:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:12 ---> Running in c3a4ac045586 07:55:15 Removing intermediate container c3a4ac045586 07:55:15 ---> 7640bb427d40 07:55:15 Step 11/24 : COPY . . 07:55:16 ---> 75e763b65916 07:55:16 Step 12/24 : RUN $MAKE 07:55:16 ---> Running in c3ade4b701e4 07:55:17 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 07:57:24 Removing intermediate container c3ade4b701e4 07:57:24 ---> 925cb79711a2 07:57:24 Step 13/24 : FROM alpine:3.17 07:57:24 3.17: Pulling from library/alpine 07:57:24 c41833b44d91: Pulling fs layer 07:57:24 c41833b44d91: Verifying Checksum 07:57:24 c41833b44d91: Download complete 07:57:24 c41833b44d91: Pull complete 07:57:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:57:24 Status: Downloaded newer image for alpine:3.17 07:57:24 ---> 51e60588ff2c 07:57:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:57:24 ---> Running in da30b1248f3a 07:57:25 Removing intermediate container da30b1248f3a 07:57:25 ---> 95d6ce16e955 07:57:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:57:25 ---> Running in fe959c5cb4ac 07:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:57:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:57:27 (1/1) Installing dumb-init (1.2.5-r2) 07:57:27 Executing busybox-1.35.0-r29.trigger 07:57:27 OK: 8 MiB in 16 packages 07:57:28 Removing intermediate container fe959c5cb4ac 07:57:28 ---> 7e4fc28494ea 07:57:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:57:30 ---> a633694a3403 07:57:30 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:57:30 ---> 2f03dc88c094 07:57:30 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:57:30 ---> a7f249d4b8d7 07:57:30 Step 19/24 : EXPOSE 59982 07:57:31 ---> Running in 3a37c99ebe40 07:57:31 Removing intermediate container 3a37c99ebe40 07:57:31 ---> 8317401c32b9 07:57:31 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:57:31 ---> Running in 6d821f3ff7ee 07:57:31 Removing intermediate container 6d821f3ff7ee 07:57:31 ---> 1719aafad6e1 07:57:31 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:57:31 ---> Running in 428bfeb4ad79 07:57:31 Removing intermediate container 428bfeb4ad79 07:57:31 ---> 27b15f5a7336 07:57:31 Step 22/24 : LABEL arch=arm64 07:57:31 ---> Running in 9e270ef26575 07:57:32 Removing intermediate container 9e270ef26575 07:57:32 ---> 296a107a0453 07:57:32 Step 23/24 : LABEL git_sha=892aab36583b29d0a9b3c27fb0ca00be30d35f2e 07:57:32 ---> Running in 7ade1f18a8df 07:57:32 Removing intermediate container 7ade1f18a8df 07:57:32 ---> 900c4480dc2a 07:57:32 Step 24/24 : LABEL version=0.0.0 07:57:32 ---> Running in 777c8f01a2e2 07:57:32 Removing intermediate container 777c8f01a2e2 07:57:32 ---> 77e3bb033550 07:57:32 [Warning] One or more build-args [ARCH] were not consumed 07:57:32 Successfully built 77e3bb033550 07:57:32 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 07:57:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:57:33 07:57:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:57:33 arm64: Pulling from edgex-lftools-log-publisher 07:57:33 8998bd30e6a1: Pulling fs layer 07:57:33 04944245beec: Pulling fs layer 07:57:33 699f458cf7ca: Pulling fs layer 07:57:33 765212b225bb: Pulling fs layer 07:57:33 f23df028b6ca: Pulling fs layer 07:57:33 d65c8cfc05b1: Pulling fs layer 07:57:33 2437ff75d9bd: Pulling fs layer 07:57:33 f23df028b6ca: Waiting 07:57:33 765212b225bb: Waiting 07:57:33 d65c8cfc05b1: Waiting 07:57:33 2437ff75d9bd: Waiting 07:57:33 04944245beec: Verifying Checksum 07:57:33 04944245beec: Download complete 07:57:33 765212b225bb: Verifying Checksum 07:57:33 765212b225bb: Download complete 07:57:33 f23df028b6ca: Download complete 07:57:33 d65c8cfc05b1: Verifying Checksum 07:57:33 d65c8cfc05b1: Download complete 07:57:33 699f458cf7ca: Verifying Checksum 07:57:33 699f458cf7ca: Download complete 07:57:34 8998bd30e6a1: Verifying Checksum 07:57:34 8998bd30e6a1: Download complete 07:57:36 2437ff75d9bd: Verifying Checksum 07:57:36 2437ff75d9bd: Download complete 07:57:37 8998bd30e6a1: Pull complete 07:57:38 04944245beec: Pull complete 07:57:39 699f458cf7ca: Pull complete 07:57:39 765212b225bb: Pull complete 07:57:40 f23df028b6ca: Pull complete 07:57:40 d65c8cfc05b1: Pull complete 07:57:52 2437ff75d9bd: Pull complete 07:57:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:57:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:57:52 prd-ubuntu20.04-docker-arm64-4c-16g-7108 does not seem to be running inside a container 07:57:53 $ 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 07:57:55 $ docker top e4e5ed13085e3331af66d26fba77bdfdf5991e83564597ada7190aa67071a89f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:55 ---> job-cost.sh 07:57:56 lf-activate-venv: SKIPPING 07:57:56 INFO: No Stack... 07:57:56 INFO: Retrieving Pricing Info for: v3-standard-4 07:57:57 INFO: Archiving Costs [Pipeline] sh 07:57:57 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 07:57:57 + cut -d, -f6 [Pipeline] lock 07:57:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] 07:57:57 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] did not exist. Created. 07:57:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:57:57 /w/workspace/device-mqtt-go/3@tmp/durable-c5b0e848/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:57:58 + echo total: 0.10999999940395355 [Pipeline] stash 07:57:58 Warning: overwriting stash ‘stack-cost’ 07:57:58 Stashed 1 file(s) [Pipeline] } 07:57:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-555-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:57:58 $ docker stop --time=1 e4e5ed13085e3331af66d26fba77bdfdf5991e83564597ada7190aa67071a89f 07:57:59 $ docker rm -f --volumes e4e5ed13085e3331af66d26fba77bdfdf5991e83564597ada7190aa67071a89f [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 07:58:00 provisioning config files... 07:58:00 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config15868336608918095268tmp [Pipeline] { [Pipeline] sh 07:58:00 + set +x 07:58:00 + curl -s https://codecov.io/bash 07:58:00 + bash -s -- 07:58:00 07:58:00 _____ _ 07:58:00 / ____| | | 07:58:00 | | ___ __| | ___ ___ _____ __ 07:58:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:58:00 | |___| (_) | (_| | __/ (_| (_) \ V / 07:58:00 \_____\___/ \__,_|\___|\___\___/ \_/ 07:58:00 Bash-1.0.6 07:58:00 07:58:00 07:58:00 ==> git version 2.25.1 found 07:58:00 ==> 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 07:58:00 Release-Date: 2020-01-08 07:58:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:58:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:58:00 ==> Jenkins CI detected. 07:58:00 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-555 07:58:00 project root: . 07:58:00 --> token set from env 07:58:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:58:00 ==> Running gcov in . (disable via -X gcov) 07:58:00 ==> Python coveragepy not found 07:58:00 ==> Searching for coverage reports in: 07:58:00 + . 07:58:00 -> Found 1 reports 07:58:00 ==> Detecting git/mercurial file structure 07:58:00 ==> Reading reports 07:58:00 + ./coverage.out bytes=18047 07:58:00 ==> Appending adjustments 07:58:00 https://docs.codecov.io/docs/fixing-reports 07:58:00 + Found adjustments 07:58:00 ==> Gzipping contents 07:58:00 4.0K /tmp/codecov.DM8dP0.gz 07:58:00 ==> Uploading reports 07:58:00 url: https://codecov.io 07:58:00 query: branch=PR-555&commit=892aab36583b29d0a9b3c27fb0ca00be30d35f2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-555%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=555&job=&cmd_args= 07:58:00 -> Pinging Codecov 07:58:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-555&commit=892aab36583b29d0a9b3c27fb0ca00be30d35f2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-555%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=555&job=&cmd_args= 07:58:00 -> Uploading to 07:58:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/7D719EC7BBE17E464838252E33014C33/892aab36583b29d0a9b3c27fb0ca00be30d35f2e/91ef526d-69cb-433c-9246-8b66d571a48e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T075800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64e0907536c87db3c920dfa55d83e5d7b204cf867adb1a740e698ca5d76c4cec 07:58:00 % Total % Received % Xferd Average Speed Time Time Time Current 07:58:00 Dload Upload Total Spent Left Speed 07:58:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3127 0 0 100 3127 0 9562 --:--:-- --:--:-- --:--:-- 9562 07:58:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/892aab36583b29d0a9b3c27fb0ca00be30d35f2e [Pipeline] } 07:58:01 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 07:58:01 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives ] 07:58:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives 07:58:01 total 16 07:58:01 drwxr-xr-x 3 root root 4096 Apr 7 07:48 . 07:58:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 07:48 .. 07:58:01 drwxr-xr-x 2 root root 4096 Apr 7 07:48 cost 07:58:01 -rw-r--r-- 1 root root 86 Apr 7 07:48 cost.csv 07:58:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives 07:58:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives 07:58:01 total 16 07:58:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 07:48 . 07:58:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 07:48 .. 07:58:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 07:48 cost 07:58:01 -rw-r--r-- 1 jenkins jenkins 86 Apr 7 07:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:58:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:58:03 ---> package-listing.sh 07:58:03 ++ facter osfamily 07:58:03 ++ tr '[:upper:]' '[:lower:]' 07:58:03 + OS_FAMILY=debian 07:58:03 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-555 07:58:03 + START_PACKAGES=/tmp/packages_start.txt 07:58:03 + END_PACKAGES=/tmp/packages_end.txt 07:58:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:58:03 + PACKAGES=/tmp/packages_start.txt 07:58:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-555 ']' 07:58:03 + PACKAGES=/tmp/packages_end.txt 07:58:03 + case "${OS_FAMILY}" in 07:58:03 + dpkg -l 07:58:03 + grep '^ii' 07:58:03 + '[' -f /tmp/packages_start.txt ']' 07:58:03 + '[' -f /tmp/packages_end.txt ']' 07:58:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:58:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-555 ']' 07:58:03 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives/ 07:58:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-555/archives/ [Pipeline] echo 07:58:03 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-555/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:58:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:58:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:04 prd-ubuntu20.04-docker-8c-8g-7105 does not seem to be running inside a container 07:58:04 $ 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-555/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-555 -v /w/workspace/gexfoundry_device-mqtt-go_PR-555:/w/workspace/gexfoundry_device-mqtt-go_PR-555:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-555@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 07:58:04 $ docker top 721959ee2e4a86a33a1bdb4615830240882733390f0415e5fdce72fd5d112b29 -eo pid,comm [Pipeline] { [Pipeline] sh 07:58:04 + touch /tmp/pre-build-complete [Pipeline] sh 07:58:05 + mkdir -p /var/log/sysstat [Pipeline] sh 07:58:05 + ls /var/log/sa-host 07:58:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:58:05 provisioning config files... 07:58:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-555@tmp/config5433995228704100715tmp [Pipeline] { [Pipeline] echo 07:58:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:58:05 ---> create-netrc.sh [Pipeline] } 07:58:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:58:06 ---> python-tools-install.sh [Pipeline] echo 07:58:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:58:06 ---> sudo-logs.sh 07:58:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:58:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:58:06 ---> job-cost.sh 07:58:06 lf-activate-venv: SKIPPING 07:58:06 DEBUG: total: 0.2199999988079071 07:58:06 INFO: Retrieving Stack Cost... 07:58:07 INFO: Retrieving Pricing Info for: v3-standard-8 07:58:07 INFO: Archiving Costs [Pipeline] echo 07:58:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:58:07 ---> logs-deploy.sh 07:58:07 lf-activate-venv: SKIPPING 07:58:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-555/3 07:58:07 INFO: archiving workspace using pattern(s): 07:58:08 Archives upload complete. 07:58:08 INFO: archiving logs to Nexus