Pull request #580 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 167c535e542320c778dd76e283be5e30e3b7727d+15e121638b61dd5d2b05931572372c8312ebd12f (798db3fad5b419a2109236dde6eb5532cb968bd9) 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-ssh5034080328006896147.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3267186428738343666.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4230283479429138220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15005123167958755372.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1086366726116271587.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3237513498287654038.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-11157 in /w/workspace/gexfoundry_device-mqtt-go_PR-580 [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-580 # 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/580/head:refs/remotes/origin/PR-580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit 167c535e542320c778dd76e283be5e30e3b7727d Merge succeeded, producing 167c535e542320c778dd76e283be5e30e3b7727d Checking out Revision 167c535e542320c778dd76e283be5e30e3b7727d (PR-580) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:14 ========================================================= 01:59:14 EdgeX Global Pipelines Version Info 01:59:14 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f 167c535e542320c778dd76e283be5e30e3b7727d # 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 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 167c535e542320c778dd76e283be5e30e3b7727d # timeout=10 [Pipeline] sh 01:59:15 ------------------- 01:59:15 stable info: 01:59:15 ------------------- 01:59:15 Commited By: Bill Mahoney bill.mahoney@intel.com 01:59:15 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:59:15 Message: update stable to v1.0.248 01:59:15 ------------------- 01:59:15 experimental info: 01:59:15 ------------------- 01:59:15 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:15 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:59:15 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-580 [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-580 [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-580 [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 167c535e542320c778dd76e283be5e30e3b7727d [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 167c535 [Pipeline] echo 01:59:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:18 provisioning config files... 01:59:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/config10891012127548947274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:18 ---> docker-login.sh 01:59:18 nexus3.edgexfoundry.org:10001 01:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:18 Configure a credential helper to remove this warning. See 01:59:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:18 01:59:18 Login Succeeded 01:59:18 nexus3.edgexfoundry.org:10002 01:59:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:19 Configure a credential helper to remove this warning. See 01:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:19 01:59:19 Login Succeeded 01:59:19 nexus3.edgexfoundry.org:10003 01:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:19 Configure a credential helper to remove this warning. See 01:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:19 01:59:19 Login Succeeded 01:59:19 nexus3.edgexfoundry.org:10004 01:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:19 Configure a credential helper to remove this warning. See 01:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:19 01:59:19 Login Succeeded 01:59:19 docker.io 01:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:19 Configure a credential helper to remove this warning. See 01:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:19 01:59:19 Login Succeeded 01:59:19 ---> docker-login.sh ends [Pipeline] } 01:59:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:59:20 + git rev-list -1 --merges 167c535e542320c778dd76e283be5e30e3b7727d~1..167c535e542320c778dd76e283be5e30e3b7727d [Pipeline] echo 01:59:20 -----------> git rev-list -1 --merges 167c535e542320c778dd76e283be5e30e3b7727d~1..167c535e542320c778dd76e283be5e30e3b7727d 167c535e542320c778dd76e283be5e30e3b7727d [false] [Pipeline] sh 01:59:20 + git log --format=format:%s -1 167c535e542320c778dd76e283be5e30e3b7727d [Pipeline] echo 01:59:20 ========================================================= 01:59:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:59:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:21 + git log --format=format:%s -1 167c535e542320c778dd76e283be5e30e3b7727d [Pipeline] echo 01:59:21 [semverPrep] GIT_COMMIT: 167c535e542320c778dd76e283be5e30e3b7727d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 01:59:21 [semverPrep] This is not a build commit. [Pipeline] sh 01:59:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:21 + grep -v github /etc/ssh/ssh_known_hosts 01:59:21 + [ -e /tmp/ssh_known_hosts ] 01:59:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:59:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:59:21 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:22 01:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:22 0.1.4: Pulling from edgex-devops/py-git-semver 01:59:22 b85a868b505f: Pulling fs layer 01:59:22 e2be974225ed: Pulling fs layer 01:59:22 339a4e72a1f5: Pulling fs layer 01:59:22 988bab9f4d93: Pulling fs layer 01:59:22 1469e6f7b9e6: Pulling fs layer 01:59:22 eaf3925da568: Pulling fs layer 01:59:22 bab4dde63d76: Pulling fs layer 01:59:22 bde34c3a00c8: Pulling fs layer 01:59:22 b352a97aabf1: Pulling fs layer 01:59:22 4872d77fe225: Pulling fs layer 01:59:22 5851b861e8e6: Pulling fs layer 01:59:22 988bab9f4d93: Waiting 01:59:22 1469e6f7b9e6: Waiting 01:59:22 eaf3925da568: Waiting 01:59:22 4872d77fe225: Waiting 01:59:22 5851b861e8e6: Waiting 01:59:22 bde34c3a00c8: Waiting 01:59:22 e2be974225ed: Verifying Checksum 01:59:22 e2be974225ed: Download complete 01:59:22 988bab9f4d93: Verifying Checksum 01:59:22 988bab9f4d93: Download complete 01:59:23 339a4e72a1f5: Download complete 01:59:23 1469e6f7b9e6: Verifying Checksum 01:59:23 1469e6f7b9e6: Download complete 01:59:23 eaf3925da568: Verifying Checksum 01:59:23 eaf3925da568: Download complete 01:59:23 bde34c3a00c8: Verifying Checksum 01:59:23 bde34c3a00c8: Download complete 01:59:23 b352a97aabf1: Verifying Checksum 01:59:23 b352a97aabf1: Download complete 01:59:23 4872d77fe225: Verifying Checksum 01:59:23 4872d77fe225: Download complete 01:59:23 5851b861e8e6: Download complete 01:59:23 b85a868b505f: Download complete 01:59:23 bab4dde63d76: Verifying Checksum 01:59:23 bab4dde63d76: Download complete 01:59:24 b85a868b505f: Pull complete 01:59:24 e2be974225ed: Pull complete 01:59:24 339a4e72a1f5: Pull complete 01:59:24 988bab9f4d93: Pull complete 01:59:25 1469e6f7b9e6: Pull complete 01:59:25 eaf3925da568: Pull complete 01:59:27 bab4dde63d76: Pull complete 01:59:27 bde34c3a00c8: Pull complete 01:59:27 b352a97aabf1: Pull complete 01:59:27 4872d77fe225: Pull complete 01:59:27 5851b861e8e6: Pull complete 01:59:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:59:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:27 prd-ubuntu20.04-docker-8c-8g-11157 does not seem to be running inside a container 01:59:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-580 -v /w/workspace/gexfoundry_device-mqtt-go_PR-580:/w/workspace/gexfoundry_device-mqtt-go_PR-580:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-580@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:28 $ docker top 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 -eo pid,comm 01:59:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:59:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:29 [ssh-agent] Looking for ssh-agent implementation... 01:59:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:29 $ docker exec 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 ssh-agent 01:59:29 SSH_AUTH_SOCK=/tmp/ssh-UOitfTeYneSd/agent.32 01:59:29 SSH_AGENT_PID=38 01:59:29 Running ssh-add (command line suppressed) 01:59:29 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/private_key_3500279794358634783.key (/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/private_key_3500279794358634783.key) 01:59:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:29 + git tag --points-at HEAD [Pipeline] } 01:59:29 $ docker exec --env ******** --env ******** 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 ssh-agent -k 01:59:29 unset SSH_AUTH_SOCK; 01:59:29 unset SSH_AGENT_PID; 01:59:29 echo Agent pid 38 killed; 01:59:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:59:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:29 [ssh-agent] Looking for ssh-agent implementation... 01:59:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:30 $ docker exec 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 ssh-agent 01:59:30 SSH_AUTH_SOCK=/tmp/ssh-0cgfklgbjkGb/agent.69 01:59:30 SSH_AGENT_PID=75 01:59:30 Running ssh-add (command line suppressed) 01:59:30 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/private_key_14905875454915456730.key (/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/private_key_14905875454915456730.key) 01:59:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:30 + git semver init 01:59:30 2023-04-27 01:59:30,817 [run_init] DEBUG init version:0.0.0 force:False 01:59:30 2023-04-27 01:59:30,818 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver 01:59:30 2023-04-27 01:59:30,818 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver 01:59:30 2023-04-27 01:59:30,819 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-580, universal_newlines=False, shell=None, istream=None) 01:59:31 2023-04-27 01:59:31,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-580/.git/info/exclude 01:59:31 2023-04-27 01:59:31,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver/PR-580 with force:False 01:59:31 2023-04-27 01:59:31,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver/PR-580 01:59:31 2023-04-27 01:59:31,611 [execute] INFO git cat-file --batch-check 01:59:31 2023-04-27 01:59:31,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver, universal_newlines=False, shell=None, istream=) 01:59:31 2023-04-27 01:59:31,618 [execute] INFO git cat-file --batch 01:59:31 2023-04-27 01:59:31,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver, universal_newlines=False, shell=None, istream=) 01:59:31 2023-04-27 01:59:31,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-580/.semver/PR-580 01:59:31 0.0.0 [Pipeline] } 01:59:31 $ docker exec --env ******** --env ******** 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 ssh-agent -k 01:59:31 unset SSH_AUTH_SOCK; 01:59:31 unset SSH_AGENT_PID; 01:59:31 echo Agent pid 75 killed; 01:59:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:32 + git semver [Pipeline] } 01:59:32 $ docker stop --time=1 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 01:59:34 $ docker rm -f --volumes 5db511d04b4da05a3b8adc2a2842ddb1b454fd136ee9ded3533c282df9c22552 [Pipeline] // withDockerContainer [Pipeline] sh 01:59:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:34 Stashed 1 file(s) [Pipeline] echo 01:59:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:35 provisioning config files... 01:59:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/config5224545523083937126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:35 ---> docker-login.sh 01:59:35 nexus3.edgexfoundry.org:10001 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 nexus3.edgexfoundry.org:10002 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 nexus3.edgexfoundry.org:10003 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 nexus3.edgexfoundry.org:10004 01:59:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:35 Configure a credential helper to remove this warning. See 01:59:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:35 01:59:35 Login Succeeded 01:59:35 docker.io 01:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:36 Configure a credential helper to remove this warning. See 01:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:36 01:59:36 Login Succeeded 01:59:36 ---> docker-login.sh ends [Pipeline] } 01:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:36 ========================================================= 01:59:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:59:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59: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 . 01:59:36 Sending build context to Docker daemon 6.483MB 01:59:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:59:36 Step 2/12 : FROM ${BASE} AS builder 01:59:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:36 f56be85fc22e: Pulling fs layer 01:59:36 85791d961cd3: Pulling fs layer 01:59:36 d694b5ae8c79: Pulling fs layer 01:59:36 9f32a84ed3da: Pulling fs layer 01:59:36 4d19c01a9841: Pulling fs layer 01:59:36 9325e15d5711: Pulling fs layer 01:59:36 556b6ee489ea: Pulling fs layer 01:59:36 c5a4b2cf53e6: Pulling fs layer 01:59:36 9325e15d5711: Waiting 01:59:36 556b6ee489ea: Waiting 01:59:36 c5a4b2cf53e6: Waiting 01:59:36 9f32a84ed3da: Waiting 01:59:36 4d19c01a9841: Waiting 01:59:36 85791d961cd3: Verifying Checksum 01:59:36 85791d961cd3: Download complete 01:59:36 9f32a84ed3da: Verifying Checksum 01:59:36 9f32a84ed3da: Download complete 01:59:37 4d19c01a9841: Verifying Checksum 01:59:37 4d19c01a9841: Download complete 01:59:37 f56be85fc22e: Verifying Checksum 01:59:37 f56be85fc22e: Download complete 01:59:37 9325e15d5711: Verifying Checksum 01:59:37 9325e15d5711: Download complete 01:59:37 f56be85fc22e: Pull complete 01:59:37 85791d961cd3: Pull complete 01:59:38 c5a4b2cf53e6: Verifying Checksum 01:59:38 c5a4b2cf53e6: Download complete 01:59:38 d694b5ae8c79: Verifying Checksum 01:59:38 d694b5ae8c79: Download complete 01:59:38 556b6ee489ea: Verifying Checksum 01:59:38 556b6ee489ea: Download complete 01:59:41 d694b5ae8c79: Pull complete 01:59:41 9f32a84ed3da: Pull complete 01:59:41 4d19c01a9841: Pull complete 01:59:41 9325e15d5711: Pull complete 01:59:44 556b6ee489ea: Pull complete 01:59:45 c5a4b2cf53e6: Pull complete 01:59:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:59:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:59:45 ---> c4be618373d6 01:59:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:59:47 ---> Running in c081f0bab58f 01:59:47 Removing intermediate container c081f0bab58f 01:59:47 ---> 38778a796997 01:59:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:47 ---> Running in 802d6aad947d 01:59:47 Removing intermediate container 802d6aad947d 01:59:47 ---> c2a5e7ba5ec8 01:59:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:47 ---> Running in 1d5c38db2f71 01:59:47 Removing intermediate container 1d5c38db2f71 01:59:47 ---> f69c5f74bfdb 01:59:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:59:47 ---> Running in 00ce524e54e9 01:59:47 Removing intermediate container 00ce524e54e9 01:59:47 ---> 476db2a5f99e 01:59:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:47 ---> Running in 043229167bca 01:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:59:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:59:47 (2/4) Installing libedit (20221030.3.1-r0) 01:59:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:59:48 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:59:48 Executing busybox-1.35.0-r29.trigger 01:59:48 OK: 269 MiB in 57 packages 01:59:48 Removing intermediate container 043229167bca 01:59:48 ---> e46bc0e09e45 01:59:48 Step 8/12 : WORKDIR /device-mqtt-go 01:59:48 ---> Running in e90c1c13488c 01:59:48 Removing intermediate container e90c1c13488c 01:59:48 ---> cc3dbdb7ac73 01:59:48 Step 9/12 : COPY go.mod vendor* ./ 01:59:48 ---> 23ca802ccb99 01:59:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:48 ---> Running in fd08283d3684 01:59:50 Still waiting to schedule task 01:59:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11156’ 02:00:20 Removing intermediate container fd08283d3684 02:00:20 ---> 3057dde7bd64 02:00:20 Step 11/12 : COPY . . 02:00:20 ---> 2f416f367288 02:00:20 Step 12/12 : RUN $MAKE 02:00:20 ---> Running in 7d5391d9eca3 02:00:20 noop 02:00:20 Removing intermediate container 7d5391d9eca3 02:00:20 ---> dd01db5f4485 02:00:20 Successfully built dd01db5f4485 02:00:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:21 + docker inspect -f . ci-base-image-x86_64 02:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:21 prd-ubuntu20.04-docker-8c-8g-11157 does not seem to be running inside a container 02:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-580 -v /w/workspace/gexfoundry_device-mqtt-go_PR-580:/w/workspace/gexfoundry_device-mqtt-go_PR-580:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-580@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 ******** ci-base-image-x86_64 cat 02:00:22 $ docker top 128c66e9094e2ae9a8646fbd99cf30e37ec6f3aa8181a501674b5ce8a3609cf3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:22 + go version 02:00:22 go version go1.20.2 linux/amd64 [Pipeline] } 02:00:22 $ docker stop --time=1 128c66e9094e2ae9a8646fbd99cf30e37ec6f3aa8181a501674b5ce8a3609cf3 02:00:24 $ docker rm -f --volumes 128c66e9094e2ae9a8646fbd99cf30e37ec6f3aa8181a501674b5ce8a3609cf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:25 + docker inspect -f . ci-base-image-x86_64 02:00:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:25 prd-ubuntu20.04-docker-8c-8g-11157 does not seem to be running inside a container 02:00:25 $ 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-580 -v /w/workspace/gexfoundry_device-mqtt-go_PR-580:/w/workspace/gexfoundry_device-mqtt-go_PR-580:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-580@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 ******** ci-base-image-x86_64 cat 02:00:25 $ docker top 035658808ee633b9fddccff490d10cafb6d8055a4debf28a66a81311a2cadda1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-580 [Pipeline] fileExists [Pipeline] sh 02:00:26 + make test 02:00:26 go test ./... -coverprofile=coverage.out ./... 02:00:31 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 24.6% of statements 02:00:49 go vet ./... 02:00:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:53 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:00:53 $ docker stop --time=1 035658808ee633b9fddccff490d10cafb6d8055a4debf28a66a81311a2cadda1 02:00:56 $ docker rm -f --volumes 035658808ee633b9fddccff490d10cafb6d8055a4debf28a66a81311a2cadda1 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:58 + ls -al . 02:00:58 total 180 02:00:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 02:00 . 02:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 01:59 .. 02:00:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 01:59 .dockerignore 02:00:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 01:59 .git 02:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 01:59 .github 02:00:58 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 01:59 .gitignore 02:00:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 01:59 .golangci.yml 02:00:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 01:59 .semver 02:00:58 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 27 01:59 Attribution.txt 02:00:58 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 27 01:59 CHANGELOG.md 02:00:58 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 27 01:59 Dockerfile 02:00:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 01:59 GOVERNANCE.md 02:00:58 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 01:59 Jenkinsfile 02:00:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 01:59 LICENSE 02:00:58 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 27 01:59 Makefile 02:00:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 01:59 OWNERS.md 02:00:58 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 27 01:59 README.md 02:00:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 01:59 VERSION 02:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 01:59 bin 02:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 01:59 cmd 02:00:58 -rw-r--r-- 1 jenkins jenkins 16535 Apr 27 02:00 coverage.out 02:00:58 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 27 01:59 go.mod 02:00:58 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 01:59 go.sum 02:00:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 01:59 internal 02:00:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 01:59 mock 02:00:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 01:59 snap 02:00:58 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:58 + 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=167c535e542320c778dd76e283be5e30e3b7727d --label arch=amd64 --label version=0.0.0 . 02:00:58 Sending build context to Docker daemon 6.501MB 02:00:58 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:00:58 Step 2/24 : FROM ${BASE} AS builder 02:00:58 ---> dd01db5f4485 02:00:58 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:00:58 ---> Running in f02ee20def5f 02:00:58 Removing intermediate container f02ee20def5f 02:00:58 ---> d09c0e01f525 02:00:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:58 ---> Running in 3ff4e31c72b9 02:00:58 Removing intermediate container 3ff4e31c72b9 02:00:58 ---> ec0d8ac6fa12 02:00:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:58 ---> Running in a3cfd47b2856 02:00:58 Removing intermediate container a3cfd47b2856 02:00:58 ---> d3e57e8efb4b 02:00:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:00:58 ---> Running in 98a47a77b4ed 02:00:59 Removing intermediate container 98a47a77b4ed 02:00:59 ---> b20567ba0cbc 02:00:59 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:59 ---> Running in 664c9384b9ca 02:00:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:59 OK: 269 MiB in 57 packages 02:00:59 Removing intermediate container 664c9384b9ca 02:00:59 ---> ad10c9606f4c 02:00:59 Step 8/24 : WORKDIR /device-mqtt-go 02:00:59 ---> Running in a67a5be610b3 02:01:00 Removing intermediate container a67a5be610b3 02:01:00 ---> abf92c22f16c 02:01:00 Step 9/24 : COPY go.mod vendor* ./ 02:01:00 ---> 74019b21941c 02:01:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:00 ---> Running in 8e8e188d988c 02:01:00 Removing intermediate container 8e8e188d988c 02:01:00 ---> a641a089a132 02:01:00 Step 11/24 : COPY . . 02:01:01 ---> 1f29d7b9c1ce 02:01:01 Step 12/24 : RUN $MAKE 02:01:01 ---> Running in 1449292e523d 02:01:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:01:22 Removing intermediate container 1449292e523d 02:01:22 ---> 62a8b2819067 02:01:22 Step 13/24 : FROM alpine:3.17 02:01:22 3.17: Pulling from library/alpine 02:01:22 f56be85fc22e: Already exists 02:01:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:01:22 Status: Downloaded newer image for alpine:3.17 02:01:22 ---> 9ed4aefc74f6 02:01:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:01:22 ---> Running in 5b1626b42c2a 02:01:22 Removing intermediate container 5b1626b42c2a 02:01:22 ---> 7bb9ccf76e9c 02:01:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:01:22 ---> Running in c85729dd0328 02:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:22 (1/1) Installing dumb-init (1.2.5-r2) 02:01:22 Executing busybox-1.35.0-r29.trigger 02:01:22 OK: 7 MiB in 16 packages 02:01:22 Removing intermediate container c85729dd0328 02:01:22 ---> 1e0824e0b76b 02:01:22 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:01:23 ---> d70353517deb 02:01:23 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:01:24 ---> 9b5d4be0b29a 02:01:24 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:01:24 ---> 5758877df7b2 02:01:24 Step 19/24 : EXPOSE 59982 02:01:24 ---> Running in 8af6d08ed978 02:01:24 Removing intermediate container 8af6d08ed978 02:01:24 ---> 46b80de6b2ae 02:01:24 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:01:24 ---> Running in 0b11b2f2db69 02:01:24 Removing intermediate container 0b11b2f2db69 02:01:24 ---> af09c21fb58d 02:01:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:01:24 ---> Running in cb9977e97341 02:01:24 Removing intermediate container cb9977e97341 02:01:24 ---> 9a86824c09e2 02:01:24 Step 22/24 : LABEL arch=amd64 02:01:24 ---> Running in 64b13d6b928f 02:01:24 Removing intermediate container 64b13d6b928f 02:01:24 ---> 1db703bcabb7 02:01:24 Step 23/24 : LABEL git_sha=167c535e542320c778dd76e283be5e30e3b7727d 02:01:24 ---> Running in 3b548a1d258c 02:01:24 Removing intermediate container 3b548a1d258c 02:01:24 ---> 49e5cc2cf915 02:01:24 Step 24/24 : LABEL version=0.0.0 02:01:24 ---> Running in 1591f834e0c7 02:01:24 Removing intermediate container 1591f834e0c7 02:01:24 ---> 500bd7e3c22d 02:01:24 [Warning] One or more build-args [ARCH] were not consumed 02:01:24 Successfully built 500bd7e3c22d 02:01:24 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:25 02:01:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:25 latest: Pulling from edgex-lftools-log-publisher 02:01:25 5eb5b503b376: Pulling fs layer 02:01:25 5c69ac0246d0: Pulling fs layer 02:01:25 ec43610c2a17: Pulling fs layer 02:01:25 3a2ae6a8a46f: Pulling fs layer 02:01:25 33b1e0a273af: Pulling fs layer 02:01:25 5d3b04190fa2: Pulling fs layer 02:01:25 2f39f015ded8: Pulling fs layer 02:01:25 3a2ae6a8a46f: Waiting 02:01:25 2f39f015ded8: Waiting 02:01:25 5d3b04190fa2: Waiting 02:01:25 5c69ac0246d0: Download complete 02:01:25 3a2ae6a8a46f: Verifying Checksum 02:01:25 3a2ae6a8a46f: Download complete 02:01:25 33b1e0a273af: Verifying Checksum 02:01:25 33b1e0a273af: Download complete 02:01:25 ec43610c2a17: Verifying Checksum 02:01:25 ec43610c2a17: Download complete 02:01:26 5d3b04190fa2: Verifying Checksum 02:01:26 5eb5b503b376: Verifying Checksum 02:01:26 5eb5b503b376: Download complete 02:01:26 2f39f015ded8: Download complete 02:01:27 5eb5b503b376: Pull complete 02:01:27 5c69ac0246d0: Pull complete 02:01:27 ec43610c2a17: Pull complete 02:01:27 3a2ae6a8a46f: Pull complete 02:01:28 33b1e0a273af: Pull complete 02:01:28 5d3b04190fa2: Pull complete 02:01:32 2f39f015ded8: Pull complete 02:01:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:32 prd-ubuntu20.04-docker-8c-8g-11157 does not seem to be running inside a container 02:01:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-580 -v /w/workspace/gexfoundry_device-mqtt-go_PR-580:/w/workspace/gexfoundry_device-mqtt-go_PR-580:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:01:36 $ docker top 44c1cbdb7192fa283d36fd6de96920b3290bbd58e40992586c0ff5462e56f20f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:50 ---> job-cost.sh 02:01:50 lf-activate-venv: SKIPPING 02:01:50 INFO: No Stack... 02:01:50 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:51 INFO: Archiving Costs [Pipeline] sh 02:01:51 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives/cost.csv 02:01:51 + cut -d, -f6 [Pipeline] lock 02:01:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] 02:01:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] did not exist. Created. 02:01:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:51 + echo total: 0.2199999988079071 [Pipeline] stash 02:01:51 Stashed 1 file(s) [Pipeline] } 02:01:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:52 $ docker stop --time=1 44c1cbdb7192fa283d36fd6de96920b3290bbd58e40992586c0ff5462e56f20f 02:01:53 $ docker rm -f --volumes 44c1cbdb7192fa283d36fd6de96920b3290bbd58e40992586c0ff5462e56f20f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:02:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11160 in /w/workspace/gexfoundry_device-mqtt-go_PR-580 [Pipeline] { [Pipeline] ws 02:02:22 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:02:22 Selected Git installation does not exist. Using Default 02:02:22 The recommended git tool is: NONE 02:02:28 using credential edgex-jenkins-ssh 02:02:28 Cloning the remote Git repository 02:02:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:02:29 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:02:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:02:29 > git --version # timeout=10 02:02:29 > git --version # 'git version 2.25.1' 02:02:29 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:02:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:02:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:02:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:02:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:02:32 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit 167c535e542320c778dd76e283be5e30e3b7727d 02:02:32 Merge succeeded, producing 167c535e542320c778dd76e283be5e30e3b7727d 02:02:32 Checking out Revision 167c535e542320c778dd76e283be5e30e3b7727d (PR-580) 02:02:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 02:02:32 > git --version # timeout=10 02:02:32 > git --version # 'git version 2.25.1' 02:02:32 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:02:32 > git config core.sparsecheckout # timeout=10 02:02:32 > git checkout -f 167c535e542320c778dd76e283be5e30e3b7727d # timeout=10 02:02:32 > git remote # timeout=10 02:02:32 > git config --get remote.origin.url # timeout=10 02:02:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:02:32 > git merge 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 02:02:32 > git rev-parse HEAD^{commit} # timeout=10 02:02:32 > git config core.sparsecheckout # timeout=10 02:02:32 > git checkout -f 167c535e542320c778dd76e283be5e30e3b7727d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:02:34 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:34 Dload Upload Total Spent Left Speed 02:02:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 02:02:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:02:35 + sudo tee /etc/docker/daemon.new 02:02:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:02:35 { 02:02:35 "registry-mirrors": [ 02:02:35 "https://nexus3.edgexfoundry.org:10001" 02:02:35 ], 02:02:35 "bip": "10.250.0.254/24", 02:02:35 "hosts": [ 02:02:35 "tcp://0.0.0.0:5555", 02:02:35 "unix:///var/run/docker.sock" 02:02:35 ], 02:02:35 "mtu": 1458, 02:02:35 "selinux-enabled": true, 02:02:35 "seccomp-profile": "/etc/docker/seccomp.json" 02:02:35 } [Pipeline] sh 02:02:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:02:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:54 provisioning config files... 02:02:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2567415959432962233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:54 ---> docker-login.sh 02:02:54 nexus3.edgexfoundry.org:10001 02:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:55 Configure a credential helper to remove this warning. See 02:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:55 02:02:55 Login Succeeded 02:02:55 nexus3.edgexfoundry.org:10002 02:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:55 Configure a credential helper to remove this warning. See 02:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:55 02:02:55 Login Succeeded 02:02:55 nexus3.edgexfoundry.org:10003 02:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:55 Configure a credential helper to remove this warning. See 02:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:55 02:02:55 Login Succeeded 02:02:55 nexus3.edgexfoundry.org:10004 02:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 docker.io 02:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:02:56 Configure a credential helper to remove this warning. See 02:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:02:56 02:02:56 Login Succeeded 02:02:56 ---> docker-login.sh ends [Pipeline] } 02:02:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:02:57 ========================================================= 02:02:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:02:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:02:58 Sending build context to Docker daemon 3.378MB 02:02:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:02:58 Step 2/12 : FROM ${BASE} AS builder 02:02:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:02:58 c41833b44d91: Pulling fs layer 02:02:58 ed15518f5707: Pulling fs layer 02:02:58 feae8fd75edb: Pulling fs layer 02:02:58 242c74f7c9fa: Pulling fs layer 02:02:58 3cdef696dda3: Pulling fs layer 02:02:58 2ced38df9373: Pulling fs layer 02:02:58 58f1dce35555: Pulling fs layer 02:02:58 242c74f7c9fa: Waiting 02:02:58 3cdef696dda3: Waiting 02:02:58 2ced38df9373: Waiting 02:02:58 58f1dce35555: Waiting 02:02:58 ed15518f5707: Verifying Checksum 02:02:58 ed15518f5707: Download complete 02:02:58 242c74f7c9fa: Verifying Checksum 02:02:58 242c74f7c9fa: Download complete 02:02:58 3cdef696dda3: Verifying Checksum 02:02:58 3cdef696dda3: Download complete 02:02:58 c41833b44d91: Verifying Checksum 02:02:58 c41833b44d91: Download complete 02:02:59 c41833b44d91: Pull complete 02:02:59 58f1dce35555: Verifying Checksum 02:02:59 58f1dce35555: Download complete 02:02:59 ed15518f5707: Pull complete 02:03:00 feae8fd75edb: Verifying Checksum 02:03:00 feae8fd75edb: Download complete 02:03:00 2ced38df9373: Verifying Checksum 02:03:00 2ced38df9373: Download complete 02:03:11 feae8fd75edb: Pull complete 02:03:11 242c74f7c9fa: Pull complete 02:03:11 3cdef696dda3: Pull complete 02:03:19 2ced38df9373: Pull complete 02:03:23 58f1dce35555: Pull complete 02:03:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:03:23 ---> fadd8f120f05 02:03:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:03:25 ---> Running in 64475bc19109 02:03:25 Removing intermediate container 64475bc19109 02:03:25 ---> 6a20b39c679d 02:03:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:25 ---> Running in b05e7ce74bd2 02:03:26 Removing intermediate container b05e7ce74bd2 02:03:26 ---> e6e91838e912 02:03:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:03:26 ---> Running in ab422ec503f5 02:03:26 Removing intermediate container ab422ec503f5 02:03:26 ---> 5247f122b652 02:03:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:03:26 ---> Running in c3deb6ce3d20 02:03:26 Removing intermediate container c3deb6ce3d20 02:03:26 ---> c910ba9d78e1 02:03:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:26 ---> Running in eccf31425de8 02:03:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:03:29 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:03:29 (2/4) Installing libedit (20221030.3.1-r0) 02:03:29 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:03:29 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:03:29 Executing busybox-1.35.0-r29.trigger 02:03:30 OK: 268 MiB in 57 packages 02:03:31 Removing intermediate container eccf31425de8 02:03:31 ---> 2e05012a243c 02:03:31 Step 8/12 : WORKDIR /device-mqtt-go 02:03:31 ---> Running in e4f1978d8511 02:03:31 Removing intermediate container e4f1978d8511 02:03:31 ---> fd3aa83f40bc 02:03:31 Step 9/12 : COPY go.mod vendor* ./ 02:03:32 ---> 60023ff0b464 02:03:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:32 ---> Running in e0e733660bf8 02:04:40 Removing intermediate container e0e733660bf8 02:04:40 ---> 5079db82e23b 02:04:40 Step 11/12 : COPY . . 02:04:40 ---> 1035f79d967a 02:04:40 Step 12/12 : RUN $MAKE 02:04:40 ---> Running in 5cfe503a9406 02:04:40 noop 02:04:40 Removing intermediate container 5cfe503a9406 02:04:40 ---> 45ebfcab2911 02:04:40 Successfully built 45ebfcab2911 02:04:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:40 + docker inspect -f . ci-base-image-arm64 02:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:41 prd-ubuntu20.04-docker-arm64-4c-16g-11160 does not seem to be running inside a container 02:04:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 02:04:42 $ docker top 425ab184d2a908aa4643bb859131d13680733ff753a4f7f955e4d49716b2d253 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:43 + go version 02:04:43 go version go1.20.2 linux/arm64 [Pipeline] } 02:04:43 $ docker stop --time=1 425ab184d2a908aa4643bb859131d13680733ff753a4f7f955e4d49716b2d253 02:04:45 $ docker rm -f --volumes 425ab184d2a908aa4643bb859131d13680733ff753a4f7f955e4d49716b2d253 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:46 + docker inspect -f . ci-base-image-arm64 02:04:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:46 prd-ubuntu20.04-docker-arm64-4c-16g-11160 does not seem to be running inside a container 02:04:46 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 02:04:47 $ docker top 032a2418ac4bb62ce23f03495f5c3ab69105cee3edfdf475160c312646ed6869 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:48 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:04:48 + make test 02:04:48 go test ./... -coverprofile=coverage.out ./... 02:05:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:07:35 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:07:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:07:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 24.6% of statements 02:07:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:07:35 go vet ./... 02:08:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:08:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:08:01 ./bin/test-attribution-txt.sh [Pipeline] echo 02:08:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:08:01 $ docker stop --time=1 032a2418ac4bb62ce23f03495f5c3ab69105cee3edfdf475160c312646ed6869 02:08:03 $ docker rm -f --volumes 032a2418ac4bb62ce23f03495f5c3ab69105cee3edfdf475160c312646ed6869 [Pipeline] // withDockerContainer [Pipeline] sh 02:08:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:08:05 Warning: overwriting stash ‘coverage-report’ 02:08:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:08:06 + ls -al . 02:08:06 total 176 02:08:06 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 02:04 . 02:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 02:02 .. 02:08:06 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 02:02 .dockerignore 02:08:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 02:02 .git 02:08:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 02:02 .github 02:08:06 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 02:02 .gitignore 02:08:06 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 02:02 .golangci.yml 02:08:06 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 27 02:02 Attribution.txt 02:08:06 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 27 02:02 CHANGELOG.md 02:08:06 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 27 02:02 Dockerfile 02:08:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 02:02 GOVERNANCE.md 02:08:06 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 02:02 Jenkinsfile 02:08:06 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 02:02 LICENSE 02:08:06 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 27 02:02 Makefile 02:08:06 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 02:02 OWNERS.md 02:08:06 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 27 02:02 README.md 02:08:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 01:59 VERSION 02:08:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 02:02 bin 02:08:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 02:02 cmd 02:08:06 -rw-r--r-- 1 jenkins jenkins 16535 Apr 27 02:07 coverage.out 02:08:06 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 27 02:02 go.mod 02:08:06 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 02:02 go.sum 02:08:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 02:02 internal 02:08:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 02:02 mock 02:08:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 02:02 snap 02:08:06 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:07 + 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=167c535e542320c778dd76e283be5e30e3b7727d --label arch=arm64 --label version=0.0.0 . 02:08:07 Sending build context to Docker daemon 3.395MB 02:08:07 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:08:07 Step 2/24 : FROM ${BASE} AS builder 02:08:07 ---> 45ebfcab2911 02:08:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:08:07 ---> Running in daee15f944b1 02:08:08 Removing intermediate container daee15f944b1 02:08:08 ---> 60145563ae7b 02:08:08 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:08:08 ---> Running in b4e720643a8f 02:08:09 Removing intermediate container b4e720643a8f 02:08:09 ---> 8fc5f1c7a78b 02:08:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:08:09 ---> Running in 6db7df6df314 02:08:09 Removing intermediate container 6db7df6df314 02:08:09 ---> 3031d7ddf922 02:08:09 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:08:09 ---> Running in c0170dafc487 02:08:09 Removing intermediate container c0170dafc487 02:08:09 ---> 10455d1272b9 02:08:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:08:09 ---> Running in 74f440621f99 02:08:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:08:12 OK: 268 MiB in 57 packages 02:08:13 Removing intermediate container 74f440621f99 02:08:13 ---> b0143abf15ac 02:08:13 Step 8/24 : WORKDIR /device-mqtt-go 02:08:13 ---> Running in 657c74cffb47 02:08:13 Removing intermediate container 657c74cffb47 02:08:13 ---> bf18cdef4f1c 02:08:13 Step 9/24 : COPY go.mod vendor* ./ 02:08:14 ---> d1dcd2df1869 02:08:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:14 ---> Running in b620c242b5ba 02:08:17 Removing intermediate container b620c242b5ba 02:08:17 ---> 4354d3076e72 02:08:17 Step 11/24 : COPY . . 02:08:18 ---> a5543c64493d 02:08:18 Step 12/24 : RUN $MAKE 02:08:18 ---> Running in 1d293ec80c45 02:08:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:11:11 Removing intermediate container 1d293ec80c45 02:11:11 ---> 1c50a11468b5 02:11:11 Step 13/24 : FROM alpine:3.17 02:11:11 3.17: Pulling from library/alpine 02:11:11 c41833b44d91: Already exists 02:11:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:11:11 Status: Downloaded newer image for alpine:3.17 02:11:11 ---> 51e60588ff2c 02:11:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:11:11 ---> Running in 19169420b5b7 02:11:11 Removing intermediate container 19169420b5b7 02:11:11 ---> 49e3cb41673f 02:11:11 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:11:11 ---> Running in 2204c58e6d5d 02:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:11:11 (1/1) Installing dumb-init (1.2.5-r2) 02:11:11 Executing busybox-1.35.0-r29.trigger 02:11:11 OK: 8 MiB in 16 packages 02:11:11 Removing intermediate container 2204c58e6d5d 02:11:11 ---> 84bfe2d50fb1 02:11:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:11:11 ---> ef29202c286b 02:11:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:11:11 ---> eb289f2f057d 02:11:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:11:11 ---> 5ee3db494e5f 02:11:11 Step 19/24 : EXPOSE 59982 02:11:11 ---> Running in 1aa91628f1f7 02:11:11 Removing intermediate container 1aa91628f1f7 02:11:11 ---> 9a0cee1cbac1 02:11:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:11:11 ---> Running in ea60b90ad975 02:11:11 Removing intermediate container ea60b90ad975 02:11:11 ---> 7f27412ce70c 02:11:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:11:11 ---> Running in a7e482fc318d 02:11:11 Removing intermediate container a7e482fc318d 02:11:11 ---> e28f01d584fb 02:11:11 Step 22/24 : LABEL arch=arm64 02:11:11 ---> Running in 66bf6f7f821d 02:11:11 Removing intermediate container 66bf6f7f821d 02:11:11 ---> 01057936f128 02:11:11 Step 23/24 : LABEL git_sha=167c535e542320c778dd76e283be5e30e3b7727d 02:11:11 ---> Running in 2522cd02f449 02:11:11 Removing intermediate container 2522cd02f449 02:11:11 ---> 669f405d221c 02:11:11 Step 24/24 : LABEL version=0.0.0 02:11:11 ---> Running in c4ac35e00bb9 02:11:11 Removing intermediate container c4ac35e00bb9 02:11:11 ---> 13a9aba5b93a 02:11:11 [Warning] One or more build-args [ARCH] were not consumed 02:11:11 Successfully built 13a9aba5b93a 02:11:11 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:12 02:11:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:13 arm64: Pulling from edgex-lftools-log-publisher 02:11:13 8998bd30e6a1: Pulling fs layer 02:11:13 04944245beec: Pulling fs layer 02:11:13 699f458cf7ca: Pulling fs layer 02:11:13 765212b225bb: Pulling fs layer 02:11:13 f23df028b6ca: Pulling fs layer 02:11:13 d65c8cfc05b1: Pulling fs layer 02:11:13 2437ff75d9bd: Pulling fs layer 02:11:13 765212b225bb: Waiting 02:11:13 f23df028b6ca: Waiting 02:11:13 d65c8cfc05b1: Waiting 02:11:13 2437ff75d9bd: Waiting 02:11:13 04944245beec: Verifying Checksum 02:11:13 04944245beec: Download complete 02:11:13 765212b225bb: Verifying Checksum 02:11:13 765212b225bb: Download complete 02:11:13 f23df028b6ca: Verifying Checksum 02:11:13 f23df028b6ca: Download complete 02:11:13 d65c8cfc05b1: Verifying Checksum 02:11:13 d65c8cfc05b1: Download complete 02:11:14 699f458cf7ca: Verifying Checksum 02:11:14 699f458cf7ca: Download complete 02:11:14 8998bd30e6a1: Download complete 02:11:17 2437ff75d9bd: Verifying Checksum 02:11:17 2437ff75d9bd: Download complete 02:11:19 8998bd30e6a1: Pull complete 02:11:19 04944245beec: Pull complete 02:11:21 699f458cf7ca: Pull complete 02:11:21 765212b225bb: Pull complete 02:11:22 f23df028b6ca: Pull complete 02:11:22 d65c8cfc05b1: Pull complete 02:11:37 2437ff75d9bd: Pull complete 02:11:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:38 prd-ubuntu20.04-docker-arm64-4c-16g-11160 does not seem to be running inside a container 02:11:38 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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-lftools-log-publisher:arm64 cat 02:11:41 $ docker top 5147ff3602bff44151373cbe8cab59fe1cae12dd3bfd85b98b9fb56e8c0653b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:42 ---> job-cost.sh 02:11:42 lf-activate-venv: SKIPPING 02:11:42 INFO: No Stack... 02:11:43 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:44 INFO: Archiving Costs [Pipeline] sh 02:11:44 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:11:44 + cut -d, -f6 [Pipeline] lock 02:11:44 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] 02:11:44 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] did not exist. Created. 02:11:44 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:45 /w/workspace/device-mqtt-go/1@tmp/durable-d11ca40d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:46 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:46 Warning: overwriting stash ‘stack-cost’ 02:11:46 Stashed 1 file(s) [Pipeline] } 02:11:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-580-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:46 $ docker stop --time=1 5147ff3602bff44151373cbe8cab59fe1cae12dd3bfd85b98b9fb56e8c0653b5 02:11:48 $ docker rm -f --volumes 5147ff3602bff44151373cbe8cab59fe1cae12dd3bfd85b98b9fb56e8c0653b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:11:49 provisioning config files... 02:11:49 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/config6943248454566118841tmp [Pipeline] { [Pipeline] sh 02:11:49 + set +x 02:11:49 + curl -s https://codecov.io/bash 02:11:49 + bash -s -- 02:11:49 02:11:49 _____ _ 02:11:49 / ____| | | 02:11:49 | | ___ __| | ___ ___ _____ __ 02:11:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:49 Bash-1.0.6 02:11:49 02:11:49 02:11:49 ==> git version 2.25.1 found 02:11:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:11:49 Release-Date: 2020-01-08 02:11:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:11:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:11:49 ==> Jenkins CI detected. 02:11:49 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-580 02:11:49 project root: . 02:11:49 --> token set from env 02:11:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:49 ==> Running gcov in . (disable via -X gcov) 02:11:49 ==> Python coveragepy not found 02:11:49 ==> Searching for coverage reports in: 02:11:49 + . 02:11:49 -> Found 1 reports 02:11:49 ==> Detecting git/mercurial file structure 02:11:49 ==> Reading reports 02:11:49 + ./coverage.out bytes=16535 02:11:49 ==> Appending adjustments 02:11:49 https://docs.codecov.io/docs/fixing-reports 02:11:49 + Found adjustments 02:11:49 ==> Gzipping contents 02:11:49 4.0K /tmp/codecov.Ij8z52.gz 02:11:49 ==> Uploading reports 02:11:49 url: https://codecov.io 02:11:49 query: branch=PR-580&commit=167c535e542320c778dd76e283be5e30e3b7727d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=580&job=&cmd_args= 02:11:49 -> Pinging Codecov 02:11:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-580&commit=167c535e542320c778dd76e283be5e30e3b7727d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=580&job=&cmd_args= 02:11:50 -> Uploading to 02:11:50 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/7D719EC7BBE17E464838252E33014C33/167c535e542320c778dd76e283be5e30e3b7727d/011d74fe-cfda-4976-a712-d8eafc58b429.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T021149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4421c7f45aaaa08385d0995f0d7c6d0b3573b6e6d6ead930e2d6ac7d1def594e 02:11:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:50 Dload Upload Total Spent Left Speed 02:11:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 14164 --:--:-- --:--:-- --:--:-- 14164 02:11:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/167c535e542320c778dd76e283be5e30e3b7727d [Pipeline] } 02:11:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:11:52 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives ] 02:11:52 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives 02:11:52 total 16 02:11:52 drwxr-xr-x 3 root root 4096 Apr 27 02:01 . 02:11:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 02:01 .. 02:11:52 drwxr-xr-x 2 root root 4096 Apr 27 02:01 cost 02:11:52 -rw-r--r-- 1 root root 86 Apr 27 02:01 cost.csv 02:11:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives 02:11:52 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives 02:11:52 total 16 02:11:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 02:01 . 02:11:52 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 02:01 .. 02:11:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 02:01 cost 02:11:52 -rw-r--r-- 1 jenkins jenkins 86 Apr 27 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:53 ---> package-listing.sh 02:11:53 ++ facter osfamily 02:11:53 ++ tr '[:upper:]' '[:lower:]' 02:11:53 + OS_FAMILY=debian 02:11:53 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-580 02:11:53 + START_PACKAGES=/tmp/packages_start.txt 02:11:53 + END_PACKAGES=/tmp/packages_end.txt 02:11:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:53 + PACKAGES=/tmp/packages_start.txt 02:11:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-580 ']' 02:11:53 + PACKAGES=/tmp/packages_end.txt 02:11:53 + case "${OS_FAMILY}" in 02:11:53 + dpkg -l 02:11:53 + grep '^ii' 02:11:53 + '[' -f /tmp/packages_start.txt ']' 02:11:53 + '[' -f /tmp/packages_end.txt ']' 02:11:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-580 ']' 02:11:53 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives/ 02:11:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-580/archives/ [Pipeline] echo 02:11:53 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-580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:54 prd-ubuntu20.04-docker-8c-8g-11157 does not seem to be running inside a container 02:11:54 $ 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-580/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-580 -v /w/workspace/gexfoundry_device-mqtt-go_PR-580:/w/workspace/gexfoundry_device-mqtt-go_PR-580:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-580@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:58 $ docker top 288807107ed450c2fb84d64283cfb3c4829acc5e42b997fba353de0d00478ede -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:59 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:59 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:59 + ls /var/log/sa-host 02:11:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:59 provisioning config files... 02:11:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-580@tmp/config10269358615695851858tmp [Pipeline] { [Pipeline] echo 02:12:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:12:00 ---> create-netrc.sh [Pipeline] } 02:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:12:00 ---> python-tools-install.sh [Pipeline] echo 02:12:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:12:01 ---> sudo-logs.sh 02:12:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:12:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:12:01 ---> job-cost.sh 02:12:01 lf-activate-venv: SKIPPING 02:12:01 DEBUG: total: 0.2199999988079071 02:12:01 INFO: Retrieving Stack Cost... 02:12:02 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:02 INFO: Archiving Costs [Pipeline] echo 02:12:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:12:02 ---> logs-deploy.sh 02:12:02 lf-activate-venv: SKIPPING 02:12:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-580/1 02:12:02 INFO: archiving workspace using pattern(s): 02:12:03 Archives upload complete. 02:12:03 INFO: archiving logs to Nexus