Pull request #587 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df5fd81f3e6b0af933958c1fa4040dddc79a2e9b+44db128f908bb002eba25d15c491b9a779a086c0 (f6988ca8601781158c44edbccdb91e34b09c2cbd) 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-ssh7882085604522934919.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-ssh16932398659952674018.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-587/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-587/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4235216309230178188.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-587/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14056637582402102637.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-ssh1683221447754714270.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-587/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-587/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1468301076277562019.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-12289 in /w/workspace/gexfoundry_device-mqtt-go_PR-587 [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-587 # 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/587/head:refs/remotes/origin/PR-587 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit df5fd81f3e6b0af933958c1fa4040dddc79a2e9b Merge succeeded, producing df5fd81f3e6b0af933958c1fa4040dddc79a2e9b Checking out Revision df5fd81f3e6b0af933958c1fa4040dddc79a2e9b (PR-587) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/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 02:01:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f df5fd81f3e6b0af933958c1fa4040dddc79a2e9b # 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 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df5fd81f3e6b0af933958c1fa4040dddc79a2e9b # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:01:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:09 ========================================================= 02:01:09 EdgeX Global Pipelines Version Info 02:01:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:10 ------------------- 02:01:10 stable info: 02:01:10 ------------------- 02:01:10 Commited By: Bill Mahoney bill.mahoney@intel.com 02:01:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:01:10 Message: update stable to v1.0.248 02:01:11 ------------------- 02:01:11 experimental info: 02:01:11 ------------------- 02:01:11 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-587 [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-587 [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-587 [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df5fd81f3e6b0af933958c1fa4040dddc79a2e9b [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df5fd81 [Pipeline] echo 02:01:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:13 provisioning config files... 02:01:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/config11986891449868621838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:13 ---> docker-login.sh 02:01:13 nexus3.edgexfoundry.org:10001 02:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:13 Configure a credential helper to remove this warning. See 02:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:13 02:01:13 Login Succeeded 02:01:13 nexus3.edgexfoundry.org:10002 02:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:13 Configure a credential helper to remove this warning. See 02:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:13 02:01:13 Login Succeeded 02:01:13 nexus3.edgexfoundry.org:10003 02:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:14 Configure a credential helper to remove this warning. See 02:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:14 02:01:14 Login Succeeded 02:01:14 nexus3.edgexfoundry.org:10004 02:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:14 Configure a credential helper to remove this warning. See 02:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:14 02:01:14 Login Succeeded 02:01:14 docker.io 02:01:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:14 Configure a credential helper to remove this warning. See 02:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:14 02:01:14 Login Succeeded 02:01:14 ---> docker-login.sh ends [Pipeline] } 02:01:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:15 + git rev-list -1 --merges df5fd81f3e6b0af933958c1fa4040dddc79a2e9b~1..df5fd81f3e6b0af933958c1fa4040dddc79a2e9b [Pipeline] echo 02:01:15 -----------> git rev-list -1 --merges df5fd81f3e6b0af933958c1fa4040dddc79a2e9b~1..df5fd81f3e6b0af933958c1fa4040dddc79a2e9b df5fd81f3e6b0af933958c1fa4040dddc79a2e9b [false] [Pipeline] sh 02:01:15 + git log --format=format:%s -1 df5fd81f3e6b0af933958c1fa4040dddc79a2e9b [Pipeline] echo 02:01:15 ========================================================= 02:01:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:16 + git log --format=format:%s -1 df5fd81f3e6b0af933958c1fa4040dddc79a2e9b [Pipeline] echo 02:01:16 [semverPrep] GIT_COMMIT: df5fd81f3e6b0af933958c1fa4040dddc79a2e9b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:01:16 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:16 + grep -v github /etc/ssh/ssh_known_hosts 02:01:16 + [ -e /tmp/ssh_known_hosts ] 02:01:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:16 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:16 sudo tee -a /etc/ssh/ssh_known_hosts 02:01:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:17 02:01:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:17 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:17 b85a868b505f: Pulling fs layer 02:01:17 e2be974225ed: Pulling fs layer 02:01:17 339a4e72a1f5: Pulling fs layer 02:01:17 988bab9f4d93: Pulling fs layer 02:01:17 1469e6f7b9e6: Pulling fs layer 02:01:17 eaf3925da568: Pulling fs layer 02:01:17 bab4dde63d76: Pulling fs layer 02:01:17 bde34c3a00c8: Pulling fs layer 02:01:17 b352a97aabf1: Pulling fs layer 02:01:17 4872d77fe225: Pulling fs layer 02:01:17 5851b861e8e6: Pulling fs layer 02:01:17 1469e6f7b9e6: Waiting 02:01:17 b352a97aabf1: Waiting 02:01:17 eaf3925da568: Waiting 02:01:17 bab4dde63d76: Waiting 02:01:17 4872d77fe225: Waiting 02:01:17 bde34c3a00c8: Waiting 02:01:17 988bab9f4d93: Waiting 02:01:17 5851b861e8e6: Waiting 02:01:17 e2be974225ed: Verifying Checksum 02:01:17 e2be974225ed: Download complete 02:01:17 988bab9f4d93: Download complete 02:01:17 1469e6f7b9e6: Verifying Checksum 02:01:17 1469e6f7b9e6: Download complete 02:01:17 eaf3925da568: Download complete 02:01:17 339a4e72a1f5: Verifying Checksum 02:01:17 339a4e72a1f5: Download complete 02:01:17 bde34c3a00c8: Verifying Checksum 02:01:17 b352a97aabf1: Download complete 02:01:17 4872d77fe225: Download complete 02:01:17 5851b861e8e6: Verifying Checksum 02:01:17 5851b861e8e6: Download complete 02:01:17 b85a868b505f: Verifying Checksum 02:01:17 b85a868b505f: Download complete 02:01:17 bab4dde63d76: Verifying Checksum 02:01:17 bab4dde63d76: Download complete 02:01:18 b85a868b505f: Pull complete 02:01:19 e2be974225ed: Pull complete 02:01:19 339a4e72a1f5: Pull complete 02:01:19 988bab9f4d93: Pull complete 02:01:19 1469e6f7b9e6: Pull complete 02:01:19 eaf3925da568: Pull complete 02:01:21 bab4dde63d76: Pull complete 02:01:21 bde34c3a00c8: Pull complete 02:01:21 b352a97aabf1: Pull complete 02:01:21 4872d77fe225: Pull complete 02:01:21 5851b861e8e6: Pull complete 02:01:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:22 prd-ubuntu20.04-docker-8c-8g-12289 does not seem to be running inside a container 02:01:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-587 -v /w/workspace/gexfoundry_device-mqtt-go_PR-587:/w/workspace/gexfoundry_device-mqtt-go_PR-587:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-587@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:01:25 $ docker top 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 -eo pid,comm 02:01:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:01:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:25 [ssh-agent] Looking for ssh-agent implementation... 02:01:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:25 $ docker exec 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 ssh-agent 02:01:26 SSH_AUTH_SOCK=/tmp/ssh-oqg83ZFKeq3r/agent.31 02:01:26 SSH_AGENT_PID=37 02:01:26 Running ssh-add (command line suppressed) 02:01:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/private_key_8110539282669704259.key (/w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/private_key_8110539282669704259.key) 02:01:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:26 + git tag --points-at HEAD [Pipeline] } 02:01:26 $ docker exec --env ******** --env ******** 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 ssh-agent -k 02:01:26 unset SSH_AUTH_SOCK; 02:01:26 unset SSH_AGENT_PID; 02:01:26 echo Agent pid 37 killed; 02:01:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:26 [ssh-agent] Looking for ssh-agent implementation... 02:01:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:26 $ docker exec 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 ssh-agent 02:01:27 SSH_AUTH_SOCK=/tmp/ssh-lxHAfnPRwbso/agent.70 02:01:27 SSH_AGENT_PID=76 02:01:27 Running ssh-add (command line suppressed) 02:01:27 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/private_key_372753999862852996.key (/w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/private_key_372753999862852996.key) 02:01:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:27 + git semver init 02:01:27 2023-05-02 02:01:27,613 [run_init] DEBUG init version:0.0.0 force:False 02:01:27 2023-05-02 02:01:27,614 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver 02:01:27 2023-05-02 02:01:27,615 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver 02:01:27 2023-05-02 02:01:27,615 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-587, universal_newlines=False, shell=None, istream=None) 02:01:28 2023-05-02 02:01:28,408 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-587/.git/info/exclude 02:01:28 2023-05-02 02:01:28,409 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver/PR-587 with force:False 02:01:28 2023-05-02 02:01:28,409 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver/PR-587 02:01:28 2023-05-02 02:01:28,413 [execute] INFO git cat-file --batch-check 02:01:28 2023-05-02 02:01:28,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver, universal_newlines=False, shell=None, istream=) 02:01:28 2023-05-02 02:01:28,419 [execute] INFO git cat-file --batch 02:01:28 2023-05-02 02:01:28,420 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver, universal_newlines=False, shell=None, istream=) 02:01:28 2023-05-02 02:01:28,425 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-587/.semver/PR-587 02:01:28 0.0.0 [Pipeline] } 02:01:28 $ docker exec --env ******** --env ******** 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 ssh-agent -k 02:01:28 unset SSH_AUTH_SOCK; 02:01:28 unset SSH_AGENT_PID; 02:01:28 echo Agent pid 76 killed; 02:01:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:29 + git semver [Pipeline] } 02:01:29 $ docker stop --time=1 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 02:01:30 $ docker rm -f --volumes 0bb0fb924d7192a4a8501059988f4a4fe0b53f91a2405f219420702ad932c2c8 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:01:31 Stashed 1 file(s) [Pipeline] echo 02:01:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:32 provisioning config files... 02:01:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/config1751612432986573096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:32 ---> docker-login.sh 02:01:32 nexus3.edgexfoundry.org:10001 02:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:32 Configure a credential helper to remove this warning. See 02:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:32 02:01:32 Login Succeeded 02:01:32 nexus3.edgexfoundry.org:10002 02:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:32 Configure a credential helper to remove this warning. See 02:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:32 02:01:32 Login Succeeded 02:01:32 nexus3.edgexfoundry.org:10003 02:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:32 Configure a credential helper to remove this warning. See 02:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:32 02:01:32 Login Succeeded 02:01:32 nexus3.edgexfoundry.org:10004 02:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:32 Configure a credential helper to remove this warning. See 02:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:32 02:01:32 Login Succeeded 02:01:32 docker.io 02:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:33 Configure a credential helper to remove this warning. See 02:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:33 02:01:33 Login Succeeded 02:01:33 ---> docker-login.sh ends [Pipeline] } 02:01:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:33 ========================================================= 02:01:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:01:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:01:33 Sending build context to Docker daemon 6.479MB 02:01:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:33 Step 2/12 : FROM ${BASE} AS builder 02:01:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:01:33 f56be85fc22e: Pulling fs layer 02:01:33 85791d961cd3: Pulling fs layer 02:01:33 d694b5ae8c79: Pulling fs layer 02:01:33 9f32a84ed3da: Pulling fs layer 02:01:33 4d19c01a9841: Pulling fs layer 02:01:33 9325e15d5711: Pulling fs layer 02:01:33 556b6ee489ea: Pulling fs layer 02:01:33 c5a4b2cf53e6: Pulling fs layer 02:01:33 9f32a84ed3da: Waiting 02:01:33 4d19c01a9841: Waiting 02:01:33 9325e15d5711: Waiting 02:01:33 556b6ee489ea: Waiting 02:01:33 c5a4b2cf53e6: Waiting 02:01:33 85791d961cd3: Download complete 02:01:33 9f32a84ed3da: Verifying Checksum 02:01:33 9f32a84ed3da: Download complete 02:01:33 4d19c01a9841: Verifying Checksum 02:01:33 4d19c01a9841: Download complete 02:01:34 f56be85fc22e: Download complete 02:01:34 9325e15d5711: Verifying Checksum 02:01:34 9325e15d5711: Download complete 02:01:34 f56be85fc22e: Pull complete 02:01:34 85791d961cd3: Pull complete 02:01:34 c5a4b2cf53e6: Verifying Checksum 02:01:34 c5a4b2cf53e6: Download complete 02:01:34 d694b5ae8c79: Verifying Checksum 02:01:34 d694b5ae8c79: Download complete 02:01:35 556b6ee489ea: Verifying Checksum 02:01:35 556b6ee489ea: Download complete 02:01:38 d694b5ae8c79: Pull complete 02:01:38 9f32a84ed3da: Pull complete 02:01:38 4d19c01a9841: Pull complete 02:01:38 9325e15d5711: Pull complete 02:01:40 556b6ee489ea: Pull complete 02:01:41 c5a4b2cf53e6: Pull complete 02:01:41 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:01:41 ---> c4be618373d6 02:01:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:01:46 ---> Running in cb302ba78c4a 02:01:46 Removing intermediate container cb302ba78c4a 02:01:46 ---> 49a6c288c551 02:01:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:46 ---> Running in 6a7f73fa5064 02:01:46 Removing intermediate container 6a7f73fa5064 02:01:46 ---> a3d7cdc0262d 02:01:46 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:46 ---> Running in dfa364f66fdd 02:01:46 Removing intermediate container dfa364f66fdd 02:01:46 ---> 7020e27391ed 02:01:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:01:46 ---> Running in 87846c56d1d2 02:01:46 Removing intermediate container 87846c56d1d2 02:01:46 ---> 34b580db48db 02:01:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:46 ---> Running in 45e634416e54 02:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:46 Still waiting to schedule task 02:01:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:01:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:01:47 (2/4) Installing libedit (20221030.3.1-r0) 02:01:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:01:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:01:47 Executing busybox-1.35.0-r29.trigger 02:01:47 OK: 269 MiB in 57 packages 02:01:47 Removing intermediate container 45e634416e54 02:01:47 ---> 75dcde706594 02:01:47 Step 8/12 : WORKDIR /device-mqtt-go 02:01:47 ---> Running in c14ea2bfe5a4 02:01:47 Removing intermediate container c14ea2bfe5a4 02:01:47 ---> 1aecc46e8341 02:01:47 Step 9/12 : COPY go.mod vendor* ./ 02:01:47 ---> 5f45e27c1afa 02:01:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:47 ---> Running in d7eb38c221f7 02:02:19 Removing intermediate container d7eb38c221f7 02:02:19 ---> 842461780c44 02:02:19 Step 11/12 : COPY . . 02:02:19 ---> ca8c77da3038 02:02:19 Step 12/12 : RUN $MAKE 02:02:19 ---> Running in 45dc6c8cb4d7 02:02:19 noop 02:02:19 Removing intermediate container 45dc6c8cb4d7 02:02:19 ---> d931e1aa1fdd 02:02:19 Successfully built d931e1aa1fdd 02:02:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:20 + docker inspect -f . ci-base-image-x86_64 02:02:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:20 prd-ubuntu20.04-docker-8c-8g-12289 does not seem to be running inside a container 02:02:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-587 -v /w/workspace/gexfoundry_device-mqtt-go_PR-587:/w/workspace/gexfoundry_device-mqtt-go_PR-587:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-587@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-x86_64 cat 02:02:20 $ docker top 088e2d7da37ab2489c55ff23c8fac5ba0abdf5b49189c851e03c55786550e1d8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:21 + go version 02:02:21 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:21 $ docker stop --time=1 088e2d7da37ab2489c55ff23c8fac5ba0abdf5b49189c851e03c55786550e1d8 02:02:22 $ docker rm -f --volumes 088e2d7da37ab2489c55ff23c8fac5ba0abdf5b49189c851e03c55786550e1d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:23 + docker inspect -f . ci-base-image-x86_64 02:02:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:23 prd-ubuntu20.04-docker-8c-8g-12289 does not seem to be running inside a container 02:02:23 $ 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-587 -v /w/workspace/gexfoundry_device-mqtt-go_PR-587:/w/workspace/gexfoundry_device-mqtt-go_PR-587:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-587@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-x86_64 cat 02:02:23 $ docker top beb0706d413be255ab1f74c14bccac034c38be31e5aacb0485c07e44522e2e97 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-587 [Pipeline] fileExists [Pipeline] sh 02:02:24 + make test 02:02:24 go test ./... -coverprofile=coverage.out ./... 02:02:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:02:38 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:02:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:02:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 24.6% of statements 02:02:43 go vet ./... 02:02:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:02:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:02:47 ./bin/test-attribution-txt.sh [Pipeline] echo 02:02:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:02:47 $ docker stop --time=1 beb0706d413be255ab1f74c14bccac034c38be31e5aacb0485c07e44522e2e97 02:02:50 $ docker rm -f --volumes beb0706d413be255ab1f74c14bccac034c38be31e5aacb0485c07e44522e2e97 [Pipeline] // withDockerContainer [Pipeline] sh 02:02:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:02:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:02:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:02:52 + ls -al . 02:02:52 total 180 02:02:52 drwxrwxr-x 10 jenkins jenkins 4096 May 2 02:02 . 02:02:52 drwxrwxr-x 4 jenkins jenkins 4096 May 2 02:01 .. 02:02:52 -rw-rw-r-- 1 jenkins jenkins 140 May 2 02:01 .dockerignore 02:02:52 drwxrwxr-x 8 jenkins jenkins 4096 May 2 02:01 .git 02:02:52 drwxrwxr-x 3 jenkins jenkins 4096 May 2 02:01 .github 02:02:52 -rw-rw-r-- 1 jenkins jenkins 329 May 2 02:01 .gitignore 02:02:52 -rw-rw-r-- 1 jenkins jenkins 41 May 2 02:01 .golangci.yml 02:02:52 drwxr-xr-x 3 jenkins jenkins 4096 May 2 02:01 .semver 02:02:52 -rw-rw-r-- 1 jenkins jenkins 9417 May 2 02:01 Attribution.txt 02:02:52 -rw-rw-r-- 1 jenkins jenkins 13162 May 2 02:01 CHANGELOG.md 02:02:52 -rw-rw-r-- 1 jenkins jenkins 1689 May 2 02:01 Dockerfile 02:02:52 -rw-rw-r-- 1 jenkins jenkins 677 May 2 02:01 GOVERNANCE.md 02:02:52 -rw-rw-r-- 1 jenkins jenkins 678 May 2 02:01 Jenkinsfile 02:02:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 02:01 LICENSE 02:02:52 -rw-rw-r-- 1 jenkins jenkins 1732 May 2 02:01 Makefile 02:02:52 -rw-rw-r-- 1 jenkins jenkins 620 May 2 02:01 OWNERS.md 02:02:52 -rw-rw-r-- 1 jenkins jenkins 3165 May 2 02:01 README.md 02:02:52 -rw-rw-r-- 1 jenkins jenkins 5 May 2 02:01 VERSION 02:02:52 drwxrwxr-x 2 jenkins jenkins 4096 May 2 02:01 bin 02:02:52 drwxrwxr-x 3 jenkins jenkins 4096 May 2 02:01 cmd 02:02:52 -rw-r--r-- 1 jenkins jenkins 16535 May 2 02:02 coverage.out 02:02:52 -rw-rw-r-- 1 jenkins jenkins 3333 May 2 02:01 go.mod 02:02:52 -rw-rw-r-- 1 jenkins jenkins 31443 May 2 02:01 go.sum 02:02:52 drwxrwxr-x 3 jenkins jenkins 4096 May 2 02:01 internal 02:02:52 drwxrwxr-x 2 jenkins jenkins 4096 May 2 02:01 mock 02:02:52 drwxrwxr-x 4 jenkins jenkins 4096 May 2 02:01 snap 02:02:52 -rw-rw-r-- 1 jenkins jenkins 227 May 2 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:52 + 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=df5fd81f3e6b0af933958c1fa4040dddc79a2e9b --label arch=amd64 --label version=0.0.0 . 02:02:52 Sending build context to Docker daemon 6.496MB 02:02:52 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:02:52 Step 2/24 : FROM ${BASE} AS builder 02:02:52 ---> d931e1aa1fdd 02:02:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:02:53 ---> Running in c2eadd501a7b 02:02:53 Removing intermediate container c2eadd501a7b 02:02:53 ---> 00cfe60ca640 02:02:53 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:53 ---> Running in 756ec8c2153f 02:02:53 Removing intermediate container 756ec8c2153f 02:02:53 ---> 9eddcfc64bb5 02:02:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:53 ---> Running in 434f3352dd5d 02:02:53 Removing intermediate container 434f3352dd5d 02:02:53 ---> 604cfb44ca06 02:02:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:02:53 ---> Running in 2694a1e66757 02:02:53 Removing intermediate container 2694a1e66757 02:02:53 ---> 95d999021511 02:02:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:53 ---> Running in 296d6970faed 02:02:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:53 OK: 269 MiB in 57 packages 02:02:54 Removing intermediate container 296d6970faed 02:02:54 ---> 724e4129bfa9 02:02:54 Step 8/24 : WORKDIR /device-mqtt-go 02:02:54 ---> Running in 85c4f8248fee 02:02:54 Removing intermediate container 85c4f8248fee 02:02:54 ---> 5559abcc2560 02:02:54 Step 9/24 : COPY go.mod vendor* ./ 02:02:54 ---> 94cdcabc7671 02:02:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:54 ---> Running in 29985d9df29e 02:02:55 Removing intermediate container 29985d9df29e 02:02:55 ---> ca1312f26ddd 02:02:55 Step 11/24 : COPY . . 02:02:55 ---> 588ee7aa3943 02:02:55 Step 12/24 : RUN $MAKE 02:02:55 ---> Running in 3f4a4d60a1b1 02:02:55 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:03:13 Removing intermediate container 3f4a4d60a1b1 02:03:13 ---> 1e67112c626a 02:03:13 Step 13/24 : FROM alpine:3.17 02:03:13 3.17: Pulling from library/alpine 02:03:13 f56be85fc22e: Already exists 02:03:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:03:13 Status: Downloaded newer image for alpine:3.17 02:03:13 ---> 9ed4aefc74f6 02:03:13 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:03:13 ---> Running in f41704e38cae 02:03:13 Removing intermediate container f41704e38cae 02:03:13 ---> 566592d04e9e 02:03:13 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:03:13 ---> Running in 2b62d90b1670 02:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:13 (1/1) Installing dumb-init (1.2.5-r2) 02:03:13 Executing busybox-1.35.0-r29.trigger 02:03:13 OK: 7 MiB in 16 packages 02:03:14 Removing intermediate container 2b62d90b1670 02:03:14 ---> 0a5172f46040 02:03:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:15 ---> c41ce7517fed 02:03:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:15 ---> 07c33e668643 02:03:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:15 ---> 2569b4173ed2 02:03:15 Step 19/24 : EXPOSE 59982 02:03:15 ---> Running in 0c5819cd665c 02:03:15 Removing intermediate container 0c5819cd665c 02:03:15 ---> ecb87ec217da 02:03:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:15 ---> Running in 25e599c96497 02:03:15 Removing intermediate container 25e599c96497 02:03:15 ---> c8475feff7dc 02:03:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:15 ---> Running in eb9b5ae62716 02:03:15 Removing intermediate container eb9b5ae62716 02:03:15 ---> e543517d43f1 02:03:15 Step 22/24 : LABEL arch=amd64 02:03:15 ---> Running in c794f45563c1 02:03:15 Removing intermediate container c794f45563c1 02:03:15 ---> 21b75ec2b5ad 02:03:15 Step 23/24 : LABEL git_sha=df5fd81f3e6b0af933958c1fa4040dddc79a2e9b 02:03:16 ---> Running in 81fdaaf517e5 02:03:16 Removing intermediate container 81fdaaf517e5 02:03:16 ---> ff1450d9341c 02:03:16 Step 24/24 : LABEL version=0.0.0 02:03:16 ---> Running in 2c19d541f79f 02:03:16 Removing intermediate container 2c19d541f79f 02:03:16 ---> 155749c8dac6 02:03:16 [Warning] One or more build-args [ARCH] were not consumed 02:03:16 Successfully built 155749c8dac6 02:03:16 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:16 02:03:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:17 latest: Pulling from edgex-lftools-log-publisher 02:03:17 5eb5b503b376: Pulling fs layer 02:03:17 5c69ac0246d0: Pulling fs layer 02:03:17 ec43610c2a17: Pulling fs layer 02:03:17 3a2ae6a8a46f: Pulling fs layer 02:03:17 33b1e0a273af: Pulling fs layer 02:03:17 3a2ae6a8a46f: Waiting 02:03:17 5d3b04190fa2: Pulling fs layer 02:03:17 2f39f015ded8: Pulling fs layer 02:03:17 5d3b04190fa2: Waiting 02:03:17 2f39f015ded8: Waiting 02:03:17 5c69ac0246d0: Download complete 02:03:17 3a2ae6a8a46f: Verifying Checksum 02:03:17 3a2ae6a8a46f: Download complete 02:03:17 33b1e0a273af: Verifying Checksum 02:03:17 33b1e0a273af: Download complete 02:03:17 5d3b04190fa2: Verifying Checksum 02:03:17 5d3b04190fa2: Download complete 02:03:17 ec43610c2a17: Verifying Checksum 02:03:17 ec43610c2a17: Download complete 02:03:17 5eb5b503b376: Download complete 02:03:17 2f39f015ded8: Download complete 02:03:18 5eb5b503b376: Pull complete 02:03:18 5c69ac0246d0: Pull complete 02:03:19 ec43610c2a17: Pull complete 02:03:19 3a2ae6a8a46f: Pull complete 02:03:19 33b1e0a273af: Pull complete 02:03:19 5d3b04190fa2: Pull complete 02:03:23 2f39f015ded8: Pull complete 02:03:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:23 prd-ubuntu20.04-docker-8c-8g-12289 does not seem to be running inside a container 02:03:23 $ 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-587 -v /w/workspace/gexfoundry_device-mqtt-go_PR-587:/w/workspace/gexfoundry_device-mqtt-go_PR-587:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-587@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:latest cat 02:03:27 $ docker top 302149552f64c8b9fbeba0680cc38072f3f45227cd17ba96fe8f51c28a2731e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:28 ---> job-cost.sh 02:03:28 lf-activate-venv: SKIPPING 02:03:28 INFO: No Stack... 02:03:28 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:28 INFO: Archiving Costs [Pipeline] sh 02:03:28 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives/cost.csv 02:03:28 + cut -d, -f6 [Pipeline] lock 02:03:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] 02:03:28 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] did not exist. Created. 02:03:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:29 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:29 Stashed 1 file(s) [Pipeline] } 02:03:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:29 $ docker stop --time=1 302149552f64c8b9fbeba0680cc38072f3f45227cd17ba96fe8f51c28a2731e3 02:03:30 $ docker rm -f --volumes 302149552f64c8b9fbeba0680cc38072f3f45227cd17ba96fe8f51c28a2731e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:05:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12291 in /w/workspace/gexfoundry_device-mqtt-go_PR-587 [Pipeline] { [Pipeline] ws 02:05:10 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:05:10 Selected Git installation does not exist. Using Default 02:05:10 The recommended git tool is: NONE 02:05:16 using credential edgex-jenkins-ssh 02:05:16 Cloning the remote Git repository 02:05:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:05:16 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:05:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:16 > git --version # timeout=10 02:05:16 > git --version # 'git version 2.25.1' 02:05:16 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:19 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit df5fd81f3e6b0af933958c1fa4040dddc79a2e9b 02:05:20 Merge succeeded, producing df5fd81f3e6b0af933958c1fa4040dddc79a2e9b 02:05:20 Checking out Revision df5fd81f3e6b0af933958c1fa4040dddc79a2e9b (PR-587) 02:05:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/587/head:refs/remotes/origin/PR-587 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:05:19 > git config core.sparsecheckout # timeout=10 02:05:20 > git checkout -f df5fd81f3e6b0af933958c1fa4040dddc79a2e9b # timeout=10 02:05:20 > git remote # timeout=10 02:05:20 > git config --get remote.origin.url # timeout=10 02:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:20 > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 02:05:20 > git rev-parse HEAD^{commit} # timeout=10 02:05:20 > git config core.sparsecheckout # timeout=10 02:05:20 > git checkout -f df5fd81f3e6b0af933958c1fa4040dddc79a2e9b # timeout=10 02:05:20 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:05:20 > git --version # timeout=10 02:05:20 > git --version # 'git version 2.25.1' 02:05:20 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:05:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:05:21 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:21 Dload Upload Total Spent Left Speed 02:05:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 02:05:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:05:23 + sudo tee /etc/docker/daemon.new 02:05:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:05:23 { 02:05:23 "registry-mirrors": [ 02:05:23 "https://nexus3.edgexfoundry.org:10001" 02:05:23 ], 02:05:23 "bip": "10.250.0.254/24", 02:05:23 "hosts": [ 02:05:23 "tcp://0.0.0.0:5555", 02:05:23 "unix:///var/run/docker.sock" 02:05:23 ], 02:05:23 "mtu": 1458, 02:05:23 "selinux-enabled": true, 02:05:23 "seccomp-profile": "/etc/docker/seccomp.json" 02:05:23 } [Pipeline] sh 02:05:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:05:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:42 provisioning config files... 02:05:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13139555310473160070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:42 ---> docker-login.sh 02:05:42 nexus3.edgexfoundry.org:10001 02:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:43 Configure a credential helper to remove this warning. See 02:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:43 02:05:43 Login Succeeded 02:05:43 nexus3.edgexfoundry.org:10002 02:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:43 Configure a credential helper to remove this warning. See 02:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:43 02:05:43 Login Succeeded 02:05:43 nexus3.edgexfoundry.org:10003 02:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:44 Configure a credential helper to remove this warning. See 02:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:44 02:05:44 Login Succeeded 02:05:44 nexus3.edgexfoundry.org:10004 02:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:44 Configure a credential helper to remove this warning. See 02:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:44 02:05:44 Login Succeeded 02:05:44 docker.io 02:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:05:45 Configure a credential helper to remove this warning. See 02:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:05:45 02:05:45 Login Succeeded 02:05:45 ---> docker-login.sh ends [Pipeline] } 02:05:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:05:45 ========================================================= 02:05:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:05:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:46 + 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:05:46 Sending build context to Docker daemon 3.376MB 02:05:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:05:46 Step 2/12 : FROM ${BASE} AS builder 02:05:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:05:46 c41833b44d91: Pulling fs layer 02:05:46 ed15518f5707: Pulling fs layer 02:05:46 feae8fd75edb: Pulling fs layer 02:05:46 242c74f7c9fa: Pulling fs layer 02:05:46 3cdef696dda3: Pulling fs layer 02:05:46 2ced38df9373: Pulling fs layer 02:05:46 58f1dce35555: Pulling fs layer 02:05:46 3cdef696dda3: Waiting 02:05:46 58f1dce35555: Waiting 02:05:46 242c74f7c9fa: Waiting 02:05:46 ed15518f5707: Download complete 02:05:46 242c74f7c9fa: Verifying Checksum 02:05:46 242c74f7c9fa: Download complete 02:05:46 3cdef696dda3: Verifying Checksum 02:05:46 3cdef696dda3: Download complete 02:05:46 c41833b44d91: Verifying Checksum 02:05:46 c41833b44d91: Download complete 02:05:47 c41833b44d91: Pull complete 02:05:48 58f1dce35555: Verifying Checksum 02:05:48 58f1dce35555: Download complete 02:05:48 ed15518f5707: Pull complete 02:05:49 feae8fd75edb: Download complete 02:05:49 2ced38df9373: Verifying Checksum 02:06:01 feae8fd75edb: Pull complete 02:06:01 242c74f7c9fa: Pull complete 02:06:01 3cdef696dda3: Pull complete 02:06:08 2ced38df9373: Pull complete 02:06:13 58f1dce35555: Pull complete 02:06:13 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:06:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:06:13 ---> fadd8f120f05 02:06:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:06:15 ---> Running in dfdffe7b1e24 02:06:15 Removing intermediate container dfdffe7b1e24 02:06:15 ---> c8106ba47b1e 02:06:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:15 ---> Running in ebec188243dd 02:06:15 Removing intermediate container ebec188243dd 02:06:15 ---> 97b58d55c7bd 02:06:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:15 ---> Running in 4e3ff2b80def 02:06:15 Removing intermediate container 4e3ff2b80def 02:06:15 ---> b82660854f17 02:06:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:06:16 ---> Running in 478ab48e81f9 02:06:16 Removing intermediate container 478ab48e81f9 02:06:16 ---> 0e4ecbd258f2 02:06:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:16 ---> Running in bf38f15a1cb9 02:06:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:06:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:06:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:06:19 (2/4) Installing libedit (20221030.3.1-r0) 02:06:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:06:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:06:19 Executing busybox-1.35.0-r29.trigger 02:06:19 OK: 268 MiB in 57 packages 02:06:20 Removing intermediate container bf38f15a1cb9 02:06:20 ---> 9ef205bbbc02 02:06:20 Step 8/12 : WORKDIR /device-mqtt-go 02:06:20 ---> Running in 2b514089fa46 02:06:21 Removing intermediate container 2b514089fa46 02:06:21 ---> a86eb37e89cd 02:06:21 Step 9/12 : COPY go.mod vendor* ./ 02:06:21 ---> 5f81a1818409 02:06:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:21 ---> Running in 334fa7e6e42c 02:07:29 Removing intermediate container 334fa7e6e42c 02:07:29 ---> 9eb2595f01ab 02:07:29 Step 11/12 : COPY . . 02:07:29 ---> 903652284766 02:07:29 Step 12/12 : RUN $MAKE 02:07:29 ---> Running in bf5875efed6d 02:07:29 noop 02:07:29 Removing intermediate container bf5875efed6d 02:07:29 ---> 046b88510b34 02:07:29 Successfully built 046b88510b34 02:07:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:30 + docker inspect -f . ci-base-image-arm64 02:07:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:30 prd-ubuntu20.04-docker-arm64-4c-16g-12291 does not seem to be running inside a container 02:07:30 $ 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:07:31 $ docker top 447f0e69107e80f32f462cf695727dadd22b56ac532aaa26d5b76d37944724ee -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:32 + go version 02:07:32 go version go1.20.2 linux/arm64 [Pipeline] } 02:07:32 $ docker stop --time=1 447f0e69107e80f32f462cf695727dadd22b56ac532aaa26d5b76d37944724ee 02:07:34 $ docker rm -f --volumes 447f0e69107e80f32f462cf695727dadd22b56ac532aaa26d5b76d37944724ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:35 + docker inspect -f . ci-base-image-arm64 02:07:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:07:35 prd-ubuntu20.04-docker-arm64-4c-16g-12291 does not seem to be running inside a container 02:07:35 $ 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:07:36 $ docker top 10ec56adca01f010c76f81176b2d280c6f37c1953b43d2e154aaa0fb639eaf45 -eo pid,comm [Pipeline] { [Pipeline] sh 02:07:37 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:07:37 + make test 02:07:37 go test ./... -coverprofile=coverage.out ./... 02:08:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 24.6% of statements 02:10:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:17 go vet ./... 02:10:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:56 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:56 $ docker stop --time=1 10ec56adca01f010c76f81176b2d280c6f37c1953b43d2e154aaa0fb639eaf45 02:10:58 $ docker rm -f --volumes 10ec56adca01f010c76f81176b2d280c6f37c1953b43d2e154aaa0fb639eaf45 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:59 Warning: overwriting stash ‘coverage-report’ 02:11:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:11:00 + ls -al . 02:11:00 total 176 02:11:00 drwxrwxr-x 9 jenkins jenkins 4096 May 2 02:07 . 02:11:00 drwxrwxr-x 4 jenkins jenkins 4096 May 2 02:05 .. 02:11:00 -rw-rw-r-- 1 jenkins jenkins 140 May 2 02:05 .dockerignore 02:11:00 drwxrwxr-x 8 jenkins jenkins 4096 May 2 02:05 .git 02:11:00 drwxrwxr-x 3 jenkins jenkins 4096 May 2 02:05 .github 02:11:00 -rw-rw-r-- 1 jenkins jenkins 329 May 2 02:05 .gitignore 02:11:00 -rw-rw-r-- 1 jenkins jenkins 41 May 2 02:05 .golangci.yml 02:11:00 -rw-rw-r-- 1 jenkins jenkins 9417 May 2 02:05 Attribution.txt 02:11:00 -rw-rw-r-- 1 jenkins jenkins 13162 May 2 02:05 CHANGELOG.md 02:11:00 -rw-rw-r-- 1 jenkins jenkins 1689 May 2 02:05 Dockerfile 02:11:00 -rw-rw-r-- 1 jenkins jenkins 677 May 2 02:05 GOVERNANCE.md 02:11:00 -rw-rw-r-- 1 jenkins jenkins 678 May 2 02:05 Jenkinsfile 02:11:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 02:05 LICENSE 02:11:00 -rw-rw-r-- 1 jenkins jenkins 1732 May 2 02:05 Makefile 02:11:00 -rw-rw-r-- 1 jenkins jenkins 620 May 2 02:05 OWNERS.md 02:11:00 -rw-rw-r-- 1 jenkins jenkins 3165 May 2 02:05 README.md 02:11:00 -rw-rw-r-- 1 jenkins jenkins 5 May 2 02:01 VERSION 02:11:00 drwxrwxr-x 2 jenkins jenkins 4096 May 2 02:05 bin 02:11:00 drwxrwxr-x 3 jenkins jenkins 4096 May 2 02:05 cmd 02:11:00 -rw-r--r-- 1 jenkins jenkins 16535 May 2 02:10 coverage.out 02:11:00 -rw-rw-r-- 1 jenkins jenkins 3333 May 2 02:05 go.mod 02:11:00 -rw-rw-r-- 1 jenkins jenkins 31443 May 2 02:05 go.sum 02:11:00 drwxrwxr-x 3 jenkins jenkins 4096 May 2 02:05 internal 02:11:00 drwxrwxr-x 2 jenkins jenkins 4096 May 2 02:05 mock 02:11:00 drwxrwxr-x 4 jenkins jenkins 4096 May 2 02:05 snap 02:11:00 -rw-rw-r-- 1 jenkins jenkins 227 May 2 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:01 + 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=df5fd81f3e6b0af933958c1fa4040dddc79a2e9b --label arch=arm64 --label version=0.0.0 . 02:11:01 Sending build context to Docker daemon 3.394MB 02:11:01 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:11:01 Step 2/24 : FROM ${BASE} AS builder 02:11:01 ---> 046b88510b34 02:11:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:11:01 ---> Running in 871d7c456bcc 02:11:02 Removing intermediate container 871d7c456bcc 02:11:02 ---> cb069c86eebc 02:11:02 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:11:02 ---> Running in ad2b5de8402c 02:11:02 Removing intermediate container ad2b5de8402c 02:11:02 ---> 79c2fb888ccc 02:11:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:11:02 ---> Running in 6987a87ee05d 02:11:03 Removing intermediate container 6987a87ee05d 02:11:03 ---> 548d76fab876 02:11:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:11:03 ---> Running in f649497d09ca 02:11:03 Removing intermediate container f649497d09ca 02:11:03 ---> f4f1e8761488 02:11:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:03 ---> Running in 3f0c7da74848 02:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:11:06 OK: 268 MiB in 57 packages 02:11:06 Removing intermediate container 3f0c7da74848 02:11:06 ---> 017948037616 02:11:06 Step 8/24 : WORKDIR /device-mqtt-go 02:11:06 ---> Running in e98086361e2d 02:11:07 Removing intermediate container e98086361e2d 02:11:07 ---> afcde1402ec2 02:11:07 Step 9/24 : COPY go.mod vendor* ./ 02:11:07 ---> 7c84b09b828d 02:11:07 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:07 ---> Running in ee074c360f28 02:11:10 Removing intermediate container ee074c360f28 02:11:10 ---> def054dcc3b3 02:11:10 Step 11/24 : COPY . . 02:11:11 ---> fab6fd83ef57 02:11:11 Step 12/24 : RUN $MAKE 02:11:11 ---> Running in 19b751cc14ad 02:11:12 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:13:34 Removing intermediate container 19b751cc14ad 02:13:34 ---> b587c9638c18 02:13:34 Step 13/24 : FROM alpine:3.17 02:13:34 3.17: Pulling from library/alpine 02:13:34 c41833b44d91: Already exists 02:13:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:13:34 Status: Downloaded newer image for alpine:3.17 02:13:34 ---> 51e60588ff2c 02:13:34 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:13:34 ---> Running in 0b1d9b08cabf 02:13:34 Removing intermediate container 0b1d9b08cabf 02:13:34 ---> 18ee37b86acb 02:13:34 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:13:34 ---> Running in 74b38adf35ab 02:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:13:34 (1/1) Installing dumb-init (1.2.5-r2) 02:13:34 Executing busybox-1.35.0-r29.trigger 02:13:34 OK: 8 MiB in 16 packages 02:13:34 Removing intermediate container 74b38adf35ab 02:13:34 ---> b0f9f5913437 02:13:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:13:34 ---> b1971b9e10c9 02:13:34 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:13:34 ---> be8ff63c0e36 02:13:34 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:13:34 ---> aeeb6bb3408e 02:13:34 Step 19/24 : EXPOSE 59982 02:13:34 ---> Running in 72c57d6064eb 02:13:34 Removing intermediate container 72c57d6064eb 02:13:34 ---> b56031e1636f 02:13:34 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:13:34 ---> Running in dc43c6847d0a 02:13:34 Removing intermediate container dc43c6847d0a 02:13:34 ---> 211fc94623e9 02:13:34 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:13:34 ---> Running in d6b9c56874f3 02:13:34 Removing intermediate container d6b9c56874f3 02:13:34 ---> 0c2cabbf8684 02:13:34 Step 22/24 : LABEL arch=arm64 02:13:34 ---> Running in 65696afda6fb 02:13:34 Removing intermediate container 65696afda6fb 02:13:34 ---> 0a5ba194989a 02:13:34 Step 23/24 : LABEL git_sha=df5fd81f3e6b0af933958c1fa4040dddc79a2e9b 02:13:34 ---> Running in 1fe0a71c2a4d 02:13:34 Removing intermediate container 1fe0a71c2a4d 02:13:34 ---> e74cf1d67f81 02:13:34 Step 24/24 : LABEL version=0.0.0 02:13:34 ---> Running in 0cd730a2f772 02:13:34 Removing intermediate container 0cd730a2f772 02:13:34 ---> 515575e6536e 02:13:34 [Warning] One or more build-args [ARCH] were not consumed 02:13:34 Successfully built 515575e6536e 02:13:34 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:13:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:34 02:13:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:35 arm64: Pulling from edgex-lftools-log-publisher 02:13:35 8998bd30e6a1: Pulling fs layer 02:13:35 04944245beec: Pulling fs layer 02:13:35 699f458cf7ca: Pulling fs layer 02:13:35 765212b225bb: Pulling fs layer 02:13:35 f23df028b6ca: Pulling fs layer 02:13:35 d65c8cfc05b1: Pulling fs layer 02:13:35 2437ff75d9bd: Pulling fs layer 02:13:35 f23df028b6ca: Waiting 02:13:35 d65c8cfc05b1: Waiting 02:13:35 2437ff75d9bd: Waiting 02:13:35 765212b225bb: Waiting 02:13:35 04944245beec: Verifying Checksum 02:13:35 04944245beec: Download complete 02:13:35 765212b225bb: Verifying Checksum 02:13:35 765212b225bb: Download complete 02:13:35 f23df028b6ca: Verifying Checksum 02:13:35 f23df028b6ca: Download complete 02:13:35 d65c8cfc05b1: Verifying Checksum 02:13:35 d65c8cfc05b1: Download complete 02:13:35 699f458cf7ca: Verifying Checksum 02:13:35 699f458cf7ca: Download complete 02:13:36 8998bd30e6a1: Verifying Checksum 02:13:36 8998bd30e6a1: Download complete 02:13:38 2437ff75d9bd: Verifying Checksum 02:13:38 2437ff75d9bd: Download complete 02:13:40 8998bd30e6a1: Pull complete 02:13:40 04944245beec: Pull complete 02:13:42 699f458cf7ca: Pull complete 02:13:42 765212b225bb: Pull complete 02:13:45 f23df028b6ca: Pull complete 02:13:45 d65c8cfc05b1: Pull complete 02:14:00 2437ff75d9bd: Pull complete 02:14:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:14:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:14:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:01 prd-ubuntu20.04-docker-arm64-4c-16g-12291 does not seem to be running inside a container 02:14:01 $ 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:14:03 $ docker top 569379ac23ceeb9aabe4c311819f2198ee8235f8187adae7c5362eea04ffb38c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:04 ---> job-cost.sh 02:14:04 lf-activate-venv: SKIPPING 02:14:04 INFO: No Stack... 02:14:05 INFO: Retrieving Pricing Info for: v3-standard-4 02:14:05 INFO: Archiving Costs [Pipeline] sh 02:14:05 + + cut -d,cat -f6 /w/workspace/device-mqtt-go/1/archives/cost.csv 02:14:05 [Pipeline] lock 02:14:06 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] 02:14:06 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] did not exist. Created. 02:14:06 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:14:06 /w/workspace/device-mqtt-go/1@tmp/durable-817e4758/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:14:06 + echo total: 0.10999999940395355 [Pipeline] stash 02:14:06 Warning: overwriting stash ‘stack-cost’ 02:14:06 Stashed 1 file(s) [Pipeline] } 02:14:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-587-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:14:06 $ docker stop --time=1 569379ac23ceeb9aabe4c311819f2198ee8235f8187adae7c5362eea04ffb38c 02:14:08 $ docker rm -f --volumes 569379ac23ceeb9aabe4c311819f2198ee8235f8187adae7c5362eea04ffb38c [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:14:09 provisioning config files... 02:14:09 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/config16413554052331649744tmp [Pipeline] { [Pipeline] sh 02:14:09 + set +x 02:14:09 + curl -s https://codecov.io/bash 02:14:09 + bash -s -- 02:14:09 02:14:09 _____ _ 02:14:09 / ____| | | 02:14:09 | | ___ __| | ___ ___ _____ __ 02:14:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:14:09 | |___| (_) | (_| | __/ (_| (_) \ V / 02:14:09 \_____\___/ \__,_|\___|\___\___/ \_/ 02:14:09 Bash-1.0.6 02:14:09 02:14:09 02:14:09 ==> git version 2.25.1 found 02:14:09 ==> 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:14:09 Release-Date: 2020-01-08 02:14:09 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:14:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:14:09 ==> Jenkins CI detected. 02:14:09 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-587 02:14:09 project root: . 02:14:09 --> token set from env 02:14:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:14:09 ==> Running gcov in . (disable via -X gcov) 02:14:09 ==> Python coveragepy not found 02:14:09 ==> Searching for coverage reports in: 02:14:09 + . 02:14:09 -> Found 1 reports 02:14:09 ==> Detecting git/mercurial file structure 02:14:09 ==> Reading reports 02:14:09 + ./coverage.out bytes=16535 02:14:10 ==> Appending adjustments 02:14:10 https://docs.codecov.io/docs/fixing-reports 02:14:10 + Found adjustments 02:14:10 ==> Gzipping contents 02:14:10 4.0K /tmp/codecov.Tfl4Aw.gz 02:14:10 ==> Uploading reports 02:14:10 url: https://codecov.io 02:14:10 query: branch=PR-587&commit=df5fd81f3e6b0af933958c1fa4040dddc79a2e9b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-587%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=587&job=&cmd_args= 02:14:10 -> Pinging Codecov 02:14:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-587&commit=df5fd81f3e6b0af933958c1fa4040dddc79a2e9b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-587%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=587&job=&cmd_args= 02:14:10 -> Uploading to 02:14:10 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/7D719EC7BBE17E464838252E33014C33/df5fd81f3e6b0af933958c1fa4040dddc79a2e9b/f0ed759f-1b86-4fb6-9573-62757d6e9452.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T021409Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6690fc0fb51651a3f217ddd73596122310fca7c4691149362ed80ba9fe7aeec4 02:14:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:10 Dload Upload Total Spent Left Speed 02:14:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 12415 --:--:-- --:--:-- --:--:-- 12415 02:14:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/df5fd81f3e6b0af933958c1fa4040dddc79a2e9b [Pipeline] } 02:14:10 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:14:12 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives ] 02:14:12 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives 02:14:12 total 16 02:14:12 drwxr-xr-x 3 root root 4096 May 2 02:03 . 02:14:12 drwxrwxr-x 11 jenkins jenkins 4096 May 2 02:03 .. 02:14:12 drwxr-xr-x 2 root root 4096 May 2 02:03 cost 02:14:12 -rw-r--r-- 1 root root 86 May 2 02:03 cost.csv 02:14:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives 02:14:12 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives 02:14:12 total 16 02:14:12 drwxr-xr-x 3 jenkins jenkins 4096 May 2 02:03 . 02:14:12 drwxrwxr-x 11 jenkins jenkins 4096 May 2 02:03 .. 02:14:12 drwxr-xr-x 2 jenkins jenkins 4096 May 2 02:03 cost 02:14:12 -rw-r--r-- 1 jenkins jenkins 86 May 2 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:14:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:14:13 ---> package-listing.sh 02:14:13 ++ facter osfamily 02:14:13 ++ tr '[:upper:]' '[:lower:]' 02:14:13 + OS_FAMILY=debian 02:14:13 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-587 02:14:13 + START_PACKAGES=/tmp/packages_start.txt 02:14:13 + END_PACKAGES=/tmp/packages_end.txt 02:14:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:14:13 + PACKAGES=/tmp/packages_start.txt 02:14:13 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-587 ']' 02:14:13 + PACKAGES=/tmp/packages_end.txt 02:14:13 + case "${OS_FAMILY}" in 02:14:13 + dpkg -l 02:14:13 + grep '^ii' 02:14:13 + '[' -f /tmp/packages_start.txt ']' 02:14:13 + '[' -f /tmp/packages_end.txt ']' 02:14:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:14:13 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-587 ']' 02:14:13 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives/ 02:14:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-587/archives/ [Pipeline] echo 02:14:13 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-587/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:14:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:14:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:14 prd-ubuntu20.04-docker-8c-8g-12289 does not seem to be running inside a container 02:14:14 $ 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-587/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-587 -v /w/workspace/gexfoundry_device-mqtt-go_PR-587:/w/workspace/gexfoundry_device-mqtt-go_PR-587:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-587@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:14:14 $ docker top 4c5d0df1215dd0ddda77765e54d03a7e68a3a0396daffc46f6047f8b86e8b991 -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:15 + touch /tmp/pre-build-complete [Pipeline] sh 02:14:15 + mkdir -p /var/log/sysstat [Pipeline] sh 02:14:15 + ls /var/log/sa-host 02:14:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:16 provisioning config files... 02:14:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-587@tmp/config17692442870517979720tmp [Pipeline] { [Pipeline] echo 02:14:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:14:16 ---> create-netrc.sh [Pipeline] } 02:14:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:14:16 ---> python-tools-install.sh [Pipeline] echo 02:14:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:14:17 ---> sudo-logs.sh 02:14:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:14:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:14:17 ---> job-cost.sh 02:14:17 lf-activate-venv: SKIPPING 02:14:17 DEBUG: total: 0.2199999988079071 02:14:17 INFO: Retrieving Stack Cost... 02:14:18 INFO: Retrieving Pricing Info for: v3-standard-8 02:14:18 INFO: Archiving Costs [Pipeline] echo 02:14:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> logs-deploy.sh 02:14:19 lf-activate-venv: SKIPPING 02:14:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-587/1 02:14:19 INFO: archiving workspace using pattern(s): 02:14:20 Archives upload complete. 02:14:20 INFO: archiving logs to Nexus