Pull request #606 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 834f96f9b83474885c5a02ae1c0e5f6b67971a52+a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 (1bd5398a8678ef08e2a3cfc6a5cde937060f0405) 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-ssh6488563679044070033.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8003189115978878250.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-606/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-606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9598087035857593947.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh15198558319804849914.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-606/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-606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7381847769686251159.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-centos7-blackbox-4c-2g-16172’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-16444’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16446’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16447’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16449 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [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-606 # 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/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 into PR head commit 834f96f9b83474885c5a02ae1c0e5f6b67971a52 Merge succeeded, producing 834f96f9b83474885c5a02ae1c0e5f6b67971a52 Checking out Revision 834f96f9b83474885c5a02ae1c0e5f6b67971a52 (PR-606) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:39:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:39:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:39:58 ========================================================= 02:39:58 EdgeX Global Pipelines Version Info 02:39:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # 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 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # timeout=10 > git rev-list --no-walk 5c91ec079efb83b286ff9c5d896639e16431dec1 # timeout=10 02:39:59 ------------------- 02:39:59 stable info: 02:39:59 ------------------- 02:39:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:39:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:39:59 Message: update stable to v1.0.249 02:39:59 ------------------- 02:39:59 experimental info: 02:39:59 ------------------- 02:39:59 Commited By: **** collab-it+edgex@linuxfoundation.org 02:39:59 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:39:59 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:39:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-606 [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-606 [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-606 [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 834f96f9b83474885c5a02ae1c0e5f6b67971a52 [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 834f96f [Pipeline] echo 02:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:00 provisioning config files... 02:40:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config10341075771802486620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:00 ---> docker-login.sh 02:40:00 nexus3.edgexfoundry.org:10001 02:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:01 Configure a credential helper to remove this warning. See 02:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:01 02:40:01 Login Succeeded 02:40:01 nexus3.edgexfoundry.org:10002 02:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:01 Configure a credential helper to remove this warning. See 02:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:01 02:40:01 Login Succeeded 02:40:01 nexus3.edgexfoundry.org:10003 02:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:01 Configure a credential helper to remove this warning. See 02:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:01 02:40:01 Login Succeeded 02:40:01 nexus3.edgexfoundry.org:10004 02:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:01 Configure a credential helper to remove this warning. See 02:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:01 02:40:01 Login Succeeded 02:40:01 docker.io 02:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:01 Configure a credential helper to remove this warning. See 02:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:01 02:40:01 Login Succeeded 02:40:01 ---> docker-login.sh ends [Pipeline] } 02:40:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:40:02 + git rev-list -1 --merges 834f96f9b83474885c5a02ae1c0e5f6b67971a52~1..834f96f9b83474885c5a02ae1c0e5f6b67971a52 [Pipeline] echo 02:40:02 -----------> git rev-list -1 --merges 834f96f9b83474885c5a02ae1c0e5f6b67971a52~1..834f96f9b83474885c5a02ae1c0e5f6b67971a52 834f96f9b83474885c5a02ae1c0e5f6b67971a52 [false] [Pipeline] sh 02:40:02 + git log --format=format:%s -1 834f96f9b83474885c5a02ae1c0e5f6b67971a52 [Pipeline] echo 02:40:02 ========================================================= 02:40:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:40:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:03 + git log --format=format:%s -1 834f96f9b83474885c5a02ae1c0e5f6b67971a52 [Pipeline] echo 02:40:03 [semverPrep] GIT_COMMIT: 834f96f9b83474885c5a02ae1c0e5f6b67971a52, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 02:40:03 [semverPrep] This is not a build commit. [Pipeline] sh 02:40:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:03 + grep -v github /etc/ssh/ssh_known_hosts 02:40:03 + [ -e /tmp/ssh_known_hosts ] 02:40:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:40:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:40:03 + sudo tee -a /etc/ssh/ssh_known_hosts 02:40:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:03 02:40:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:04 0.1.4: Pulling from edgex-devops/py-git-semver 02:40:04 b85a868b505f: Pulling fs layer 02:40:04 e2be974225ed: Pulling fs layer 02:40:04 339a4e72a1f5: Pulling fs layer 02:40:04 988bab9f4d93: Pulling fs layer 02:40:04 1469e6f7b9e6: Pulling fs layer 02:40:04 eaf3925da568: Pulling fs layer 02:40:04 bab4dde63d76: Pulling fs layer 02:40:04 bde34c3a00c8: Pulling fs layer 02:40:04 b352a97aabf1: Pulling fs layer 02:40:04 4872d77fe225: Pulling fs layer 02:40:04 5851b861e8e6: Pulling fs layer 02:40:04 988bab9f4d93: Waiting 02:40:04 bde34c3a00c8: Waiting 02:40:04 1469e6f7b9e6: Waiting 02:40:04 eaf3925da568: Waiting 02:40:04 b352a97aabf1: Waiting 02:40:04 bab4dde63d76: Waiting 02:40:04 4872d77fe225: Waiting 02:40:04 5851b861e8e6: Waiting 02:40:04 e2be974225ed: Download complete 02:40:04 988bab9f4d93: Download complete 02:40:04 1469e6f7b9e6: Verifying Checksum 02:40:04 1469e6f7b9e6: Download complete 02:40:04 339a4e72a1f5: Verifying Checksum 02:40:04 339a4e72a1f5: Download complete 02:40:04 eaf3925da568: Verifying Checksum 02:40:04 eaf3925da568: Download complete 02:40:04 bde34c3a00c8: Download complete 02:40:04 b352a97aabf1: Download complete 02:40:04 4872d77fe225: Verifying Checksum 02:40:04 5851b861e8e6: Verifying Checksum 02:40:04 5851b861e8e6: Download complete 02:40:04 b85a868b505f: Verifying Checksum 02:40:04 b85a868b505f: Download complete 02:40:04 bab4dde63d76: Verifying Checksum 02:40:04 bab4dde63d76: Download complete 02:40:05 b85a868b505f: Pull complete 02:40:05 e2be974225ed: Pull complete 02:40:06 339a4e72a1f5: Pull complete 02:40:06 988bab9f4d93: Pull complete 02:40:07 1469e6f7b9e6: Pull complete 02:40:07 eaf3925da568: Pull complete 02:40:09 bab4dde63d76: Pull complete 02:40:09 bde34c3a00c8: Pull complete 02:40:10 b352a97aabf1: Pull complete 02:40:10 4872d77fe225: Pull complete 02:40:10 5851b861e8e6: Pull complete 02:40:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:10 prd-ubuntu20.04-docker-8c-8g-16449 does not seem to be running inside a container 02:40:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:40:16 $ docker top 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a -eo pid,comm 02:40:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:40:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:16 [ssh-agent] Looking for ssh-agent implementation... 02:40:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:16 $ docker exec 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a ssh-agent 02:40:16 SSH_AUTH_SOCK=/tmp/ssh-IfZf3lLJv4L6/agent.32 02:40:16 SSH_AGENT_PID=38 02:40:16 Running ssh-add (command line suppressed) 02:40:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_15644885663755260830.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_15644885663755260830.key) 02:40:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:16 + git tag --points-at HEAD [Pipeline] } 02:40:16 $ docker exec --env ******** --env ******** 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a ssh-agent -k 02:40:16 unset SSH_AUTH_SOCK; 02:40:16 unset SSH_AGENT_PID; 02:40:16 echo Agent pid 38 killed; 02:40:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:40:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:16 [ssh-agent] Looking for ssh-agent implementation... 02:40:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:17 $ docker exec 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a ssh-agent 02:40:17 SSH_AUTH_SOCK=/tmp/ssh-UbY9ymB8oeCx/agent.70 02:40:17 SSH_AGENT_PID=76 02:40:17 Running ssh-add (command line suppressed) 02:40:17 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_8537932928568022951.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_8537932928568022951.key) 02:40:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:17 + git semver init 02:40:17 2023-05-23 02:40:17,694 [run_init] DEBUG init version:0.0.0 force:False 02:40:17 2023-05-23 02:40:17,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 02:40:17 2023-05-23 02:40:17,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 02:40:17 2023-05-23 02:40:17,695 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606, universal_newlines=False, shell=None, istream=None) 02:40:18 2023-05-23 02:40:18,477 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.git/info/exclude 02:40:18 2023-05-23 02:40:18,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 with force:False 02:40:18 2023-05-23 02:40:18,477 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 02:40:18 2023-05-23 02:40:18,482 [execute] INFO git cat-file --batch-check 02:40:18 2023-05-23 02:40:18,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 02:40:18 2023-05-23 02:40:18,490 [execute] INFO git cat-file --batch 02:40:18 2023-05-23 02:40:18,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 02:40:18 2023-05-23 02:40:18,496 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 02:40:18 0.0.0 [Pipeline] } 02:40:18 $ docker exec --env ******** --env ******** 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a ssh-agent -k 02:40:18 unset SSH_AUTH_SOCK; 02:40:18 unset SSH_AGENT_PID; 02:40:18 echo Agent pid 76 killed; 02:40:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:19 + git semver [Pipeline] } 02:40:19 $ docker stop --time=1 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a 02:40:20 $ docker rm -f --volumes 0553f7b3acc71a666c810bde55d151da21a878066fa8903b65b38931b7987a8a [Pipeline] // withDockerContainer [Pipeline] sh 02:40:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:40:21 Stashed 1 file(s) [Pipeline] echo 02:40:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:21 provisioning config files... 02:40:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config2081294629751148510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:21 ---> docker-login.sh 02:40:21 nexus3.edgexfoundry.org:10001 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 nexus3.edgexfoundry.org:10002 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 nexus3.edgexfoundry.org:10003 02:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:22 Configure a credential helper to remove this warning. See 02:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:22 02:40:22 Login Succeeded 02:40:22 nexus3.edgexfoundry.org:10004 02:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:22 Configure a credential helper to remove this warning. See 02:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:22 02:40:22 Login Succeeded 02:40:22 docker.io 02:40:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:22 Configure a credential helper to remove this warning. See 02:40:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:22 02:40:22 Login Succeeded 02:40:22 ---> docker-login.sh ends [Pipeline] } 02:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:40:22 ========================================================= 02:40:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:40:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:40:22 Sending build context to Docker daemon 6.584MB 02:40:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:40:22 Step 2/12 : FROM ${BASE} AS builder 02:40:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:40:23 f56be85fc22e: Pulling fs layer 02:40:23 85791d961cd3: Pulling fs layer 02:40:23 d694b5ae8c79: Pulling fs layer 02:40:23 9f32a84ed3da: Pulling fs layer 02:40:23 4d19c01a9841: Pulling fs layer 02:40:23 9325e15d5711: Pulling fs layer 02:40:23 556b6ee489ea: Pulling fs layer 02:40:23 c5a4b2cf53e6: Pulling fs layer 02:40:23 9325e15d5711: Waiting 02:40:23 4d19c01a9841: Waiting 02:40:23 556b6ee489ea: Waiting 02:40:23 c5a4b2cf53e6: Waiting 02:40:23 85791d961cd3: Download complete 02:40:23 9f32a84ed3da: Verifying Checksum 02:40:23 9f32a84ed3da: Download complete 02:40:23 4d19c01a9841: Download complete 02:40:23 f56be85fc22e: Verifying Checksum 02:40:23 f56be85fc22e: Download complete 02:40:23 9325e15d5711: Verifying Checksum 02:40:23 9325e15d5711: Download complete 02:40:23 f56be85fc22e: Pull complete 02:40:23 85791d961cd3: Pull complete 02:40:23 d694b5ae8c79: Verifying Checksum 02:40:23 d694b5ae8c79: Download complete 02:40:24 556b6ee489ea: Verifying Checksum 02:40:24 556b6ee489ea: Download complete 02:40:24 c5a4b2cf53e6: Verifying Checksum 02:40:24 c5a4b2cf53e6: Download complete 02:40:27 d694b5ae8c79: Pull complete 02:40:27 9f32a84ed3da: Pull complete 02:40:27 4d19c01a9841: Pull complete 02:40:27 9325e15d5711: Pull complete 02:40:29 556b6ee489ea: Pull complete 02:40:30 c5a4b2cf53e6: Pull complete 02:40:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:40:30 ---> c4be618373d6 02:40:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:40:36 Still waiting to schedule task 02:40:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16448’ 02:40:42 ---> Running in dea0a009b203 02:40:42 Removing intermediate container dea0a009b203 02:40:42 ---> f51aefaabd90 02:40:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:42 ---> Running in aae502d3ae9d 02:40:42 Removing intermediate container aae502d3ae9d 02:40:42 ---> c1e75549ffad 02:40:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:42 ---> Running in d4c2764a8c40 02:40:42 Removing intermediate container d4c2764a8c40 02:40:42 ---> 9e5d74974442 02:40:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:40:42 ---> Running in ae0a0d1ec7c4 02:40:42 Removing intermediate container ae0a0d1ec7c4 02:40:42 ---> a0383d33fbc1 02:40:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:42 ---> Running in 396ed3e6e5cb 02:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:40:42 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:40:42 (2/4) Installing libedit (20221030.3.1-r0) 02:40:42 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:40:42 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:40:42 Executing busybox-1.35.0-r29.trigger 02:40:42 OK: 269 MiB in 57 packages 02:40:43 Removing intermediate container 396ed3e6e5cb 02:40:43 ---> f2ca55b92a80 02:40:43 Step 8/12 : WORKDIR /device-mqtt-go 02:40:43 ---> Running in 01cddf094964 02:40:43 Removing intermediate container 01cddf094964 02:40:43 ---> 55e6640d8e6c 02:40:43 Step 9/12 : COPY go.mod vendor* ./ 02:40:43 ---> 099cd7734751 02:40:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:43 ---> Running in 71b9d1d9c5bc 02:41:22 Removing intermediate container 71b9d1d9c5bc 02:41:22 ---> 1a910d0fd365 02:41:22 Step 11/12 : COPY . . 02:41:22 ---> d8043cf38361 02:41:22 Step 12/12 : RUN $MAKE 02:41:22 ---> Running in 13cc3c9316d0 02:41:22 noop 02:41:22 Removing intermediate container 13cc3c9316d0 02:41:22 ---> 4abbcdc79ace 02:41:22 Successfully built 4abbcdc79ace 02:41:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:22 + docker inspect -f . ci-base-image-x86_64 02:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:22 prd-ubuntu20.04-docker-8c-8g-16449 does not seem to be running inside a container 02:41:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:41:22 $ docker top fb287e38cefc23270a07a637c8596e0b0205ed5ea1b719ee0b2f46b21db4d19c -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:23 + go version 02:41:23 go version go1.20.2 linux/amd64 [Pipeline] } 02:41:23 $ docker stop --time=1 fb287e38cefc23270a07a637c8596e0b0205ed5ea1b719ee0b2f46b21db4d19c 02:41:24 $ docker rm -f --volumes fb287e38cefc23270a07a637c8596e0b0205ed5ea1b719ee0b2f46b21db4d19c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:24 + docker inspect -f . ci-base-image-x86_64 02:41:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:24 prd-ubuntu20.04-docker-8c-8g-16449 does not seem to be running inside a container 02:41:24 $ 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-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:41:25 $ docker top 108b5a8c7a310f7d1d783f9ce11c012cc85d3b1e608472fc71ebb1fa0aac8f4c -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] fileExists [Pipeline] sh 02:41:25 + make test 02:41:25 go test ./... -coverprofile=coverage.out ./... 02:41:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:41:39 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:41:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:41:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 02:41:44 go vet ./... 02:41:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:41:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:41:47 ./bin/test-attribution-txt.sh [Pipeline] echo 02:41:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:41:47 $ docker stop --time=1 108b5a8c7a310f7d1d783f9ce11c012cc85d3b1e608472fc71ebb1fa0aac8f4c 02:41:52 $ docker rm -f --volumes 108b5a8c7a310f7d1d783f9ce11c012cc85d3b1e608472fc71ebb1fa0aac8f4c [Pipeline] // withDockerContainer [Pipeline] sh 02:41:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:41:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:41:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:41:53 + ls -al . 02:41:53 total 180 02:41:53 drwxrwxr-x 10 jenkins jenkins 4096 May 23 02:41 . 02:41:53 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:39 .. 02:41:53 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:39 .dockerignore 02:41:53 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:40 .git 02:41:53 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:39 .github 02:41:53 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:39 .gitignore 02:41:53 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:39 .golangci.yml 02:41:53 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:40 .semver 02:41:53 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:39 Attribution.txt 02:41:53 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:39 CHANGELOG.md 02:41:53 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:39 Dockerfile 02:41:53 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:39 GOVERNANCE.md 02:41:53 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:39 Jenkinsfile 02:41:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:39 LICENSE 02:41:53 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:39 Makefile 02:41:53 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:39 OWNERS.md 02:41:53 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:39 README.md 02:41:53 -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:40 VERSION 02:41:53 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:39 bin 02:41:53 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:39 cmd 02:41:53 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:41 coverage.out 02:41:53 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:39 go.mod 02:41:53 -rw-rw-r-- 1 jenkins jenkins 31418 May 23 02:39 go.sum 02:41:53 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:39 internal 02:41:53 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:39 mock 02:41:53 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:39 snap 02:41:53 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:53 + 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=834f96f9b83474885c5a02ae1c0e5f6b67971a52 --label arch=amd64 --label version=0.0.0 . 02:41:53 Sending build context to Docker daemon 6.603MB 02:41:53 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:41:53 Step 2/24 : FROM ${BASE} AS builder 02:41:53 ---> 4abbcdc79ace 02:41:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:41:54 ---> Running in 1bea47f492dc 02:41:54 Removing intermediate container 1bea47f492dc 02:41:54 ---> 40c37dc1612a 02:41:54 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:41:54 ---> Running in 66e1b7ef0f18 02:41:54 Removing intermediate container 66e1b7ef0f18 02:41:54 ---> 0ff77288cd99 02:41:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:41:54 ---> Running in bcf1534a10a4 02:41:54 Removing intermediate container bcf1534a10a4 02:41:54 ---> 4687b9c6d6a7 02:41:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:41:54 ---> Running in ed13bdbbdef9 02:41:54 Removing intermediate container ed13bdbbdef9 02:41:54 ---> ee53b58dd08a 02:41:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:41:54 ---> Running in 42d6b6979d62 02:41:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:41:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:41:55 OK: 269 MiB in 57 packages 02:41:55 Removing intermediate container 42d6b6979d62 02:41:55 ---> 5f4ee8ecfb42 02:41:55 Step 8/24 : WORKDIR /device-mqtt-go 02:41:55 ---> Running in d17a1b1f91ab 02:41:55 Removing intermediate container d17a1b1f91ab 02:41:55 ---> 1c02ea2246fc 02:41:55 Step 9/24 : COPY go.mod vendor* ./ 02:41:55 ---> a05daf0abe18 02:41:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:41:55 ---> Running in 8e1831339cfe 02:41:56 Removing intermediate container 8e1831339cfe 02:41:56 ---> e73b4cc9246d 02:41:56 Step 11/24 : COPY . . 02:41:56 ---> 7071fd43fbf0 02:41:56 Step 12/24 : RUN $MAKE 02:41:57 ---> Running in 96d382ed62e7 02:41:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:42:19 Removing intermediate container 96d382ed62e7 02:42:19 ---> e60c3f2dcb51 02:42:19 Step 13/24 : FROM alpine:3.17 02:42:19 3.17: Pulling from library/alpine 02:42:19 f56be85fc22e: Already exists 02:42:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:42:19 Status: Downloaded newer image for alpine:3.17 02:42:19 ---> 9ed4aefc74f6 02:42:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:42:19 ---> Running in b278f8065502 02:42:19 Removing intermediate container b278f8065502 02:42:19 ---> a81871339dc0 02:42:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:42:19 ---> Running in 87a8bf83fa84 02:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:42:19 (1/1) Installing dumb-init (1.2.5-r2) 02:42:19 Executing busybox-1.35.0-r29.trigger 02:42:19 OK: 7 MiB in 16 packages 02:42:19 Removing intermediate container 87a8bf83fa84 02:42:19 ---> 31fbb30d74dd 02:42:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:42:19 ---> 36f0cf2b7f42 02:42:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:42:19 ---> b4ac4ac04270 02:42:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:42:20 ---> f5ef78226ed9 02:42:20 Step 19/24 : EXPOSE 59982 02:42:20 ---> Running in 145f029fec28 02:42:20 Removing intermediate container 145f029fec28 02:42:20 ---> 8f30a9ad1cd9 02:42:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:42:20 ---> Running in e3bd0c618fcb 02:42:20 Removing intermediate container e3bd0c618fcb 02:42:20 ---> d7c1527324ff 02:42:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:42:20 ---> Running in 774f49407a2f 02:42:20 Removing intermediate container 774f49407a2f 02:42:20 ---> fc1eb9d6010d 02:42:20 Step 22/24 : LABEL arch=amd64 02:42:20 ---> Running in f4b37c79cbd5 02:42:20 Removing intermediate container f4b37c79cbd5 02:42:20 ---> 269386c625af 02:42:20 Step 23/24 : LABEL git_sha=834f96f9b83474885c5a02ae1c0e5f6b67971a52 02:42:20 ---> Running in f4441d7b5f18 02:42:20 Removing intermediate container f4441d7b5f18 02:42:20 ---> 32dcac764112 02:42:20 Step 24/24 : LABEL version=0.0.0 02:42:20 ---> Running in 2088df681b67 02:42:20 Removing intermediate container 2088df681b67 02:42:20 ---> d698e3cd8ae2 02:42:20 [Warning] One or more build-args [ARCH] were not consumed 02:42:20 Successfully built d698e3cd8ae2 02:42:20 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:21 02:42:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:21 latest: Pulling from edgex-lftools-log-publisher 02:42:21 5eb5b503b376: Pulling fs layer 02:42:21 5c69ac0246d0: Pulling fs layer 02:42:21 ec43610c2a17: Pulling fs layer 02:42:21 3a2ae6a8a46f: Pulling fs layer 02:42:21 33b1e0a273af: Pulling fs layer 02:42:21 5d3b04190fa2: Pulling fs layer 02:42:21 2f39f015ded8: Pulling fs layer 02:42:21 5d3b04190fa2: Waiting 02:42:21 2f39f015ded8: Waiting 02:42:21 3a2ae6a8a46f: Waiting 02:42:21 33b1e0a273af: Waiting 02:42:21 5c69ac0246d0: Verifying Checksum 02:42:21 5c69ac0246d0: Download complete 02:42:21 3a2ae6a8a46f: Verifying Checksum 02:42:21 3a2ae6a8a46f: Download complete 02:42:21 ec43610c2a17: Verifying Checksum 02:42:21 ec43610c2a17: Download complete 02:42:21 33b1e0a273af: Verifying Checksum 02:42:21 33b1e0a273af: Download complete 02:42:21 5d3b04190fa2: Download complete 02:42:21 5eb5b503b376: Verifying Checksum 02:42:21 5eb5b503b376: Download complete 02:42:22 2f39f015ded8: Download complete 02:42:22 5eb5b503b376: Pull complete 02:42:23 5c69ac0246d0: Pull complete 02:42:23 ec43610c2a17: Pull complete 02:42:23 3a2ae6a8a46f: Pull complete 02:42:23 33b1e0a273af: Pull complete 02:42:23 5d3b04190fa2: Pull complete 02:42:28 2f39f015ded8: Pull complete 02:42:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:28 prd-ubuntu20.04-docker-8c-8g-16449 does not seem to be running inside a container 02:42:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:42:35 $ docker top 8ccce7e87d1a463c576c518e76ebdaffb8963e75061c165d7207f1a66c986ba7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:36 ---> job-cost.sh 02:42:36 lf-activate-venv: SKIPPING 02:42:36 INFO: No Stack... 02:42:36 INFO: Retrieving Pricing Info for: v3-standard-8 02:42:36 INFO: Archiving Costs [Pipeline] sh 02:42:37 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/cost.csv 02:42:37 + cut -d, -f6 [Pipeline] lock 02:42:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] 02:42:37 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] did not exist. Created. 02:42:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:42:37 + echo total: 0.2199999988079071 [Pipeline] stash 02:42:37 Stashed 1 file(s) [Pipeline] } 02:42:37 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:42:37 $ docker stop --time=1 8ccce7e87d1a463c576c518e76ebdaffb8963e75061c165d7207f1a66c986ba7 02:42:38 $ docker rm -f --volumes 8ccce7e87d1a463c576c518e76ebdaffb8963e75061c165d7207f1a66c986ba7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:43:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16453 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] { [Pipeline] ws 02:43:39 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 02:43:39 Selected Git installation does not exist. Using Default 02:43:39 The recommended git tool is: NONE 02:43:46 using credential edgex-jenkins-ssh 02:43:46 Cloning the remote Git repository 02:43:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:43:46 > git init /w/workspace/device-mqtt-go/3 # timeout=10 02:43:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:43:46 > git --version # timeout=10 02:43:46 > git --version # 'git version 2.25.1' 02:43:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:43:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:49 Merging remotes/origin/main commit a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 into PR head commit 834f96f9b83474885c5a02ae1c0e5f6b67971a52 02:43:49 Merge succeeded, producing 834f96f9b83474885c5a02ae1c0e5f6b67971a52 02:43:49 Checking out Revision 834f96f9b83474885c5a02ae1c0e5f6b67971a52 (PR-606) 02:43:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:43:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:43:49 > git config core.sparsecheckout # timeout=10 02:43:49 > git checkout -f 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # timeout=10 02:43:49 > git remote # timeout=10 02:43:49 > git config --get remote.origin.url # timeout=10 02:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:49 > git merge a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 02:43:49 > git rev-parse HEAD^{commit} # timeout=10 02:43:49 > git config core.sparsecheckout # timeout=10 02:43:49 > git checkout -f 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # timeout=10 02:43:50 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:43:51 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:51 Dload Upload Total Spent Left Speed 02:43:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 02:43:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:43:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:43:52 + sudo tee /etc/docker/daemon.new 02:43:52 { 02:43:52 "registry-mirrors": [ 02:43:52 "https://nexus3.edgexfoundry.org:10001" 02:43:52 ], 02:43:52 "bip": "10.250.0.254/24", 02:43:52 "hosts": [ 02:43:52 "tcp://0.0.0.0:5555", 02:43:52 "unix:///var/run/docker.sock" 02:43:52 ], 02:43:52 "mtu": 1458, 02:43:52 "selinux-enabled": true, 02:43:52 "seccomp-profile": "/etc/docker/seccomp.json" 02:43:52 } [Pipeline] sh 02:43:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:43:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:11 provisioning config files... 02:44:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config14258750618988050884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:12 ---> docker-login.sh 02:44:12 nexus3.edgexfoundry.org:10001 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 nexus3.edgexfoundry.org:10002 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:13 Configure a credential helper to remove this warning. See 02:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:13 02:44:13 Login Succeeded 02:44:13 nexus3.edgexfoundry.org:10003 02:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:13 Configure a credential helper to remove this warning. See 02:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:13 02:44:13 Login Succeeded 02:44:13 nexus3.edgexfoundry.org:10004 02:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:14 Configure a credential helper to remove this warning. See 02:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:14 02:44:14 Login Succeeded 02:44:14 docker.io 02:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:14 Configure a credential helper to remove this warning. See 02:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:14 02:44:14 Login Succeeded 02:44:14 ---> docker-login.sh ends [Pipeline] } 02:44:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:14 ========================================================= 02:44:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:44:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:44:15 Sending build context to Docker daemon 3.411MB 02:44:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:44:15 Step 2/12 : FROM ${BASE} AS builder 02:44:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:15 c41833b44d91: Pulling fs layer 02:44:15 ed15518f5707: Pulling fs layer 02:44:15 feae8fd75edb: Pulling fs layer 02:44:15 242c74f7c9fa: Pulling fs layer 02:44:15 3cdef696dda3: Pulling fs layer 02:44:15 2ced38df9373: Pulling fs layer 02:44:15 58f1dce35555: Pulling fs layer 02:44:15 242c74f7c9fa: Waiting 02:44:15 2ced38df9373: Waiting 02:44:15 58f1dce35555: Waiting 02:44:15 ed15518f5707: Download complete 02:44:15 242c74f7c9fa: Download complete 02:44:15 3cdef696dda3: Verifying Checksum 02:44:15 3cdef696dda3: Download complete 02:44:15 c41833b44d91: Verifying Checksum 02:44:15 c41833b44d91: Download complete 02:44:17 c41833b44d91: Pull complete 02:44:17 58f1dce35555: Verifying Checksum 02:44:17 58f1dce35555: Download complete 02:44:17 ed15518f5707: Pull complete 02:44:18 feae8fd75edb: Verifying Checksum 02:44:18 feae8fd75edb: Download complete 02:44:18 2ced38df9373: Verifying Checksum 02:44:18 2ced38df9373: Download complete 02:44:31 feae8fd75edb: Pull complete 02:44:31 242c74f7c9fa: Pull complete 02:44:31 3cdef696dda3: Pull complete 02:44:36 2ced38df9373: Pull complete 02:44:38 58f1dce35555: Pull complete 02:44:38 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:44:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:44:38 ---> fadd8f120f05 02:44:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:44:40 ---> Running in dfffb038e158 02:44:40 Removing intermediate container dfffb038e158 02:44:40 ---> 6f8e1b8b3246 02:44:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:40 ---> Running in bc80301dd83c 02:44:41 Removing intermediate container bc80301dd83c 02:44:41 ---> 7493a110a055 02:44:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:44:41 ---> Running in 8d36cd1b3df1 02:44:41 Removing intermediate container 8d36cd1b3df1 02:44:41 ---> f8bb5f7cab5c 02:44:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:44:42 ---> Running in 8c7e16ff58eb 02:44:42 Removing intermediate container 8c7e16ff58eb 02:44:42 ---> 4f2fc0ff36fa 02:44:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:42 ---> Running in 05f631410adf 02:44:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:44:45 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:44:45 (2/4) Installing libedit (20221030.3.1-r0) 02:44:45 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:44:45 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:44:45 Executing busybox-1.35.0-r29.trigger 02:44:45 OK: 268 MiB in 57 packages 02:44:46 Removing intermediate container 05f631410adf 02:44:46 ---> b376e534570a 02:44:46 Step 8/12 : WORKDIR /device-mqtt-go 02:44:47 ---> Running in 820e8932cce9 02:44:47 Removing intermediate container 820e8932cce9 02:44:47 ---> fd48dd6ca9e3 02:44:47 Step 9/12 : COPY go.mod vendor* ./ 02:44:49 ---> d3b48e84a88e 02:44:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:49 ---> Running in 2a6c12e97d37 02:45:57 Removing intermediate container 2a6c12e97d37 02:45:57 ---> c29b2f3d4819 02:45:57 Step 11/12 : COPY . . 02:45:57 ---> fae2e1fe07f0 02:45:57 Step 12/12 : RUN $MAKE 02:45:57 ---> Running in c8d180f7fa19 02:45:57 noop 02:45:57 Removing intermediate container c8d180f7fa19 02:45:57 ---> eb8b3e76aebb 02:45:57 Successfully built eb8b3e76aebb 02:45:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:57 + docker inspect -f . ci-base-image-arm64 02:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:57 prd-ubuntu20.04-docker-arm64-4c-16g-16453 does not seem to be running inside a container 02:45:57 $ 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 ******** -e ******** ci-base-image-arm64 cat 02:45:59 $ docker top 71c7aa801168240d12f8163c28770513ae055de47b2c8f2873ebf766ad11f23c -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:00 + go version 02:46:00 go version go1.20.2 linux/arm64 [Pipeline] } 02:46:00 $ docker stop --time=1 71c7aa801168240d12f8163c28770513ae055de47b2c8f2873ebf766ad11f23c 02:46:01 $ docker rm -f --volumes 71c7aa801168240d12f8163c28770513ae055de47b2c8f2873ebf766ad11f23c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:02 + docker inspect -f . ci-base-image-arm64 02:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-16453 does not seem to be running inside a container 02:46:02 $ 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 ******** -e ******** ci-base-image-arm64 cat 02:46:04 $ docker top 46a475a716f3325cc8151c3908319455283b00a26650ac0fb170593daed48f45 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:04 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 02:46:05 + make test 02:46:05 go test ./... -coverprofile=coverage.out ./... 02:46:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:49:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:49:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:49:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 22.8% of statements 02:49:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:49:09 go vet ./... 02:49:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:49:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:49:48 ./bin/test-attribution-txt.sh [Pipeline] echo 02:49:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:49:48 $ docker stop --time=1 46a475a716f3325cc8151c3908319455283b00a26650ac0fb170593daed48f45 02:49:50 $ docker rm -f --volumes 46a475a716f3325cc8151c3908319455283b00a26650ac0fb170593daed48f45 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:51 Warning: overwriting stash ‘coverage-report’ 02:49:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:52 + ls -al . 02:49:52 total 176 02:49:52 drwxrwxr-x 9 jenkins jenkins 4096 May 23 02:46 . 02:49:52 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:43 .. 02:49:52 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:43 .dockerignore 02:49:52 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:43 .git 02:49:52 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:43 .github 02:49:52 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:43 .gitignore 02:49:52 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:43 .golangci.yml 02:49:52 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:43 Attribution.txt 02:49:52 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:43 CHANGELOG.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:43 Dockerfile 02:49:52 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:43 GOVERNANCE.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:43 Jenkinsfile 02:49:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:43 LICENSE 02:49:52 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:43 Makefile 02:49:52 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:43 OWNERS.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:43 README.md 02:49:52 -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:40 VERSION 02:49:52 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:43 bin 02:49:52 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:43 cmd 02:49:52 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:49 coverage.out 02:49:52 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:43 go.mod 02:49:52 -rw-rw-r-- 1 jenkins jenkins 31418 May 23 02:43 go.sum 02:49:52 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:43 internal 02:49:52 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:43 mock 02:49:52 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:43 snap 02:49:52 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:53 + 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=834f96f9b83474885c5a02ae1c0e5f6b67971a52 --label arch=arm64 --label version=0.0.0 . 02:49:53 Sending build context to Docker daemon 3.43MB 02:49:53 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:49:53 Step 2/24 : FROM ${BASE} AS builder 02:49:53 ---> eb8b3e76aebb 02:49:53 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:49:53 ---> Running in e3b34e79b3d9 02:49:53 Removing intermediate container e3b34e79b3d9 02:49:53 ---> 746e24335405 02:49:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:53 ---> Running in 3dc0423adaf6 02:49:54 Removing intermediate container 3dc0423adaf6 02:49:54 ---> 2ba803df7661 02:49:54 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:49:54 ---> Running in fb605d7b92e7 02:49:54 Removing intermediate container fb605d7b92e7 02:49:54 ---> 99bb0e32539a 02:49:54 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:49:54 ---> Running in b1ca966ef8b9 02:49:54 Removing intermediate container b1ca966ef8b9 02:49:54 ---> 357d0aea9ac5 02:49:54 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:55 ---> Running in b0441de5d367 02:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:49:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:49:58 OK: 268 MiB in 57 packages 02:49:58 Removing intermediate container b0441de5d367 02:49:58 ---> a40bb0f3bb94 02:49:58 Step 8/24 : WORKDIR /device-mqtt-go 02:49:58 ---> Running in f2b442041823 02:49:59 Removing intermediate container f2b442041823 02:49:59 ---> 5f7903802564 02:49:59 Step 9/24 : COPY go.mod vendor* ./ 02:49:59 ---> a52ef756ef46 02:49:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:59 ---> Running in cc458c2e1fdb 02:50:04 Removing intermediate container cc458c2e1fdb 02:50:04 ---> dc10b4fa8b62 02:50:04 Step 11/24 : COPY . . 02:50:05 ---> c200f9f431f1 02:50:05 Step 12/24 : RUN $MAKE 02:50:06 ---> Running in 93f375e0f0ae 02:50:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:52:28 Removing intermediate container 93f375e0f0ae 02:52:28 ---> 741933a4b103 02:52:28 Step 13/24 : FROM alpine:3.17 02:52:28 3.17: Pulling from library/alpine 02:52:28 c41833b44d91: Already exists 02:52:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:52:28 Status: Downloaded newer image for alpine:3.17 02:52:28 ---> 51e60588ff2c 02:52:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:52:28 ---> Running in 4a09c45e930f 02:52:28 Removing intermediate container 4a09c45e930f 02:52:28 ---> 85fbe34c5b26 02:52:28 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:52:28 ---> Running in 147d8662e140 02:52:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:52:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:52:28 (1/1) Installing dumb-init (1.2.5-r2) 02:52:28 Executing busybox-1.35.0-r29.trigger 02:52:28 OK: 8 MiB in 16 packages 02:52:28 Removing intermediate container 147d8662e140 02:52:28 ---> d58a74eab49e 02:52:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:52:28 ---> 7598903226e0 02:52:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:52:29 ---> a1d09e33eb1d 02:52:29 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:52:29 ---> b3f4c94585d2 02:52:29 Step 19/24 : EXPOSE 59982 02:52:29 ---> Running in 6e331f465015 02:52:30 Removing intermediate container 6e331f465015 02:52:30 ---> 5e2a62efc3e7 02:52:30 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:52:30 ---> Running in 50f4761c76b3 02:52:30 Removing intermediate container 50f4761c76b3 02:52:30 ---> 12bf08d40c64 02:52:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:52:30 ---> Running in 97cd950774c4 02:52:30 Removing intermediate container 97cd950774c4 02:52:30 ---> 175a4b35e830 02:52:30 Step 22/24 : LABEL arch=arm64 02:52:30 ---> Running in fc3c20ec8558 02:52:31 Removing intermediate container fc3c20ec8558 02:52:31 ---> 48e5912552cd 02:52:31 Step 23/24 : LABEL git_sha=834f96f9b83474885c5a02ae1c0e5f6b67971a52 02:52:31 ---> Running in 4d2f8ba09cc4 02:52:31 Removing intermediate container 4d2f8ba09cc4 02:52:31 ---> 3a1a94c40ec5 02:52:31 Step 24/24 : LABEL version=0.0.0 02:52:31 ---> Running in 8680d8c5533a 02:52:31 Removing intermediate container 8680d8c5533a 02:52:31 ---> 109c843cd718 02:52:31 [Warning] One or more build-args [ARCH] were not consumed 02:52:31 Successfully built 109c843cd718 02:52:31 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:32 02:52:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:32 arm64: Pulling from edgex-lftools-log-publisher 02:52:32 8998bd30e6a1: Pulling fs layer 02:52:32 04944245beec: Pulling fs layer 02:52:32 699f458cf7ca: Pulling fs layer 02:52:32 765212b225bb: Pulling fs layer 02:52:32 f23df028b6ca: Pulling fs layer 02:52:32 d65c8cfc05b1: Pulling fs layer 02:52:32 2437ff75d9bd: Pulling fs layer 02:52:32 765212b225bb: Waiting 02:52:32 f23df028b6ca: Waiting 02:52:32 d65c8cfc05b1: Waiting 02:52:32 2437ff75d9bd: Waiting 02:52:32 04944245beec: Verifying Checksum 02:52:32 04944245beec: Download complete 02:52:32 765212b225bb: Verifying Checksum 02:52:32 765212b225bb: Download complete 02:52:32 f23df028b6ca: Download complete 02:52:32 d65c8cfc05b1: Verifying Checksum 02:52:32 d65c8cfc05b1: Download complete 02:52:32 699f458cf7ca: Verifying Checksum 02:52:32 699f458cf7ca: Download complete 02:52:33 8998bd30e6a1: Verifying Checksum 02:52:33 8998bd30e6a1: Download complete 02:52:35 2437ff75d9bd: Verifying Checksum 02:52:35 2437ff75d9bd: Download complete 02:52:37 8998bd30e6a1: Pull complete 02:52:37 04944245beec: Pull complete 02:52:39 699f458cf7ca: Pull complete 02:52:39 765212b225bb: Pull complete 02:52:39 f23df028b6ca: Pull complete 02:52:40 d65c8cfc05b1: Pull complete 02:52:55 2437ff75d9bd: Pull complete 02:52:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-16453 does not seem to be running inside a container 02:52:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:52:58 $ docker top b07cfd9fb860840e26b1a2f418e63ad0fd7fe245187933656cc77922b2088f10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:59 ---> job-cost.sh 02:52:59 lf-activate-venv: SKIPPING 02:52:59 INFO: No Stack... 02:52:59 INFO: Retrieving Pricing Info for: v3-standard-4 02:53:00 INFO: Archiving Costs [Pipeline] sh 02:53:00 + cut -d, -f6 02:53:00 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [Pipeline] lock 02:53:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] 02:53:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] did not exist. Created. 02:53:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:53:01 /w/workspace/device-mqtt-go/3@tmp/durable-1fee2743/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:53:02 + echo total: 0.10999999940395355 [Pipeline] stash 02:53:02 Warning: overwriting stash ‘stack-cost’ 02:53:02 Stashed 1 file(s) [Pipeline] } 02:53:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:53:02 $ docker stop --time=1 b07cfd9fb860840e26b1a2f418e63ad0fd7fe245187933656cc77922b2088f10 02:53:03 $ docker rm -f --volumes b07cfd9fb860840e26b1a2f418e63ad0fd7fe245187933656cc77922b2088f10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:53:04 provisioning config files... 02:53:04 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config9528226100253291717tmp [Pipeline] { [Pipeline] sh 02:53:04 + set +x 02:53:04 + curl -s https://codecov.io/bash 02:53:04 + bash -s -- 02:53:04 02:53:04 _____ _ 02:53:04 / ____| | | 02:53:04 | | ___ __| | ___ ___ _____ __ 02:53:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:53:04 | |___| (_) | (_| | __/ (_| (_) \ V / 02:53:04 \_____\___/ \__,_|\___|\___\___/ \_/ 02:53:04 Bash-1.0.6 02:53:04 02:53:04 02:53:04 ==> git version 2.25.1 found 02:53:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:53:04 Release-Date: 2020-01-08 02:53:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:53:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:53:04 ==> Jenkins CI detected. 02:53:04 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-606 02:53:04 project root: . 02:53:04 --> token set from env 02:53:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:53:04 ==> Running gcov in . (disable via -X gcov) 02:53:04 ==> Python coveragepy not found 02:53:04 ==> Searching for coverage reports in: 02:53:04 + . 02:53:04 -> Found 1 reports 02:53:04 ==> Detecting git/mercurial file structure 02:53:04 ==> Reading reports 02:53:04 + ./coverage.out bytes=18506 02:53:04 ==> Appending adjustments 02:53:04 https://docs.codecov.io/docs/fixing-reports 02:53:04 + Found adjustments 02:53:04 ==> Gzipping contents 02:53:04 4.0K /tmp/codecov.zVsWfa.gz 02:53:04 ==> Uploading reports 02:53:04 url: https://codecov.io 02:53:04 query: branch=PR-606&commit=834f96f9b83474885c5a02ae1c0e5f6b67971a52&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 02:53:04 -> Pinging Codecov 02:53:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-606&commit=834f96f9b83474885c5a02ae1c0e5f6b67971a52&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 02:53:04 -> Uploading to 02:53:04 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/7D719EC7BBE17E464838252E33014C33/834f96f9b83474885c5a02ae1c0e5f6b67971a52/2a6548b9-f209-4746-bbae-5a6f480bf339.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T025304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9792b540a2759286e2f3f6030a721ce505b6e5e7c3655c912b73aeecd68e02d9 02:53:04 % Total % Received % Xferd Average Speed Time Time Time Current 02:53:04 Dload Upload Total Spent Left Speed 02:53:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16853 --:--:-- --:--:-- --:--:-- 16853 02:53:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/834f96f9b83474885c5a02ae1c0e5f6b67971a52 [Pipeline] } 02:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:53:05 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives ] 02:53:05 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 02:53:05 total 16 02:53:05 drwxr-xr-x 3 root root 4096 May 23 02:42 . 02:53:05 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:42 .. 02:53:05 drwxr-xr-x 2 root root 4096 May 23 02:42 cost 02:53:05 -rw-r--r-- 1 root root 86 May 23 02:42 cost.csv 02:53:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 02:53:05 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 02:53:05 total 16 02:53:05 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:42 . 02:53:05 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:42 .. 02:53:05 drwxr-xr-x 2 jenkins jenkins 4096 May 23 02:42 cost 02:53:05 -rw-r--r-- 1 jenkins jenkins 86 May 23 02:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:53:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:53:07 ---> package-listing.sh 02:53:07 ++ facter osfamily 02:53:07 ++ tr '[:upper:]' '[:lower:]' 02:53:07 + OS_FAMILY=debian 02:53:07 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-606 02:53:07 + START_PACKAGES=/tmp/packages_start.txt 02:53:07 + END_PACKAGES=/tmp/packages_end.txt 02:53:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:53:07 + PACKAGES=/tmp/packages_start.txt 02:53:07 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 02:53:07 + PACKAGES=/tmp/packages_end.txt 02:53:07 + case "${OS_FAMILY}" in 02:53:07 + dpkg -l 02:53:07 + grep '^ii' 02:53:07 + '[' -f /tmp/packages_start.txt ']' 02:53:07 + '[' -f /tmp/packages_end.txt ']' 02:53:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:07 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 02:53:07 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ 02:53:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ [Pipeline] echo 02:53:07 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-606/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:53:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:53:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:53:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:53:08 prd-ubuntu20.04-docker-8c-8g-16449 does not seem to be running inside a container 02:53:08 $ 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-606/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-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:53:08 $ docker top b45f67195905dfe624cf3df3f72684948939cf28aa0bcf688c25b0ced8b36044 -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:08 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:09 + mkdir -p /var/log/sysstat [Pipeline] sh 02:53:09 + ls /var/log/sa-host 02:53:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:09 provisioning config files... 02:53:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config8718909691925468703tmp [Pipeline] { [Pipeline] echo 02:53:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:09 ---> create-netrc.sh [Pipeline] } 02:53:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:53:10 ---> python-tools-install.sh [Pipeline] echo 02:53:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:10 ---> sudo-logs.sh 02:53:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:53:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:10 ---> job-cost.sh 02:53:10 lf-activate-venv: SKIPPING 02:53:10 DEBUG: total: 0.2199999988079071 02:53:10 INFO: Retrieving Stack Cost... 02:53:11 INFO: Retrieving Pricing Info for: v3-standard-8 02:53:11 INFO: Archiving Costs [Pipeline] echo 02:53:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:11 ---> logs-deploy.sh 02:53:11 lf-activate-venv: SKIPPING 02:53:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-606/3 02:53:11 INFO: archiving workspace using pattern(s): 02:53:12 Archives upload complete. 02:53:12 INFO: archiving logs to Nexus 02:53:13 ---> uname -a: 02:53:13 Linux prd-ubuntu20-04-docker-8c-8g-16449 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:53:13 02:53:13