Pull request #600 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee5cba8ab378d2330694cb2393e94d84aadb4210+504ae262e254dce13e9a69f67e2e26f1d4ba9dab (065edb8e6945095167eea3b73e97a181cc99c346) 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-ssh14263233581543876076.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15518630025373073628.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-600/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-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5132250898062323592.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh6877542397056059331.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-600/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-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15750487495957711448.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-18468 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [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-600 # 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/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 504ae262e254dce13e9a69f67e2e26f1d4ba9dab into PR head commit ee5cba8ab378d2330694cb2393e94d84aadb4210 Merge succeeded, producing ee5cba8ab378d2330694cb2393e94d84aadb4210 Checking out Revision ee5cba8ab378d2330694cb2393e94d84aadb4210 (PR-600) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:53:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:53:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:53:17 ========================================================= 17:53:17 EdgeX Global Pipelines Version Info 17:53:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ee5cba8ab378d2330694cb2393e94d84aadb4210 # 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 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee5cba8ab378d2330694cb2393e94d84aadb4210 # timeout=10 > git rev-list --no-walk f98753701eb704613d95b96c0b2a8c79a9e81601 # timeout=10 17:53:17 ------------------- 17:53:17 stable info: 17:53:17 ------------------- 17:53:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:53:17 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:53:17 Message: update stable to v1.0.250 17:53:18 ------------------- 17:53:18 experimental info: 17:53:18 ------------------- 17:53:18 Commited By: **** collab-it+edgex@linuxfoundation.org 17:53:18 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:53:18 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:53:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee5cba8ab378d2330694cb2393e94d84aadb4210 [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee5cba8 [Pipeline] echo 17:53:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:53:19 provisioning config files... 17:53:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config12980276744003414460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:19 ---> docker-login.sh 17:53:19 nexus3.edgexfoundry.org:10001 17:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:19 Configure a credential helper to remove this warning. See 17:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:19 17:53:19 Login Succeeded 17:53:19 nexus3.edgexfoundry.org:10002 17:53:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:19 Configure a credential helper to remove this warning. See 17:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:19 17:53:19 Login Succeeded 17:53:19 nexus3.edgexfoundry.org:10003 17:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:20 Configure a credential helper to remove this warning. See 17:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:20 17:53:20 Login Succeeded 17:53:20 nexus3.edgexfoundry.org:10004 17:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:20 Configure a credential helper to remove this warning. See 17:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:20 17:53:20 Login Succeeded 17:53:20 docker.io 17:53:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:20 Configure a credential helper to remove this warning. See 17:53:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:20 17:53:20 Login Succeeded 17:53:20 ---> docker-login.sh ends [Pipeline] } 17:53:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:53:20 + git rev-list -1 --merges ee5cba8ab378d2330694cb2393e94d84aadb4210~1..ee5cba8ab378d2330694cb2393e94d84aadb4210 [Pipeline] echo 17:53:20 -----------> git rev-list -1 --merges ee5cba8ab378d2330694cb2393e94d84aadb4210~1..ee5cba8ab378d2330694cb2393e94d84aadb4210 ee5cba8ab378d2330694cb2393e94d84aadb4210 [false] [Pipeline] sh 17:53:21 + git log --format=format:%s -1 ee5cba8ab378d2330694cb2393e94d84aadb4210 [Pipeline] echo 17:53:21 ========================================================= 17:53:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:53:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:53:21 + git log --format=format:%s -1 ee5cba8ab378d2330694cb2393e94d84aadb4210 [Pipeline] echo 17:53:21 [semverPrep] GIT_COMMIT: ee5cba8ab378d2330694cb2393e94d84aadb4210, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 17:53:21 [semverPrep] This is not a build commit. [Pipeline] sh 17:53:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:53:21 + grep -v github /etc/ssh/ssh_known_hosts 17:53:21 + [ -e /tmp/ssh_known_hosts ] 17:53:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:53:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:53:21 + sudo tee -a /etc/ssh/ssh_known_hosts 17:53:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:22 17:53:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:22 0.1.4: Pulling from edgex-devops/py-git-semver 17:53:22 b85a868b505f: Pulling fs layer 17:53:22 e2be974225ed: Pulling fs layer 17:53:22 339a4e72a1f5: Pulling fs layer 17:53:22 988bab9f4d93: Pulling fs layer 17:53:22 1469e6f7b9e6: Pulling fs layer 17:53:22 eaf3925da568: Pulling fs layer 17:53:22 bab4dde63d76: Pulling fs layer 17:53:22 bde34c3a00c8: Pulling fs layer 17:53:22 b352a97aabf1: Pulling fs layer 17:53:22 4872d77fe225: Pulling fs layer 17:53:22 5851b861e8e6: Pulling fs layer 17:53:22 bab4dde63d76: Waiting 17:53:22 bde34c3a00c8: Waiting 17:53:22 b352a97aabf1: Waiting 17:53:22 4872d77fe225: Waiting 17:53:22 5851b861e8e6: Waiting 17:53:22 988bab9f4d93: Waiting 17:53:22 1469e6f7b9e6: Waiting 17:53:22 eaf3925da568: Waiting 17:53:22 e2be974225ed: Verifying Checksum 17:53:22 e2be974225ed: Download complete 17:53:22 988bab9f4d93: Verifying Checksum 17:53:22 988bab9f4d93: Download complete 17:53:22 1469e6f7b9e6: Verifying Checksum 17:53:22 1469e6f7b9e6: Download complete 17:53:22 eaf3925da568: Download complete 17:53:22 339a4e72a1f5: Verifying Checksum 17:53:22 339a4e72a1f5: Download complete 17:53:22 bde34c3a00c8: Download complete 17:53:22 b352a97aabf1: Download complete 17:53:22 4872d77fe225: Download complete 17:53:22 5851b861e8e6: Verifying Checksum 17:53:22 5851b861e8e6: Download complete 17:53:22 b85a868b505f: Verifying Checksum 17:53:22 b85a868b505f: Download complete 17:53:23 bab4dde63d76: Verifying Checksum 17:53:23 bab4dde63d76: Download complete 17:53:24 b85a868b505f: Pull complete 17:53:24 e2be974225ed: Pull complete 17:53:24 339a4e72a1f5: Pull complete 17:53:24 988bab9f4d93: Pull complete 17:53:25 1469e6f7b9e6: Pull complete 17:53:25 eaf3925da568: Pull complete 17:53:26 bab4dde63d76: Pull complete 17:53:26 bde34c3a00c8: Pull complete 17:53:26 b352a97aabf1: Pull complete 17:53:26 4872d77fe225: Pull complete 17:53:26 5851b861e8e6: Pull complete 17:53:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:53:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:53:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:27 prd-ubuntu20.04-docker-8c-8g-18468 does not seem to be running inside a container 17:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@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 17:53:29 $ docker top 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 -eo pid,comm 17:53:30 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). 17:53:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:53:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:30 [ssh-agent] Looking for ssh-agent implementation... 17:53:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:30 $ docker exec 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 ssh-agent 17:53:30 SSH_AUTH_SOCK=/tmp/ssh-nreDUI7R8VhF/agent.32 17:53:30 SSH_AGENT_PID=38 17:53:30 Running ssh-add (command line suppressed) 17:53:30 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_18047021542507862000.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_18047021542507862000.key) 17:53:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:30 + git tag --points-at HEAD [Pipeline] } 17:53:30 $ docker exec --env ******** --env ******** 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 ssh-agent -k 17:53:30 unset SSH_AUTH_SOCK; 17:53:30 unset SSH_AGENT_PID; 17:53:30 echo Agent pid 38 killed; 17:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:53:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:53:30 [ssh-agent] Looking for ssh-agent implementation... 17:53:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:53:30 $ docker exec 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 ssh-agent 17:53:31 SSH_AUTH_SOCK=/tmp/ssh-LMGxpEBbH9SU/agent.70 17:53:31 SSH_AGENT_PID=76 17:53:31 Running ssh-add (command line suppressed) 17:53:31 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_12788023395986717995.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_12788023395986717995.key) 17:53:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:53:31 + git semver init 17:53:31 2023-06-12 17:53:31,664 [run_init] DEBUG init version:0.0.0 force:False 17:53:31 2023-06-12 17:53:31,665 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 17:53:31 2023-06-12 17:53:31,665 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 17:53:31 2023-06-12 17:53:31,665 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600, universal_newlines=False, shell=None, istream=None) 17:53:32 2023-06-12 17:53:32,483 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 17:53:32 2023-06-12 17:53:32,484 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 17:53:32 2023-06-12 17:53:32,484 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 17:53:32 2023-06-12 17:53:32,488 [execute] INFO git cat-file --batch-check 17:53:32 2023-06-12 17:53:32,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 17:53:32 2023-06-12 17:53:32,495 [execute] INFO git cat-file --batch 17:53:32 2023-06-12 17:53:32,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 17:53:32 2023-06-12 17:53:32,499 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 17:53:32 0.0.0 [Pipeline] } 17:53:32 $ docker exec --env ******** --env ******** 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 ssh-agent -k 17:53:32 unset SSH_AUTH_SOCK; 17:53:32 unset SSH_AGENT_PID; 17:53:32 echo Agent pid 76 killed; 17:53:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:53:33 + git semver [Pipeline] } 17:53:33 $ docker stop --time=1 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 17:53:34 $ docker rm -f --volumes 5d2fdba5568f78b49332de5f400160ebb373615856017ad2f68dfdafaccc6cb2 [Pipeline] // withDockerContainer [Pipeline] sh 17:53:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:53:35 Stashed 1 file(s) [Pipeline] echo 17:53:35 [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 17:53:35 provisioning config files... 17:53:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config7082292881564324952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:35 ---> docker-login.sh 17:53:35 nexus3.edgexfoundry.org:10001 17:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:35 Configure a credential helper to remove this warning. See 17:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:35 17:53:35 Login Succeeded 17:53:35 nexus3.edgexfoundry.org:10002 17:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:35 Configure a credential helper to remove this warning. See 17:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:35 17:53:35 Login Succeeded 17:53:35 nexus3.edgexfoundry.org:10003 17:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:35 Configure a credential helper to remove this warning. See 17:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:35 17:53:35 Login Succeeded 17:53:35 nexus3.edgexfoundry.org:10004 17:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:35 Configure a credential helper to remove this warning. See 17:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:35 17:53:35 Login Succeeded 17:53:35 docker.io 17:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:53:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:53:36 Configure a credential helper to remove this warning. See 17:53:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:53:36 17:53:36 Login Succeeded 17:53:36 ---> docker-login.sh ends [Pipeline] } 17:53:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:53:36 ========================================================= 17:53:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:53:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:36 + 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 . 17:53:36 Sending build context to Docker daemon 6.426MB 17:53:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:53:36 Step 2/12 : FROM ${BASE} AS builder 17:53:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:53:36 f56be85fc22e: Pulling fs layer 17:53:36 85791d961cd3: Pulling fs layer 17:53:36 d694b5ae8c79: Pulling fs layer 17:53:36 9f32a84ed3da: Pulling fs layer 17:53:36 4d19c01a9841: Pulling fs layer 17:53:36 9325e15d5711: Pulling fs layer 17:53:36 556b6ee489ea: Pulling fs layer 17:53:36 c5a4b2cf53e6: Pulling fs layer 17:53:36 4d19c01a9841: Waiting 17:53:36 9f32a84ed3da: Waiting 17:53:36 9325e15d5711: Waiting 17:53:36 c5a4b2cf53e6: Waiting 17:53:36 556b6ee489ea: Waiting 17:53:36 85791d961cd3: Verifying Checksum 17:53:36 85791d961cd3: Download complete 17:53:36 9f32a84ed3da: Download complete 17:53:36 4d19c01a9841: Download complete 17:53:36 f56be85fc22e: Verifying Checksum 17:53:36 f56be85fc22e: Download complete 17:53:36 9325e15d5711: Verifying Checksum 17:53:36 9325e15d5711: Download complete 17:53:36 f56be85fc22e: Pull complete 17:53:37 85791d961cd3: Pull complete 17:53:37 c5a4b2cf53e6: Verifying Checksum 17:53:37 c5a4b2cf53e6: Download complete 17:53:37 d694b5ae8c79: Verifying Checksum 17:53:37 d694b5ae8c79: Download complete 17:53:37 556b6ee489ea: Verifying Checksum 17:53:37 556b6ee489ea: Download complete 17:53:40 d694b5ae8c79: Pull complete 17:53:40 9f32a84ed3da: Pull complete 17:53:40 4d19c01a9841: Pull complete 17:53:40 9325e15d5711: Pull complete 17:53:43 556b6ee489ea: Pull complete 17:53:44 c5a4b2cf53e6: Pull complete 17:53:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:53:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:53:44 ---> c4be618373d6 17:53:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:53:48 ---> Running in d1ff07767be5 17:53:48 Removing intermediate container d1ff07767be5 17:53:48 ---> 44a41bde7bca 17:53:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:48 ---> Running in 735636856f07 17:53:48 Removing intermediate container 735636856f07 17:53:48 ---> 6df0756b65ee 17:53:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:53:48 ---> Running in 881717b0925d 17:53:48 Removing intermediate container 881717b0925d 17:53:48 ---> ea6c051b92b7 17:53:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:53:48 ---> Running in 621c7d7eb5b6 17:53:49 Removing intermediate container 621c7d7eb5b6 17:53:49 ---> 32fcd473d4fd 17:53:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:53:49 ---> Running in bc8e2097f2e1 17:53:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:53:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:53:49 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:53:49 (2/4) Installing libedit (20221030.3.1-r0) 17:53:49 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:53:49 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:53:49 Executing busybox-1.35.0-r29.trigger 17:53:49 OK: 269 MiB in 57 packages 17:53:50 Removing intermediate container bc8e2097f2e1 17:53:50 ---> 230206fbc0cc 17:53:50 Step 8/12 : WORKDIR /device-mqtt-go 17:53:50 ---> Running in aa0c29e5f8d2 17:53:50 Removing intermediate container aa0c29e5f8d2 17:53:50 ---> 842f0ab3557a 17:53:50 Step 9/12 : COPY go.mod vendor* ./ 17:53:50 ---> 528ce16e6108 17:53:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:53:50 ---> Running in a88895abfc4a 17:53:50 Still waiting to schedule task 17:53:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:54:17 Removing intermediate container a88895abfc4a 17:54:17 ---> d106a9c38805 17:54:17 Step 11/12 : COPY . . 17:54:17 ---> 4fb5e3226577 17:54:17 Step 12/12 : RUN $MAKE 17:54:17 ---> Running in 88026c2d0f24 17:54:17 noop 17:54:17 Removing intermediate container 88026c2d0f24 17:54:17 ---> 54d69236dac4 17:54:17 Successfully built 54d69236dac4 17:54:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:18 + docker inspect -f . ci-base-image-x86_64 17:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:18 prd-ubuntu20.04-docker-8c-8g-18468 does not seem to be running inside a container 17:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@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 17:54:18 $ docker top fff0e63e58d433d811ee7bb80ba89ea5cb3548ef45a8e98973a29aa57d10bd4e -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:18 + go version 17:54:18 go version go1.20.2 linux/amd64 [Pipeline] } 17:54:18 $ docker stop --time=1 fff0e63e58d433d811ee7bb80ba89ea5cb3548ef45a8e98973a29aa57d10bd4e 17:54:20 $ docker rm -f --volumes fff0e63e58d433d811ee7bb80ba89ea5cb3548ef45a8e98973a29aa57d10bd4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:20 + docker inspect -f . ci-base-image-x86_64 17:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:20 prd-ubuntu20.04-docker-8c-8g-18468 does not seem to be running inside a container 17:54:20 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@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 17:54:20 $ docker top ee168ddff421142bfb72d051c0e2d61737a1b0276b10bb44f4d26dc4eac42764 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 17:54:21 + make test 17:54:21 go test ./... -coverprofile=coverage.out ./... 17:54:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:54:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:54:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:54:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 17:54:43 go vet ./... 17:54:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:54:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:54:46 ./bin/test-attribution-txt.sh [Pipeline] echo 17:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:54:46 $ docker stop --time=1 ee168ddff421142bfb72d051c0e2d61737a1b0276b10bb44f4d26dc4eac42764 17:54:49 $ docker rm -f --volumes ee168ddff421142bfb72d051c0e2d61737a1b0276b10bb44f4d26dc4eac42764 [Pipeline] // withDockerContainer [Pipeline] sh 17:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:54:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:54:51 + ls -al . 17:54:51 total 184 17:54:51 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 17:54 . 17:54:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:53 .. 17:54:51 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:53 .dockerignore 17:54:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:53 .git 17:54:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 .github 17:54:51 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 17:53 .gitignore 17:54:51 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:53 .golangci.yml 17:54:51 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:53 .semver 17:54:51 -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 17:53 Attribution.txt 17:54:51 -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 17:53 CHANGELOG.md 17:54:51 -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 17:53 Dockerfile 17:54:51 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:53 GOVERNANCE.md 17:54:51 -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 17:53 Jenkinsfile 17:54:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:53 LICENSE 17:54:51 -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 17:53 Makefile 17:54:51 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 17:53 OWNERS.md 17:54:51 -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 17:53 README.md 17:54:51 -rw-rw-r-- 1 jenkins jenkins 5 Jun 12 17:53 VERSION 17:54:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:53 bin 17:54:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 cmd 17:54:51 -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 17:54 coverage.out 17:54:51 -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 17:53 go.mod 17:54:51 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 17:53 go.sum 17:54:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:53 internal 17:54:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:53 mock 17:54:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:53 snap 17:54:51 -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 17:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:51 + 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=ee5cba8ab378d2330694cb2393e94d84aadb4210 --label arch=amd64 --label version=0.0.0 . 17:54:51 Sending build context to Docker daemon 6.445MB 17:54:51 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 17:54:51 Step 2/24 : FROM ${BASE} AS builder 17:54:51 ---> 54d69236dac4 17:54:51 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:54:51 ---> Running in a4bed727e298 17:54:51 Removing intermediate container a4bed727e298 17:54:51 ---> 21d370553839 17:54:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:54:51 ---> Running in c1abd15267f9 17:54:51 Removing intermediate container c1abd15267f9 17:54:51 ---> 6eb22c38a01a 17:54:51 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:54:51 ---> Running in a3bdf6895700 17:54:52 Removing intermediate container a3bdf6895700 17:54:52 ---> ae2c0f2ea15c 17:54:52 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:54:52 ---> Running in d9a812465130 17:54:52 Removing intermediate container d9a812465130 17:54:52 ---> 49e0c43a9b9c 17:54:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:54:52 ---> Running in d9972613995d 17:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:54:52 OK: 269 MiB in 57 packages 17:54:52 Removing intermediate container d9972613995d 17:54:52 ---> a453ca0db8d6 17:54:52 Step 8/24 : WORKDIR /device-mqtt-go 17:54:52 ---> Running in 09384db27b9a 17:54:53 Removing intermediate container 09384db27b9a 17:54:53 ---> 83ee00e46926 17:54:53 Step 9/24 : COPY go.mod vendor* ./ 17:54:53 ---> 51c6cc7d7348 17:54:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:54:53 ---> Running in a3d069b5fe6d 17:54:53 Removing intermediate container a3d069b5fe6d 17:54:53 ---> afc9e7223c28 17:54:53 Step 11/24 : COPY . . 17:54:54 ---> f927941ee52c 17:54:54 Step 12/24 : RUN $MAKE 17:54:54 ---> Running in 3c8b3ab7a4a8 17:54:54 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 17:55:16 Removing intermediate container 3c8b3ab7a4a8 17:55:16 ---> 9915aa8772e9 17:55:16 Step 13/24 : FROM alpine:3.17 17:55:16 3.17: Pulling from library/alpine 17:55:16 f56be85fc22e: Already exists 17:55:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:55:16 Status: Downloaded newer image for alpine:3.17 17:55:16 ---> 9ed4aefc74f6 17:55:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:55:16 ---> Running in 3dbd52b74d4a 17:55:16 Removing intermediate container 3dbd52b74d4a 17:55:16 ---> f0c6f279bbe5 17:55:16 Step 15/24 : RUN apk add --update --no-cache dumb-init 17:55:16 ---> Running in 3783ed9fc0a3 17:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:55:16 (1/1) Installing dumb-init (1.2.5-r2) 17:55:16 Executing busybox-1.35.0-r29.trigger 17:55:16 OK: 7 MiB in 16 packages 17:55:16 Removing intermediate container 3783ed9fc0a3 17:55:16 ---> 255b27bf7609 17:55:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:55:16 ---> f0a19dcf6774 17:55:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:55:16 ---> c7f8fca5c261 17:55:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:55:16 ---> d30849118aae 17:55:16 Step 19/24 : EXPOSE 59982 17:55:16 ---> Running in 70d571d27117 17:55:16 Removing intermediate container 70d571d27117 17:55:16 ---> 9193f27b3b50 17:55:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:55:16 ---> Running in 0b615ab6cf02 17:55:16 Removing intermediate container 0b615ab6cf02 17:55:16 ---> cdf56e71c3c5 17:55:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 17:55:16 ---> Running in c1fbda3404d9 17:55:16 Removing intermediate container c1fbda3404d9 17:55:16 ---> d94d3e34c226 17:55:16 Step 22/24 : LABEL arch=amd64 17:55:16 ---> Running in 27bd148f8a1c 17:55:16 Removing intermediate container 27bd148f8a1c 17:55:16 ---> c973fd61cd40 17:55:16 Step 23/24 : LABEL git_sha=ee5cba8ab378d2330694cb2393e94d84aadb4210 17:55:16 ---> Running in cc525a7b3bf7 17:55:16 Removing intermediate container cc525a7b3bf7 17:55:16 ---> a41256fd31bd 17:55:16 Step 24/24 : LABEL version=0.0.0 17:55:16 ---> Running in 07765f111cae 17:55:16 Removing intermediate container 07765f111cae 17:55:16 ---> bdef0e797231 17:55:16 [Warning] One or more build-args [ARCH] were not consumed 17:55:16 Successfully built bdef0e797231 17:55:16 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 17:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:17 17:55:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:17 latest: Pulling from edgex-lftools-log-publisher 17:55:17 5eb5b503b376: Pulling fs layer 17:55:17 5c69ac0246d0: Pulling fs layer 17:55:17 ec43610c2a17: Pulling fs layer 17:55:17 3a2ae6a8a46f: Pulling fs layer 17:55:17 33b1e0a273af: Pulling fs layer 17:55:17 5d3b04190fa2: Pulling fs layer 17:55:17 2f39f015ded8: Pulling fs layer 17:55:17 3a2ae6a8a46f: Waiting 17:55:17 2f39f015ded8: Waiting 17:55:17 33b1e0a273af: Waiting 17:55:17 5d3b04190fa2: Waiting 17:55:17 5c69ac0246d0: Verifying Checksum 17:55:17 5c69ac0246d0: Download complete 17:55:17 3a2ae6a8a46f: Verifying Checksum 17:55:17 3a2ae6a8a46f: Download complete 17:55:17 33b1e0a273af: Verifying Checksum 17:55:17 33b1e0a273af: Download complete 17:55:17 ec43610c2a17: Verifying Checksum 17:55:17 ec43610c2a17: Download complete 17:55:17 5d3b04190fa2: Download complete 17:55:17 5eb5b503b376: Verifying Checksum 17:55:17 5eb5b503b376: Download complete 17:55:18 2f39f015ded8: Download complete 17:55:18 5eb5b503b376: Pull complete 17:55:19 5c69ac0246d0: Pull complete 17:55:19 ec43610c2a17: Pull complete 17:55:19 3a2ae6a8a46f: Pull complete 17:55:19 33b1e0a273af: Pull complete 17:55:19 5d3b04190fa2: Pull complete 17:55:24 2f39f015ded8: Pull complete 17:55:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:55:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:55:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:24 prd-ubuntu20.04-docker-8c-8g-18468 does not seem to be running inside a container 17:55:24 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@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 17:55:28 $ docker top f469a24ed176fa2919bd13bce765eddadff36c5224a672d54ebec91e9ccae389 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:29 ---> job-cost.sh 17:55:29 lf-activate-venv: SKIPPING 17:55:29 INFO: No Stack... 17:55:29 INFO: Retrieving Pricing Info for: v3-standard-8 17:55:29 INFO: Archiving Costs [Pipeline] sh 17:55:30 + + cut -d, -f6 17:55:30 cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv [Pipeline] lock 17:55:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] 17:55:30 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] did not exist. Created. 17:55:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:55:30 + echo total: 0.2199999988079071 [Pipeline] stash 17:55:30 Stashed 1 file(s) [Pipeline] } 17:55:30 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] [Pipeline] // lock [Pipeline] } 17:55:30 $ docker stop --time=1 f469a24ed176fa2919bd13bce765eddadff36c5224a672d54ebec91e9ccae389 17:55:31 $ docker rm -f --volumes f469a24ed176fa2919bd13bce765eddadff36c5224a672d54ebec91e9ccae389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:56:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18473 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 17:56:45 Running in /w/workspace/device-mqtt-go/14 [Pipeline] { [Pipeline] checkout 17:56:45 Selected Git installation does not exist. Using Default 17:56:45 The recommended git tool is: NONE 17:56:52 using credential edgex-jenkins-ssh 17:56:52 Cloning the remote Git repository 17:56:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:56:52 > git init /w/workspace/device-mqtt-go/14 # timeout=10 17:56:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:56:52 > git --version # timeout=10 17:56:52 > git --version # 'git version 2.25.1' 17:56:52 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:56:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:56:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:56:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:56:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:56:55 Merging remotes/origin/main commit 504ae262e254dce13e9a69f67e2e26f1d4ba9dab into PR head commit ee5cba8ab378d2330694cb2393e94d84aadb4210 17:56:56 Merge succeeded, producing ee5cba8ab378d2330694cb2393e94d84aadb4210 17:56:56 Checking out Revision ee5cba8ab378d2330694cb2393e94d84aadb4210 (PR-600) 17:56:56 Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" 17:56:55 > git config core.sparsecheckout # timeout=10 17:56:55 > git checkout -f ee5cba8ab378d2330694cb2393e94d84aadb4210 # timeout=10 17:56:56 > git remote # timeout=10 17:56:56 > git config --get remote.origin.url # timeout=10 17:56:56 using GIT_SSH to set credentials SSH Credentials for GitHub 17:56:56 > git merge 504ae262e254dce13e9a69f67e2e26f1d4ba9dab # timeout=10 17:56:56 > git rev-parse HEAD^{commit} # timeout=10 17:56:56 > git config core.sparsecheckout # timeout=10 17:56:56 > git checkout -f ee5cba8ab378d2330694cb2393e94d84aadb4210 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:56:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:56:57 % Total % Received % Xferd Average Speed Time Time Time Current 17:56:57 Dload Upload Total Spent Left Speed 17:56:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 17:56:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:56:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:56:58 + sudo tee /etc/docker/daemon.new 17:56:58 { 17:56:58 "registry-mirrors": [ 17:56:58 "https://nexus3.edgexfoundry.org:10001" 17:56:58 ], 17:56:58 "bip": "10.250.0.254/24", 17:56:58 "hosts": [ 17:56:58 "tcp://0.0.0.0:5555", 17:56:58 "unix:///var/run/docker.sock" 17:56:58 ], 17:56:58 "mtu": 1458, 17:56:58 "selinux-enabled": true, 17:56:58 "seccomp-profile": "/etc/docker/seccomp.json" 17:56:58 } [Pipeline] sh 17:56:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:56:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:17 provisioning config files... 17:57:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/14@tmp/config11768385502324146642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:18 ---> docker-login.sh 17:57:18 nexus3.edgexfoundry.org:10001 17:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:18 Configure a credential helper to remove this warning. See 17:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:18 17:57:18 Login Succeeded 17:57:18 nexus3.edgexfoundry.org:10002 17:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:19 Configure a credential helper to remove this warning. See 17:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:19 17:57:19 Login Succeeded 17:57:19 nexus3.edgexfoundry.org:10003 17:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:19 Configure a credential helper to remove this warning. See 17:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:19 17:57:19 Login Succeeded 17:57:19 nexus3.edgexfoundry.org:10004 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 docker.io 17:57:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:57:20 Configure a credential helper to remove this warning. See 17:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:57:20 17:57:20 Login Succeeded 17:57:20 ---> docker-login.sh ends [Pipeline] } 17:57:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:57:21 ========================================================= 17:57:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:57:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:57:21 + 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 . 17:57:21 Sending build context to Docker daemon 3.32MB 17:57:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:57:21 Step 2/12 : FROM ${BASE} AS builder 17:57:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:57:22 c41833b44d91: Pulling fs layer 17:57:22 ed15518f5707: Pulling fs layer 17:57:22 feae8fd75edb: Pulling fs layer 17:57:22 242c74f7c9fa: Pulling fs layer 17:57:22 3cdef696dda3: Pulling fs layer 17:57:22 2ced38df9373: Pulling fs layer 17:57:22 58f1dce35555: Pulling fs layer 17:57:22 2ced38df9373: Waiting 17:57:22 242c74f7c9fa: Waiting 17:57:22 3cdef696dda3: Waiting 17:57:22 58f1dce35555: Waiting 17:57:22 ed15518f5707: Verifying Checksum 17:57:22 ed15518f5707: Download complete 17:57:22 242c74f7c9fa: Verifying Checksum 17:57:22 242c74f7c9fa: Download complete 17:57:22 3cdef696dda3: Verifying Checksum 17:57:22 3cdef696dda3: Download complete 17:57:22 c41833b44d91: Verifying Checksum 17:57:23 c41833b44d91: Pull complete 17:57:23 58f1dce35555: Verifying Checksum 17:57:23 58f1dce35555: Download complete 17:57:24 ed15518f5707: Pull complete 17:57:25 feae8fd75edb: Verifying Checksum 17:57:25 feae8fd75edb: Download complete 17:57:25 2ced38df9373: Verifying Checksum 17:57:25 2ced38df9373: Download complete 17:57:37 feae8fd75edb: Pull complete 17:57:37 242c74f7c9fa: Pull complete 17:57:37 3cdef696dda3: Pull complete 17:57:44 2ced38df9373: Pull complete 17:57:46 58f1dce35555: Pull complete 17:57:46 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 17:57:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:57:46 ---> fadd8f120f05 17:57:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:57:48 ---> Running in 447e6d058ae1 17:57:49 Removing intermediate container 447e6d058ae1 17:57:49 ---> 1a7efbcc1118 17:57:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:57:49 ---> Running in 7fcf5a4fb2cb 17:57:49 Removing intermediate container 7fcf5a4fb2cb 17:57:49 ---> ab1796109a70 17:57:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 17:57:49 ---> Running in 5bba75457889 17:57:50 Removing intermediate container 5bba75457889 17:57:50 ---> ec3b660d7e22 17:57:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:57:50 ---> Running in 89706b827505 17:57:50 Removing intermediate container 89706b827505 17:57:50 ---> 86e25681055e 17:57:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:57:50 ---> Running in ea579a69305e 17:57:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:57:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:57:53 (1/4) Installing openssh-keygen (9.1_p1-r3) 17:57:53 (2/4) Installing libedit (20221030.3.1-r0) 17:57:53 (3/4) Installing openssh-client-common (9.1_p1-r3) 17:57:53 (4/4) Installing openssh-client-default (9.1_p1-r3) 17:57:53 Executing busybox-1.35.0-r29.trigger 17:57:53 OK: 268 MiB in 57 packages 17:57:55 Removing intermediate container ea579a69305e 17:57:55 ---> cca013b2559c 17:57:55 Step 8/12 : WORKDIR /device-mqtt-go 17:57:55 ---> Running in 16fb07f3b34b 17:57:55 Removing intermediate container 16fb07f3b34b 17:57:55 ---> 548cce22cdc4 17:57:55 Step 9/12 : COPY go.mod vendor* ./ 17:57:56 ---> 60ce2cfbe5da 17:57:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:57:56 ---> Running in 1b1f09393f45 17:59:03 Removing intermediate container 1b1f09393f45 17:59:03 ---> 687b1c7946fa 17:59:03 Step 11/12 : COPY . . 17:59:03 ---> fae413297416 17:59:03 Step 12/12 : RUN $MAKE 17:59:03 ---> Running in 334ecd5fad06 17:59:03 noop 17:59:03 Removing intermediate container 334ecd5fad06 17:59:03 ---> 61c404ce9d3d 17:59:03 Successfully built 61c404ce9d3d 17:59:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:04 + docker inspect -f . ci-base-image-arm64 17:59:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:04 prd-ubuntu20.04-docker-arm64-4c-16g-18473 does not seem to be running inside a container 17:59:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@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 17:59:08 $ docker top 5b62b2939656a56339c7fc9fed7ad544b0398191530d970df5c28b7a8aaafadd -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:09 + go version 17:59:09 go version go1.20.2 linux/arm64 [Pipeline] } 17:59:09 $ docker stop --time=1 5b62b2939656a56339c7fc9fed7ad544b0398191530d970df5c28b7a8aaafadd 17:59:10 $ docker rm -f --volumes 5b62b2939656a56339c7fc9fed7ad544b0398191530d970df5c28b7a8aaafadd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:11 + docker inspect -f . ci-base-image-arm64 17:59:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:11 prd-ubuntu20.04-docker-arm64-4c-16g-18473 does not seem to be running inside a container 17:59:11 $ 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/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@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 17:59:12 $ docker top 34c63123542f7ffc4c5f3c72acf3255869142bad6dc258a994da13a3daef238e -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:13 + git config --global --add safe.directory /w/workspace/device-mqtt-go/14 [Pipeline] fileExists [Pipeline] sh 17:59:14 + make test 17:59:14 go test ./... -coverprofile=coverage.out ./... 17:59:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:02:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:02:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:02:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.082s coverage: 22.8% of statements 18:02:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:02:00 go vet ./... 18:02:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:02:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:02:26 ./bin/test-attribution-txt.sh [Pipeline] echo 18:02:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:02:27 $ docker stop --time=1 34c63123542f7ffc4c5f3c72acf3255869142bad6dc258a994da13a3daef238e 18:02:29 $ docker rm -f --volumes 34c63123542f7ffc4c5f3c72acf3255869142bad6dc258a994da13a3daef238e [Pipeline] // withDockerContainer [Pipeline] sh 18:02:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:02:30 Warning: overwriting stash ‘coverage-report’ 18:02:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:02:32 + ls -al . 18:02:32 total 180 18:02:32 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 17:59 . 18:02:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:56 .. 18:02:32 -rw-rw-r-- 1 jenkins jenkins 140 Jun 12 17:56 .dockerignore 18:02:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 17:56 .git 18:02:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 .github 18:02:32 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 17:56 .gitignore 18:02:32 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 17:56 .golangci.yml 18:02:32 -rw-rw-r-- 1 jenkins jenkins 9417 Jun 12 17:56 Attribution.txt 18:02:32 -rw-rw-r-- 1 jenkins jenkins 17522 Jun 12 17:56 CHANGELOG.md 18:02:32 -rw-rw-r-- 1 jenkins jenkins 1689 Jun 12 17:56 Dockerfile 18:02:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 17:56 GOVERNANCE.md 18:02:32 -rw-rw-r-- 1 jenkins jenkins 678 Jun 12 17:56 Jenkinsfile 18:02:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 17:56 LICENSE 18:02:32 -rw-rw-r-- 1 jenkins jenkins 1732 Jun 12 17:56 Makefile 18:02:32 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 17:56 OWNERS.md 18:02:32 -rw-rw-r-- 1 jenkins jenkins 3695 Jun 12 17:56 README.md 18:02:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 12 17:53 VERSION 18:02:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:56 bin 18:02:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 cmd 18:02:32 -rw-r--r-- 1 jenkins jenkins 18506 Jun 12 18:01 coverage.out 18:02:32 -rw-rw-r-- 1 jenkins jenkins 3285 Jun 12 17:56 go.mod 18:02:32 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 17:56 go.sum 18:02:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 17:56 internal 18:02:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 17:56 mock 18:02:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 17:56 snap 18:02:32 -rw-rw-r-- 1 jenkins jenkins 227 Jun 12 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:32 + 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=ee5cba8ab378d2330694cb2393e94d84aadb4210 --label arch=arm64 --label version=0.0.0 . 18:02:32 Sending build context to Docker daemon 3.339MB 18:02:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 18:02:32 Step 2/24 : FROM ${BASE} AS builder 18:02:32 ---> 61c404ce9d3d 18:02:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:02:33 ---> Running in 8ea81807fa96 18:02:33 Removing intermediate container 8ea81807fa96 18:02:33 ---> ffdd21464969 18:02:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:02:33 ---> Running in f5e0c256d9b3 18:02:33 Removing intermediate container f5e0c256d9b3 18:02:33 ---> b906e5215599 18:02:33 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:02:33 ---> Running in a141594f4dea 18:02:34 Removing intermediate container a141594f4dea 18:02:34 ---> 9c1a219d8962 18:02:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:02:34 ---> Running in 4eb4e05af3e3 18:02:34 Removing intermediate container 4eb4e05af3e3 18:02:34 ---> fd61f154245d 18:02:34 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:34 ---> Running in 77b47cbe0456 18:02:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:02:38 OK: 268 MiB in 57 packages 18:02:38 Removing intermediate container 77b47cbe0456 18:02:38 ---> 68a49f314715 18:02:38 Step 8/24 : WORKDIR /device-mqtt-go 18:02:39 ---> Running in 3a0747ce05d9 18:02:39 Removing intermediate container 3a0747ce05d9 18:02:39 ---> a1cf9bd35d02 18:02:39 Step 9/24 : COPY go.mod vendor* ./ 18:02:39 ---> 9bf2af946b61 18:02:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:39 ---> Running in 725e12ca931b 18:02:42 Removing intermediate container 725e12ca931b 18:02:42 ---> 34008d31f43e 18:02:42 Step 11/24 : COPY . . 18:02:43 ---> 9d3014b5b87f 18:02:43 Step 12/24 : RUN $MAKE 18:02:43 ---> Running in ac349629b8ee 18:02:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:05:21 Removing intermediate container ac349629b8ee 18:05:21 ---> 0c01177a9d69 18:05:21 Step 13/24 : FROM alpine:3.17 18:05:21 3.17: Pulling from library/alpine 18:05:21 c41833b44d91: Already exists 18:05:21 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:05:21 Status: Downloaded newer image for alpine:3.17 18:05:21 ---> 51e60588ff2c 18:05:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:05:21 ---> Running in dbf211d4c99a 18:05:21 Removing intermediate container dbf211d4c99a 18:05:21 ---> 43c132201b60 18:05:21 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:05:21 ---> Running in 49f10c5c956e 18:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:05:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:05:21 (1/1) Installing dumb-init (1.2.5-r2) 18:05:21 Executing busybox-1.35.0-r29.trigger 18:05:21 OK: 8 MiB in 16 packages 18:05:21 Removing intermediate container 49f10c5c956e 18:05:21 ---> addd3c6eb7a6 18:05:21 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:05:21 ---> 6c4cc449c32c 18:05:21 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:05:21 ---> 159e0b154596 18:05:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:05:21 ---> 5f27f3cdb35e 18:05:21 Step 19/24 : EXPOSE 59982 18:05:21 ---> Running in 3896fe8ae97c 18:05:21 Removing intermediate container 3896fe8ae97c 18:05:21 ---> 73c0dbf0890f 18:05:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:05:21 ---> Running in 9e6ddfa166c5 18:05:21 Removing intermediate container 9e6ddfa166c5 18:05:21 ---> 74068a40e876 18:05:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:05:21 ---> Running in a5e816c3ba45 18:05:21 Removing intermediate container a5e816c3ba45 18:05:21 ---> 8afe2323f033 18:05:21 Step 22/24 : LABEL arch=arm64 18:05:21 ---> Running in c472441a3174 18:05:21 Removing intermediate container c472441a3174 18:05:21 ---> 9fae7b608964 18:05:21 Step 23/24 : LABEL git_sha=ee5cba8ab378d2330694cb2393e94d84aadb4210 18:05:21 ---> Running in 58325a3afe9d 18:05:21 Removing intermediate container 58325a3afe9d 18:05:21 ---> dd964a8bd3bd 18:05:21 Step 24/24 : LABEL version=0.0.0 18:05:21 ---> Running in e2c2fb0f8e5e 18:05:21 Removing intermediate container e2c2fb0f8e5e 18:05:21 ---> 132a7bac9891 18:05:21 [Warning] One or more build-args [ARCH] were not consumed 18:05:21 Successfully built 132a7bac9891 18:05:21 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 18:05:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:05:22 18:05:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:05:22 arm64: Pulling from edgex-lftools-log-publisher 18:05:22 8998bd30e6a1: Pulling fs layer 18:05:22 04944245beec: Pulling fs layer 18:05:22 699f458cf7ca: Pulling fs layer 18:05:22 765212b225bb: Pulling fs layer 18:05:22 f23df028b6ca: Pulling fs layer 18:05:22 d65c8cfc05b1: Pulling fs layer 18:05:22 2437ff75d9bd: Pulling fs layer 18:05:22 f23df028b6ca: Waiting 18:05:22 d65c8cfc05b1: Waiting 18:05:22 2437ff75d9bd: Waiting 18:05:22 765212b225bb: Waiting 18:05:22 04944245beec: Verifying Checksum 18:05:22 04944245beec: Download complete 18:05:22 765212b225bb: Verifying Checksum 18:05:22 765212b225bb: Download complete 18:05:22 f23df028b6ca: Download complete 18:05:22 d65c8cfc05b1: Verifying Checksum 18:05:22 d65c8cfc05b1: Download complete 18:05:23 699f458cf7ca: Verifying Checksum 18:05:23 699f458cf7ca: Download complete 18:05:23 8998bd30e6a1: Verifying Checksum 18:05:23 8998bd30e6a1: Download complete 18:05:27 2437ff75d9bd: Verifying Checksum 18:05:27 2437ff75d9bd: Download complete 18:05:28 8998bd30e6a1: Pull complete 18:05:28 04944245beec: Pull complete 18:05:30 699f458cf7ca: Pull complete 18:05:30 765212b225bb: Pull complete 18:05:31 f23df028b6ca: Pull complete 18:05:31 d65c8cfc05b1: Pull complete 18:05:46 2437ff75d9bd: Pull complete 18:05:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:05:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:46 prd-ubuntu20.04-docker-arm64-4c-16g-18473 does not seem to be running inside a container 18:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@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 18:05:49 $ docker top 98a63c43acdbbfc43c1edc5474d0e04e98a14c3a69d09a07b6bdbfe3c99edb96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:50 ---> job-cost.sh 18:05:50 lf-activate-venv: SKIPPING 18:05:50 INFO: No Stack... 18:05:50 INFO: Retrieving Pricing Info for: v3-standard-4 18:05:51 INFO: Archiving Costs [Pipeline] sh 18:05:52 + cat /w/workspace/device-mqtt-go/14/archives/cost.csv 18:05:52 + cut -d, -f6 [Pipeline] lock 18:05:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] 18:05:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] did not exist. Created. 18:05:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:05:52 /w/workspace/device-mqtt-go/14@tmp/durable-45f84d60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:05:53 + echo total: 0.10999999940395355 [Pipeline] stash 18:05:53 Warning: overwriting stash ‘stack-cost’ 18:05:53 Stashed 1 file(s) [Pipeline] } 18:05:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-14-stack-cost] [Pipeline] // lock [Pipeline] } 18:05:53 $ docker stop --time=1 98a63c43acdbbfc43c1edc5474d0e04e98a14c3a69d09a07b6bdbfe3c99edb96 18:05:55 $ docker rm -f --volumes 98a63c43acdbbfc43c1edc5474d0e04e98a14c3a69d09a07b6bdbfe3c99edb96 [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 18:05:55 provisioning config files... 18:05:55 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config7211467800036814947tmp [Pipeline] { [Pipeline] sh 18:05:55 + set +x 18:05:55 + + curlbash -s -s https://codecov.io/bash -- 18:05:55 18:05:55 18:05:55 _____ _ 18:05:55 / ____| | | 18:05:55 | | ___ __| | ___ ___ _____ __ 18:05:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:05:55 | |___| (_) | (_| | __/ (_| (_) \ V / 18:05:55 \_____\___/ \__,_|\___|\___\___/ \_/ 18:05:55 Bash-1.0.6 18:05:55 18:05:55 18:05:55 ==> git version 2.25.1 found 18:05:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:05:55 Release-Date: 2020-01-08 18:05:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:05:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:05:55 ==> Jenkins CI detected. 18:05:55 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 18:05:55 project root: . 18:05:55 --> token set from env 18:05:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:05:56 ==> Running gcov in . (disable via -X gcov) 18:05:56 ==> Python coveragepy not found 18:05:56 ==> Searching for coverage reports in: 18:05:56 + . 18:05:56 -> Found 1 reports 18:05:56 ==> Detecting git/mercurial file structure 18:05:56 ==> Reading reports 18:05:56 + ./coverage.out bytes=18506 18:05:56 ==> Appending adjustments 18:05:56 https://docs.codecov.io/docs/fixing-reports 18:05:56 + Found adjustments 18:05:56 ==> Gzipping contents 18:05:56 4.0K /tmp/codecov.sZtyxG.gz 18:05:56 ==> Uploading reports 18:05:56 url: https://codecov.io 18:05:56 query: branch=PR-600&commit=ee5cba8ab378d2330694cb2393e94d84aadb4210&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 18:05:56 -> Pinging Codecov 18:05:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-600&commit=ee5cba8ab378d2330694cb2393e94d84aadb4210&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 18:05:56 -> Uploading to 18:05:56 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/7D719EC7BBE17E464838252E33014C33/ee5cba8ab378d2330694cb2393e94d84aadb4210/c33146a4-4b28-4687-bd4e-20649182f995.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T180556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0336f91796df3ed42b2b9017ead58aab10ec27b331636265148a6bdb4564fa56 18:05:56 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:56 Dload Upload Total Spent Left Speed 18:05:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 18394 --:--:-- --:--:-- --:--:-- 18394 18:05:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ee5cba8ab378d2330694cb2393e94d84aadb4210 [Pipeline] } 18:05:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:05:57 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 18:05:57 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 18:05:57 total 16 18:05:57 drwxr-xr-x 3 root root 4096 Jun 12 17:55 . 18:05:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:55 .. 18:05:57 drwxr-xr-x 2 root root 4096 Jun 12 17:55 cost 18:05:57 -rw-r--r-- 1 root root 87 Jun 12 17:55 cost.csv 18:05:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 18:05:57 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 18:05:57 total 16 18:05:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 17:55 . 18:05:57 drwxrwxr-x 11 jenkins jenkins 4096 Jun 12 17:55 .. 18:05:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 17:55 cost 18:05:57 -rw-r--r-- 1 jenkins jenkins 87 Jun 12 17:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:05:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:58 ---> package-listing.sh 18:05:58 ++ facter osfamily 18:05:58 ++ tr '[:upper:]' '[:lower:]' 18:05:58 + OS_FAMILY=debian 18:05:58 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 18:05:58 + START_PACKAGES=/tmp/packages_start.txt 18:05:58 + END_PACKAGES=/tmp/packages_end.txt 18:05:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:58 + PACKAGES=/tmp/packages_start.txt 18:05:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 18:05:58 + PACKAGES=/tmp/packages_end.txt 18:05:58 + case "${OS_FAMILY}" in 18:05:58 + dpkg -l 18:05:58 + grep '^ii' 18:05:58 + '[' -f /tmp/packages_start.txt ']' 18:05:58 + '[' -f /tmp/packages_end.txt ']' 18:05:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 18:05:58 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 18:05:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ [Pipeline] echo 18:05:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:05:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:59 prd-ubuntu20.04-docker-8c-8g-18468 does not seem to be running inside a container 18:05:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-600/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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@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 18:05:59 $ docker top d08fec8ddc6c1b6447397735ef2672918e6209113994728bd66c0447b5c69d7f -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:06:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:06:00 + ls /var/log/sa-host 18:06:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:00 provisioning config files... 18:06:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config13760202260139514360tmp [Pipeline] { [Pipeline] echo 18:06:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:06:01 ---> create-netrc.sh [Pipeline] } 18:06:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:06:01 ---> python-tools-install.sh [Pipeline] echo 18:06:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:06:01 ---> sudo-logs.sh 18:06:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:06:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:06:02 ---> job-cost.sh 18:06:02 lf-activate-venv: SKIPPING 18:06:02 DEBUG: total: 0.2199999988079071 18:06:02 INFO: Retrieving Stack Cost... 18:06:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:06:02 INFO: Archiving Costs [Pipeline] echo 18:06:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:06:03 ---> logs-deploy.sh 18:06:03 lf-activate-venv: SKIPPING 18:06:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/14 18:06:03 INFO: archiving workspace using pattern(s): 18:06:04 Archives upload complete. 18:06:04 INFO: archiving logs to Nexus