Pull request #656 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d53d34a2fd75c9f4cd891295901011269c935243+e5520233bf84df16304f7dd08ef94c536c7e2796 (aef09d682754cda351ac875f6a01dc348416cebe) 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-ssh1648534988166451502.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11617509843589768035.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-656/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-656/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2270930090793215247.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-656/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6486192049766452114.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh16951639919280637553.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-656/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-656/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4092230982385193588.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 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-25343 in /w/workspace/gexfoundry_device-mqtt-go_PR-656 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-656 # 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/656/head:refs/remotes/origin/PR-656 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5520233bf84df16304f7dd08ef94c536c7e2796 into PR head commit d53d34a2fd75c9f4cd891295901011269c935243 Merge succeeded, producing d53d34a2fd75c9f4cd891295901011269c935243 Checking out Revision d53d34a2fd75c9f4cd891295901011269c935243 (PR-656) Commit message: "build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d53d34a2fd75c9f4cd891295901011269c935243 # 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 e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d53d34a2fd75c9f4cd891295901011269c935243 # timeout=10 [Pipeline] timeout 23:36:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:36:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:36:41 ========================================================= 23:36:41 EdgeX Global Pipelines Version Info 23:36:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:36:42 ------------------- 23:36:42 stable info: 23:36:42 ------------------- 23:36:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:36:42 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:36:42 Message: update stable to v1.0.258 23:36:43 ------------------- 23:36:43 experimental info: 23:36:43 ------------------- 23:36:43 Commited By: **** collab-it+edgex@linuxfoundation.org 23:36:43 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:36:43 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:36:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:36:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:36:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-656 [Pipeline] echo 23:36:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-656 [Pipeline] echo 23:36:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-656 [Pipeline] echo 23:36:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d53d34a2fd75c9f4cd891295901011269c935243 [Pipeline] echo 23:36:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d53d34a [Pipeline] echo 23:36:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:45 provisioning config files... 23:36:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/config7117149274901661997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:46 ---> ****-login.sh 23:36:46 nexus3.edgexfoundry.org:10001 23:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:46 Configure a credential helper to remove this warning. See 23:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:46 23:36:46 Login Succeeded 23:36:46 nexus3.edgexfoundry.org:10002 23:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:46 Configure a credential helper to remove this warning. See 23:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:46 23:36:46 Login Succeeded 23:36:46 nexus3.edgexfoundry.org:10003 23:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:46 Configure a credential helper to remove this warning. See 23:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:46 23:36:46 Login Succeeded 23:36:46 nexus3.edgexfoundry.org:10004 23:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:46 Configure a credential helper to remove this warning. See 23:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:46 23:36:46 Login Succeeded 23:36:46 ****.io 23:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:46 Configure a credential helper to remove this warning. See 23:36:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:46 23:36:46 Login Succeeded 23:36:46 ---> ****-login.sh ends [Pipeline] } 23:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:36:47 + git rev-list -1 --merges d53d34a2fd75c9f4cd891295901011269c935243~1..d53d34a2fd75c9f4cd891295901011269c935243 [Pipeline] echo 23:36:47 -----------> git rev-list -1 --merges d53d34a2fd75c9f4cd891295901011269c935243~1..d53d34a2fd75c9f4cd891295901011269c935243 d53d34a2fd75c9f4cd891295901011269c935243 [false] [Pipeline] sh 23:36:48 + git log --format=format:%s -1 d53d34a2fd75c9f4cd891295901011269c935243 [Pipeline] echo 23:36:48 ========================================================= 23:36:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:36:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:48 + git log --format=format:%s -1 d53d34a2fd75c9f4cd891295901011269c935243 [Pipeline] echo 23:36:48 [semverPrep] GIT_COMMIT: d53d34a2fd75c9f4cd891295901011269c935243, Commit Message: build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 [Pipeline] echo 23:36:48 [semverPrep] This is not a build commit. [Pipeline] sh 23:36:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:36:49 + grep -v github /etc/ssh/ssh_known_hosts 23:36:49 + [ -e /tmp/ssh_known_hosts ] 23:36:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:36:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:36:49 + sudo tee -a /etc/ssh/ssh_known_hosts 23:36:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:36:49 23:36:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:36:49 0.1.4: Pulling from edgex-devops/py-git-semver 23:36:49 b85a868b505f: Pulling fs layer 23:36:49 e2be974225ed: Pulling fs layer 23:36:49 339a4e72a1f5: Pulling fs layer 23:36:49 988bab9f4d93: Pulling fs layer 23:36:49 1469e6f7b9e6: Pulling fs layer 23:36:49 eaf3925da568: Pulling fs layer 23:36:49 bab4dde63d76: Pulling fs layer 23:36:49 bde34c3a00c8: Pulling fs layer 23:36:49 b352a97aabf1: Pulling fs layer 23:36:49 4872d77fe225: Pulling fs layer 23:36:49 5851b861e8e6: Pulling fs layer 23:36:49 988bab9f4d93: Waiting 23:36:49 eaf3925da568: Waiting 23:36:49 1469e6f7b9e6: Waiting 23:36:49 b352a97aabf1: Waiting 23:36:49 bab4dde63d76: Waiting 23:36:49 bde34c3a00c8: Waiting 23:36:49 4872d77fe225: Waiting 23:36:49 5851b861e8e6: Waiting 23:36:49 e2be974225ed: Verifying Checksum 23:36:49 e2be974225ed: Download complete 23:36:49 988bab9f4d93: Verifying Checksum 23:36:49 988bab9f4d93: Download complete 23:36:49 1469e6f7b9e6: Verifying Checksum 23:36:49 1469e6f7b9e6: Download complete 23:36:50 eaf3925da568: Verifying Checksum 23:36:50 eaf3925da568: Download complete 23:36:50 339a4e72a1f5: Verifying Checksum 23:36:50 339a4e72a1f5: Download complete 23:36:50 bde34c3a00c8: Download complete 23:36:50 b352a97aabf1: Verifying Checksum 23:36:50 b352a97aabf1: Download complete 23:36:50 4872d77fe225: Verifying Checksum 23:36:50 4872d77fe225: Download complete 23:36:50 5851b861e8e6: Download complete 23:36:50 b85a868b505f: Verifying Checksum 23:36:50 b85a868b505f: Download complete 23:36:50 bab4dde63d76: Download complete 23:36:51 b85a868b505f: Pull complete 23:36:51 e2be974225ed: Pull complete 23:36:52 339a4e72a1f5: Pull complete 23:36:52 988bab9f4d93: Pull complete 23:36:52 1469e6f7b9e6: Pull complete 23:36:52 eaf3925da568: Pull complete 23:36:54 bab4dde63d76: Pull complete 23:36:54 bde34c3a00c8: Pull complete 23:36:54 b352a97aabf1: Pull complete 23:36:54 4872d77fe225: Pull complete 23:36:54 5851b861e8e6: Pull complete 23:36:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:36:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:36:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:36:55 prd-ubuntu20.04-docker-8c-8g-25343 does not seem to be running inside a container 23:36:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-656 -v /w/workspace/gexfoundry_device-mqtt-go_PR-656:/w/workspace/gexfoundry_device-mqtt-go_PR-656:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-656@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 23:37:01 $ docker top 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 -eo pid,comm 23:37:01 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). 23:37:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:02 [ssh-agent] Looking for ssh-agent implementation... 23:37:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:02 $ docker exec 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 ssh-agent 23:37:02 SSH_AUTH_SOCK=/tmp/ssh-ujEgTsiYnBkk/agent.33 23:37:02 SSH_AGENT_PID=39 23:37:02 Running ssh-add (command line suppressed) 23:37:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/private_key_13157071904794668142.key (/w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/private_key_13157071904794668142.key) 23:37:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:02 + git tag --points-at HEAD [Pipeline] } 23:37:02 $ docker exec --env ******** --env ******** 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 ssh-agent -k 23:37:02 unset SSH_AUTH_SOCK; 23:37:02 unset SSH_AGENT_PID; 23:37:02 echo Agent pid 39 killed; 23:37:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:37:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:02 [ssh-agent] Looking for ssh-agent implementation... 23:37:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:03 $ docker exec 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 ssh-agent 23:37:03 SSH_AUTH_SOCK=/tmp/ssh-ZhW42IsbHRxx/agent.71 23:37:03 SSH_AGENT_PID=78 23:37:03 Running ssh-add (command line suppressed) 23:37:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/private_key_11023567655953203554.key (/w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/private_key_11023567655953203554.key) 23:37:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:03 + git semver init 23:37:03 2023-12-18 23:37:03,850 [run_init] DEBUG init version:0.0.0 force:False 23:37:03 2023-12-18 23:37:03,851 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver 23:37:03 2023-12-18 23:37:03,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver 23:37:03 2023-12-18 23:37:03,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-656, universal_newlines=False, shell=None, istream=None) 23:37:05 2023-12-18 23:37:05,005 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-656/.git/info/exclude 23:37:05 2023-12-18 23:37:05,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver/PR-656 with force:False 23:37:05 2023-12-18 23:37:05,006 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver/PR-656 23:37:05 2023-12-18 23:37:05,010 [execute] INFO git cat-file --batch-check 23:37:05 2023-12-18 23:37:05,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver, universal_newlines=False, shell=None, istream=) 23:37:05 2023-12-18 23:37:05,017 [execute] INFO git cat-file --batch 23:37:05 2023-12-18 23:37:05,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver, universal_newlines=False, shell=None, istream=) 23:37:05 2023-12-18 23:37:05,024 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-656/.semver/PR-656 23:37:05 0.0.0 [Pipeline] } 23:37:05 $ docker exec --env ******** --env ******** 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 ssh-agent -k 23:37:05 unset SSH_AUTH_SOCK; 23:37:05 unset SSH_AGENT_PID; 23:37:05 echo Agent pid 78 killed; 23:37:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:06 + git semver [Pipeline] } 23:37:06 $ docker stop --time=1 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 23:37:07 $ docker rm -f --volumes 4a5aa91b41d1d5a0b5d879a0a38f262bce481cdd279b2714398225a7d5ef2469 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:08 Stashed 1 file(s) [Pipeline] echo 23:37:08 [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 23:37:09 provisioning config files... 23:37:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/config2548096206170001136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:09 ---> ****-login.sh 23:37:09 nexus3.edgexfoundry.org:10001 23:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:09 Configure a credential helper to remove this warning. See 23:37:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:09 23:37:09 Login Succeeded 23:37:09 nexus3.edgexfoundry.org:10002 23:37:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:09 Configure a credential helper to remove this warning. See 23:37:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:09 23:37:09 Login Succeeded 23:37:09 nexus3.edgexfoundry.org:10003 23:37:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:10 Configure a credential helper to remove this warning. See 23:37:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:10 23:37:10 Login Succeeded 23:37:10 nexus3.edgexfoundry.org:10004 23:37:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:10 Configure a credential helper to remove this warning. See 23:37:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:10 23:37:10 Login Succeeded 23:37:10 ****.io 23:37:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:10 Configure a credential helper to remove this warning. See 23:37:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:10 23:37:10 Login Succeeded 23:37:10 ---> ****-login.sh ends [Pipeline] } 23:37:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:37:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:37:10 ========================================================= 23:37:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:37:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:37:11 Sending build context to Docker daemon 14.88MB 23:37:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:37:11 Step 2/12 : FROM ${BASE} AS builder 23:37:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:11 7264a8db6415: Pulling fs layer 23:37:11 c4d48a809fc2: Pulling fs layer 23:37:11 4f1c88b9dad5: Pulling fs layer 23:37:11 ad3a456e5733: Pulling fs layer 23:37:11 69c7f0334f64: Pulling fs layer 23:37:11 ad3a456e5733: Waiting 23:37:11 1f1c1a5573a3: Pulling fs layer 23:37:11 ce7588e14bc9: Pulling fs layer 23:37:11 b5e4710f87ac: Pulling fs layer 23:37:11 b5e4710f87ac: Waiting 23:37:11 c4d48a809fc2: Verifying Checksum 23:37:11 c4d48a809fc2: Download complete 23:37:11 ad3a456e5733: Verifying Checksum 23:37:11 ad3a456e5733: Download complete 23:37:11 69c7f0334f64: Verifying Checksum 23:37:11 69c7f0334f64: Download complete 23:37:11 7264a8db6415: Verifying Checksum 23:37:11 7264a8db6415: Download complete 23:37:11 1f1c1a5573a3: Verifying Checksum 23:37:11 1f1c1a5573a3: Download complete 23:37:11 7264a8db6415: Pull complete 23:37:11 b5e4710f87ac: Verifying Checksum 23:37:11 b5e4710f87ac: Download complete 23:37:12 c4d48a809fc2: Pull complete 23:37:12 4f1c88b9dad5: Verifying Checksum 23:37:12 4f1c88b9dad5: Download complete 23:37:12 ce7588e14bc9: Verifying Checksum 23:37:12 ce7588e14bc9: Download complete 23:37:15 4f1c88b9dad5: Pull complete 23:37:15 ad3a456e5733: Pull complete 23:37:15 69c7f0334f64: Pull complete 23:37:15 1f1c1a5573a3: Pull complete 23:37:17 ce7588e14bc9: Pull complete 23:37:18 b5e4710f87ac: Pull complete 23:37:18 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 23:37:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:37:18 ---> 88b5674ff536 23:37:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:37:21 ---> Running in 7198c14c3790 23:37:21 Removing intermediate container 7198c14c3790 23:37:21 ---> c55bca249b62 23:37:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:21 ---> Running in a7c9a6a8114d 23:37:21 Removing intermediate container a7c9a6a8114d 23:37:21 ---> 5a923a5a1839 23:37:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:37:21 ---> Running in 0f790b7befe3 23:37:21 Removing intermediate container 0f790b7befe3 23:37:21 ---> 9cbedfc361e5 23:37:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:37:21 ---> Running in 1feef1af341b 23:37:21 Removing intermediate container 1feef1af341b 23:37:21 ---> 807d05b0485a 23:37:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:21 ---> Running in dede154c2318 23:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:37:22 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:37:22 (2/4) Installing libedit (20221030.3.1-r1) 23:37:22 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:37:22 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:37:22 Executing busybox-1.36.1-r5.trigger 23:37:22 OK: 268 MiB in 56 packages 23:37:23 Removing intermediate container dede154c2318 23:37:23 ---> 09e2132a7786 23:37:23 Step 8/12 : WORKDIR /device-mqtt-go 23:37:23 ---> Running in 24800a996185 23:37:23 Removing intermediate container 24800a996185 23:37:23 ---> 1a9f0fcf6382 23:37:23 Step 9/12 : COPY go.mod vendor* ./ 23:37:23 ---> 5d7e19167160 23:37:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:23 ---> Running in 616965840f57 23:37:24 Still waiting to schedule task 23:37:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:38:02 Removing intermediate container 616965840f57 23:38:02 ---> df388eba6e9f 23:38:02 Step 11/12 : COPY . . 23:38:02 ---> 53f3f829998e 23:38:02 Step 12/12 : RUN $MAKE 23:38:02 ---> Running in 301ff372e3b6 23:38:02 noop 23:38:02 Removing intermediate container 301ff372e3b6 23:38:02 ---> 7f5e24136113 23:38:02 Successfully built 7f5e24136113 23:38:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:02 + docker inspect -f . ci-base-image-x86_64 23:38:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:02 prd-ubuntu20.04-docker-8c-8g-25343 does not seem to be running inside a container 23:38:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-656 -v /w/workspace/gexfoundry_device-mqtt-go_PR-656:/w/workspace/gexfoundry_device-mqtt-go_PR-656:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-656@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 23:38:03 $ docker top 0373f3425a083e31d5ea3e4ac00c2f27060a830cf21a93806111470b78f424fa -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:03 + go version 23:38:03 go version go1.21.0 linux/amd64 [Pipeline] } 23:38:03 $ docker stop --time=1 0373f3425a083e31d5ea3e4ac00c2f27060a830cf21a93806111470b78f424fa 23:38:04 $ docker rm -f --volumes 0373f3425a083e31d5ea3e4ac00c2f27060a830cf21a93806111470b78f424fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:05 + docker inspect -f . ci-base-image-x86_64 23:38:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:06 prd-ubuntu20.04-docker-8c-8g-25343 does not seem to be running inside a container 23:38:06 $ 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-656 -v /w/workspace/gexfoundry_device-mqtt-go_PR-656:/w/workspace/gexfoundry_device-mqtt-go_PR-656:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-656@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 23:38:06 $ docker top a00363e473bebd754f79b938d3ad0304f2d4f2d1b52b048f0ffae309c397ffa5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-656 [Pipeline] fileExists [Pipeline] sh 23:38:07 + make test 23:38:07 go test ./... -coverprofile=coverage.out ./... 23:38:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:38:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:38:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:38:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements 23:38:25 go vet ./... 23:38:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:38:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:38:28 ./bin/test-attribution-txt.sh [Pipeline] echo 23:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:38:28 $ docker stop --time=1 a00363e473bebd754f79b938d3ad0304f2d4f2d1b52b048f0ffae309c397ffa5 23:38:33 $ docker rm -f --volumes a00363e473bebd754f79b938d3ad0304f2d4f2d1b52b048f0ffae309c397ffa5 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:38:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:38:36 + ls -al . 23:38:36 total 184 23:38:36 drwxrwxr-x 9 jenkins jenkins 4096 Dec 18 23:38 . 23:38:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:36 .. 23:38:36 -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 23:36 .dockerignore 23:38:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:38 .git 23:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:36 .github 23:38:36 -rw-rw-r-- 1 jenkins jenkins 264 Dec 18 23:36 .gitignore 23:38:36 -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:36 .golangci.yml 23:38:36 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:37 .semver 23:38:36 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 18 23:36 Attribution.txt 23:38:36 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 18 23:36 CHANGELOG.md 23:38:36 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 18 23:36 Dockerfile 23:38:36 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:36 GOVERNANCE.md 23:38:36 -rw-rw-r-- 1 jenkins jenkins 657 Dec 18 23:36 Jenkinsfile 23:38:36 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:36 LICENSE 23:38:36 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 18 23:36 Makefile 23:38:36 -rw-rw-r-- 1 jenkins jenkins 620 Dec 18 23:36 OWNERS.md 23:38:36 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 18 23:36 README.md 23:38:36 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:37 VERSION 23:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:36 bin 23:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:36 cmd 23:38:36 -rw-r--r-- 1 jenkins jenkins 18506 Dec 18 23:38 coverage.out 23:38:36 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 18 23:36 go.mod 23:38:36 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 18 23:36 go.sum 23:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:36 internal 23:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:36 mock 23:38:36 -rw-rw-r-- 1 jenkins jenkins 227 Dec 18 23:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:36 + 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=d53d34a2fd75c9f4cd891295901011269c935243 --label arch=amd64 --label version=0.0.0 . 23:38:36 Sending build context to Docker daemon 14.9MB 23:38:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 23:38:36 Step 2/25 : FROM ${BASE} AS builder 23:38:36 ---> 7f5e24136113 23:38:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:38:37 ---> Running in d5f37ffcf0cf 23:38:37 Removing intermediate container d5f37ffcf0cf 23:38:37 ---> 455a9ccbfeb0 23:38:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:37 ---> Running in cd3e76027e31 23:38:38 Removing intermediate container cd3e76027e31 23:38:38 ---> 31bbc3579e55 23:38:38 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:38:38 ---> Running in dfd21c50ea54 23:38:38 Removing intermediate container dfd21c50ea54 23:38:38 ---> e912f82e912e 23:38:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:38:38 ---> Running in 06fa82175f1a 23:38:39 Removing intermediate container 06fa82175f1a 23:38:39 ---> 4999cef0250b 23:38:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:39 ---> Running in cbf725999b4c 23:38:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:38:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:38:40 OK: 268 MiB in 56 packages 23:38:41 Removing intermediate container cbf725999b4c 23:38:41 ---> f9adc9a8c18a 23:38:41 Step 8/25 : WORKDIR /device-mqtt-go 23:38:41 ---> Running in 871efc7d3d70 23:38:42 Removing intermediate container 871efc7d3d70 23:38:42 ---> a1f59c447a0c 23:38:42 Step 9/25 : COPY go.mod vendor* ./ 23:38:42 ---> 1b0318bbfe53 23:38:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:42 ---> Running in 76153caeccec 23:38:43 Removing intermediate container 76153caeccec 23:38:43 ---> f574cde2ca43 23:38:43 Step 11/25 : COPY . . 23:38:45 ---> cac91514ee59 23:38:45 Step 12/25 : RUN $MAKE 23:38:45 ---> Running in 63a06bda5d79 23:38:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:39:08 Removing intermediate container 63a06bda5d79 23:39:08 ---> 238378e4dab2 23:39:08 Step 13/25 : FROM alpine:3.18 23:39:08 3.18: Pulling from library/alpine 23:39:08 c926b61bad3b: Pulling fs layer 23:39:08 c926b61bad3b: Verifying Checksum 23:39:08 c926b61bad3b: Download complete 23:39:08 c926b61bad3b: Pull complete 23:39:08 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:39:08 Status: Downloaded newer image for alpine:3.18 23:39:08 ---> b541f2080109 23:39:08 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:39:08 ---> Running in 906e00ae16e0 23:39:08 Removing intermediate container 906e00ae16e0 23:39:08 ---> a681a96d9984 23:39:08 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:39:08 ---> Running in 3c183dfbbee8 23:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:39:08 (1/1) Installing dumb-init (1.2.5-r2) 23:39:08 Executing busybox-1.36.1-r5.trigger 23:39:08 OK: 7 MiB in 16 packages 23:39:08 Removing intermediate container 3c183dfbbee8 23:39:08 ---> 18b5d1a68bf7 23:39:08 Step 16/25 : RUN apk --no-cache upgrade 23:39:08 ---> Running in 052009ac7b66 23:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:39:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:39:08 OK: 7 MiB in 16 packages 23:39:08 Removing intermediate container 052009ac7b66 23:39:08 ---> 973b77ca5beb 23:39:08 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 23:39:09 ---> 3606352768fc 23:39:09 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 23:39:09 ---> af279f4de402 23:39:09 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:39:09 ---> 3aab17c592b3 23:39:09 Step 20/25 : EXPOSE 59982 23:39:09 ---> Running in c2865ebbf5c4 23:39:09 Removing intermediate container c2865ebbf5c4 23:39:09 ---> 8fc5b75694da 23:39:09 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 23:39:09 ---> Running in 7faf48069413 23:39:09 Removing intermediate container 7faf48069413 23:39:09 ---> 922c82dd2d5e 23:39:09 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:39:09 ---> Running in b4b9d3115b31 23:39:09 Removing intermediate container b4b9d3115b31 23:39:09 ---> c17d40763c4b 23:39:09 Step 23/25 : LABEL arch=amd64 23:39:09 ---> Running in 009db277c823 23:39:09 Removing intermediate container 009db277c823 23:39:09 ---> 85dfe0291504 23:39:09 Step 24/25 : LABEL git_sha=d53d34a2fd75c9f4cd891295901011269c935243 23:39:10 ---> Running in b2b9842880e4 23:39:10 Removing intermediate container b2b9842880e4 23:39:10 ---> 606166dcfb00 23:39:10 Step 25/25 : LABEL version=0.0.0 23:39:10 ---> Running in 07890ff6624e 23:39:10 Removing intermediate container 07890ff6624e 23:39:10 ---> 9261d861429d 23:39:10 [Warning] One or more build-args [ARCH] were not consumed 23:39:10 Successfully built 9261d861429d 23:39:10 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 23:39:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:11 23:39:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:12 latest: Pulling from edgex-lftools-log-publisher 23:39:12 5eb5b503b376: Pulling fs layer 23:39:12 5c69ac0246d0: Pulling fs layer 23:39:12 ec43610c2a17: Pulling fs layer 23:39:12 3a2ae6a8a46f: Pulling fs layer 23:39:12 33b1e0a273af: Pulling fs layer 23:39:12 5d3b04190fa2: Pulling fs layer 23:39:12 2f39f015ded8: Pulling fs layer 23:39:12 5d3b04190fa2: Waiting 23:39:12 2f39f015ded8: Waiting 23:39:12 3a2ae6a8a46f: Waiting 23:39:12 5c69ac0246d0: Verifying Checksum 23:39:12 5c69ac0246d0: Download complete 23:39:12 3a2ae6a8a46f: Download complete 23:39:12 33b1e0a273af: Verifying Checksum 23:39:12 33b1e0a273af: Download complete 23:39:12 5d3b04190fa2: Verifying Checksum 23:39:12 5d3b04190fa2: Download complete 23:39:12 ec43610c2a17: Verifying Checksum 23:39:12 ec43610c2a17: Download complete 23:39:12 5eb5b503b376: Verifying Checksum 23:39:12 5eb5b503b376: Download complete 23:39:12 2f39f015ded8: Verifying Checksum 23:39:12 2f39f015ded8: Download complete 23:39:13 5eb5b503b376: Pull complete 23:39:13 5c69ac0246d0: Pull complete 23:39:14 ec43610c2a17: Pull complete 23:39:14 3a2ae6a8a46f: Pull complete 23:39:14 33b1e0a273af: Pull complete 23:39:14 5d3b04190fa2: Pull complete 23:39:18 2f39f015ded8: Pull complete 23:39:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:39:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:18 prd-ubuntu20.04-docker-8c-8g-25343 does not seem to be running inside a container 23:39:18 $ 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-656 -v /w/workspace/gexfoundry_device-mqtt-go_PR-656:/w/workspace/gexfoundry_device-mqtt-go_PR-656:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-656@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 23:39:20 $ docker top 3be3720734b8d69422594ed3b2f0cc74ace9ce9c0cd8acd7b0c8dc6e7ae50cb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:21 ---> job-cost.sh 23:39:21 lf-activate-venv: SKIPPING 23:39:21 INFO: No Stack... 23:39:21 INFO: Retrieving Pricing Info for: v3-standard-8 23:39:21 INFO: Archiving Costs [Pipeline] sh 23:39:22 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives/cost.csv 23:39:22 + cut -d, -f6 [Pipeline] lock 23:39:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] 23:39:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] did not exist. Created. 23:39:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:39:22 + echo total: 0.2199999988079071 [Pipeline] stash 23:39:22 Stashed 1 file(s) [Pipeline] } 23:39:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:39:23 $ docker stop --time=1 3be3720734b8d69422594ed3b2f0cc74ace9ce9c0cd8acd7b0c8dc6e7ae50cb7 23:39:24 $ docker rm -f --volumes 3be3720734b8d69422594ed3b2f0cc74ace9ce9c0cd8acd7b0c8dc6e7ae50cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:47:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25569 in /w/workspace/gexfoundry_device-mqtt-go_PR-656 [Pipeline] { [Pipeline] ws 23:47:06 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 23:47:06 The recommended git tool is: git 23:47:14 using credential edgex-jenkins-ssh 23:47:14 Cloning the remote Git repository 23:47:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:47:14 > git init /w/workspace/device-mqtt-go/1 # timeout=10 23:47:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:47:14 > git --version # timeout=10 23:47:14 > git --version # 'git version 2.25.1' 23:47:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:47:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:47:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:47:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/656/head:refs/remotes/origin/PR-656 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:47:18 Merging remotes/origin/main commit e5520233bf84df16304f7dd08ef94c536c7e2796 into PR head commit d53d34a2fd75c9f4cd891295901011269c935243 23:47:19 Merge succeeded, producing d53d34a2fd75c9f4cd891295901011269c935243 23:47:19 Checking out Revision d53d34a2fd75c9f4cd891295901011269c935243 (PR-656) 23:47:20 Commit message: "build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0" 23:47:20 > git --version # timeout=10 23:47:20 > git --version # 'git version 2.25.1' 23:47:20 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:47:18 > git config core.sparsecheckout # timeout=10 23:47:18 > git checkout -f d53d34a2fd75c9f4cd891295901011269c935243 # timeout=10 23:47:18 > git remote # timeout=10 23:47:19 > git config --get remote.origin.url # timeout=10 23:47:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:19 > git merge e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 23:47:19 > git rev-parse HEAD^{commit} # timeout=10 23:47:19 > git config core.sparsecheckout # timeout=10 23:47:19 > git checkout -f d53d34a2fd75c9f4cd891295901011269c935243 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:47:21 % Total % Received % Xferd Average Speed Time Time Time Current 23:47:21 Dload Upload Total Spent Left Speed 23:47:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 65035 0 --:--:-- --:--:-- --:--:-- 65035 [Pipeline] sh 23:47:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:47:22 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 23:47:22 23:47:22 { 23:47:22 "registry-mirrors": [ 23:47:22 "https://nexus3.edgexfoundry.org:10001" 23:47:22 ], 23:47:22 "bip": "10.250.0.254/24", 23:47:22 "hosts": [ 23:47:22 "tcp://0.0.0.0:5555", 23:47:22 "unix:///var/run/docker.sock" 23:47:22 ], 23:47:22 "mtu": 1458, 23:47:22 "selinux-enabled": true, 23:47:22 "seccomp-profile": "/etc/docker/seccomp.json" 23:47:22 } [Pipeline] sh 23:47:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:47:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:41 provisioning config files... 23:47:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4131857104165198205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:42 ---> ****-login.sh 23:47:42 nexus3.edgexfoundry.org:10001 23:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:42 Configure a credential helper to remove this warning. See 23:47:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:42 23:47:42 Login Succeeded 23:47:42 nexus3.edgexfoundry.org:10002 23:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:43 Configure a credential helper to remove this warning. See 23:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:43 23:47:43 Login Succeeded 23:47:43 nexus3.edgexfoundry.org:10003 23:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:43 Configure a credential helper to remove this warning. See 23:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:43 23:47:43 Login Succeeded 23:47:43 nexus3.edgexfoundry.org:10004 23:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:43 Configure a credential helper to remove this warning. See 23:47:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:43 23:47:43 Login Succeeded 23:47:43 ****.io 23:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:44 Configure a credential helper to remove this warning. See 23:47:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:44 23:47:44 Login Succeeded 23:47:44 ---> ****-login.sh ends [Pipeline] } 23:47:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:47:44 ========================================================= 23:47:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:47:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:47:48 #0 building with "default" instance using docker driver 23:47:48 23:47:48 #1 [internal] load build definition from Dockerfile 23:47:48 #1 transferring dockerfile: 1.84kB 0.0s done 23:47:48 #1 DONE 0.1s 23:47:48 23:47:48 #2 [internal] load .dockerignore 23:47:48 #2 transferring context: 182B done 23:47:48 #2 DONE 0.1s 23:47:48 23:47:48 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:47:48 #3 DONE 0.1s 23:47:49 23:47:49 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:47:49 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 23:47:49 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 23:47:49 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 23:47:49 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 23:47:49 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.74MB / 63.99MB 0.2s 23:47:49 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s 23:47:49 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 23:47:49 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 23:47:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 23:47:49 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 23:47:49 #4 ... 23:47:49 23:47:49 #5 [internal] load build context 23:47:49 #5 transferring context: 7.43MB 0.4s done 23:47:49 #5 DONE 0.4s 23:47:49 23:47:49 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.4s 23:47:49 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 23:47:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.79MB / 63.99MB 0.5s 23:47:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 6.29MB / 97.63MB 0.5s 23:47:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.01MB / 11.40MB 0.5s 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.56MB / 63.99MB 0.6s 23:47:49 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.4s done 23:47:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.84MB / 11.40MB 0.6s 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.32MB / 63.99MB 0.8s 23:47:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.8s 23:47:49 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.9s 23:47:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.21MB / 97.63MB 0.9s 23:47:49 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 23:47:49 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s 23:47:49 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 31.46MB / 97.63MB 1.0s 23:47:49 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 23:47:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.79MB / 63.99MB 1.2s 23:47:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.89MB / 97.63MB 1.2s 23:47:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.3s 23:47:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.3s 23:47:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.48MB / 63.99MB 1.4s 23:47:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.4s 23:47:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s 23:47:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.61MB / 97.63MB 1.6s 23:47:50 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 23:47:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 68.16MB / 97.63MB 1.8s 23:47:50 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 23:47:50 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 2.0s 23:47:51 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.08MB / 97.63MB 2.2s 23:47:51 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s 23:47:51 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s done 23:47:56 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.9s 23:48:03 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.9s 23:48:09 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.6s done 23:48:10 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 23:48:10 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 23:48:11 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 23:48:11 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 23:48:16 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 23:48:19 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.5s done 23:48:19 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 23:48:21 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done 23:48:21 #4 DONE 33.0s 23:48:21 23:48:21 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 23:48:22 #6 0.850 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:48:23 #6 1.340 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:48:24 #6 2.703 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:48:24 #6 2.733 (2/4) Installing libedit (20221030.3.1-r1) 23:48:24 #6 2.749 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:48:24 #6 2.818 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:48:24 #6 2.848 Executing busybox-1.36.1-r5.trigger 23:48:24 #6 2.890 OK: 271 MiB in 56 packages 23:48:27 #6 DONE 5.2s 23:48:27 23:48:27 #7 [builder 3/7] WORKDIR /device-mqtt-go 23:48:27 #7 DONE 0.1s 23:48:27 23:48:27 #8 [builder 4/7] COPY go.mod vendor* ./ 23:48:27 #8 DONE 0.2s 23:48:27 23:48:27 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:48:54 #9 DONE 25.2s 23:48:54 23:48:54 #10 [builder 6/7] COPY . . 23:48:54 #10 DONE 0.3s 23:48:54 23:48:54 #11 [builder 7/7] RUN echo noop 23:48:54 #11 0.641 noop 23:48:54 #11 DONE 0.7s 23:48:54 23:48:54 #12 exporting to image 23:48:54 #12 exporting layers 23:49:21 #12 exporting layers 24.1s done 23:49:21 #12 writing image sha256:5c77de74535bd2d66b1cb4aa5434c09d8beba6dcc40cfb956ad3930b8b5395d2 done 23:49:21 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 23:49:21 #12 DONE 24.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:21 + docker inspect -f . ci-base-image-arm64 23:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:22 prd-ubuntu20.04-docker-arm64-4c-16g-25569 does not seem to be running inside a container 23:49:22 $ 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 23:49:23 $ docker top e6fe905811cf27508c9c5a4f8fccb74ca7b0eb569610d135e2b7b955eee4baf9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:24 + go version 23:49:24 go version go1.21.0 linux/arm64 [Pipeline] } 23:49:24 $ docker stop --time=1 e6fe905811cf27508c9c5a4f8fccb74ca7b0eb569610d135e2b7b955eee4baf9 23:49:26 $ docker rm -f --volumes e6fe905811cf27508c9c5a4f8fccb74ca7b0eb569610d135e2b7b955eee4baf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:27 + docker inspect -f . ci-base-image-arm64 23:49:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:27 prd-ubuntu20.04-docker-arm64-4c-16g-25569 does not seem to be running inside a container 23:49:27 $ 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 23:49:30 $ docker top d2033d33aa5248d1a6d3efd158151ae729e523010a274b6c94beaf9f6754bd9c -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:31 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 23:49:32 + make test 23:49:32 go test ./... -coverprofile=coverage.out ./... 23:49:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:50:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:50:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:50:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 22.8% of statements 23:50:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:50:48 go vet ./... 23:51:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:51:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:51:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:51:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:51:06 $ docker stop --time=1 d2033d33aa5248d1a6d3efd158151ae729e523010a274b6c94beaf9f6754bd9c 23:51:08 $ docker rm -f --volumes d2033d33aa5248d1a6d3efd158151ae729e523010a274b6c94beaf9f6754bd9c [Pipeline] // withDockerContainer [Pipeline] sh 23:51:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:51:09 Warning: overwriting stash ‘coverage-report’ 23:51:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:51:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:51:11 + ls -al . 23:51:11 total 180 23:51:11 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:49 . 23:51:11 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:47 .. 23:51:11 -rw-rw-r-- 1 jenkins jenkins 140 Dec 18 23:47 .dockerignore 23:51:11 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:47 .git 23:51:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 .github 23:51:11 -rw-rw-r-- 1 jenkins jenkins 264 Dec 18 23:47 .gitignore 23:51:11 -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:47 .golangci.yml 23:51:11 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 18 23:47 Attribution.txt 23:51:11 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 18 23:47 CHANGELOG.md 23:51:11 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 18 23:47 Dockerfile 23:51:11 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:47 GOVERNANCE.md 23:51:11 -rw-rw-r-- 1 jenkins jenkins 657 Dec 18 23:47 Jenkinsfile 23:51:11 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:47 LICENSE 23:51:11 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 18 23:47 Makefile 23:51:11 -rw-rw-r-- 1 jenkins jenkins 620 Dec 18 23:47 OWNERS.md 23:51:11 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 18 23:47 README.md 23:51:11 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:37 VERSION 23:51:11 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:47 bin 23:51:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 cmd 23:51:11 -rw-r--r-- 1 jenkins jenkins 18506 Dec 18 23:50 coverage.out 23:51:11 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 18 23:47 go.mod 23:51:11 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 18 23:47 go.sum 23:51:11 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 internal 23:51:11 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:47 mock 23:51:11 -rw-rw-r-- 1 jenkins jenkins 227 Dec 18 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:12 + 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=d53d34a2fd75c9f4cd891295901011269c935243 --label arch=arm64 --label version=0.0.0 . 23:51:15 #0 building with "default" instance using docker driver 23:51:15 23:51:15 #1 [internal] load .dockerignore 23:51:15 #1 transferring context: 182B 0.0s done 23:51:15 #1 DONE 0.0s 23:51:15 23:51:15 #2 [internal] load build definition from Dockerfile 23:51:15 #2 transferring dockerfile: 1.84kB done 23:51:15 #2 DONE 0.0s 23:51:15 23:51:15 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 23:51:15 #3 DONE 0.0s 23:51:15 23:51:15 #4 [internal] load metadata for docker.io/library/alpine:3.18 23:51:16 #4 DONE 0.4s 23:51:16 23:51:16 #5 [internal] load build context 23:51:16 #5 transferring context: 25.48kB 0.1s done 23:51:16 #5 DONE 0.1s 23:51:16 23:51:16 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:51:16 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 23:51:16 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 23:51:16 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 23:51:16 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 23:51:16 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 23:51:16 #6 ... 23:51:16 23:51:16 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 23:51:16 #7 DONE 0.3s 23:51:16 23:51:16 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:51:16 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 23:51:16 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 23:51:17 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.6s done 23:51:17 #6 DONE 1.1s 23:51:17 23:51:17 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 23:51:18 #8 0.772 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:51:18 #8 1.164 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:51:19 #8 ... 23:51:19 23:51:19 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 23:51:19 #9 0.803 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:51:19 #9 1.320 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:51:19 #9 2.735 OK: 271 MiB in 56 packages 23:51:19 #9 DONE 3.1s 23:51:19 23:51:19 #10 [builder 3/7] WORKDIR /device-mqtt-go 23:51:20 #10 DONE 0.2s 23:51:20 23:51:20 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 23:51:20 #8 2.547 (1/1) Installing dumb-init (1.2.5-r2) 23:51:20 #8 ... 23:51:20 23:51:20 #11 [builder 4/7] COPY go.mod vendor* ./ 23:51:20 #11 DONE 0.2s 23:51:20 23:51:20 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 23:51:20 #8 2.566 Executing busybox-1.36.1-r5.trigger 23:51:20 #8 2.600 OK: 8 MiB in 16 packages 23:51:20 #8 DONE 3.0s 23:51:20 23:51:20 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:51:21 #12 DONE 1.4s 23:51:21 23:51:21 #13 [builder 6/7] COPY . . 23:51:21 #13 DONE 0.4s 23:51:21 23:51:21 #14 [stage-1 3/6] RUN apk --no-cache upgrade 23:51:21 #14 0.896 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:51:21 #14 1.325 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:51:23 #14 2.799 OK: 8 MiB in 16 packages 23:51:23 #14 DONE 3.2s 23:51:23 23:51:23 #15 [builder 7/7] RUN make build 23:51:24 #15 2.573 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:53:01 #15 DONE 97.7s 23:53:01 23:53:01 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 23:53:01 #16 DONE 0.4s 23:53:01 23:53:01 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 23:53:01 #17 DONE 0.1s 23:53:01 23:53:01 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 23:53:01 #18 DONE 0.1s 23:53:01 23:53:01 #19 exporting to image 23:53:01 #19 exporting layers 23:53:01 #19 exporting layers 0.5s done 23:53:01 #19 writing image sha256:f0ab7a7ad2116205e00ac333432210392f560957b1c2b3f24a9438a57cca23f6 done 23:53:01 #19 naming to docker.io/library/device-mqtt-arm64 0.0s done 23:53:01 #19 DONE 0.5s [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 23:53:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:02 23:53:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:03 arm64: Pulling from edgex-lftools-log-publisher 23:53:03 8998bd30e6a1: Pulling fs layer 23:53:03 04944245beec: Pulling fs layer 23:53:03 699f458cf7ca: Pulling fs layer 23:53:03 765212b225bb: Pulling fs layer 23:53:03 f23df028b6ca: Pulling fs layer 23:53:03 d65c8cfc05b1: Pulling fs layer 23:53:03 2437ff75d9bd: Pulling fs layer 23:53:03 d65c8cfc05b1: Waiting 23:53:03 2437ff75d9bd: Waiting 23:53:03 765212b225bb: Waiting 23:53:03 04944245beec: Verifying Checksum 23:53:03 04944245beec: Download complete 23:53:03 765212b225bb: Verifying Checksum 23:53:03 765212b225bb: Download complete 23:53:03 f23df028b6ca: Verifying Checksum 23:53:03 f23df028b6ca: Download complete 23:53:03 d65c8cfc05b1: Verifying Checksum 23:53:03 d65c8cfc05b1: Download complete 23:53:03 699f458cf7ca: Verifying Checksum 23:53:03 699f458cf7ca: Download complete 23:53:04 8998bd30e6a1: Verifying Checksum 23:53:04 8998bd30e6a1: Download complete 23:53:06 2437ff75d9bd: Download complete 23:53:14 8998bd30e6a1: Pull complete 23:53:14 04944245beec: Pull complete 23:53:16 699f458cf7ca: Pull complete 23:53:16 765212b225bb: Pull complete 23:53:17 f23df028b6ca: Pull complete 23:53:17 d65c8cfc05b1: Pull complete 23:53:44 2437ff75d9bd: Pull complete 23:53:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:53:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:44 prd-ubuntu20.04-docker-arm64-4c-16g-25569 does not seem to be running inside a container 23:53:44 $ 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 23:53:47 $ docker top f042e722a8ace8ca13b28f7f0a86941d28e894cf3739545c6a328acb0e1a7dc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:47 ---> job-cost.sh 23:53:48 lf-activate-venv: SKIPPING 23:53:48 INFO: No Stack... 23:53:48 INFO: Retrieving Pricing Info for: v3-standard-8 23:53:49 INFO: Archiving Costs [Pipeline] sh 23:53:49 + + cut -d, -f6cat 23:53:49 /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 23:53:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] 23:53:49 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] did not exist. Created. 23:53:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:53:50 /w/workspace/device-mqtt-go/1@tmp/durable-b3284a9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:53:50 + echo total: 0.2199999988079071 [Pipeline] stash 23:53:50 Warning: overwriting stash ‘stack-cost’ 23:53:50 Stashed 1 file(s) [Pipeline] } 23:53:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-656-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:53:50 $ docker stop --time=1 f042e722a8ace8ca13b28f7f0a86941d28e894cf3739545c6a328acb0e1a7dc7 23:53:52 $ docker rm -f --volumes f042e722a8ace8ca13b28f7f0a86941d28e894cf3739545c6a328acb0e1a7dc7 [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 23:53:54 provisioning config files... 23:53:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/config2768071059719468303tmp [Pipeline] { [Pipeline] sh 23:53:54 + set +x 23:53:54 + bash -s -- 23:53:54 + curl -s https://codecov.io/bash 23:53:54 23:53:54 _____ _ 23:53:54 / ____| | | 23:53:54 | | ___ __| | ___ ___ _____ __ 23:53:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:53:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:53:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:53:54 Bash-1.0.6 23:53:54 23:53:54 23:53:54 ==> git version 2.25.1 found 23:53:54 ==> 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 23:53:54 Release-Date: 2020-01-08 23:53:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:53:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:53:54 ==> Jenkins CI detected. 23:53:54 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-656 23:53:54 project root: . 23:53:54 --> token set from env 23:53:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:53:54 ==> Running gcov in . (disable via -X gcov) 23:53:54 ==> Python coveragepy not found 23:53:54 ==> Searching for coverage reports in: 23:53:54 + . 23:53:55 -> Found 1 reports 23:53:55 ==> Detecting git/mercurial file structure 23:53:55 ==> Reading reports 23:53:55 + ./coverage.out bytes=18506 23:53:55 ==> Appending adjustments 23:53:55 https://docs.codecov.io/docs/fixing-reports 23:53:55 + Found adjustments 23:53:55 ==> Gzipping contents 23:53:55 4.0K /tmp/codecov.7PZfte.gz 23:53:55 ==> Uploading reports 23:53:55 url: https://codecov.io 23:53:55 query: branch=PR-656&commit=d53d34a2fd75c9f4cd891295901011269c935243&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-656%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=656&job=&cmd_args= 23:53:55 -> Pinging Codecov 23:53:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-656&commit=d53d34a2fd75c9f4cd891295901011269c935243&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-656%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=656&job=&cmd_args= 23:53:55 -> Uploading to 23:53:55 https://storage.googleapis.com/codecov/v4/raw/2023-12-18/7D719EC7BBE17E464838252E33014C33/d53d34a2fd75c9f4cd891295901011269c935243/004f1f52-caec-4b28-b66d-8868a4f4ec56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231218T235355Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d486923f76dd1780192be68019762c73ccb9c0f5178a52de09c1be640e2c06cf 23:53:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:53:55 Dload Upload Total Spent Left Speed 23:53:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11419 --:--:-- --:--:-- --:--:-- 11419 23:53:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d53d34a2fd75c9f4cd891295901011269c935243 [Pipeline] } 23:53:55 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 23:53:58 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives ] 23:53:58 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives 23:53:58 total 16 23:53:58 drwxr-xr-x 3 root root 4096 Dec 18 23:39 . 23:53:58 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:39 .. 23:53:58 drwxr-xr-x 2 root root 4096 Dec 18 23:39 cost 23:53:58 -rw-r--r-- 1 root root 86 Dec 18 23:39 cost.csv 23:53:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives 23:53:58 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives 23:53:58 total 16 23:53:58 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:39 . 23:53:58 drwxrwxr-x 10 jenkins jenkins 4096 Dec 18 23:39 .. 23:53:58 drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 23:39 cost 23:53:58 -rw-r--r-- 1 jenkins jenkins 86 Dec 18 23:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:53:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:54:00 ---> package-listing.sh 23:54:00 ++ facter osfamily 23:54:00 ++ tr '[:upper:]' '[:lower:]' 23:54:00 + OS_FAMILY=debian 23:54:00 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-656 23:54:00 + START_PACKAGES=/tmp/packages_start.txt 23:54:00 + END_PACKAGES=/tmp/packages_end.txt 23:54:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:54:00 + PACKAGES=/tmp/packages_start.txt 23:54:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-656 ']' 23:54:00 + PACKAGES=/tmp/packages_end.txt 23:54:00 + case "${OS_FAMILY}" in 23:54:00 + dpkg -l 23:54:00 + grep '^ii' 23:54:00 + '[' -f /tmp/packages_start.txt ']' 23:54:00 + '[' -f /tmp/packages_end.txt ']' 23:54:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:54:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-656 ']' 23:54:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives/ 23:54:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-656/archives/ [Pipeline] echo 23:54:00 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-656/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:54:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:01 prd-ubuntu20.04-docker-8c-8g-25343 does not seem to be running inside a container 23:54:01 $ 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-656/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-656 -v /w/workspace/gexfoundry_device-mqtt-go_PR-656:/w/workspace/gexfoundry_device-mqtt-go_PR-656:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-656@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 23:54:01 $ docker top e292c139100507c68c94c1b6be3d206d8e122e4e9ce5a939c2189314e27b83b2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:02 + touch /tmp/pre-build-complete [Pipeline] sh 23:54:02 + mkdir -p /var/log/sysstat [Pipeline] sh 23:54:03 + ls /var/log/sa-host 23:54:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:03 provisioning config files... 23:54:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-656@tmp/config11847788953832744300tmp [Pipeline] { [Pipeline] echo 23:54:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:54:03 ---> create-netrc.sh [Pipeline] } 23:54:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:54:04 ---> python-tools-install.sh [Pipeline] echo 23:54:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:54:04 ---> sudo-logs.sh 23:54:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:54:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:54:05 ---> job-cost.sh 23:54:05 lf-activate-venv: SKIPPING 23:54:05 DEBUG: total: 0.2199999988079071 23:54:05 INFO: Retrieving Stack Cost... 23:54:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:05 INFO: Archiving Costs [Pipeline] echo 23:54:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:54:06 ---> logs-deploy.sh 23:54:06 lf-activate-venv: SKIPPING 23:54:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-656/1 23:54:06 INFO: archiving workspace using pattern(s): 23:54:07 Archives upload complete. 23:54:07 INFO: archiving logs to Nexus