Pull request #606 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c914edb9f105c70f3a718961ec42a35abf56f28d+019c60404bb83e30963e3ac75b0107041a510748 (65b4a475af2b7c076533f4eeba7811af31d77324) 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-ssh9091993755814343050.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-ssh17055552784564197584.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-ssh7766783273274608287.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-ssh5958804961314601727.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-ssh4507759128705307219.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-16899’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16900’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16904’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16905’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16906’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16905 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 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit c914edb9f105c70f3a718961ec42a35abf56f28d Merge succeeded, producing c914edb9f105c70f3a718961ec42a35abf56f28d Checking out Revision c914edb9f105c70f3a718961ec42a35abf56f28d (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 01:30:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:07 ========================================================= 01:30:07 EdgeX Global Pipelines Version Info 01:30:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f c914edb9f105c70f3a718961ec42a35abf56f28d # 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 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c914edb9f105c70f3a718961ec42a35abf56f28d # timeout=10 > git rev-list --no-walk b7a1038b9e7974945a82136e0dfbc58be103500e # timeout=10 01:30:07 ------------------- 01:30:07 stable info: 01:30:07 ------------------- 01:30:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:30:07 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:30:07 Message: update stable to v1.0.249 01:30:08 ------------------- 01:30:08 experimental info: 01:30:08 ------------------- 01:30:08 Commited By: **** collab-it+edgex@linuxfoundation.org 01:30:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:30:08 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-606 [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-606 [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-606 [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c914edb9f105c70f3a718961ec42a35abf56f28d [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c914edb [Pipeline] echo 01:30:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:08 provisioning config files... 01:30:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config6354092494281649401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:09 ---> docker-login.sh 01:30:09 nexus3.edgexfoundry.org:10001 01:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:09 Configure a credential helper to remove this warning. See 01:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:09 01:30:09 Login Succeeded 01:30:09 nexus3.edgexfoundry.org:10002 01:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:09 Configure a credential helper to remove this warning. See 01:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:09 01:30:09 Login Succeeded 01:30:09 nexus3.edgexfoundry.org:10003 01:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:09 Configure a credential helper to remove this warning. See 01:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:09 01:30:09 Login Succeeded 01:30:09 nexus3.edgexfoundry.org:10004 01:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:09 Configure a credential helper to remove this warning. See 01:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:09 01:30:09 Login Succeeded 01:30:09 docker.io 01:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:10 Configure a credential helper to remove this warning. See 01:30:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:10 01:30:10 Login Succeeded 01:30:10 ---> docker-login.sh ends [Pipeline] } 01:30:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:30:10 + git rev-list -1 --merges c914edb9f105c70f3a718961ec42a35abf56f28d~1..c914edb9f105c70f3a718961ec42a35abf56f28d [Pipeline] echo 01:30:10 -----------> git rev-list -1 --merges c914edb9f105c70f3a718961ec42a35abf56f28d~1..c914edb9f105c70f3a718961ec42a35abf56f28d c914edb9f105c70f3a718961ec42a35abf56f28d [false] [Pipeline] sh 01:30:10 + git log --format=format:%s -1 c914edb9f105c70f3a718961ec42a35abf56f28d [Pipeline] echo 01:30:10 ========================================================= 01:30:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:30:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:11 + git log --format=format:%s -1 c914edb9f105c70f3a718961ec42a35abf56f28d [Pipeline] echo 01:30:11 [semverPrep] GIT_COMMIT: c914edb9f105c70f3a718961ec42a35abf56f28d, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 01:30:11 [semverPrep] This is not a build commit. [Pipeline] sh 01:30:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:30:11 + grep -v github /etc/ssh/ssh_known_hosts 01:30:11 + [ -e /tmp/ssh_known_hosts ] 01:30:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:30:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:30:11 + sudo tee -a /etc/ssh/ssh_known_hosts 01:30:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:11 01:30:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:12 0.1.4: Pulling from edgex-devops/py-git-semver 01:30:12 b85a868b505f: Pulling fs layer 01:30:12 e2be974225ed: Pulling fs layer 01:30:12 339a4e72a1f5: Pulling fs layer 01:30:12 988bab9f4d93: Pulling fs layer 01:30:12 1469e6f7b9e6: Pulling fs layer 01:30:12 eaf3925da568: Pulling fs layer 01:30:12 bab4dde63d76: Pulling fs layer 01:30:12 bde34c3a00c8: Pulling fs layer 01:30:12 b352a97aabf1: Pulling fs layer 01:30:12 4872d77fe225: Pulling fs layer 01:30:12 5851b861e8e6: Pulling fs layer 01:30:12 988bab9f4d93: Waiting 01:30:12 1469e6f7b9e6: Waiting 01:30:12 b352a97aabf1: Waiting 01:30:12 bab4dde63d76: Waiting 01:30:12 4872d77fe225: Waiting 01:30:12 bde34c3a00c8: Waiting 01:30:12 5851b861e8e6: Waiting 01:30:12 eaf3925da568: Waiting 01:30:12 e2be974225ed: Download complete 01:30:12 988bab9f4d93: Verifying Checksum 01:30:12 988bab9f4d93: Download complete 01:30:12 1469e6f7b9e6: Verifying Checksum 01:30:12 1469e6f7b9e6: Download complete 01:30:12 eaf3925da568: Verifying Checksum 01:30:12 eaf3925da568: Download complete 01:30:12 339a4e72a1f5: Verifying Checksum 01:30:12 339a4e72a1f5: Download complete 01:30:12 bde34c3a00c8: Verifying Checksum 01:30:12 bde34c3a00c8: Download complete 01:30:12 b352a97aabf1: Verifying Checksum 01:30:12 b352a97aabf1: Download complete 01:30:12 4872d77fe225: Verifying Checksum 01:30:12 4872d77fe225: Download complete 01:30:12 5851b861e8e6: Verifying Checksum 01:30:12 5851b861e8e6: Download complete 01:30:12 b85a868b505f: Verifying Checksum 01:30:12 b85a868b505f: Download complete 01:30:12 bab4dde63d76: Verifying Checksum 01:30:12 bab4dde63d76: Download complete 01:30:14 b85a868b505f: Pull complete 01:30:14 e2be974225ed: Pull complete 01:30:14 339a4e72a1f5: Pull complete 01:30:14 988bab9f4d93: Pull complete 01:30:15 1469e6f7b9e6: Pull complete 01:30:15 eaf3925da568: Pull complete 01:30:17 bab4dde63d76: Pull complete 01:30:17 bde34c3a00c8: Pull complete 01:30:17 b352a97aabf1: Pull complete 01:30:17 4872d77fe225: Pull complete 01:30:17 5851b861e8e6: Pull complete 01:30:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:30:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:17 prd-ubuntu20.04-docker-8c-8g-16905 does not seem to be running inside a container 01:30:17 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:30:20 $ docker top e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 -eo pid,comm 01:30:20 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). 01:30:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:20 [ssh-agent] Looking for ssh-agent implementation... 01:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:20 $ docker exec e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 ssh-agent 01:30:20 SSH_AUTH_SOCK=/tmp/ssh-Acd087Pvf7vv/agent.31 01:30:20 SSH_AGENT_PID=37 01:30:20 Running ssh-add (command line suppressed) 01:30:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_1887255688548901145.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_1887255688548901145.key) 01:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:21 + git tag --points-at HEAD [Pipeline] } 01:30:21 $ docker exec --env ******** --env ******** e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 ssh-agent -k 01:30:21 unset SSH_AUTH_SOCK; 01:30:21 unset SSH_AGENT_PID; 01:30:21 echo Agent pid 37 killed; 01:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:21 [ssh-agent] Looking for ssh-agent implementation... 01:30:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:21 $ docker exec e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 ssh-agent 01:30:21 SSH_AUTH_SOCK=/tmp/ssh-Ajx3RRaL1ZKC/agent.69 01:30:21 SSH_AGENT_PID=75 01:30:21 Running ssh-add (command line suppressed) 01:30:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_16508200054743907191.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_16508200054743907191.key) 01:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:22 + git semver init 01:30:22 2023-05-25 01:30:22,345 [run_init] DEBUG init version:0.0.0 force:False 01:30:22 2023-05-25 01:30:22,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 01:30:22 2023-05-25 01:30:22,346 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 01:30:22 2023-05-25 01:30:22,346 [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) 01:30:23 2023-05-25 01:30:23,148 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.git/info/exclude 01:30:23 2023-05-25 01:30:23,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 with force:False 01:30:23 2023-05-25 01:30:23,148 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 01:30:23 2023-05-25 01:30:23,152 [execute] INFO git cat-file --batch-check 01:30:23 2023-05-25 01:30:23,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 01:30:23 2023-05-25 01:30:23,158 [execute] INFO git cat-file --batch 01:30:23 2023-05-25 01:30:23,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 01:30:23 2023-05-25 01:30:23,164 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 01:30:23 0.0.0 [Pipeline] } 01:30:23 $ docker exec --env ******** --env ******** e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 ssh-agent -k 01:30:23 unset SSH_AUTH_SOCK; 01:30:23 unset SSH_AGENT_PID; 01:30:23 echo Agent pid 75 killed; 01:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:23 + git semver [Pipeline] } 01:30:24 $ docker stop --time=1 e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 01:30:25 $ docker rm -f --volumes e952760c6bc84a19679984b93bc14dace54b1dc822f74836559aa7eb0596add8 [Pipeline] // withDockerContainer [Pipeline] sh 01:30:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:25 Stashed 1 file(s) [Pipeline] echo 01:30:25 [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 01:30:26 provisioning config files... 01:30:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config956859732150296894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:26 ---> docker-login.sh 01:30:26 nexus3.edgexfoundry.org:10001 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10002 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10003 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10004 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 docker.io 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 ---> docker-login.sh ends [Pipeline] } 01:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:27 ========================================================= 01:30:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:30:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:27 + 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 . 01:30:27 Sending build context to Docker daemon 6.585MB 01:30:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:30:27 Step 2/12 : FROM ${BASE} AS builder 01:30:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:27 f56be85fc22e: Pulling fs layer 01:30:27 85791d961cd3: Pulling fs layer 01:30:27 d694b5ae8c79: Pulling fs layer 01:30:27 9f32a84ed3da: Pulling fs layer 01:30:27 4d19c01a9841: Pulling fs layer 01:30:27 9325e15d5711: Pulling fs layer 01:30:27 556b6ee489ea: Pulling fs layer 01:30:27 c5a4b2cf53e6: Pulling fs layer 01:30:27 4d19c01a9841: Waiting 01:30:27 c5a4b2cf53e6: Waiting 01:30:27 9325e15d5711: Waiting 01:30:27 556b6ee489ea: Waiting 01:30:27 9f32a84ed3da: Waiting 01:30:27 85791d961cd3: Download complete 01:30:27 9f32a84ed3da: Download complete 01:30:27 4d19c01a9841: Verifying Checksum 01:30:27 4d19c01a9841: Download complete 01:30:27 f56be85fc22e: Verifying Checksum 01:30:27 f56be85fc22e: Download complete 01:30:27 9325e15d5711: Download complete 01:30:27 f56be85fc22e: Pull complete 01:30:27 85791d961cd3: Pull complete 01:30:28 c5a4b2cf53e6: Verifying Checksum 01:30:28 c5a4b2cf53e6: Download complete 01:30:28 d694b5ae8c79: Verifying Checksum 01:30:28 d694b5ae8c79: Download complete 01:30:28 556b6ee489ea: Verifying Checksum 01:30:28 556b6ee489ea: Download complete 01:30:31 d694b5ae8c79: Pull complete 01:30:32 9f32a84ed3da: Pull complete 01:30:32 4d19c01a9841: Pull complete 01:30:32 9325e15d5711: Pull complete 01:30:34 556b6ee489ea: Pull complete 01:30:35 c5a4b2cf53e6: Pull complete 01:30:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:30:35 ---> c4be618373d6 01:30:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:30:41 Still waiting to schedule task 01:30:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:30:44 ---> Running in 7b7ecec31000 01:30:44 Removing intermediate container 7b7ecec31000 01:30:44 ---> 8d41c6394b7b 01:30:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:44 ---> Running in 88fd41700e2c 01:30:44 Removing intermediate container 88fd41700e2c 01:30:44 ---> 45330e9b44af 01:30:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:44 ---> Running in ffc461521afc 01:30:44 Removing intermediate container ffc461521afc 01:30:44 ---> b2e367afa251 01:30:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:44 ---> Running in 006e5a334618 01:30:44 Removing intermediate container 006e5a334618 01:30:44 ---> b1cbf4eb34ce 01:30:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:44 ---> Running in c357aa71f5f3 01:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:30:44 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:30:44 (2/4) Installing libedit (20221030.3.1-r0) 01:30:44 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:30:44 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:30:45 Executing busybox-1.35.0-r29.trigger 01:30:45 OK: 269 MiB in 57 packages 01:30:45 Removing intermediate container c357aa71f5f3 01:30:45 ---> cb79a5d904dc 01:30:45 Step 8/12 : WORKDIR /device-mqtt-go 01:30:45 ---> Running in 47cdb77a5bf1 01:30:45 Removing intermediate container 47cdb77a5bf1 01:30:45 ---> 1011ff308cad 01:30:45 Step 9/12 : COPY go.mod vendor* ./ 01:30:45 ---> dbee2f07aa8a 01:30:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:45 ---> Running in a0df5cd1e551 01:31:18 Removing intermediate container a0df5cd1e551 01:31:18 ---> 22f3ba61f61c 01:31:18 Step 11/12 : COPY . . 01:31:18 ---> 3c7d4c6ea49a 01:31:18 Step 12/12 : RUN $MAKE 01:31:18 ---> Running in 0e6c18a376f9 01:31:18 noop 01:31:18 Removing intermediate container 0e6c18a376f9 01:31:18 ---> 924a78b959ee 01:31:18 Successfully built 924a78b959ee 01:31:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:18 + docker inspect -f . ci-base-image-x86_64 01:31:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:18 prd-ubuntu20.04-docker-8c-8g-16905 does not seem to be running inside a container 01:31:18 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:31:19 $ docker top d0e8321ccfc6a5df28207b0dc51d4f8c21f6452f6025f070d1e8f5dc8e8c4427 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:19 + go version 01:31:19 go version go1.20.2 linux/amd64 [Pipeline] } 01:31:19 $ docker stop --time=1 d0e8321ccfc6a5df28207b0dc51d4f8c21f6452f6025f070d1e8f5dc8e8c4427 01:31:20 $ docker rm -f --volumes d0e8321ccfc6a5df28207b0dc51d4f8c21f6452f6025f070d1e8f5dc8e8c4427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:21 + docker inspect -f . ci-base-image-x86_64 01:31:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:21 prd-ubuntu20.04-docker-8c-8g-16905 does not seem to be running inside a container 01:31:21 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:31:21 $ docker top ad29114396a07bc8f368fb85af55c8e7a666d25e8605fd847c7057361eb93afb -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] fileExists [Pipeline] sh 01:31:22 + make test 01:31:22 go test ./... -coverprofile=coverage.out ./... 01:31:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:31:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:31:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:31:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 01:31:42 go vet ./... 01:31:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:31:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:31:45 ./bin/test-attribution-txt.sh [Pipeline] echo 01:31:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:31:45 $ docker stop --time=1 ad29114396a07bc8f368fb85af55c8e7a666d25e8605fd847c7057361eb93afb 01:31:48 $ docker rm -f --volumes ad29114396a07bc8f368fb85af55c8e7a666d25e8605fd847c7057361eb93afb [Pipeline] // withDockerContainer [Pipeline] sh 01:31:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:31:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:31:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:49 + ls -al . 01:31:49 total 184 01:31:49 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:31 . 01:31:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 .. 01:31:49 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:30 .dockerignore 01:31:49 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:30 .git 01:31:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 .github 01:31:49 -rw-rw-r-- 1 jenkins jenkins 329 May 25 01:30 .gitignore 01:31:49 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:30 .golangci.yml 01:31:49 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:30 .semver 01:31:49 -rw-rw-r-- 1 jenkins jenkins 9417 May 25 01:30 Attribution.txt 01:31:49 -rw-rw-r-- 1 jenkins jenkins 17522 May 25 01:30 CHANGELOG.md 01:31:49 -rw-rw-r-- 1 jenkins jenkins 1689 May 25 01:30 Dockerfile 01:31:49 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:30 GOVERNANCE.md 01:31:49 -rw-rw-r-- 1 jenkins jenkins 678 May 25 01:30 Jenkinsfile 01:31:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:30 LICENSE 01:31:49 -rw-rw-r-- 1 jenkins jenkins 1732 May 25 01:30 Makefile 01:31:49 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:30 OWNERS.md 01:31:49 -rw-rw-r-- 1 jenkins jenkins 3165 May 25 01:30 README.md 01:31:49 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:31:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 bin 01:31:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 cmd 01:31:49 -rw-r--r-- 1 jenkins jenkins 18506 May 25 01:31 coverage.out 01:31:49 -rw-rw-r-- 1 jenkins jenkins 3285 May 25 01:30 go.mod 01:31:49 -rw-rw-r-- 1 jenkins jenkins 31322 May 25 01:30 go.sum 01:31:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 internal 01:31:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 mock 01:31:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 snap 01:31:49 -rw-rw-r-- 1 jenkins jenkins 227 May 25 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:50 + 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=c914edb9f105c70f3a718961ec42a35abf56f28d --label arch=amd64 --label version=0.0.0 . 01:31:50 Sending build context to Docker daemon 6.605MB 01:31:50 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:31:50 Step 2/24 : FROM ${BASE} AS builder 01:31:50 ---> 924a78b959ee 01:31:50 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:31:50 ---> Running in c6cfd90620f4 01:31:50 Removing intermediate container c6cfd90620f4 01:31:50 ---> cff40b1403e7 01:31:50 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:31:50 ---> Running in 46224e8de4fd 01:31:50 Removing intermediate container 46224e8de4fd 01:31:50 ---> 226740e37e1f 01:31:50 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:31:50 ---> Running in 79b3b10fdb49 01:31:50 Removing intermediate container 79b3b10fdb49 01:31:50 ---> 2a079b5827ee 01:31:50 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:31:50 ---> Running in c1999c47c7ff 01:31:50 Removing intermediate container c1999c47c7ff 01:31:50 ---> 9836aad7758f 01:31:50 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:50 ---> Running in 4d08ae4d38cb 01:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:31:51 OK: 269 MiB in 57 packages 01:31:51 Removing intermediate container 4d08ae4d38cb 01:31:51 ---> 7995080e1a2f 01:31:51 Step 8/24 : WORKDIR /device-mqtt-go 01:31:51 ---> Running in b630bcaf279e 01:31:51 Removing intermediate container b630bcaf279e 01:31:51 ---> 576ab7002c41 01:31:51 Step 9/24 : COPY go.mod vendor* ./ 01:31:51 ---> 5a8c7939a347 01:31:51 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:51 ---> Running in 670c61f02099 01:31:52 Removing intermediate container 670c61f02099 01:31:52 ---> e5952353b4a4 01:31:52 Step 11/24 : COPY . . 01:31:52 ---> 6790f727884b 01:31:52 Step 12/24 : RUN $MAKE 01:31:52 ---> Running in 8c320cac42a1 01:31:53 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 01:32:15 Removing intermediate container 8c320cac42a1 01:32:15 ---> bf4465b5410e 01:32:15 Step 13/24 : FROM alpine:3.17 01:32:15 3.17: Pulling from library/alpine 01:32:15 f56be85fc22e: Already exists 01:32:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:32:15 Status: Downloaded newer image for alpine:3.17 01:32:15 ---> 9ed4aefc74f6 01:32:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:32:15 ---> Running in 0127816a9c9e 01:32:15 Removing intermediate container 0127816a9c9e 01:32:15 ---> bc1e5a933d91 01:32:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:32:15 ---> Running in c1aa015189c2 01:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:32:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:32:15 (1/1) Installing dumb-init (1.2.5-r2) 01:32:15 Executing busybox-1.35.0-r29.trigger 01:32:15 OK: 7 MiB in 16 packages 01:32:15 Removing intermediate container c1aa015189c2 01:32:15 ---> eac70abb3869 01:32:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:32:15 ---> 78f57cae3831 01:32:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:32:15 ---> 03c131a29e0b 01:32:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:32:15 ---> c483f2fd6934 01:32:15 Step 19/24 : EXPOSE 59982 01:32:15 ---> Running in 435e9c1c86ba 01:32:15 Removing intermediate container 435e9c1c86ba 01:32:15 ---> 1b9c6cff503f 01:32:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:32:15 ---> Running in e20a2cf61c68 01:32:15 Removing intermediate container e20a2cf61c68 01:32:15 ---> 9e7a6764cdd9 01:32:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:32:15 ---> Running in 77b19d5ee2a4 01:32:15 Removing intermediate container 77b19d5ee2a4 01:32:15 ---> 1d486aadfa60 01:32:15 Step 22/24 : LABEL arch=amd64 01:32:15 ---> Running in 99df62598d3c 01:32:15 Removing intermediate container 99df62598d3c 01:32:15 ---> e9a882be305c 01:32:15 Step 23/24 : LABEL git_sha=c914edb9f105c70f3a718961ec42a35abf56f28d 01:32:15 ---> Running in cc4bf689edd8 01:32:15 Removing intermediate container cc4bf689edd8 01:32:15 ---> f95f97f47e61 01:32:15 Step 24/24 : LABEL version=0.0.0 01:32:15 ---> Running in 7ffd8663d2f3 01:32:15 Removing intermediate container 7ffd8663d2f3 01:32:15 ---> 66eec8dc5459 01:32:15 [Warning] One or more build-args [ARCH] were not consumed 01:32:15 Successfully built 66eec8dc5459 01:32:15 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 01:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:15 01:32:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:16 latest: Pulling from edgex-lftools-log-publisher 01:32:16 5eb5b503b376: Pulling fs layer 01:32:16 5c69ac0246d0: Pulling fs layer 01:32:16 ec43610c2a17: Pulling fs layer 01:32:16 3a2ae6a8a46f: Pulling fs layer 01:32:16 33b1e0a273af: Pulling fs layer 01:32:16 5d3b04190fa2: Pulling fs layer 01:32:16 2f39f015ded8: Pulling fs layer 01:32:16 33b1e0a273af: Waiting 01:32:16 5d3b04190fa2: Waiting 01:32:16 2f39f015ded8: Waiting 01:32:16 3a2ae6a8a46f: Waiting 01:32:16 5c69ac0246d0: Verifying Checksum 01:32:16 5c69ac0246d0: Download complete 01:32:16 3a2ae6a8a46f: Verifying Checksum 01:32:16 3a2ae6a8a46f: Download complete 01:32:16 33b1e0a273af: Verifying Checksum 01:32:16 33b1e0a273af: Download complete 01:32:16 ec43610c2a17: Verifying Checksum 01:32:16 ec43610c2a17: Download complete 01:32:16 5d3b04190fa2: Verifying Checksum 01:32:16 5d3b04190fa2: Download complete 01:32:16 5eb5b503b376: Verifying Checksum 01:32:16 5eb5b503b376: Download complete 01:32:16 2f39f015ded8: Download complete 01:32:17 5eb5b503b376: Pull complete 01:32:17 5c69ac0246d0: Pull complete 01:32:18 ec43610c2a17: Pull complete 01:32:18 3a2ae6a8a46f: Pull complete 01:32:18 33b1e0a273af: Pull complete 01:32:18 5d3b04190fa2: Pull complete 01:32:22 2f39f015ded8: Pull complete 01:32:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:32:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:22 prd-ubuntu20.04-docker-8c-8g-16905 does not seem to be running inside a container 01:32:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:32:27 $ docker top dda6b88c0c11cd836858387ff5fd91d87a6fece024b765bb2a796fb17996d4cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:27 ---> job-cost.sh 01:32:27 lf-activate-venv: SKIPPING 01:32:27 INFO: No Stack... 01:32:27 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:28 INFO: Archiving Costs [Pipeline] sh 01:32:28 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/cost.csv 01:32:28 + cut -d, -f6 [Pipeline] lock 01:32:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] 01:32:28 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] did not exist. Created. 01:32:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:32:28 + echo total: 0.2199999988079071 [Pipeline] stash 01:32:28 Stashed 1 file(s) [Pipeline] } 01:32:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:32:28 $ docker stop --time=1 dda6b88c0c11cd836858387ff5fd91d87a6fece024b765bb2a796fb17996d4cb 01:32:29 $ docker rm -f --volumes dda6b88c0c11cd836858387ff5fd91d87a6fece024b765bb2a796fb17996d4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:35:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16915 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] { [Pipeline] ws 01:35:22 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 01:35:22 Selected Git installation does not exist. Using Default 01:35:22 The recommended git tool is: NONE 01:35:37 using credential edgex-jenkins-ssh 01:35:37 Cloning the remote Git repository 01:35:38 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:35:38 > git init /w/workspace/device-mqtt-go/6 # timeout=10 01:35:38 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:35:38 > git --version # timeout=10 01:35:38 > git --version # 'git version 2.25.1' 01:35:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:35:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:43 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit c914edb9f105c70f3a718961ec42a35abf56f28d 01:35:42 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:35:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:35:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:42 > 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 01:35:43 > git config core.sparsecheckout # timeout=10 01:35:43 > git checkout -f c914edb9f105c70f3a718961ec42a35abf56f28d # timeout=10 01:35:43 > git remote # timeout=10 01:35:43 Merge succeeded, producing c914edb9f105c70f3a718961ec42a35abf56f28d 01:35:43 Checking out Revision c914edb9f105c70f3a718961ec42a35abf56f28d (PR-606) 01:35:44 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 01:35:43 > git config --get remote.origin.url # timeout=10 01:35:43 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:43 > git merge 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 01:35:43 > git rev-parse HEAD^{commit} # timeout=10 01:35:43 > git config core.sparsecheckout # timeout=10 01:35:43 > git checkout -f c914edb9f105c70f3a718961ec42a35abf56f28d # timeout=10 01:35:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:35:45 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:45 Dload Upload Total Spent Left Speed 01:35:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 01:35:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:35:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:35:46 + sudo tee /etc/docker/daemon.new 01:35:46 { 01:35:46 "registry-mirrors": [ 01:35:46 "https://nexus3.edgexfoundry.org:10001" 01:35:46 ], 01:35:46 "bip": "10.250.0.254/24", 01:35:46 "hosts": [ 01:35:46 "tcp://0.0.0.0:5555", 01:35:46 "unix:///var/run/docker.sock" 01:35:46 ], 01:35:46 "mtu": 1458, 01:35:46 "selinux-enabled": true, 01:35:46 "seccomp-profile": "/etc/docker/seccomp.json" 01:35:46 } [Pipeline] sh 01:35:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:35:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:05 provisioning config files... 01:36:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config17083874415854442905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:06 ---> docker-login.sh 01:36:06 nexus3.edgexfoundry.org:10001 01:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:07 Configure a credential helper to remove this warning. See 01:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:07 01:36:07 Login Succeeded 01:36:07 nexus3.edgexfoundry.org:10002 01:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:07 Configure a credential helper to remove this warning. See 01:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:07 01:36:07 Login Succeeded 01:36:07 nexus3.edgexfoundry.org:10003 01:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 nexus3.edgexfoundry.org:10004 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 docker.io 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 ---> docker-login.sh ends [Pipeline] } 01:36:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:09 ========================================================= 01:36:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:36:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:09 + 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 . 01:36:09 Sending build context to Docker daemon 3.427MB 01:36:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:36:09 Step 2/12 : FROM ${BASE} AS builder 01:36:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:36:10 c41833b44d91: Pulling fs layer 01:36:10 ed15518f5707: Pulling fs layer 01:36:10 feae8fd75edb: Pulling fs layer 01:36:10 242c74f7c9fa: Pulling fs layer 01:36:10 3cdef696dda3: Pulling fs layer 01:36:10 2ced38df9373: Pulling fs layer 01:36:10 58f1dce35555: Pulling fs layer 01:36:10 2ced38df9373: Waiting 01:36:10 3cdef696dda3: Waiting 01:36:10 58f1dce35555: Waiting 01:36:10 ed15518f5707: Verifying Checksum 01:36:10 ed15518f5707: Download complete 01:36:10 242c74f7c9fa: Verifying Checksum 01:36:10 242c74f7c9fa: Download complete 01:36:10 3cdef696dda3: Verifying Checksum 01:36:10 3cdef696dda3: Download complete 01:36:10 c41833b44d91: Download complete 01:36:11 c41833b44d91: Pull complete 01:36:12 58f1dce35555: Verifying Checksum 01:36:12 58f1dce35555: Download complete 01:36:12 ed15518f5707: Pull complete 01:36:13 2ced38df9373: Verifying Checksum 01:36:13 2ced38df9373: Download complete 01:36:13 feae8fd75edb: Verifying Checksum 01:36:13 feae8fd75edb: Download complete 01:36:26 feae8fd75edb: Pull complete 01:36:26 242c74f7c9fa: Pull complete 01:36:26 3cdef696dda3: Pull complete 01:36:32 2ced38df9373: Pull complete 01:36:34 58f1dce35555: Pull complete 01:36:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:36:35 ---> fadd8f120f05 01:36:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:36:37 ---> Running in d3bacc33f675 01:36:37 Removing intermediate container d3bacc33f675 01:36:37 ---> bdc8dc0fc640 01:36:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:37 ---> Running in f6cc28ff8a93 01:36:38 Removing intermediate container f6cc28ff8a93 01:36:38 ---> d36c0f6d2885 01:36:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:36:38 ---> Running in 375a108140e1 01:36:38 Removing intermediate container 375a108140e1 01:36:38 ---> 06b1bbb1fd47 01:36:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:36:38 ---> Running in 3efa63d372f0 01:36:38 Removing intermediate container 3efa63d372f0 01:36:38 ---> 201a29999cb3 01:36:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:39 ---> Running in 2ef9a14e6a7c 01:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:36:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:36:42 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:36:42 (2/4) Installing libedit (20221030.3.1-r0) 01:36:42 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:36:42 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:36:42 Executing busybox-1.35.0-r29.trigger 01:36:42 OK: 268 MiB in 57 packages 01:36:44 Removing intermediate container 2ef9a14e6a7c 01:36:44 ---> eac1f8826758 01:36:44 Step 8/12 : WORKDIR /device-mqtt-go 01:36:44 ---> Running in af6291b8d8e9 01:36:44 Removing intermediate container af6291b8d8e9 01:36:44 ---> 97092b6d3b17 01:36:44 Step 9/12 : COPY go.mod vendor* ./ 01:36:45 ---> b1310bd2099b 01:36:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:45 ---> Running in fc224c35eeb8 01:38:07 Removing intermediate container fc224c35eeb8 01:38:07 ---> 92692281668a 01:38:07 Step 11/12 : COPY . . 01:38:07 ---> ac15a3ceecbf 01:38:07 Step 12/12 : RUN $MAKE 01:38:07 ---> Running in 491b9c7569bf 01:38:07 noop 01:38:07 Removing intermediate container 491b9c7569bf 01:38:07 ---> b0851697dcad 01:38:07 Successfully built b0851697dcad 01:38:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:07 + docker inspect -f . ci-base-image-arm64 01:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:07 prd-ubuntu20.04-docker-arm64-4c-16g-16915 does not seem to be running inside a container 01:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 01:38:09 $ docker top 740c49831b85198ed66a7e752ccba4316ce7252198a9ce0b068214e9ca9c311f -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:10 + go version 01:38:10 go version go1.20.2 linux/arm64 [Pipeline] } 01:38:10 $ docker stop --time=1 740c49831b85198ed66a7e752ccba4316ce7252198a9ce0b068214e9ca9c311f 01:38:12 $ docker rm -f --volumes 740c49831b85198ed66a7e752ccba4316ce7252198a9ce0b068214e9ca9c311f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:12 + docker inspect -f . ci-base-image-arm64 01:38:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:12 prd-ubuntu20.04-docker-arm64-4c-16g-16915 does not seem to be running inside a container 01:38:13 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 01:38:14 $ docker top 7fe3680324444bcb443a1f4dbf4dff0f7ee92d75bed3f320ecd9e156287eb46a -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:15 + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh 01:38:16 + make test 01:38:16 go test ./... -coverprofile=coverage.out ./... 01:39:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:41:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:41:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:41:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.095s coverage: 22.8% of statements 01:41:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:41:24 go vet ./... 01:41:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:41:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:41:57 ./bin/test-attribution-txt.sh [Pipeline] echo 01:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:41:57 $ docker stop --time=1 7fe3680324444bcb443a1f4dbf4dff0f7ee92d75bed3f320ecd9e156287eb46a 01:41:59 $ docker rm -f --volumes 7fe3680324444bcb443a1f4dbf4dff0f7ee92d75bed3f320ecd9e156287eb46a [Pipeline] // withDockerContainer [Pipeline] sh 01:42:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:00 Warning: overwriting stash ‘coverage-report’ 01:42:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:42:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:02 + ls -al . 01:42:02 total 180 01:42:02 drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:38 . 01:42:02 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:35 .. 01:42:02 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:35 .dockerignore 01:42:02 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:35 .git 01:42:02 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:35 .github 01:42:02 -rw-rw-r-- 1 jenkins jenkins 329 May 25 01:35 .gitignore 01:42:02 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:35 .golangci.yml 01:42:02 -rw-rw-r-- 1 jenkins jenkins 9417 May 25 01:35 Attribution.txt 01:42:02 -rw-rw-r-- 1 jenkins jenkins 17522 May 25 01:35 CHANGELOG.md 01:42:02 -rw-rw-r-- 1 jenkins jenkins 1689 May 25 01:35 Dockerfile 01:42:02 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:35 GOVERNANCE.md 01:42:02 -rw-rw-r-- 1 jenkins jenkins 678 May 25 01:35 Jenkinsfile 01:42:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:35 LICENSE 01:42:02 -rw-rw-r-- 1 jenkins jenkins 1732 May 25 01:35 Makefile 01:42:02 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:35 OWNERS.md 01:42:02 -rw-rw-r-- 1 jenkins jenkins 3165 May 25 01:35 README.md 01:42:02 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:42:02 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:35 bin 01:42:02 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:35 cmd 01:42:02 -rw-r--r-- 1 jenkins jenkins 18506 May 25 01:41 coverage.out 01:42:02 -rw-rw-r-- 1 jenkins jenkins 3285 May 25 01:35 go.mod 01:42:02 -rw-rw-r-- 1 jenkins jenkins 31322 May 25 01:35 go.sum 01:42:02 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:35 internal 01:42:02 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:35 mock 01:42:02 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:35 snap 01:42:02 -rw-rw-r-- 1 jenkins jenkins 227 May 25 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:02 + 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=c914edb9f105c70f3a718961ec42a35abf56f28d --label arch=arm64 --label version=0.0.0 . 01:42:02 Sending build context to Docker daemon 3.447MB 01:42:03 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:42:03 Step 2/24 : FROM ${BASE} AS builder 01:42:03 ---> b0851697dcad 01:42:03 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:42:03 ---> Running in d7e841df9422 01:42:03 Removing intermediate container d7e841df9422 01:42:03 ---> bcb587639c57 01:42:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:03 ---> Running in d755da927c67 01:42:03 Removing intermediate container d755da927c67 01:42:03 ---> 8fc7415386e3 01:42:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:42:03 ---> Running in a11d8ae00ca1 01:42:04 Removing intermediate container a11d8ae00ca1 01:42:04 ---> b794e87bcc0e 01:42:04 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:42:04 ---> Running in 40b62d3faa58 01:42:04 Removing intermediate container 40b62d3faa58 01:42:04 ---> e32966d2a23b 01:42:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:04 ---> Running in f51dc15ebc8b 01:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:42:08 OK: 268 MiB in 57 packages 01:42:09 Removing intermediate container f51dc15ebc8b 01:42:09 ---> 668d553713fe 01:42:09 Step 8/24 : WORKDIR /device-mqtt-go 01:42:09 ---> Running in 450ea5158438 01:42:09 Removing intermediate container 450ea5158438 01:42:09 ---> 9c6d244fa280 01:42:09 Step 9/24 : COPY go.mod vendor* ./ 01:42:10 ---> 4c0c51aaf25a 01:42:10 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:10 ---> Running in 16da3d1b0ec7 01:42:12 Removing intermediate container 16da3d1b0ec7 01:42:12 ---> 5fb281987d7f 01:42:12 Step 11/24 : COPY . . 01:42:14 ---> 2beb6e29fbd2 01:42:14 Step 12/24 : RUN $MAKE 01:42:15 ---> Running in f5dd52187572 01:42:16 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 01:45:08 Removing intermediate container f5dd52187572 01:45:08 ---> 0add7c46751b 01:45:08 Step 13/24 : FROM alpine:3.17 01:45:08 3.17: Pulling from library/alpine 01:45:08 c41833b44d91: Already exists 01:45:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:45:08 Status: Downloaded newer image for alpine:3.17 01:45:08 ---> 51e60588ff2c 01:45:08 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:45:08 ---> Running in 40250bdb627a 01:45:08 Removing intermediate container 40250bdb627a 01:45:08 ---> a953c253d50e 01:45:08 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:45:08 ---> Running in 7bc89f8c8a28 01:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:45:08 (1/1) Installing dumb-init (1.2.5-r2) 01:45:08 Executing busybox-1.35.0-r29.trigger 01:45:08 OK: 8 MiB in 16 packages 01:45:08 Removing intermediate container 7bc89f8c8a28 01:45:08 ---> 177f7e37656b 01:45:08 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:45:08 ---> bc4c545f80cc 01:45:08 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:45:08 ---> 1ee2b442c5f4 01:45:08 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:45:08 ---> 81386b060166 01:45:08 Step 19/24 : EXPOSE 59982 01:45:08 ---> Running in d50a224e78a1 01:45:08 Removing intermediate container d50a224e78a1 01:45:08 ---> 59095e74ce1c 01:45:08 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:45:08 ---> Running in ac063f705bb2 01:45:08 Removing intermediate container ac063f705bb2 01:45:08 ---> f27bec1d768a 01:45:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:45:08 ---> Running in 1368ba16e650 01:45:08 Removing intermediate container 1368ba16e650 01:45:08 ---> 879494658cf0 01:45:08 Step 22/24 : LABEL arch=arm64 01:45:08 ---> Running in c4d599fc283b 01:45:08 Removing intermediate container c4d599fc283b 01:45:08 ---> 08fc595914d5 01:45:08 Step 23/24 : LABEL git_sha=c914edb9f105c70f3a718961ec42a35abf56f28d 01:45:08 ---> Running in 3c86622eb87d 01:45:08 Removing intermediate container 3c86622eb87d 01:45:08 ---> 8bfe181b922f 01:45:08 Step 24/24 : LABEL version=0.0.0 01:45:08 ---> Running in 36dd94db8f25 01:45:08 Removing intermediate container 36dd94db8f25 01:45:08 ---> 95f93ec610da 01:45:08 [Warning] One or more build-args [ARCH] were not consumed 01:45:08 Successfully built 95f93ec610da 01:45:08 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 01:45:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:09 01:45:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:09 arm64: Pulling from edgex-lftools-log-publisher 01:45:09 8998bd30e6a1: Pulling fs layer 01:45:09 04944245beec: Pulling fs layer 01:45:09 699f458cf7ca: Pulling fs layer 01:45:09 765212b225bb: Pulling fs layer 01:45:09 f23df028b6ca: Pulling fs layer 01:45:09 d65c8cfc05b1: Pulling fs layer 01:45:09 2437ff75d9bd: Pulling fs layer 01:45:09 765212b225bb: Waiting 01:45:09 f23df028b6ca: Waiting 01:45:09 d65c8cfc05b1: Waiting 01:45:09 2437ff75d9bd: Waiting 01:45:09 04944245beec: Verifying Checksum 01:45:09 04944245beec: Download complete 01:45:09 765212b225bb: Verifying Checksum 01:45:09 765212b225bb: Download complete 01:45:09 f23df028b6ca: Download complete 01:45:09 d65c8cfc05b1: Verifying Checksum 01:45:09 d65c8cfc05b1: Download complete 01:45:09 699f458cf7ca: Verifying Checksum 01:45:09 699f458cf7ca: Download complete 01:45:10 8998bd30e6a1: Verifying Checksum 01:45:10 8998bd30e6a1: Download complete 01:45:12 2437ff75d9bd: Verifying Checksum 01:45:12 2437ff75d9bd: Download complete 01:45:14 8998bd30e6a1: Pull complete 01:45:14 04944245beec: Pull complete 01:45:16 699f458cf7ca: Pull complete 01:45:16 765212b225bb: Pull complete 01:45:16 f23df028b6ca: Pull complete 01:45:16 d65c8cfc05b1: Pull complete 01:45:31 2437ff75d9bd: Pull complete 01:45:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:45:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:32 prd-ubuntu20.04-docker-arm64-4c-16g-16915 does not seem to be running inside a container 01:45:32 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@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 01:45:35 $ docker top 538c69116be621ddf33131fd723643e4171cf196779ec8e8b9aa9a293c554e7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:35 ---> job-cost.sh 01:45:35 lf-activate-venv: SKIPPING 01:45:35 INFO: No Stack... 01:45:36 INFO: Retrieving Pricing Info for: v3-standard-4 01:45:37 INFO: Archiving Costs [Pipeline] sh 01:45:37 + + cut -d, -f6 01:45:37 cat /w/workspace/device-mqtt-go/6/archives/cost.csv [Pipeline] lock 01:45:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] 01:45:37 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] did not exist. Created. 01:45:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:45:38 /w/workspace/device-mqtt-go/6@tmp/durable-f65a9cd7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:45:39 + echo total: 0.10999999940395355 [Pipeline] stash 01:45:39 Warning: overwriting stash ‘stack-cost’ 01:45:39 Stashed 1 file(s) [Pipeline] } 01:45:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:45:39 $ docker stop --time=1 538c69116be621ddf33131fd723643e4171cf196779ec8e8b9aa9a293c554e7f 01:45:40 $ docker rm -f --volumes 538c69116be621ddf33131fd723643e4171cf196779ec8e8b9aa9a293c554e7f [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 01:45:41 provisioning config files... 01:45:41 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config641523543000228597tmp [Pipeline] { [Pipeline] sh 01:45:41 + set +x 01:45:41 + curl -s https://codecov.io/bash 01:45:41 + bash -s -- 01:45:41 01:45:41 _____ _ 01:45:41 / ____| | | 01:45:41 | | ___ __| | ___ ___ _____ __ 01:45:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:45:41 | |___| (_) | (_| | __/ (_| (_) \ V / 01:45:41 \_____\___/ \__,_|\___|\___\___/ \_/ 01:45:41 Bash-1.0.6 01:45:41 01:45:41 01:45:41 ==> git version 2.25.1 found 01:45:41 ==> 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 01:45:41 Release-Date: 2020-01-08 01:45:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:45:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:45:41 ==> Jenkins CI detected. 01:45:41 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-606 01:45:41 project root: . 01:45:41 --> token set from env 01:45:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:45:41 ==> Running gcov in . (disable via -X gcov) 01:45:41 ==> Python coveragepy not found 01:45:41 ==> Searching for coverage reports in: 01:45:41 + . 01:45:41 -> Found 1 reports 01:45:41 ==> Detecting git/mercurial file structure 01:45:41 ==> Reading reports 01:45:41 + ./coverage.out bytes=18506 01:45:41 ==> Appending adjustments 01:45:41 https://docs.codecov.io/docs/fixing-reports 01:45:41 + Found adjustments 01:45:41 ==> Gzipping contents 01:45:41 4.0K /tmp/codecov.hiU1rJ.gz 01:45:41 ==> Uploading reports 01:45:41 url: https://codecov.io 01:45:41 query: branch=PR-606&commit=c914edb9f105c70f3a718961ec42a35abf56f28d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 01:45:41 -> Pinging Codecov 01:45:41 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=c914edb9f105c70f3a718961ec42a35abf56f28d&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 01:45:41 -> Uploading to 01:45:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/7D719EC7BBE17E464838252E33014C33/c914edb9f105c70f3a718961ec42a35abf56f28d/07d39f53-a444-4578-b3d4-bee9ae61d318.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T014541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e04b9b4702dee1bee7cbf1cc82895a8154948e04e5e3c4e2c05e0efb0610b68 01:45:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:45:41 Dload Upload Total Spent Left Speed 01:45:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16942 --:--:-- --:--:-- --:--:-- 16942 01:45:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c914edb9f105c70f3a718961ec42a35abf56f28d [Pipeline] } 01:45:42 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 01:45:42 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives ] 01:45:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 01:45:42 total 16 01:45:42 drwxr-xr-x 3 root root 4096 May 25 01:32 . 01:45:42 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:32 .. 01:45:42 drwxr-xr-x 2 root root 4096 May 25 01:32 cost 01:45:42 -rw-r--r-- 1 root root 86 May 25 01:32 cost.csv 01:45:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 01:45:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 01:45:42 total 16 01:45:42 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:32 . 01:45:42 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:32 .. 01:45:42 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:32 cost 01:45:42 -rw-r--r-- 1 jenkins jenkins 86 May 25 01:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:45:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:45:43 ---> package-listing.sh 01:45:43 ++ facter osfamily 01:45:43 ++ tr '[:upper:]' '[:lower:]' 01:45:44 + OS_FAMILY=debian 01:45:44 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-606 01:45:44 + START_PACKAGES=/tmp/packages_start.txt 01:45:44 + END_PACKAGES=/tmp/packages_end.txt 01:45:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:45:44 + PACKAGES=/tmp/packages_start.txt 01:45:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 01:45:44 + PACKAGES=/tmp/packages_end.txt 01:45:44 + case "${OS_FAMILY}" in 01:45:44 + dpkg -l 01:45:44 + grep '^ii' 01:45:44 + '[' -f /tmp/packages_start.txt ']' 01:45:44 + '[' -f /tmp/packages_end.txt ']' 01:45:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:45:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 01:45:44 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ 01:45:44 + 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 01:45:44 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 01:45:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:45:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:45 prd-ubuntu20.04-docker-8c-8g-16905 does not seem to be running inside a container 01:45:45 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:45:45 $ docker top c9c6222db798c3c43229cc0f40472bbde23eb3f22a8996e30d99b1e3ee7ed458 -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:45 + touch /tmp/pre-build-complete [Pipeline] sh 01:45:46 + mkdir -p /var/log/sysstat [Pipeline] sh 01:45:46 + ls /var/log/sa-host 01:45:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:46 provisioning config files... 01:45:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config18016230774840777569tmp [Pipeline] { [Pipeline] echo 01:45:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:45:46 ---> create-netrc.sh [Pipeline] } 01:45:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:45:47 ---> python-tools-install.sh [Pipeline] echo 01:45:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:45:47 ---> sudo-logs.sh 01:45:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:45:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:45:47 ---> job-cost.sh 01:45:47 lf-activate-venv: SKIPPING 01:45:47 DEBUG: total: 0.2199999988079071 01:45:47 INFO: Retrieving Stack Cost... 01:45:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:45:48 INFO: Archiving Costs [Pipeline] echo 01:45:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:45:48 ---> logs-deploy.sh 01:45:48 lf-activate-venv: SKIPPING 01:45:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-606/6 01:45:48 INFO: archiving workspace using pattern(s): 01:45:49 Archives upload complete. 01:45:49 INFO: archiving logs to Nexus