Pull request #620 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c55347a3dbf905d247d9ad6c6f75b4110223ef6d+24031f99736a1500bd59a57df778730f3b803153 (9f2bde5ddea2b0bef7dee77bbcd0a222fe4fe0fd) 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-ssh14434527463578394537.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7075237344396665657.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-620/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-620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7307778429056814560.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-620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16591498206380859382.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh2596202608507569297.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-620/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-620/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3733881655187702525.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4966 in /w/workspace/gexfoundry_device-mqtt-go_PR-620 [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-620 # 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 Merging remotes/origin/main commit 24031f99736a1500bd59a57df778730f3b803153 into PR head commit c55347a3dbf905d247d9ad6c6f75b4110223ef6d Merge succeeded, producing c55347a3dbf905d247d9ad6c6f75b4110223ef6d Checking out Revision c55347a3dbf905d247d9ad6c6f75b4110223ef6d (PR-620) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 > 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/620/head:refs/remotes/origin/PR-620 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c55347a3dbf905d247d9ad6c6f75b4110223ef6d # 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 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c55347a3dbf905d247d9ad6c6f75b4110223ef6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-31T01:45:12.055Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-31T01:45:12.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-31T01:45:12.379Z] ========================================================= [2023-08-31T01:45:12.379Z] EdgeX Global Pipelines Version Info [2023-08-31T01:45:12.379Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:45:13.138Z] ------------------- [2023-08-31T01:45:13.139Z] stable info: [2023-08-31T01:45:13.139Z] ------------------- [2023-08-31T01:45:13.139Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-31T01:45:13.139Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T01:45:13.139Z] Message: update stable to v1.0.253 [2023-08-31T01:45:13.711Z] ------------------- [2023-08-31T01:45:13.712Z] experimental info: [2023-08-31T01:45:13.712Z] ------------------- [2023-08-31T01:45:13.712Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-31T01:45:13.712Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T01:45:13.712Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-31T01:45:14.034Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-08-31T01:45:14.081Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-08-31T01:45:14.124Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-31T01:45:14.172Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-31T01:45:14.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-31T01:45:14.275Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-31T01:45:14.326Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-31T01:45:14.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-31T01:45:14.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-31T01:45:14.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-31T01:45:14.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-31T01:45:14.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-08-31T01:45:14.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-31T01:45:14.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-31T01:45:14.684Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T01:45:14.725Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-31T01:45:14.768Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T01:45:14.811Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-31T01:45:14.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-31T01:45:14.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-31T01:45:14.938Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-31T01:45:14.985Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-31T01:45:15.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-31T01:45:15.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-31T01:45:15.127Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-31T01:45:15.176Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-31T01:45:15.223Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-31T01:45:15.275Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-620 [Pipeline] echo [2023-08-31T01:45:15.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-620 [Pipeline] echo [2023-08-31T01:45:15.372Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-620 [Pipeline] echo [2023-08-31T01:45:15.414Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c55347a3dbf905d247d9ad6c6f75b4110223ef6d [Pipeline] echo [2023-08-31T01:45:15.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c55347a [Pipeline] echo [2023-08-31T01:45:15.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T01:45:15.621Z] provisioning config files... [2023-08-31T01:45:15.635Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/config12159075249298882901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:45:15.982Z] ---> docker-login.sh [2023-08-31T01:45:15.982Z] nexus3.edgexfoundry.org:10001 [2023-08-31T01:45:16.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:16.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:16.552Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:16.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:16.552Z] [2023-08-31T01:45:16.552Z] Login Succeeded [2023-08-31T01:45:16.552Z] nexus3.edgexfoundry.org:10002 [2023-08-31T01:45:16.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:16.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:16.815Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:16.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:16.815Z] [2023-08-31T01:45:16.815Z] Login Succeeded [2023-08-31T01:45:16.815Z] nexus3.edgexfoundry.org:10003 [2023-08-31T01:45:16.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:16.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:16.815Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:16.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:16.815Z] [2023-08-31T01:45:16.815Z] Login Succeeded [2023-08-31T01:45:16.815Z] nexus3.edgexfoundry.org:10004 [2023-08-31T01:45:16.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:17.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:17.076Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:17.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:17.076Z] [2023-08-31T01:45:17.076Z] Login Succeeded [2023-08-31T01:45:17.076Z] docker.io [2023-08-31T01:45:17.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:17.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:17.337Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:17.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:17.337Z] [2023-08-31T01:45:17.337Z] Login Succeeded [2023-08-31T01:45:17.337Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T01:45:17.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-31T01:45:18.054Z] + git rev-list -1 --merges c55347a3dbf905d247d9ad6c6f75b4110223ef6d~1..c55347a3dbf905d247d9ad6c6f75b4110223ef6d [Pipeline] echo [2023-08-31T01:45:18.113Z] -----------> git rev-list -1 --merges c55347a3dbf905d247d9ad6c6f75b4110223ef6d~1..c55347a3dbf905d247d9ad6c6f75b4110223ef6d c55347a3dbf905d247d9ad6c6f75b4110223ef6d [false] [Pipeline] sh [2023-08-31T01:45:18.425Z] + git log --format=format:%s -1 c55347a3dbf905d247d9ad6c6f75b4110223ef6d [Pipeline] echo [2023-08-31T01:45:18.461Z] ========================================================= [2023-08-31T01:45:18.461Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-31T01:45:18.461Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T01:45:18.896Z] + git log --format=format:%s -1 c55347a3dbf905d247d9ad6c6f75b4110223ef6d [Pipeline] echo [2023-08-31T01:45:18.927Z] [semverPrep] GIT_COMMIT: c55347a3dbf905d247d9ad6c6f75b4110223ef6d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-08-31T01:45:18.960Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-31T01:45:19.357Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-31T01:45:19.357Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-31T01:45:19.357Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-31T01:45:19.357Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-31T01:45:19.357Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-31T01:45:19.357Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-31T01:45:19.357Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:45:19.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T01:45:19.868Z] [2023-08-31T01:45:19.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:45:20.270Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T01:45:20.270Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-31T01:45:20.270Z] b85a868b505f: Pulling fs layer [2023-08-31T01:45:20.270Z] e2be974225ed: Pulling fs layer [2023-08-31T01:45:20.270Z] 339a4e72a1f5: Pulling fs layer [2023-08-31T01:45:20.270Z] 988bab9f4d93: Pulling fs layer [2023-08-31T01:45:20.270Z] 1469e6f7b9e6: Pulling fs layer [2023-08-31T01:45:20.270Z] eaf3925da568: Pulling fs layer [2023-08-31T01:45:20.270Z] bab4dde63d76: Pulling fs layer [2023-08-31T01:45:20.270Z] bde34c3a00c8: Pulling fs layer [2023-08-31T01:45:20.270Z] b352a97aabf1: Pulling fs layer [2023-08-31T01:45:20.270Z] 4872d77fe225: Pulling fs layer [2023-08-31T01:45:20.270Z] 5851b861e8e6: Pulling fs layer [2023-08-31T01:45:20.270Z] 988bab9f4d93: Waiting [2023-08-31T01:45:20.270Z] 1469e6f7b9e6: Waiting [2023-08-31T01:45:20.270Z] eaf3925da568: Waiting [2023-08-31T01:45:20.270Z] bab4dde63d76: Waiting [2023-08-31T01:45:20.270Z] bde34c3a00c8: Waiting [2023-08-31T01:45:20.270Z] 5851b861e8e6: Waiting [2023-08-31T01:45:20.270Z] b352a97aabf1: Waiting [2023-08-31T01:45:20.270Z] 4872d77fe225: Waiting [2023-08-31T01:45:20.270Z] e2be974225ed: Download complete [2023-08-31T01:45:20.270Z] 988bab9f4d93: Download complete [2023-08-31T01:45:20.557Z] 1469e6f7b9e6: Verifying Checksum [2023-08-31T01:45:20.557Z] 1469e6f7b9e6: Download complete [2023-08-31T01:45:20.557Z] 339a4e72a1f5: Verifying Checksum [2023-08-31T01:45:20.557Z] 339a4e72a1f5: Download complete [2023-08-31T01:45:20.557Z] eaf3925da568: Download complete [2023-08-31T01:45:20.557Z] bde34c3a00c8: Download complete [2023-08-31T01:45:20.557Z] b352a97aabf1: Verifying Checksum [2023-08-31T01:45:20.557Z] b352a97aabf1: Download complete [2023-08-31T01:45:20.557Z] 4872d77fe225: Verifying Checksum [2023-08-31T01:45:20.557Z] 4872d77fe225: Download complete [2023-08-31T01:45:20.557Z] 5851b861e8e6: Download complete [2023-08-31T01:45:20.557Z] b85a868b505f: Verifying Checksum [2023-08-31T01:45:20.557Z] b85a868b505f: Download complete [2023-08-31T01:45:21.129Z] bab4dde63d76: Verifying Checksum [2023-08-31T01:45:21.129Z] bab4dde63d76: Download complete [2023-08-31T01:45:22.071Z] b85a868b505f: Pull complete [2023-08-31T01:45:22.071Z] e2be974225ed: Pull complete [2023-08-31T01:45:22.641Z] 339a4e72a1f5: Pull complete [2023-08-31T01:45:22.641Z] 988bab9f4d93: Pull complete [2023-08-31T01:45:22.900Z] 1469e6f7b9e6: Pull complete [2023-08-31T01:45:22.900Z] eaf3925da568: Pull complete [2023-08-31T01:45:24.806Z] bab4dde63d76: Pull complete [2023-08-31T01:45:24.806Z] bde34c3a00c8: Pull complete [2023-08-31T01:45:24.806Z] b352a97aabf1: Pull complete [2023-08-31T01:45:25.068Z] 4872d77fe225: Pull complete [2023-08-31T01:45:25.068Z] 5851b861e8e6: Pull complete [2023-08-31T01:45:25.068Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-31T01:45:25.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-31T01:45:25.068Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:45:25.296Z] prd-ubuntu20.04-docker-8c-8g-4966 does not seem to be running inside a container [2023-08-31T01:45:25.333Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-620 -v /w/workspace/gexfoundry_device-mqtt-go_PR-620:/w/workspace/gexfoundry_device-mqtt-go_PR-620:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-620@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 [2023-08-31T01:45:32.450Z] $ docker top 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 -eo pid,comm [2023-08-31T01:45:32.541Z] 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). [2023-08-31T01:45:32.541Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-31T01:45:32.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T01:45:32.688Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T01:45:32.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T01:45:32.806Z] $ docker exec 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 ssh-agent [2023-08-31T01:45:32.919Z] SSH_AUTH_SOCK=/tmp/ssh-zjBbPrrfjfHk/agent.14 [2023-08-31T01:45:32.919Z] SSH_AGENT_PID=20 [2023-08-31T01:45:32.928Z] Running ssh-add (command line suppressed) [2023-08-31T01:45:33.081Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/private_key_15764593808199052977.key (/w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/private_key_15764593808199052977.key) [2023-08-31T01:45:33.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T01:45:33.469Z] + git tag --points-at HEAD [Pipeline] } [2023-08-31T01:45:33.499Z] $ docker exec --env ******** --env ******** 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 ssh-agent -k [2023-08-31T01:45:33.595Z] unset SSH_AUTH_SOCK; [2023-08-31T01:45:33.595Z] unset SSH_AGENT_PID; [2023-08-31T01:45:33.595Z] echo Agent pid 20 killed; [2023-08-31T01:45:33.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-31T01:45:33.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-31T01:45:33.719Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-31T01:45:33.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-31T01:45:33.840Z] $ docker exec 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 ssh-agent [2023-08-31T01:45:33.954Z] SSH_AUTH_SOCK=/tmp/ssh-inlm99EgFp0i/agent.52 [2023-08-31T01:45:33.954Z] SSH_AGENT_PID=59 [2023-08-31T01:45:33.960Z] Running ssh-add (command line suppressed) [2023-08-31T01:45:34.108Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/private_key_3579308836665996716.key (/w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/private_key_3579308836665996716.key) [2023-08-31T01:45:34.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-31T01:45:34.523Z] + git semver init [2023-08-31T01:45:34.783Z] 2023-08-31 01:45:34,775 [run_init] DEBUG init version:0.0.0 force:False [2023-08-31T01:45:34.783Z] 2023-08-31 01:45:34,777 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver [2023-08-31T01:45:34.783Z] 2023-08-31 01:45:34,778 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver [2023-08-31T01:45:34.783Z] 2023-08-31 01:45:34,778 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-620, universal_newlines=False, shell=None, istream=None) [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,848 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-620/.git/info/exclude [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,849 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver/PR-620 with force:False [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,849 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver/PR-620 [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,853 [execute] INFO git cat-file --batch-check [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,860 [execute] INFO git cat-file --batch [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver, universal_newlines=False, shell=None, istream=) [2023-08-31T01:45:36.162Z] 2023-08-31 01:45:35,865 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-620/.semver/PR-620 [2023-08-31T01:45:36.162Z] 0.0.0 [Pipeline] } [2023-08-31T01:45:36.201Z] $ docker exec --env ******** --env ******** 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 ssh-agent -k [2023-08-31T01:45:36.290Z] unset SSH_AUTH_SOCK; [2023-08-31T01:45:36.290Z] unset SSH_AGENT_PID; [2023-08-31T01:45:36.290Z] echo Agent pid 59 killed; [2023-08-31T01:45:36.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-31T01:45:36.737Z] + git semver [Pipeline] } [2023-08-31T01:45:37.032Z] $ docker stop --time=1 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 [2023-08-31T01:45:39.106Z] $ docker rm -f --volumes 5480e384b2df379bcd35680a6300b07503b0518fd8f3340b29427c4fcdb18694 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T01:45:39.601Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-31T01:45:39.908Z] Stashed 1 file(s) [Pipeline] echo [2023-08-31T01:45:39.925Z] [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 [2023-08-31T01:45:40.610Z] provisioning config files... [2023-08-31T01:45:40.620Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/config3296261951742893296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:45:40.984Z] ---> docker-login.sh [2023-08-31T01:45:40.985Z] nexus3.edgexfoundry.org:10001 [2023-08-31T01:45:40.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:40.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:40.985Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:40.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:40.985Z] [2023-08-31T01:45:40.985Z] Login Succeeded [2023-08-31T01:45:40.985Z] nexus3.edgexfoundry.org:10002 [2023-08-31T01:45:40.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:40.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:40.985Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:40.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:40.985Z] [2023-08-31T01:45:40.985Z] Login Succeeded [2023-08-31T01:45:40.985Z] nexus3.edgexfoundry.org:10003 [2023-08-31T01:45:41.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:41.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:41.246Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:41.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:41.246Z] [2023-08-31T01:45:41.246Z] Login Succeeded [2023-08-31T01:45:41.246Z] nexus3.edgexfoundry.org:10004 [2023-08-31T01:45:41.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:41.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:41.247Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:41.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:41.247Z] [2023-08-31T01:45:41.247Z] Login Succeeded [2023-08-31T01:45:41.247Z] docker.io [2023-08-31T01:45:41.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:45:41.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:45:41.506Z] Configure a credential helper to remove this warning. See [2023-08-31T01:45:41.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:45:41.506Z] [2023-08-31T01:45:41.506Z] Login Succeeded [2023-08-31T01:45:41.506Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T01:45:41.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T01:45:41.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T01:45:41.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T01:45:41.814Z] ========================================================= [2023-08-31T01:45:41.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-31T01:45:41.815Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:45:42.295Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-31T01:45:42.295Z] Sending build context to Docker daemon 6.477MB [2023-08-31T01:45:42.295Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T01:45:42.295Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T01:45:42.295Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-31T01:45:42.295Z] 4db1b89c0bd1: Pulling fs layer [2023-08-31T01:45:42.295Z] 6911f1a30b25: Pulling fs layer [2023-08-31T01:45:42.295Z] e194b8c5c2a9: Pulling fs layer [2023-08-31T01:45:42.295Z] 6863d3e3a2b1: Pulling fs layer [2023-08-31T01:45:42.295Z] ec0bb842ea78: Pulling fs layer [2023-08-31T01:45:42.295Z] 40a00589a448: Pulling fs layer [2023-08-31T01:45:42.295Z] 6c08303d61cc: Pulling fs layer [2023-08-31T01:45:42.295Z] ec0bb842ea78: Waiting [2023-08-31T01:45:42.295Z] 40a00589a448: Waiting [2023-08-31T01:45:42.295Z] 6863d3e3a2b1: Waiting [2023-08-31T01:45:42.295Z] 798269fcf238: Pulling fs layer [2023-08-31T01:45:42.295Z] 6c08303d61cc: Waiting [2023-08-31T01:45:42.295Z] 798269fcf238: Waiting [2023-08-31T01:45:42.557Z] 6911f1a30b25: Verifying Checksum [2023-08-31T01:45:42.557Z] 6911f1a30b25: Download complete [2023-08-31T01:45:42.557Z] 6863d3e3a2b1: Download complete [2023-08-31T01:45:42.557Z] ec0bb842ea78: Verifying Checksum [2023-08-31T01:45:42.557Z] ec0bb842ea78: Download complete [2023-08-31T01:45:42.557Z] 4db1b89c0bd1: Verifying Checksum [2023-08-31T01:45:42.557Z] 4db1b89c0bd1: Download complete [2023-08-31T01:45:42.557Z] 40a00589a448: Verifying Checksum [2023-08-31T01:45:42.557Z] 40a00589a448: Download complete [2023-08-31T01:45:42.557Z] 4db1b89c0bd1: Pull complete [2023-08-31T01:45:42.818Z] 6911f1a30b25: Pull complete [2023-08-31T01:45:43.386Z] e194b8c5c2a9: Verifying Checksum [2023-08-31T01:45:43.386Z] e194b8c5c2a9: Download complete [2023-08-31T01:45:43.386Z] 798269fcf238: Verifying Checksum [2023-08-31T01:45:43.646Z] 6c08303d61cc: Verifying Checksum [2023-08-31T01:45:43.646Z] 6c08303d61cc: Download complete [2023-08-31T01:45:46.929Z] e194b8c5c2a9: Pull complete [2023-08-31T01:45:46.929Z] 6863d3e3a2b1: Pull complete [2023-08-31T01:45:46.929Z] ec0bb842ea78: Pull complete [2023-08-31T01:45:46.929Z] 40a00589a448: Pull complete [2023-08-31T01:45:48.834Z] 6c08303d61cc: Pull complete [2023-08-31T01:45:49.793Z] 798269fcf238: Pull complete [2023-08-31T01:45:49.793Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-31T01:45:50.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-31T01:45:50.051Z] ---> ec979cd7f677 [2023-08-31T01:45:50.051Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T01:45:55.412Z] Still waiting to schedule task [2023-08-31T01:45:55.412Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4964’ [2023-08-31T01:45:56.622Z] ---> Running in 28a7f4421736 [2023-08-31T01:45:56.622Z] Removing intermediate container 28a7f4421736 [2023-08-31T01:45:56.622Z] ---> 96a99c3e2f3c [2023-08-31T01:45:56.622Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T01:45:56.622Z] ---> Running in f1f830038c6a [2023-08-31T01:45:56.622Z] Removing intermediate container f1f830038c6a [2023-08-31T01:45:56.622Z] ---> fded18901e01 [2023-08-31T01:45:56.622Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T01:45:56.622Z] ---> Running in 6d619193fd9f [2023-08-31T01:45:56.883Z] Removing intermediate container 6d619193fd9f [2023-08-31T01:45:56.883Z] ---> 6f7b72dd123d [2023-08-31T01:45:56.883Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T01:45:56.883Z] ---> Running in 1e514762710a [2023-08-31T01:45:56.883Z] Removing intermediate container 1e514762710a [2023-08-31T01:45:56.883Z] ---> f193d98191a9 [2023-08-31T01:45:56.883Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T01:45:56.883Z] ---> Running in 504d35b6227e [2023-08-31T01:45:57.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T01:45:57.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T01:46:07.384Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T01:46:07.384Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T01:46:07.384Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T01:46:07.384Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T01:46:07.384Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T01:46:07.384Z] OK: 269 MiB in 57 packages [2023-08-31T01:46:07.384Z] Removing intermediate container 504d35b6227e [2023-08-31T01:46:07.384Z] ---> 9d2051d74dbc [2023-08-31T01:46:07.384Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-31T01:46:07.384Z] ---> Running in 37dfb876d77d [2023-08-31T01:46:07.384Z] Removing intermediate container 37dfb876d77d [2023-08-31T01:46:07.384Z] ---> 8f84d59f5c18 [2023-08-31T01:46:07.384Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-31T01:46:07.642Z] ---> f3527428f208 [2023-08-31T01:46:07.642Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T01:46:07.642Z] ---> Running in a47572014b57 [2023-08-31T01:46:54.471Z] Removing intermediate container a47572014b57 [2023-08-31T01:46:54.471Z] ---> b665f286ae69 [2023-08-31T01:46:54.471Z] Step 11/12 : COPY . . [2023-08-31T01:46:54.471Z] ---> 6842dd044da6 [2023-08-31T01:46:54.471Z] Step 12/12 : RUN $MAKE [2023-08-31T01:46:54.471Z] ---> Running in 2612be058f18 [2023-08-31T01:46:54.471Z] noop [2023-08-31T01:46:54.471Z] Removing intermediate container 2612be058f18 [2023-08-31T01:46:54.471Z] ---> 241fe9be7da8 [2023-08-31T01:46:54.471Z] Successfully built 241fe9be7da8 [2023-08-31T01:46:54.471Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:46:54.934Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T01:46:54.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:46:55.106Z] prd-ubuntu20.04-docker-8c-8g-4966 does not seem to be running inside a container [2023-08-31T01:46:55.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-620 -v /w/workspace/gexfoundry_device-mqtt-go_PR-620:/w/workspace/gexfoundry_device-mqtt-go_PR-620:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-620@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 [2023-08-31T01:46:55.567Z] $ docker top 5f2106068abcd88a06b8d8263f11b7b3f72fa65635052a2540ecc793d8644a4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T01:46:55.965Z] + go version [2023-08-31T01:46:55.965Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-31T01:46:56.008Z] $ docker stop --time=1 5f2106068abcd88a06b8d8263f11b7b3f72fa65635052a2540ecc793d8644a4f [2023-08-31T01:46:57.301Z] $ docker rm -f --volumes 5f2106068abcd88a06b8d8263f11b7b3f72fa65635052a2540ecc793d8644a4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:46:58.047Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-31T01:46:58.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:46:58.210Z] prd-ubuntu20.04-docker-8c-8g-4966 does not seem to be running inside a container [2023-08-31T01:46:58.248Z] $ 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-620 -v /w/workspace/gexfoundry_device-mqtt-go_PR-620:/w/workspace/gexfoundry_device-mqtt-go_PR-620:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-620@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 [2023-08-31T01:46:58.630Z] $ docker top 4fe1fd18600e8ed2c7f2e5f1b9691ada2602e2a3f62b0514416925ee1985d544 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T01:46:59.028Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-620 [Pipeline] fileExists [Pipeline] sh [2023-08-31T01:46:59.393Z] + make test [2023-08-31T01:46:59.393Z] go test ./... -coverprofile=coverage.out ./... [2023-08-31T01:47:04.673Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-31T01:47:16.880Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-31T01:47:16.880Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-31T01:47:16.880Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements [2023-08-31T01:47:22.263Z] go vet ./... [2023-08-31T01:47:26.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T01:47:26.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T01:47:26.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T01:47:26.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T01:47:26.586Z] $ docker stop --time=1 4fe1fd18600e8ed2c7f2e5f1b9691ada2602e2a3f62b0514416925ee1985d544 [2023-08-31T01:47:29.755Z] $ docker rm -f --volumes 4fe1fd18600e8ed2c7f2e5f1b9691ada2602e2a3f62b0514416925ee1985d544 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T01:47:30.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T01:47:30.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-31T01:47:30.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T01:47:31.312Z] + ls -al . [2023-08-31T01:47:31.312Z] total 188 [2023-08-31T01:47:31.312Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 01:46 . [2023-08-31T01:47:31.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 01:45 .. [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 01:45 .dockerignore [2023-08-31T01:47:31.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 01:45 .git [2023-08-31T01:47:31.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 01:45 .github [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 31 01:45 .gitignore [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 01:45 .golangci.yml [2023-08-31T01:47:31.312Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 01:45 .semver [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 31 01:45 Attribution.txt [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 31 01:45 CHANGELOG.md [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 31 01:45 Dockerfile [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 01:45 GOVERNANCE.md [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 31 01:45 Jenkinsfile [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 01:45 LICENSE [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 31 01:45 Makefile [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 31 01:45 OWNERS.md [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 31 01:45 README.md [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 01:45 VERSION [2023-08-31T01:47:31.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 01:45 bin [2023-08-31T01:47:31.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 01:45 cmd [2023-08-31T01:47:31.312Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 31 01:47 coverage.out [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 3820 Aug 31 01:45 go.mod [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 31 01:45 go.sum [2023-08-31T01:47:31.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 01:45 internal [2023-08-31T01:47:31.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 01:45 mock [2023-08-31T01:47:31.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 01:45 snap [2023-08-31T01:47:31.312Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 31 01:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:47:31.712Z] + 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=c55347a3dbf905d247d9ad6c6f75b4110223ef6d --label arch=amd64 --label version=0.0.0 . [2023-08-31T01:47:31.712Z] Sending build context to Docker daemon 6.497MB [2023-08-31T01:47:31.712Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T01:47:31.712Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-31T01:47:31.712Z] ---> 241fe9be7da8 [2023-08-31T01:47:31.712Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-31T01:47:31.712Z] ---> Running in 61cffa99e8f2 [2023-08-31T01:47:31.970Z] Removing intermediate container 61cffa99e8f2 [2023-08-31T01:47:31.970Z] ---> cae66568857a [2023-08-31T01:47:31.970Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T01:47:31.970Z] ---> Running in b574796f7ecb [2023-08-31T01:47:31.970Z] Removing intermediate container b574796f7ecb [2023-08-31T01:47:31.970Z] ---> 1402d89402ad [2023-08-31T01:47:31.970Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T01:47:31.970Z] ---> Running in 950ea08403c8 [2023-08-31T01:47:31.970Z] Removing intermediate container 950ea08403c8 [2023-08-31T01:47:31.970Z] ---> dec4c5e9a44c [2023-08-31T01:47:31.970Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T01:47:31.970Z] ---> Running in df6ce066a5a0 [2023-08-31T01:47:32.228Z] Removing intermediate container df6ce066a5a0 [2023-08-31T01:47:32.228Z] ---> e3d23b6d6aaf [2023-08-31T01:47:32.228Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T01:47:32.228Z] ---> Running in a27a8acd38bb [2023-08-31T01:47:32.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T01:47:32.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T01:47:33.008Z] OK: 269 MiB in 57 packages [2023-08-31T01:47:33.268Z] Removing intermediate container a27a8acd38bb [2023-08-31T01:47:33.268Z] ---> 65635040753c [2023-08-31T01:47:33.268Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-31T01:47:33.268Z] ---> Running in 0828b4c020ab [2023-08-31T01:47:33.268Z] Removing intermediate container 0828b4c020ab [2023-08-31T01:47:33.268Z] ---> 3a45e7e5218a [2023-08-31T01:47:33.268Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-31T01:47:33.527Z] ---> 9d12d1302001 [2023-08-31T01:47:33.527Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T01:47:33.527Z] ---> Running in ebbaf64d3860 [2023-08-31T01:47:34.094Z] Removing intermediate container ebbaf64d3860 [2023-08-31T01:47:34.094Z] ---> d18b009427a1 [2023-08-31T01:47:34.094Z] Step 11/24 : COPY . . [2023-08-31T01:47:34.356Z] ---> 84ae5ebaedae [2023-08-31T01:47:34.356Z] Step 12/24 : RUN $MAKE [2023-08-31T01:47:34.619Z] ---> Running in 84a85fdcf837 [2023-08-31T01:47:34.879Z] 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.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-31T01:47:56.813Z] Removing intermediate container 84a85fdcf837 [2023-08-31T01:47:56.813Z] ---> 55e41abd3186 [2023-08-31T01:47:56.813Z] Step 13/24 : FROM alpine:3.17 [2023-08-31T01:47:56.813Z] 3.17: Pulling from library/alpine [2023-08-31T01:47:56.813Z] 9398808236ff: Pulling fs layer [2023-08-31T01:47:56.813Z] 9398808236ff: Verifying Checksum [2023-08-31T01:47:56.813Z] 9398808236ff: Download complete [2023-08-31T01:47:56.813Z] 9398808236ff: Pull complete [2023-08-31T01:47:56.813Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T01:47:56.813Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T01:47:56.813Z] ---> 1e0b8b5322fc [2023-08-31T01:47:56.813Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-31T01:47:56.813Z] ---> Running in 85e78b74c972 [2023-08-31T01:47:56.813Z] Removing intermediate container 85e78b74c972 [2023-08-31T01:47:56.813Z] ---> cb510a2caf75 [2023-08-31T01:47:56.813Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-31T01:47:56.813Z] ---> Running in f39790a0b514 [2023-08-31T01:47:56.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-31T01:47:56.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-31T01:47:56.813Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T01:47:56.813Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T01:47:56.813Z] OK: 7 MiB in 16 packages [2023-08-31T01:47:56.813Z] Removing intermediate container f39790a0b514 [2023-08-31T01:47:56.813Z] ---> 771ebbbca0fd [2023-08-31T01:47:56.813Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-31T01:47:57.753Z] ---> da8bf422ba9f [2023-08-31T01:47:57.753Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-31T01:47:57.753Z] ---> fafac70283f8 [2023-08-31T01:47:57.753Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-31T01:47:58.018Z] ---> bcd65362e1d9 [2023-08-31T01:47:58.018Z] Step 19/24 : EXPOSE 59982 [2023-08-31T01:47:58.018Z] ---> Running in b89d0604d5a7 [2023-08-31T01:47:58.018Z] Removing intermediate container b89d0604d5a7 [2023-08-31T01:47:58.018Z] ---> 532c9f4a3599 [2023-08-31T01:47:58.018Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-31T01:47:58.018Z] ---> Running in 49212999516b [2023-08-31T01:47:58.018Z] Removing intermediate container 49212999516b [2023-08-31T01:47:58.018Z] ---> 9b2429380293 [2023-08-31T01:47:58.018Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T01:47:58.281Z] ---> Running in 36412e2fa7ff [2023-08-31T01:47:58.281Z] Removing intermediate container 36412e2fa7ff [2023-08-31T01:47:58.281Z] ---> d4ff923ab6e3 [2023-08-31T01:47:58.281Z] Step 22/24 : LABEL arch=amd64 [2023-08-31T01:47:58.281Z] ---> Running in fcdadc56449d [2023-08-31T01:47:58.281Z] Removing intermediate container fcdadc56449d [2023-08-31T01:47:58.281Z] ---> 446aa1a3207b [2023-08-31T01:47:58.281Z] Step 23/24 : LABEL git_sha=c55347a3dbf905d247d9ad6c6f75b4110223ef6d [2023-08-31T01:47:58.281Z] ---> Running in 26f5b099687e [2023-08-31T01:47:58.281Z] Removing intermediate container 26f5b099687e [2023-08-31T01:47:58.281Z] ---> 5e4ffbe19abb [2023-08-31T01:47:58.281Z] Step 24/24 : LABEL version=0.0.0 [2023-08-31T01:47:58.281Z] ---> Running in 5db9d4ff1de0 [2023-08-31T01:47:58.541Z] Removing intermediate container 5db9d4ff1de0 [2023-08-31T01:47:58.541Z] ---> d04326674c81 [2023-08-31T01:47:58.541Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T01:47:58.541Z] Successfully built d04326674c81 [2023-08-31T01:47:58.541Z] 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 [2023-08-31T01:47:59.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T01:47:59.461Z] [2023-08-31T01:47:59.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:47:59.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T01:47:59.847Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-31T01:47:59.847Z] 5eb5b503b376: Pulling fs layer [2023-08-31T01:47:59.847Z] 5c69ac0246d0: Pulling fs layer [2023-08-31T01:47:59.847Z] ec43610c2a17: Pulling fs layer [2023-08-31T01:47:59.847Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-31T01:47:59.847Z] 33b1e0a273af: Pulling fs layer [2023-08-31T01:47:59.847Z] 5d3b04190fa2: Pulling fs layer [2023-08-31T01:47:59.847Z] 2f39f015ded8: Pulling fs layer [2023-08-31T01:47:59.847Z] 3a2ae6a8a46f: Waiting [2023-08-31T01:47:59.847Z] 33b1e0a273af: Waiting [2023-08-31T01:47:59.847Z] 5d3b04190fa2: Waiting [2023-08-31T01:47:59.847Z] 2f39f015ded8: Waiting [2023-08-31T01:47:59.847Z] 5c69ac0246d0: Verifying Checksum [2023-08-31T01:47:59.847Z] 5c69ac0246d0: Download complete [2023-08-31T01:47:59.847Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-31T01:47:59.847Z] 3a2ae6a8a46f: Download complete [2023-08-31T01:47:59.847Z] 33b1e0a273af: Verifying Checksum [2023-08-31T01:47:59.847Z] 33b1e0a273af: Download complete [2023-08-31T01:47:59.847Z] 5d3b04190fa2: Verifying Checksum [2023-08-31T01:47:59.847Z] 5d3b04190fa2: Download complete [2023-08-31T01:48:00.977Z] ec43610c2a17: Verifying Checksum [2023-08-31T01:48:00.977Z] ec43610c2a17: Download complete [2023-08-31T01:48:00.977Z] 5eb5b503b376: Verifying Checksum [2023-08-31T01:48:00.977Z] 5eb5b503b376: Download complete [2023-08-31T01:48:01.234Z] 5eb5b503b376: Pull complete [2023-08-31T01:48:01.491Z] 5c69ac0246d0: Pull complete [2023-08-31T01:48:01.751Z] 2f39f015ded8: Verifying Checksum [2023-08-31T01:48:01.751Z] 2f39f015ded8: Download complete [2023-08-31T01:48:01.751Z] ec43610c2a17: Pull complete [2023-08-31T01:48:02.010Z] 3a2ae6a8a46f: Pull complete [2023-08-31T01:48:02.010Z] 33b1e0a273af: Pull complete [2023-08-31T01:48:02.272Z] 5d3b04190fa2: Pull complete [2023-08-31T01:48:07.808Z] 2f39f015ded8: Pull complete [2023-08-31T01:48:07.808Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-31T01:48:07.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T01:48:07.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:48:08.716Z] prd-ubuntu20.04-docker-8c-8g-4966 does not seem to be running inside a container [2023-08-31T01:48:08.751Z] $ 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-620 -v /w/workspace/gexfoundry_device-mqtt-go_PR-620:/w/workspace/gexfoundry_device-mqtt-go_PR-620:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-620@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 [2023-08-31T01:48:12.966Z] $ docker top e36344cb72270dbc9b3221acf192fa137228a96655f738f0ded95e1e6ef39920 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:48:13.433Z] ---> job-cost.sh [2023-08-31T01:48:13.433Z] lf-activate-venv: SKIPPING [2023-08-31T01:48:13.433Z] INFO: No Stack... [2023-08-31T01:48:13.693Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T01:48:13.952Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T01:48:14.265Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives/cost.csv [2023-08-31T01:48:14.265Z] + cut -d, -f6 [Pipeline] lock [2023-08-31T01:48:14.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] [2023-08-31T01:48:14.317Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] did not exist. Created. [2023-08-31T01:48:14.317Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T01:48:14.710Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-31T01:48:14.759Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T01:48:14.802Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T01:48:14.900Z] $ docker stop --time=1 e36344cb72270dbc9b3221acf192fa137228a96655f738f0ded95e1e6ef39920 [2023-08-31T01:48:16.064Z] $ docker rm -f --volumes e36344cb72270dbc9b3221acf192fa137228a96655f738f0ded95e1e6ef39920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-31T01:49:37.768Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4969 in /w/workspace/gexfoundry_device-mqtt-go_PR-620 [Pipeline] { [Pipeline] ws [2023-08-31T01:49:37.835Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-08-31T01:49:37.920Z] The recommended git tool is: git [2023-08-31T01:49:46.591Z] using credential edgex-jenkins-ssh [2023-08-31T01:49:46.608Z] Cloning the remote Git repository [2023-08-31T01:49:46.653Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-31T01:49:46.737Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-08-31T01:49:46.872Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-31T01:49:46.873Z] > git --version # timeout=10 [2023-08-31T01:49:46.893Z] > git --version # 'git version 2.25.1' [2023-08-31T01:49:46.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T01:49:47.026Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T01:49:48.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-31T01:49:48.068Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-31T01:49:48.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-08-31T01:49:48.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-08-31T01:49:48.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T01:49:48.907Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/620/head:refs/remotes/origin/PR-620 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-31T01:49:49.370Z] Merging remotes/origin/main commit 24031f99736a1500bd59a57df778730f3b803153 into PR head commit c55347a3dbf905d247d9ad6c6f75b4110223ef6d [2023-08-31T01:49:49.634Z] Merge succeeded, producing c55347a3dbf905d247d9ad6c6f75b4110223ef6d [2023-08-31T01:49:49.635Z] Checking out Revision c55347a3dbf905d247d9ad6c6f75b4110223ef6d (PR-620) [2023-08-31T01:49:50.070Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-08-31T01:49:50.117Z] > git --version # timeout=10 [2023-08-31T01:49:50.129Z] > git --version # 'git version 2.25.1' [2023-08-31T01:49:50.150Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-31T01:49:49.391Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T01:49:49.454Z] > git checkout -f c55347a3dbf905d247d9ad6c6f75b4110223ef6d # timeout=10 [2023-08-31T01:49:49.539Z] > git remote # timeout=10 [2023-08-31T01:49:49.561Z] > git config --get remote.origin.url # timeout=10 [2023-08-31T01:49:49.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-31T01:49:49.597Z] > git merge 24031f99736a1500bd59a57df778730f3b803153 # timeout=10 [2023-08-31T01:49:49.622Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-31T01:49:49.642Z] > git config core.sparsecheckout # timeout=10 [2023-08-31T01:49:49.653Z] > git checkout -f c55347a3dbf905d247d9ad6c6f75b4110223ef6d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T01:49:51.297Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-31T01:49:51.297Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T01:49:51.297Z] Dload Upload Total Spent Left Speed [2023-08-31T01:49:51.297Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 71234 0 --:--:-- --:--:-- --:--:-- 71234 [Pipeline] sh [2023-08-31T01:49:51.868Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-31T01:49:52.203Z] + sudo tee /etc/docker/daemon.new [2023-08-31T01:49:52.204Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-31T01:49:52.204Z] { [2023-08-31T01:49:52.204Z] "registry-mirrors": [ [2023-08-31T01:49:52.204Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-31T01:49:52.204Z] ], [2023-08-31T01:49:52.204Z] "bip": "10.250.0.254/24", [2023-08-31T01:49:52.204Z] "hosts": [ [2023-08-31T01:49:52.204Z] "tcp://0.0.0.0:5555", [2023-08-31T01:49:52.204Z] "unix:///var/run/docker.sock" [2023-08-31T01:49:52.204Z] ], [2023-08-31T01:49:52.204Z] "mtu": 1458, [2023-08-31T01:49:52.204Z] "selinux-enabled": true, [2023-08-31T01:49:52.204Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-31T01:49:52.204Z] } [Pipeline] sh [2023-08-31T01:49:52.551Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-31T01:49:52.940Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T01:50:12.084Z] provisioning config files... [2023-08-31T01:50:12.113Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16772214947047088737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:50:12.497Z] ---> docker-login.sh [2023-08-31T01:50:12.497Z] nexus3.edgexfoundry.org:10001 [2023-08-31T01:50:12.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:50:13.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:50:13.038Z] Configure a credential helper to remove this warning. See [2023-08-31T01:50:13.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:50:13.038Z] [2023-08-31T01:50:13.038Z] Login Succeeded [2023-08-31T01:50:13.038Z] nexus3.edgexfoundry.org:10002 [2023-08-31T01:50:13.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:50:13.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:50:13.309Z] Configure a credential helper to remove this warning. See [2023-08-31T01:50:13.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:50:13.309Z] [2023-08-31T01:50:13.309Z] Login Succeeded [2023-08-31T01:50:13.579Z] nexus3.edgexfoundry.org:10003 [2023-08-31T01:50:13.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:50:13.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:50:13.847Z] Configure a credential helper to remove this warning. See [2023-08-31T01:50:13.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:50:13.847Z] [2023-08-31T01:50:13.847Z] Login Succeeded [2023-08-31T01:50:13.847Z] nexus3.edgexfoundry.org:10004 [2023-08-31T01:50:14.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:50:14.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:50:14.118Z] Configure a credential helper to remove this warning. See [2023-08-31T01:50:14.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:50:14.118Z] [2023-08-31T01:50:14.118Z] Login Succeeded [2023-08-31T01:50:14.118Z] docker.io [2023-08-31T01:50:14.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-31T01:50:16.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-31T01:50:16.329Z] Configure a credential helper to remove this warning. See [2023-08-31T01:50:16.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-31T01:50:16.329Z] [2023-08-31T01:50:16.329Z] Login Succeeded [2023-08-31T01:50:16.329Z] ---> docker-login.sh ends [Pipeline] } [2023-08-31T01:50:16.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-31T01:50:16.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T01:50:16.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-31T01:50:16.837Z] ========================================================= [2023-08-31T01:50:16.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-31T01:50:16.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:50:17.344Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-31T01:50:17.618Z] Sending build context to Docker daemon 3.337MB [2023-08-31T01:50:17.618Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T01:50:17.618Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-31T01:50:17.890Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-31T01:50:17.890Z] edb6bdbacee9: Pulling fs layer [2023-08-31T01:50:17.890Z] 5f9638ab2659: Pulling fs layer [2023-08-31T01:50:17.890Z] 8d51d6327a98: Pulling fs layer [2023-08-31T01:50:17.890Z] 8b374f2dd631: Pulling fs layer [2023-08-31T01:50:17.890Z] ec14aa9079de: Pulling fs layer [2023-08-31T01:50:17.890Z] 2f466654f4bb: Pulling fs layer [2023-08-31T01:50:17.890Z] 554e91adad29: Pulling fs layer [2023-08-31T01:50:17.890Z] 8b374f2dd631: Waiting [2023-08-31T01:50:17.890Z] ec14aa9079de: Waiting [2023-08-31T01:50:17.890Z] 2f466654f4bb: Waiting [2023-08-31T01:50:17.890Z] 554e91adad29: Waiting [2023-08-31T01:50:17.890Z] 5f9638ab2659: Download complete [2023-08-31T01:50:17.890Z] 8b374f2dd631: Verifying Checksum [2023-08-31T01:50:17.890Z] 8b374f2dd631: Download complete [2023-08-31T01:50:17.890Z] ec14aa9079de: Verifying Checksum [2023-08-31T01:50:17.890Z] ec14aa9079de: Download complete [2023-08-31T01:50:17.890Z] edb6bdbacee9: Download complete [2023-08-31T01:50:19.905Z] edb6bdbacee9: Pull complete [2023-08-31T01:50:19.905Z] 5f9638ab2659: Pull complete [2023-08-31T01:50:20.899Z] 554e91adad29: Verifying Checksum [2023-08-31T01:50:20.899Z] 554e91adad29: Download complete [2023-08-31T01:50:21.883Z] 8d51d6327a98: Verifying Checksum [2023-08-31T01:50:21.883Z] 8d51d6327a98: Download complete [2023-08-31T01:50:21.883Z] 2f466654f4bb: Verifying Checksum [2023-08-31T01:50:21.883Z] 2f466654f4bb: Download complete [2023-08-31T01:50:34.466Z] 8d51d6327a98: Pull complete [2023-08-31T01:50:34.466Z] 8b374f2dd631: Pull complete [2023-08-31T01:50:34.466Z] ec14aa9079de: Pull complete [2023-08-31T01:50:39.835Z] 2f466654f4bb: Pull complete [2023-08-31T01:50:42.427Z] 554e91adad29: Pull complete [2023-08-31T01:50:42.427Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-31T01:50:42.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-31T01:50:42.427Z] ---> 1e15ea492957 [2023-08-31T01:50:42.427Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-31T01:50:44.335Z] ---> Running in 590a4e3c1cb5 [2023-08-31T01:50:44.335Z] Removing intermediate container 590a4e3c1cb5 [2023-08-31T01:50:44.335Z] ---> 2516926d9e71 [2023-08-31T01:50:44.335Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T01:50:44.335Z] ---> Running in 63066517d775 [2023-08-31T01:50:44.335Z] Removing intermediate container 63066517d775 [2023-08-31T01:50:44.335Z] ---> b5068d25ea2d [2023-08-31T01:50:44.335Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T01:50:44.335Z] ---> Running in 5aa5001cb6c3 [2023-08-31T01:50:44.602Z] Removing intermediate container 5aa5001cb6c3 [2023-08-31T01:50:44.602Z] ---> f560ba1c4b7d [2023-08-31T01:50:44.602Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T01:50:44.602Z] ---> Running in c6045287c308 [2023-08-31T01:50:45.491Z] Removing intermediate container c6045287c308 [2023-08-31T01:50:45.491Z] ---> 4559fb21b77a [2023-08-31T01:50:45.491Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T01:50:45.491Z] ---> Running in 3f09985a994a [2023-08-31T01:50:46.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T01:50:50.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T01:50:51.515Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-31T01:50:51.515Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-31T01:50:51.515Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-31T01:50:51.515Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-31T01:50:51.515Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T01:50:51.515Z] OK: 268 MiB in 57 packages [2023-08-31T01:50:52.930Z] Removing intermediate container 3f09985a994a [2023-08-31T01:50:52.930Z] ---> 6c579aa07673 [2023-08-31T01:50:52.930Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-08-31T01:50:53.197Z] ---> Running in 157d9819273e [2023-08-31T01:50:53.466Z] Removing intermediate container 157d9819273e [2023-08-31T01:50:53.466Z] ---> 73553f86f38a [2023-08-31T01:50:53.466Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-31T01:50:53.733Z] ---> 55b2a7252dd3 [2023-08-31T01:50:53.733Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T01:50:54.004Z] ---> Running in b9bd8ec2a8ef [2023-08-31T01:52:01.856Z] Removing intermediate container b9bd8ec2a8ef [2023-08-31T01:52:01.856Z] ---> 7a97d4bcf56f [2023-08-31T01:52:01.856Z] Step 11/12 : COPY . . [2023-08-31T01:52:01.856Z] ---> b9115c925829 [2023-08-31T01:52:01.856Z] Step 12/12 : RUN $MAKE [2023-08-31T01:52:01.856Z] ---> Running in dd1452ca0c3e [2023-08-31T01:52:01.856Z] noop [2023-08-31T01:52:01.856Z] Removing intermediate container dd1452ca0c3e [2023-08-31T01:52:01.856Z] ---> 79bac1db9ccf [2023-08-31T01:52:01.856Z] Successfully built 79bac1db9ccf [2023-08-31T01:52:01.856Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:52:02.339Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T01:52:02.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:52:02.661Z] prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container [2023-08-31T01:52:02.745Z] $ 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 [2023-08-31T01:52:04.077Z] $ docker top c959921eb85e627dffcbef2af522524e1ca167fa915f96fe0862707d98815fbf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T01:52:05.002Z] + go version [2023-08-31T01:52:05.003Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-31T01:52:05.041Z] $ docker stop --time=1 c959921eb85e627dffcbef2af522524e1ca167fa915f96fe0862707d98815fbf [2023-08-31T01:52:06.668Z] $ docker rm -f --volumes c959921eb85e627dffcbef2af522524e1ca167fa915f96fe0862707d98815fbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:52:07.511Z] + docker inspect -f . ci-base-image-arm64 [2023-08-31T01:52:07.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:52:07.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container [2023-08-31T01:52:07.836Z] $ 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 [2023-08-31T01:52:08.993Z] $ docker top daeb9abc9b934e019e5e17f22eb5a5069a2557260ad18713af02d60ce93a5e90 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T01:52:09.543Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-31T01:52:09.938Z] + make test [2023-08-31T01:52:09.939Z] go test ./... -coverprofile=coverage.out ./... [2023-08-31T01:52:40.707Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-08-31T01:54:46.692Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-08-31T01:54:46.692Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-08-31T01:54:46.692Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 22.8% of statements [2023-08-31T01:54:46.960Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-31T01:54:46.960Z] go vet ./... [2023-08-31T01:55:15.912Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-31T01:55:15.912Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-31T01:55:15.912Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-31T01:55:15.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-31T01:55:15.998Z] $ docker stop --time=1 daeb9abc9b934e019e5e17f22eb5a5069a2557260ad18713af02d60ce93a5e90 [2023-08-31T01:55:17.879Z] $ docker rm -f --volumes daeb9abc9b934e019e5e17f22eb5a5069a2557260ad18713af02d60ce93a5e90 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-31T01:55:19.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-31T01:55:19.257Z] Warning: overwriting stash ‘coverage-report’ [2023-08-31T01:55:21.642Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-31T01:55:23.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-31T01:55:23.701Z] + ls -al . [2023-08-31T01:55:23.701Z] total 184 [2023-08-31T01:55:23.701Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 01:52 . [2023-08-31T01:55:23.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 01:49 .. [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 31 01:49 .dockerignore [2023-08-31T01:55:23.701Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 01:49 .git [2023-08-31T01:55:23.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 01:49 .github [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 31 01:49 .gitignore [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 01:49 .golangci.yml [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 31 01:49 Attribution.txt [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 17522 Aug 31 01:49 CHANGELOG.md [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 1689 Aug 31 01:49 Dockerfile [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 01:49 GOVERNANCE.md [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 31 01:49 Jenkinsfile [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 01:49 LICENSE [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 31 01:49 Makefile [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 31 01:49 OWNERS.md [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 3695 Aug 31 01:49 README.md [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 01:45 VERSION [2023-08-31T01:55:23.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 01:49 bin [2023-08-31T01:55:23.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 01:49 cmd [2023-08-31T01:55:23.701Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 31 01:54 coverage.out [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 3820 Aug 31 01:49 go.mod [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 31 01:49 go.sum [2023-08-31T01:55:23.701Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 01:49 internal [2023-08-31T01:55:23.701Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 01:49 mock [2023-08-31T01:55:23.701Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 01:49 snap [2023-08-31T01:55:23.701Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 31 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:55:24.147Z] + 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=c55347a3dbf905d247d9ad6c6f75b4110223ef6d --label arch=arm64 --label version=0.0.0 . [2023-08-31T01:55:24.418Z] Sending build context to Docker daemon 3.357MB [2023-08-31T01:55:24.418Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-08-31T01:55:24.418Z] Step 2/24 : FROM ${BASE} AS builder [2023-08-31T01:55:24.418Z] ---> 79bac1db9ccf [2023-08-31T01:55:24.418Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-08-31T01:55:24.686Z] ---> Running in ee5b7932c40c [2023-08-31T01:55:24.958Z] Removing intermediate container ee5b7932c40c [2023-08-31T01:55:24.958Z] ---> 2b4c943cd90f [2023-08-31T01:55:24.958Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-31T01:55:24.958Z] ---> Running in 4147e1c92b2c [2023-08-31T01:55:25.226Z] Removing intermediate container 4147e1c92b2c [2023-08-31T01:55:25.226Z] ---> 4f552520583f [2023-08-31T01:55:25.226Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-31T01:55:25.226Z] ---> Running in 8f35047d1164 [2023-08-31T01:55:25.501Z] Removing intermediate container 8f35047d1164 [2023-08-31T01:55:25.501Z] ---> 8962acfa021b [2023-08-31T01:55:25.501Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-08-31T01:55:25.769Z] ---> Running in 0f743f840341 [2023-08-31T01:55:26.041Z] Removing intermediate container 0f743f840341 [2023-08-31T01:55:26.041Z] ---> 03ec6cb069ef [2023-08-31T01:55:26.041Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-31T01:55:26.041Z] ---> Running in 472b0cbd8e0e [2023-08-31T01:55:27.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T01:55:28.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T01:55:28.977Z] OK: 268 MiB in 57 packages [2023-08-31T01:55:29.941Z] Removing intermediate container 472b0cbd8e0e [2023-08-31T01:55:29.941Z] ---> 1cae7a624395 [2023-08-31T01:55:29.941Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-08-31T01:55:29.941Z] ---> Running in 48ade0d1fbfb [2023-08-31T01:55:30.211Z] Removing intermediate container 48ade0d1fbfb [2023-08-31T01:55:30.211Z] ---> 021645f3d37f [2023-08-31T01:55:30.211Z] Step 9/24 : COPY go.mod vendor* ./ [2023-08-31T01:55:30.795Z] ---> 1d6f33520839 [2023-08-31T01:55:30.795Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-31T01:55:30.795Z] ---> Running in 800be4913ae5 [2023-08-31T01:55:33.403Z] Removing intermediate container 800be4913ae5 [2023-08-31T01:55:33.403Z] ---> 077c94872bd7 [2023-08-31T01:55:33.403Z] Step 11/24 : COPY . . [2023-08-31T01:55:33.987Z] ---> 6dbf4ef7c84f [2023-08-31T01:55:33.987Z] Step 12/24 : RUN $MAKE [2023-08-31T01:55:35.939Z] ---> Running in 441f64ecad86 [2023-08-31T01:55:36.902Z] 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.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-08-31T01:58:09.137Z] Removing intermediate container 441f64ecad86 [2023-08-31T01:58:09.137Z] ---> 5d37cd108e90 [2023-08-31T01:58:09.137Z] Step 13/24 : FROM alpine:3.17 [2023-08-31T01:58:09.137Z] 3.17: Pulling from library/alpine [2023-08-31T01:58:09.137Z] 4060ece20d7a: Pulling fs layer [2023-08-31T01:58:09.137Z] 4060ece20d7a: Verifying Checksum [2023-08-31T01:58:09.137Z] 4060ece20d7a: Download complete [2023-08-31T01:58:09.137Z] 4060ece20d7a: Pull complete [2023-08-31T01:58:09.137Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-31T01:58:09.137Z] Status: Downloaded newer image for alpine:3.17 [2023-08-31T01:58:09.137Z] ---> 8650cd65339b [2023-08-31T01:58:09.137Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-08-31T01:58:09.137Z] ---> Running in 545dcade1bbc [2023-08-31T01:58:09.137Z] Removing intermediate container 545dcade1bbc [2023-08-31T01:58:09.137Z] ---> 534c64bd6794 [2023-08-31T01:58:09.137Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-08-31T01:58:09.137Z] ---> Running in 964c9751526e [2023-08-31T01:58:09.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-31T01:58:09.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-31T01:58:09.137Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-31T01:58:09.137Z] Executing busybox-1.35.0-r29.trigger [2023-08-31T01:58:09.137Z] OK: 8 MiB in 16 packages [2023-08-31T01:58:09.137Z] Removing intermediate container 964c9751526e [2023-08-31T01:58:09.137Z] ---> fbf6c216f95e [2023-08-31T01:58:09.137Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-08-31T01:58:09.137Z] ---> 7d89c1100c33 [2023-08-31T01:58:09.137Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-08-31T01:58:09.137Z] ---> 848d30fa56cb [2023-08-31T01:58:09.137Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-08-31T01:58:09.137Z] ---> 52c676178a15 [2023-08-31T01:58:09.137Z] Step 19/24 : EXPOSE 59982 [2023-08-31T01:58:09.137Z] ---> Running in eb3b7fe8ab74 [2023-08-31T01:58:09.137Z] Removing intermediate container eb3b7fe8ab74 [2023-08-31T01:58:09.137Z] ---> 8f178c3830e5 [2023-08-31T01:58:09.137Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-08-31T01:58:09.137Z] ---> Running in 1b90241278f6 [2023-08-31T01:58:09.137Z] Removing intermediate container 1b90241278f6 [2023-08-31T01:58:09.137Z] ---> a85b9328f275 [2023-08-31T01:58:09.137Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-31T01:58:09.137Z] ---> Running in 9418ea6ae637 [2023-08-31T01:58:09.137Z] Removing intermediate container 9418ea6ae637 [2023-08-31T01:58:09.137Z] ---> 3e7ecf82cc34 [2023-08-31T01:58:09.137Z] Step 22/24 : LABEL arch=arm64 [2023-08-31T01:58:09.137Z] ---> Running in 3bc122e0cc6d [2023-08-31T01:58:09.137Z] Removing intermediate container 3bc122e0cc6d [2023-08-31T01:58:09.137Z] ---> 8c21daaddfd3 [2023-08-31T01:58:09.137Z] Step 23/24 : LABEL git_sha=c55347a3dbf905d247d9ad6c6f75b4110223ef6d [2023-08-31T01:58:09.137Z] ---> Running in 2deeac0bc367 [2023-08-31T01:58:09.137Z] Removing intermediate container 2deeac0bc367 [2023-08-31T01:58:09.137Z] ---> a10e437cccde [2023-08-31T01:58:09.137Z] Step 24/24 : LABEL version=0.0.0 [2023-08-31T01:58:09.137Z] ---> Running in 896eb9a1e0c8 [2023-08-31T01:58:09.137Z] Removing intermediate container 896eb9a1e0c8 [2023-08-31T01:58:09.137Z] ---> 5fd747f0003e [2023-08-31T01:58:09.137Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-31T01:58:09.137Z] Successfully built 5fd747f0003e [2023-08-31T01:58:09.137Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:58:09.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T01:58:09.970Z] [2023-08-31T01:58:09.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:58:10.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T01:58:10.374Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-31T01:58:10.374Z] 8998bd30e6a1: Pulling fs layer [2023-08-31T01:58:10.374Z] 04944245beec: Pulling fs layer [2023-08-31T01:58:10.374Z] 699f458cf7ca: Pulling fs layer [2023-08-31T01:58:10.374Z] 765212b225bb: Pulling fs layer [2023-08-31T01:58:10.374Z] f23df028b6ca: Pulling fs layer [2023-08-31T01:58:10.374Z] d65c8cfc05b1: Pulling fs layer [2023-08-31T01:58:10.374Z] 2437ff75d9bd: Pulling fs layer [2023-08-31T01:58:10.374Z] f23df028b6ca: Waiting [2023-08-31T01:58:10.374Z] d65c8cfc05b1: Waiting [2023-08-31T01:58:10.374Z] 2437ff75d9bd: Waiting [2023-08-31T01:58:10.374Z] 765212b225bb: Waiting [2023-08-31T01:58:10.641Z] 04944245beec: Verifying Checksum [2023-08-31T01:58:10.641Z] 04944245beec: Download complete [2023-08-31T01:58:10.641Z] 765212b225bb: Verifying Checksum [2023-08-31T01:58:10.641Z] 765212b225bb: Download complete [2023-08-31T01:58:10.641Z] f23df028b6ca: Download complete [2023-08-31T01:58:10.641Z] d65c8cfc05b1: Verifying Checksum [2023-08-31T01:58:10.641Z] d65c8cfc05b1: Download complete [2023-08-31T01:58:10.641Z] 699f458cf7ca: Verifying Checksum [2023-08-31T01:58:10.641Z] 699f458cf7ca: Download complete [2023-08-31T01:58:11.223Z] 8998bd30e6a1: Download complete [2023-08-31T01:58:13.175Z] 2437ff75d9bd: Verifying Checksum [2023-08-31T01:58:13.175Z] 2437ff75d9bd: Download complete [2023-08-31T01:58:16.518Z] 8998bd30e6a1: Pull complete [2023-08-31T01:58:17.104Z] 04944245beec: Pull complete [2023-08-31T01:58:18.510Z] 699f458cf7ca: Pull complete [2023-08-31T01:58:18.510Z] 765212b225bb: Pull complete [2023-08-31T01:58:19.468Z] f23df028b6ca: Pull complete [2023-08-31T01:58:19.468Z] d65c8cfc05b1: Pull complete [2023-08-31T01:58:34.538Z] 2437ff75d9bd: Pull complete [2023-08-31T01:58:34.539Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-31T01:58:34.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-31T01:58:34.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:58:34.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container [2023-08-31T01:58:34.974Z] $ 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 [2023-08-31T01:58:37.411Z] $ docker top 68dc769836c45c19565f7c12235e0edf16cfa344226aa3f9a961fb6b29720335 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:38.355Z] ---> job-cost.sh [2023-08-31T01:58:38.355Z] lf-activate-venv: SKIPPING [2023-08-31T01:58:38.355Z] INFO: No Stack... [2023-08-31T01:58:38.622Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-31T01:58:39.573Z] INFO: Archiving Costs [Pipeline] sh [2023-08-31T01:58:39.908Z] + cut -d, -f6 [2023-08-31T01:58:39.908Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-08-31T01:58:39.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] [2023-08-31T01:58:39.991Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] did not exist. Created. [2023-08-31T01:58:39.991Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-31T01:58:40.408Z] /w/workspace/device-mqtt-go/1@tmp/durable-137a6d23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-31T01:58:40.759Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-31T01:58:41.055Z] Warning: overwriting stash ‘stack-cost’ [2023-08-31T01:58:41.105Z] Stashed 1 file(s) [Pipeline] } [2023-08-31T01:58:41.130Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-620-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-31T01:58:41.217Z] $ docker stop --time=1 68dc769836c45c19565f7c12235e0edf16cfa344226aa3f9a961fb6b29720335 [2023-08-31T01:58:44.892Z] $ docker rm -f --volumes 68dc769836c45c19565f7c12235e0edf16cfa344226aa3f9a961fb6b29720335 [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 [2023-08-31T01:58:45.973Z] provisioning config files... [2023-08-31T01:58:45.981Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/config1455314520423163317tmp [Pipeline] { [Pipeline] sh [2023-08-31T01:58:46.321Z] + set +x [2023-08-31T01:58:46.321Z] + + curl -s https://codecov.io/bashbash [2023-08-31T01:58:46.321Z] -s -- [2023-08-31T01:58:46.581Z] [2023-08-31T01:58:46.581Z] _____ _ [2023-08-31T01:58:46.581Z] / ____| | | [2023-08-31T01:58:46.581Z] | | ___ __| | ___ ___ _____ __ [2023-08-31T01:58:46.581Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-31T01:58:46.581Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-31T01:58:46.581Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-31T01:58:46.581Z] Bash-1.0.6 [2023-08-31T01:58:46.581Z] [2023-08-31T01:58:46.581Z] [2023-08-31T01:58:46.581Z] ==> git version 2.25.1 found [2023-08-31T01:58:46.581Z] ==> 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 [2023-08-31T01:58:46.581Z] Release-Date: 2020-01-08 [2023-08-31T01:58:46.581Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-31T01:58:46.581Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-31T01:58:46.581Z] ==> Jenkins CI detected. [2023-08-31T01:58:46.581Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-620 [2023-08-31T01:58:46.581Z] project root: . [2023-08-31T01:58:46.581Z] --> token set from env [2023-08-31T01:58:46.581Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-31T01:58:46.581Z] ==> Running gcov in . (disable via -X gcov) [2023-08-31T01:58:46.581Z] ==> Python coveragepy not found [2023-08-31T01:58:46.581Z] ==> Searching for coverage reports in: [2023-08-31T01:58:46.581Z] + . [2023-08-31T01:58:46.581Z] -> Found 1 reports [2023-08-31T01:58:46.581Z] ==> Detecting git/mercurial file structure [2023-08-31T01:58:46.581Z] ==> Reading reports [2023-08-31T01:58:46.581Z] + ./coverage.out bytes=18506 [2023-08-31T01:58:46.581Z] ==> Appending adjustments [2023-08-31T01:58:46.581Z] https://docs.codecov.io/docs/fixing-reports [2023-08-31T01:58:46.581Z] + Found adjustments [2023-08-31T01:58:46.581Z] ==> Gzipping contents [2023-08-31T01:58:46.841Z] 4.0K /tmp/codecov.yTGM05.gz [2023-08-31T01:58:46.841Z] ==> Uploading reports [2023-08-31T01:58:46.841Z] url: https://codecov.io [2023-08-31T01:58:46.841Z] query: branch=PR-620&commit=c55347a3dbf905d247d9ad6c6f75b4110223ef6d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=620&job=&cmd_args= [2023-08-31T01:58:46.841Z] -> Pinging Codecov [2023-08-31T01:58:46.841Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-620&commit=c55347a3dbf905d247d9ad6c6f75b4110223ef6d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-620%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=620&job=&cmd_args= [2023-08-31T01:58:46.841Z] -> Uploading to [2023-08-31T01:58:46.841Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-31/7D719EC7BBE17E464838252E33014C33/c55347a3dbf905d247d9ad6c6f75b4110223ef6d/db12e367-b179-49c1-b981-724aaf25bd15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230831T015846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=181fd36c054f5f1b7e85ac97b3f1866257aac0098460ad4bfa50a9ff063244b0 [2023-08-31T01:58:46.841Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-31T01:58:46.841Z] Dload Upload Total Spent Left Speed [2023-08-31T01:58:47.101Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16340 --:--:-- --:--:-- --:--:-- 16340 [2023-08-31T01:58:47.101Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c55347a3dbf905d247d9ad6c6f75b4110223ef6d [Pipeline] } [2023-08-31T01:58:47.131Z] 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 [2023-08-31T01:58:49.056Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives ] [2023-08-31T01:58:49.056Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives [2023-08-31T01:58:49.056Z] total 16 [2023-08-31T01:58:49.056Z] drwxr-xr-x 3 root root 4096 Aug 31 01:48 . [2023-08-31T01:58:49.056Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 01:48 .. [2023-08-31T01:58:49.056Z] drwxr-xr-x 2 root root 4096 Aug 31 01:48 cost [2023-08-31T01:58:49.056Z] -rw-r--r-- 1 root root 86 Aug 31 01:48 cost.csv [2023-08-31T01:58:49.056Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives [2023-08-31T01:58:49.056Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives [2023-08-31T01:58:49.056Z] total 16 [2023-08-31T01:58:49.056Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 01:48 . [2023-08-31T01:58:49.056Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 31 01:48 .. [2023-08-31T01:58:49.056Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 01:48 cost [2023-08-31T01:58:49.056Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 31 01:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:49.389Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:50.290Z] ---> package-listing.sh [2023-08-31T01:58:50.290Z] ++ facter osfamily [2023-08-31T01:58:50.290Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-31T01:58:50.551Z] + OS_FAMILY=debian [2023-08-31T01:58:50.551Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-620 [2023-08-31T01:58:50.551Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-31T01:58:50.551Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-31T01:58:50.551Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-31T01:58:50.551Z] + PACKAGES=/tmp/packages_start.txt [2023-08-31T01:58:50.551Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-620 ']' [2023-08-31T01:58:50.551Z] + PACKAGES=/tmp/packages_end.txt [2023-08-31T01:58:50.551Z] + case "${OS_FAMILY}" in [2023-08-31T01:58:50.551Z] + dpkg -l [2023-08-31T01:58:50.551Z] + grep '^ii' [2023-08-31T01:58:50.551Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-31T01:58:50.551Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-31T01:58:50.551Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-31T01:58:50.551Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-620 ']' [2023-08-31T01:58:50.551Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives/ [2023-08-31T01:58:50.551Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-620/archives/ [Pipeline] echo [2023-08-31T01:58:50.588Z] 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-620/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-31T01:58:50.883Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-31T01:58:51.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-31T01:58:51.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-31T01:58:51.659Z] prd-ubuntu20.04-docker-8c-8g-4966 does not seem to be running inside a container [2023-08-31T01:58:51.687Z] $ 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-620/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-620 -v /w/workspace/gexfoundry_device-mqtt-go_PR-620:/w/workspace/gexfoundry_device-mqtt-go_PR-620:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-620@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 [2023-08-31T01:58:51.907Z] $ docker top 396d782115c2e52bf6ae147d88f740269fe19e9458d94f07bf0a1318d226a842 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-31T01:58:52.300Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-31T01:58:52.613Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-31T01:58:52.924Z] + ls /var/log/sa-host [2023-08-31T01:58:52.924Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-31T01:58:53.160Z] provisioning config files... [2023-08-31T01:58:53.170Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-620@tmp/config14793898140755062059tmp [Pipeline] { [Pipeline] echo [2023-08-31T01:58:53.229Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:53.562Z] ---> create-netrc.sh [Pipeline] } [2023-08-31T01:58:53.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:53.990Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-31T01:58:54.029Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:54.343Z] ---> sudo-logs.sh [2023-08-31T01:58:54.343Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-31T01:58:54.430Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:54.742Z] ---> job-cost.sh [2023-08-31T01:58:54.742Z] lf-activate-venv: SKIPPING [2023-08-31T01:58:54.742Z] DEBUG: total: 0.2199999988079071 [2023-08-31T01:58:54.742Z] INFO: Retrieving Stack Cost... [2023-08-31T01:58:55.003Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-31T01:58:55.572Z] INFO: Archiving Costs [Pipeline] echo [2023-08-31T01:58:55.614Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-31T01:58:55.929Z] ---> logs-deploy.sh [2023-08-31T01:58:55.929Z] lf-activate-venv: SKIPPING [2023-08-31T01:58:55.929Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-620/1 [2023-08-31T01:58:55.929Z] INFO: archiving workspace using pattern(s): [2023-08-31T01:58:56.863Z] Archives upload complete. [2023-08-31T01:58:56.863Z] INFO: archiving logs to Nexus