Pull request #646 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from d71a6e5ed03d95373abe4b34c9acc21d52fee38c+daf9656040259007f9ff9da57e54fb024fb8fec3 (584afc54fc0d3ad1a9dcc02a3b4274c00bf6b8b4) 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-ssh14328224807202306144.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12321996533528842359.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-646/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-646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16439529128896665882.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-646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2651809339898700162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh12966690928391408393.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-646/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-646/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7575094453034878887.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17045’ Running on prd-ubuntu20.04-docker-8c-8g-17047 in /w/workspace/gexfoundry_device-mqtt-go_PR-646 [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-646 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/646/head:refs/remotes/origin/PR-646 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit daf9656040259007f9ff9da57e54fb024fb8fec3 into PR head commit d71a6e5ed03d95373abe4b34c9acc21d52fee38c Merge succeeded, producing d71a6e5ed03d95373abe4b34c9acc21d52fee38c Checking out Revision d71a6e5ed03d95373abe4b34c9acc21d52fee38c (PR-646) > git config core.sparsecheckout # timeout=10 > git checkout -f d71a6e5ed03d95373abe4b34c9acc21d52fee38c # 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 daf9656040259007f9ff9da57e54fb024fb8fec3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d71a6e5ed03d95373abe4b34c9acc21d52fee38c # timeout=10 Commit message: "build: Update go mod for Napa" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T18:30:00.986Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T18:30:01.171Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T18:30:01.291Z] ========================================================= [2023-11-08T18:30:01.292Z] EdgeX Global Pipelines Version Info [2023-11-08T18:30:01.292Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:30:02.031Z] ------------------- [2023-11-08T18:30:02.031Z] stable info: [2023-11-08T18:30:02.031Z] ------------------- [2023-11-08T18:30:02.031Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T18:30:02.031Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:30:02.031Z] Message: update stable to v1.0.257 [2023-11-08T18:30:02.602Z] ------------------- [2023-11-08T18:30:02.603Z] experimental info: [2023-11-08T18:30:02.603Z] ------------------- [2023-11-08T18:30:02.603Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T18:30:02.603Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:30:02.603Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T18:30:02.909Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-08T18:30:02.951Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-08T18:30:02.990Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T18:30:03.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T18:30:03.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T18:30:03.102Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T18:30:03.143Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T18:30:03.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T18:30:03.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T18:30:03.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T18:30:03.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T18:30:03.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-08T18:30:03.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T18:30:03.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T18:30:03.466Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:30:03.506Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:30:03.545Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:30:03.583Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:30:03.625Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T18:30:03.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T18:30:03.698Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T18:30:03.734Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T18:30:03.769Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T18:30:03.808Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T18:30:03.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T18:30:03.886Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T18:30:03.932Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T18:30:03.985Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-646 [Pipeline] echo [2023-11-08T18:30:04.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-646 [Pipeline] echo [2023-11-08T18:30:04.068Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-646 [Pipeline] echo [2023-11-08T18:30:04.107Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d71a6e5ed03d95373abe4b34c9acc21d52fee38c [Pipeline] echo [2023-11-08T18:30:04.147Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d71a6e5 [Pipeline] echo [2023-11-08T18:30:04.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:30:04.312Z] provisioning config files... [2023-11-08T18:30:04.327Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/config7291566273913510405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:30:04.668Z] ---> docker-login.sh [2023-11-08T18:30:04.668Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:30:04.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:05.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:05.192Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:05.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:05.192Z] [2023-11-08T18:30:05.192Z] Login Succeeded [2023-11-08T18:30:05.192Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:30:05.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:05.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:05.192Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:05.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:05.192Z] [2023-11-08T18:30:05.192Z] Login Succeeded [2023-11-08T18:30:05.192Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:30:05.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:05.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:05.192Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:05.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:05.192Z] [2023-11-08T18:30:05.192Z] Login Succeeded [2023-11-08T18:30:05.192Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:30:05.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:05.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:05.454Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:05.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:05.454Z] [2023-11-08T18:30:05.454Z] Login Succeeded [2023-11-08T18:30:05.454Z] docker.io [2023-11-08T18:30:05.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:07.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:07.367Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:07.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:07.367Z] [2023-11-08T18:30:07.367Z] Login Succeeded [2023-11-08T18:30:07.367Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:30:07.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T18:30:08.004Z] + git rev-list -1 --merges d71a6e5ed03d95373abe4b34c9acc21d52fee38c~1..d71a6e5ed03d95373abe4b34c9acc21d52fee38c [Pipeline] echo [2023-11-08T18:30:08.072Z] -----------> git rev-list -1 --merges d71a6e5ed03d95373abe4b34c9acc21d52fee38c~1..d71a6e5ed03d95373abe4b34c9acc21d52fee38c d71a6e5ed03d95373abe4b34c9acc21d52fee38c [false] [Pipeline] sh [2023-11-08T18:30:08.383Z] + git log --format=format:%s -1 d71a6e5ed03d95373abe4b34c9acc21d52fee38c [Pipeline] echo [2023-11-08T18:30:08.494Z] ========================================================= [2023-11-08T18:30:08.494Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:30:08.494Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:30:08.930Z] + git log --format=format:%s -1 d71a6e5ed03d95373abe4b34c9acc21d52fee38c [Pipeline] echo [2023-11-08T18:30:08.969Z] [semverPrep] GIT_COMMIT: d71a6e5ed03d95373abe4b34c9acc21d52fee38c, Commit Message: build: Update go mod for Napa [Pipeline] echo [2023-11-08T18:30:09.005Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T18:30:09.382Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:30:09.382Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T18:30:09.382Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T18:30:09.382Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T18:30:09.382Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T18:30:09.382Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T18:30:09.382Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:30:09.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:30:09.804Z] [2023-11-08T18:30:09.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:30:10.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:30:11.570Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T18:30:11.570Z] b85a868b505f: Pulling fs layer [2023-11-08T18:30:11.570Z] e2be974225ed: Pulling fs layer [2023-11-08T18:30:11.570Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T18:30:11.570Z] 988bab9f4d93: Pulling fs layer [2023-11-08T18:30:11.570Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T18:30:11.570Z] eaf3925da568: Pulling fs layer [2023-11-08T18:30:11.570Z] bab4dde63d76: Pulling fs layer [2023-11-08T18:30:11.570Z] bde34c3a00c8: Pulling fs layer [2023-11-08T18:30:11.570Z] b352a97aabf1: Pulling fs layer [2023-11-08T18:30:11.570Z] 4872d77fe225: Pulling fs layer [2023-11-08T18:30:11.570Z] 5851b861e8e6: Pulling fs layer [2023-11-08T18:30:11.570Z] eaf3925da568: Waiting [2023-11-08T18:30:11.570Z] 4872d77fe225: Waiting [2023-11-08T18:30:11.570Z] bab4dde63d76: Waiting [2023-11-08T18:30:11.570Z] 988bab9f4d93: Waiting [2023-11-08T18:30:11.570Z] bde34c3a00c8: Waiting [2023-11-08T18:30:11.570Z] b352a97aabf1: Waiting [2023-11-08T18:30:11.570Z] e2be974225ed: Verifying Checksum [2023-11-08T18:30:11.570Z] e2be974225ed: Download complete [2023-11-08T18:30:11.570Z] 988bab9f4d93: Verifying Checksum [2023-11-08T18:30:11.570Z] 988bab9f4d93: Download complete [2023-11-08T18:30:11.570Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T18:30:11.570Z] 1469e6f7b9e6: Download complete [2023-11-08T18:30:11.570Z] eaf3925da568: Verifying Checksum [2023-11-08T18:30:11.570Z] eaf3925da568: Download complete [2023-11-08T18:30:11.570Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T18:30:11.570Z] 339a4e72a1f5: Download complete [2023-11-08T18:30:11.570Z] bde34c3a00c8: Verifying Checksum [2023-11-08T18:30:11.570Z] bde34c3a00c8: Download complete [2023-11-08T18:30:11.570Z] b352a97aabf1: Download complete [2023-11-08T18:30:11.571Z] 4872d77fe225: Verifying Checksum [2023-11-08T18:30:11.571Z] 4872d77fe225: Download complete [2023-11-08T18:30:11.571Z] 5851b861e8e6: Verifying Checksum [2023-11-08T18:30:11.571Z] b85a868b505f: Verifying Checksum [2023-11-08T18:30:11.571Z] b85a868b505f: Download complete [2023-11-08T18:30:11.830Z] bab4dde63d76: Verifying Checksum [2023-11-08T18:30:11.830Z] bab4dde63d76: Download complete [2023-11-08T18:30:12.766Z] b85a868b505f: Pull complete [2023-11-08T18:30:13.028Z] e2be974225ed: Pull complete [2023-11-08T18:30:13.289Z] 339a4e72a1f5: Pull complete [2023-11-08T18:30:13.559Z] 988bab9f4d93: Pull complete [2023-11-08T18:30:13.822Z] 1469e6f7b9e6: Pull complete [2023-11-08T18:30:13.822Z] eaf3925da568: Pull complete [2023-11-08T18:30:15.730Z] bab4dde63d76: Pull complete [2023-11-08T18:30:15.730Z] bde34c3a00c8: Pull complete [2023-11-08T18:30:15.730Z] b352a97aabf1: Pull complete [2023-11-08T18:30:15.730Z] 4872d77fe225: Pull complete [2023-11-08T18:30:15.989Z] 5851b861e8e6: Pull complete [2023-11-08T18:30:15.989Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T18:30:15.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:30:15.989Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:30:16.272Z] prd-ubuntu20.04-docker-8c-8g-17047 does not seem to be running inside a container [2023-11-08T18:30:16.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-646 -v /w/workspace/gexfoundry_device-mqtt-go_PR-646:/w/workspace/gexfoundry_device-mqtt-go_PR-646:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-646@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-devops/py-git-semver:0.1.4 cat [2023-11-08T18:30:20.472Z] $ docker top 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 -eo pid,comm [2023-11-08T18:30:20.530Z] 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-11-08T18:30:20.530Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:30:20.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:30:20.654Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:30:20.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:30:20.765Z] $ docker exec 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 ssh-agent [2023-11-08T18:30:20.872Z] SSH_AUTH_SOCK=/tmp/ssh-AmUCcshdnWYn/agent.32 [2023-11-08T18:30:20.872Z] SSH_AGENT_PID=38 [2023-11-08T18:30:20.877Z] Running ssh-add (command line suppressed) [2023-11-08T18:30:20.988Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/private_key_1781860949088517827.key (/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/private_key_1781860949088517827.key) [2023-11-08T18:30:21.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:30:21.333Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T18:30:21.357Z] $ docker exec --env ******** --env ******** 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 ssh-agent -k [2023-11-08T18:30:21.451Z] unset SSH_AUTH_SOCK; [2023-11-08T18:30:21.451Z] unset SSH_AGENT_PID; [2023-11-08T18:30:21.451Z] echo Agent pid 38 killed; [2023-11-08T18:30:21.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T18:30:21.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:30:21.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:30:21.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:30:21.682Z] $ docker exec 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 ssh-agent [2023-11-08T18:30:21.801Z] SSH_AUTH_SOCK=/tmp/ssh-S2YIVwwsnW78/agent.70 [2023-11-08T18:30:21.801Z] SSH_AGENT_PID=76 [2023-11-08T18:30:21.806Z] Running ssh-add (command line suppressed) [2023-11-08T18:30:21.904Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/private_key_6454900176649081441.key (/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/private_key_6454900176649081441.key) [2023-11-08T18:30:21.918Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:30:22.248Z] + git semver init [2023-11-08T18:30:22.508Z] 2023-11-08 18:30:22,460 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T18:30:22.508Z] 2023-11-08 18:30:22,461 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver [2023-11-08T18:30:22.508Z] 2023-11-08 18:30:22,462 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver [2023-11-08T18:30:22.508Z] 2023-11-08 18:30:22,462 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-646, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,354 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-646/.git/info/exclude [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,354 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver/PR-646 with force:False [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,355 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver/PR-646 [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,359 [execute] INFO git cat-file --batch-check [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,365 [execute] INFO git cat-file --batch [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:30:23.447Z] 2023-11-08 18:30:23,370 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-646/.semver/PR-646 [2023-11-08T18:30:23.447Z] 0.0.0 [Pipeline] } [2023-11-08T18:30:23.478Z] $ docker exec --env ******** --env ******** 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 ssh-agent -k [2023-11-08T18:30:23.577Z] unset SSH_AUTH_SOCK; [2023-11-08T18:30:23.577Z] unset SSH_AGENT_PID; [2023-11-08T18:30:23.580Z] echo Agent pid 76 killed; [2023-11-08T18:30:23.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:30:24.012Z] + git semver [Pipeline] } [2023-11-08T18:30:24.292Z] $ docker stop --time=1 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 [2023-11-08T18:30:25.673Z] $ docker rm -f --volumes 557d04cb16d8a7ec1aa4387ab44844a597eb1ac10a63e57a184bf707512e8828 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:30:26.073Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T18:30:26.414Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T18:30:26.433Z] [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-11-08T18:30:27.003Z] provisioning config files... [2023-11-08T18:30:27.014Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/config606189909727529087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:30:27.361Z] ---> docker-login.sh [2023-11-08T18:30:27.361Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:30:27.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:27.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:27.361Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:27.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:27.361Z] [2023-11-08T18:30:27.361Z] Login Succeeded [2023-11-08T18:30:27.361Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:30:27.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:27.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:27.361Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:27.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:27.361Z] [2023-11-08T18:30:27.361Z] Login Succeeded [2023-11-08T18:30:27.361Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:30:27.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:27.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:27.623Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:27.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:27.623Z] [2023-11-08T18:30:27.623Z] Login Succeeded [2023-11-08T18:30:27.623Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:30:27.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:27.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:27.623Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:27.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:27.623Z] [2023-11-08T18:30:27.623Z] Login Succeeded [2023-11-08T18:30:27.623Z] docker.io [2023-11-08T18:30:27.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:30:28.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:30:28.140Z] Configure a credential helper to remove this warning. See [2023-11-08T18:30:28.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:30:28.140Z] [2023-11-08T18:30:28.140Z] Login Succeeded [2023-11-08T18:30:28.140Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:30:28.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:30:28.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:30:28.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:30:28.445Z] ========================================================= [2023-11-08T18:30:28.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T18:30:28.445Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:30:28.901Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T18:30:28.901Z] Sending build context to Docker daemon 6.57MB [2023-11-08T18:30:28.901Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:30:28.901Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T18:30:28.901Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T18:30:28.901Z] 7264a8db6415: Pulling fs layer [2023-11-08T18:30:28.901Z] c4d48a809fc2: Pulling fs layer [2023-11-08T18:30:28.901Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T18:30:28.901Z] ad3a456e5733: Pulling fs layer [2023-11-08T18:30:28.901Z] 33e27b845d1e: Pulling fs layer [2023-11-08T18:30:28.901Z] c68163c4e522: Pulling fs layer [2023-11-08T18:30:28.901Z] 50da416c3ac9: Pulling fs layer [2023-11-08T18:30:28.901Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T18:30:28.901Z] ad3a456e5733: Waiting [2023-11-08T18:30:28.901Z] 33e27b845d1e: Waiting [2023-11-08T18:30:28.901Z] c68163c4e522: Waiting [2023-11-08T18:30:28.901Z] 50da416c3ac9: Waiting [2023-11-08T18:30:28.901Z] 23d2d4c4bb30: Waiting [2023-11-08T18:30:28.901Z] c4d48a809fc2: Verifying Checksum [2023-11-08T18:30:28.901Z] c4d48a809fc2: Download complete [2023-11-08T18:30:28.901Z] ad3a456e5733: Download complete [2023-11-08T18:30:29.160Z] 33e27b845d1e: Verifying Checksum [2023-11-08T18:30:29.160Z] 33e27b845d1e: Download complete [2023-11-08T18:30:29.160Z] 7264a8db6415: Verifying Checksum [2023-11-08T18:30:29.160Z] 7264a8db6415: Download complete [2023-11-08T18:30:29.160Z] c68163c4e522: Verifying Checksum [2023-11-08T18:30:29.160Z] c68163c4e522: Download complete [2023-11-08T18:30:29.160Z] 7264a8db6415: Pull complete [2023-11-08T18:30:29.425Z] c4d48a809fc2: Pull complete [2023-11-08T18:30:29.684Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T18:30:29.684Z] 23d2d4c4bb30: Download complete [2023-11-08T18:30:29.684Z] 4f1c88b9dad5: Download complete [2023-11-08T18:30:30.253Z] 50da416c3ac9: Verifying Checksum [2023-11-08T18:30:30.253Z] 50da416c3ac9: Download complete [2023-11-08T18:30:33.591Z] 4f1c88b9dad5: Pull complete [2023-11-08T18:30:33.591Z] ad3a456e5733: Pull complete [2023-11-08T18:30:33.591Z] 33e27b845d1e: Pull complete [2023-11-08T18:30:33.591Z] c68163c4e522: Pull complete [2023-11-08T18:30:36.126Z] 50da416c3ac9: Pull complete [2023-11-08T18:30:36.386Z] 23d2d4c4bb30: Pull complete [2023-11-08T18:30:36.386Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T18:30:36.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T18:30:36.386Z] ---> 0786185ac409 [2023-11-08T18:30:36.386Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:30:41.808Z] Still waiting to schedule task [2023-11-08T18:30:41.808Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17046’ [2023-11-08T18:30:44.516Z] ---> Running in fa53b70dacb5 [2023-11-08T18:30:44.517Z] Removing intermediate container fa53b70dacb5 [2023-11-08T18:30:44.517Z] ---> 9e1f7ff7cd45 [2023-11-08T18:30:44.517Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:30:44.517Z] ---> Running in b1f075a30111 [2023-11-08T18:30:44.517Z] Removing intermediate container b1f075a30111 [2023-11-08T18:30:44.517Z] ---> 6e432ea0a280 [2023-11-08T18:30:44.517Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:30:44.517Z] ---> Running in a5bf34f611aa [2023-11-08T18:30:44.517Z] Removing intermediate container a5bf34f611aa [2023-11-08T18:30:44.517Z] ---> 6cb263ca826d [2023-11-08T18:30:44.517Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:30:44.517Z] ---> Running in 294ab2254920 [2023-11-08T18:30:44.517Z] Removing intermediate container 294ab2254920 [2023-11-08T18:30:44.517Z] ---> 1808652cc3e4 [2023-11-08T18:30:44.517Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:30:44.517Z] ---> Running in 9f1498e5cca7 [2023-11-08T18:30:44.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:30:44.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:30:44.517Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T18:30:44.517Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T18:30:44.517Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T18:30:44.517Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T18:30:44.517Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:30:44.517Z] OK: 268 MiB in 56 packages [2023-11-08T18:30:45.087Z] Removing intermediate container 9f1498e5cca7 [2023-11-08T18:30:45.087Z] ---> b8f3541ce6e0 [2023-11-08T18:30:45.087Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-08T18:30:45.087Z] ---> Running in c9623ea6800b [2023-11-08T18:30:45.087Z] Removing intermediate container c9623ea6800b [2023-11-08T18:30:45.087Z] ---> aa547048e059 [2023-11-08T18:30:45.087Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T18:30:45.347Z] ---> cb8c1579e01e [2023-11-08T18:30:45.347Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:30:45.347Z] ---> Running in 5080ed8367f8 [2023-11-08T18:31:32.096Z] Removing intermediate container 5080ed8367f8 [2023-11-08T18:31:32.096Z] ---> 16eeacdf133f [2023-11-08T18:31:32.096Z] Step 11/12 : COPY . . [2023-11-08T18:31:32.096Z] ---> aab6dc4f2f5e [2023-11-08T18:31:32.096Z] Step 12/12 : RUN $MAKE [2023-11-08T18:31:32.096Z] ---> Running in af6bccf4413e [2023-11-08T18:31:32.096Z] noop [2023-11-08T18:31:32.096Z] Removing intermediate container af6bccf4413e [2023-11-08T18:31:32.096Z] ---> b844eb7c9e92 [2023-11-08T18:31:32.096Z] Successfully built b844eb7c9e92 [2023-11-08T18:31:32.096Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:31:32.532Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:31:32.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:31:32.685Z] prd-ubuntu20.04-docker-8c-8g-17047 does not seem to be running inside a container [2023-11-08T18:31:32.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-646 -v /w/workspace/gexfoundry_device-mqtt-go_PR-646:/w/workspace/gexfoundry_device-mqtt-go_PR-646:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T18:31:33.110Z] $ docker top 60038ad4303c88239b78127f7de7de5fb57fab4356698e86e3e5cf58cd88d320 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:31:33.507Z] + go version [2023-11-08T18:31:33.507Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T18:31:33.548Z] $ docker stop --time=1 60038ad4303c88239b78127f7de7de5fb57fab4356698e86e3e5cf58cd88d320 [2023-11-08T18:31:34.837Z] $ docker rm -f --volumes 60038ad4303c88239b78127f7de7de5fb57fab4356698e86e3e5cf58cd88d320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:31:35.552Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:31:35.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:31:35.693Z] prd-ubuntu20.04-docker-8c-8g-17047 does not seem to be running inside a container [2023-11-08T18:31:35.733Z] $ 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-646 -v /w/workspace/gexfoundry_device-mqtt-go_PR-646:/w/workspace/gexfoundry_device-mqtt-go_PR-646:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-08T18:31:36.079Z] $ docker top 3183ad425ccecb392c86f302a5e80ccba67e3df002f616c4942ac892e5796db3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:31:36.482Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-646 [Pipeline] fileExists [Pipeline] sh [2023-11-08T18:31:36.860Z] + make test [2023-11-08T18:31:36.860Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T18:31:38.239Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-08T18:31:50.462Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-08T18:31:50.462Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-08T18:31:50.462Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements [2023-11-08T18:31:57.032Z] go vet ./... [2023-11-08T18:32:00.319Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T18:32:00.320Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T18:32:00.578Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T18:32:00.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T18:32:00.662Z] $ docker stop --time=1 3183ad425ccecb392c86f302a5e80ccba67e3df002f616c4942ac892e5796db3 [2023-11-08T18:32:04.487Z] $ docker rm -f --volumes 3183ad425ccecb392c86f302a5e80ccba67e3df002f616c4942ac892e5796db3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:32:05.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T18:32:05.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T18:32:05.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:32:06.063Z] + ls -al . [2023-11-08T18:32:06.063Z] total 184 [2023-11-08T18:32:06.063Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:31 . [2023-11-08T18:32:06.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:29 .. [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:29 .dockerignore [2023-11-08T18:32:06.063Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:31 .git [2023-11-08T18:32:06.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:29 .github [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:29 .gitignore [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:29 .golangci.yml [2023-11-08T18:32:06.063Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:30 .semver [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 8 18:29 Attribution.txt [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 17522 Nov 8 18:29 CHANGELOG.md [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 1689 Nov 8 18:29 Dockerfile [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:29 GOVERNANCE.md [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 18:29 Jenkinsfile [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:29 LICENSE [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 8 18:29 Makefile [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:29 OWNERS.md [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 18:29 README.md [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:30 VERSION [2023-11-08T18:32:06.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:29 bin [2023-11-08T18:32:06.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:29 cmd [2023-11-08T18:32:06.063Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 8 18:31 coverage.out [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 8 18:29 go.mod [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:29 go.sum [2023-11-08T18:32:06.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:29 internal [2023-11-08T18:32:06.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:29 mock [2023-11-08T18:32:06.063Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:32:06.481Z] + 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=d71a6e5ed03d95373abe4b34c9acc21d52fee38c --label arch=amd64 --label version=0.0.0 . [2023-11-08T18:32:06.481Z] Sending build context to Docker daemon 6.59MB [2023-11-08T18:32:06.481Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:32:06.481Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-08T18:32:06.481Z] ---> b844eb7c9e92 [2023-11-08T18:32:06.481Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:32:06.740Z] ---> Running in f148df9c44ab [2023-11-08T18:32:06.740Z] Removing intermediate container f148df9c44ab [2023-11-08T18:32:06.740Z] ---> 4196be072d58 [2023-11-08T18:32:06.740Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:32:06.740Z] ---> Running in 57ee92bb0493 [2023-11-08T18:32:06.740Z] Removing intermediate container 57ee92bb0493 [2023-11-08T18:32:06.740Z] ---> 8ee7a3a7cb1d [2023-11-08T18:32:06.740Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:32:07.001Z] ---> Running in 4eec64a90028 [2023-11-08T18:32:07.001Z] Removing intermediate container 4eec64a90028 [2023-11-08T18:32:07.001Z] ---> 4e3ecf527048 [2023-11-08T18:32:07.001Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:32:07.001Z] ---> Running in b8015b1b45f1 [2023-11-08T18:32:07.001Z] Removing intermediate container b8015b1b45f1 [2023-11-08T18:32:07.001Z] ---> 9ba75bd582a8 [2023-11-08T18:32:07.001Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:32:07.001Z] ---> Running in 41449a34dfda [2023-11-08T18:32:07.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:32:07.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:32:07.779Z] OK: 268 MiB in 56 packages [2023-11-08T18:32:08.039Z] Removing intermediate container 41449a34dfda [2023-11-08T18:32:08.039Z] ---> ad30549ff680 [2023-11-08T18:32:08.039Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-11-08T18:32:08.039Z] ---> Running in 45f9dfa2ee2a [2023-11-08T18:32:08.039Z] Removing intermediate container 45f9dfa2ee2a [2023-11-08T18:32:08.039Z] ---> 74bf0fafc825 [2023-11-08T18:32:08.039Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-08T18:32:08.299Z] ---> a0c62e170906 [2023-11-08T18:32:08.299Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:32:08.299Z] ---> Running in 84e1beef2d3c [2023-11-08T18:32:08.869Z] Removing intermediate container 84e1beef2d3c [2023-11-08T18:32:08.869Z] ---> c46c69f91419 [2023-11-08T18:32:08.869Z] Step 11/24 : COPY . . [2023-11-08T18:32:09.440Z] ---> 472ea95b328d [2023-11-08T18:32:09.440Z] Step 12/24 : RUN $MAKE [2023-11-08T18:32:09.440Z] ---> Running in 48fa354b77cb [2023-11-08T18:32:09.698Z] 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" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-08T18:32:48.482Z] Removing intermediate container 48fa354b77cb [2023-11-08T18:32:48.482Z] ---> 5cfb5cfa375d [2023-11-08T18:32:48.482Z] Step 13/24 : FROM alpine:3.18 [2023-11-08T18:32:48.482Z] 3.18: Pulling from library/alpine [2023-11-08T18:32:48.482Z] 96526aa774ef: Pulling fs layer [2023-11-08T18:32:48.482Z] 96526aa774ef: Verifying Checksum [2023-11-08T18:32:48.482Z] 96526aa774ef: Download complete [2023-11-08T18:32:48.482Z] 96526aa774ef: Pull complete [2023-11-08T18:32:48.482Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T18:32:48.750Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T18:32:48.750Z] ---> 8ca4688f4f35 [2023-11-08T18:32:48.750Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-08T18:32:51.288Z] ---> Running in 276dec069dde [2023-11-08T18:32:53.823Z] Removing intermediate container 276dec069dde [2023-11-08T18:32:53.823Z] ---> 7771b0f88418 [2023-11-08T18:32:53.823Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-11-08T18:32:55.732Z] ---> Running in 4595ed8f1b1b [2023-11-08T18:32:57.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:32:57.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:32:57.896Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T18:32:57.896Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:32:57.896Z] OK: 7 MiB in 16 packages [2023-11-08T18:33:03.251Z] Removing intermediate container 4595ed8f1b1b [2023-11-08T18:33:03.251Z] ---> 30c867de038e [2023-11-08T18:33:03.251Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-08T18:33:06.555Z] ---> f43e812a7467 [2023-11-08T18:33:06.555Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-08T18:33:07.936Z] ---> 9d8d057dfa27 [2023-11-08T18:33:07.936Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-08T18:33:09.841Z] ---> 3ab502b57cb8 [2023-11-08T18:33:09.841Z] Step 19/24 : EXPOSE 59982 [2023-11-08T18:33:11.217Z] ---> Running in 59bcb4495c6e [2023-11-08T18:33:12.159Z] Removing intermediate container 59bcb4495c6e [2023-11-08T18:33:12.160Z] ---> d50f2611c808 [2023-11-08T18:33:12.160Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-11-08T18:33:12.727Z] ---> Running in ea5ef73bfb81 [2023-11-08T18:33:13.301Z] Removing intermediate container ea5ef73bfb81 [2023-11-08T18:33:13.301Z] ---> af11a3b88c65 [2023-11-08T18:33:13.301Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T18:33:13.870Z] ---> Running in df70ccc5c4ff [2023-11-08T18:33:14.436Z] Removing intermediate container df70ccc5c4ff [2023-11-08T18:33:14.436Z] ---> 4fab6455f920 [2023-11-08T18:33:14.436Z] Step 22/24 : LABEL arch=amd64 [2023-11-08T18:33:14.693Z] ---> Running in 27f111733a95 [2023-11-08T18:33:14.694Z] Removing intermediate container 27f111733a95 [2023-11-08T18:33:14.694Z] ---> 452c9ce9e9a5 [2023-11-08T18:33:14.694Z] Step 23/24 : LABEL git_sha=d71a6e5ed03d95373abe4b34c9acc21d52fee38c [2023-11-08T18:33:14.694Z] ---> Running in 468fc8374765 [2023-11-08T18:33:14.694Z] Removing intermediate container 468fc8374765 [2023-11-08T18:33:14.694Z] ---> 4f1c49320ec6 [2023-11-08T18:33:14.694Z] Step 24/24 : LABEL version=0.0.0 [2023-11-08T18:33:14.694Z] ---> Running in 14b5ca9190cf [2023-11-08T18:33:14.797Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17049 in /w/workspace/gexfoundry_device-mqtt-go_PR-646 [Pipeline] { [Pipeline] ws [2023-11-08T18:33:14.855Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-11-08T18:33:14.938Z] The recommended git tool is: git [2023-11-08T18:33:14.953Z] Removing intermediate container 14b5ca9190cf [2023-11-08T18:33:14.953Z] ---> 91b87dad4160 [2023-11-08T18:33:14.953Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T18:33:14.953Z] Successfully built 91b87dad4160 [2023-11-08T18:33:14.953Z] 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-11-08T18:33:15.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:33:15.948Z] [2023-11-08T18:33:15.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:33:16.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:33:16.319Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T18:33:16.319Z] 5eb5b503b376: Pulling fs layer [2023-11-08T18:33:16.319Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T18:33:16.319Z] ec43610c2a17: Pulling fs layer [2023-11-08T18:33:16.319Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T18:33:16.319Z] 33b1e0a273af: Pulling fs layer [2023-11-08T18:33:16.319Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T18:33:16.319Z] 2f39f015ded8: Pulling fs layer [2023-11-08T18:33:16.319Z] 33b1e0a273af: Waiting [2023-11-08T18:33:16.319Z] 2f39f015ded8: Waiting [2023-11-08T18:33:16.319Z] 3a2ae6a8a46f: Waiting [2023-11-08T18:33:16.319Z] 5c69ac0246d0: Download complete [2023-11-08T18:33:16.319Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T18:33:16.319Z] 3a2ae6a8a46f: Download complete [2023-11-08T18:33:16.319Z] 33b1e0a273af: Verifying Checksum [2023-11-08T18:33:16.319Z] 33b1e0a273af: Download complete [2023-11-08T18:33:16.578Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T18:33:16.578Z] 5d3b04190fa2: Download complete [2023-11-08T18:33:16.578Z] ec43610c2a17: Verifying Checksum [2023-11-08T18:33:16.578Z] ec43610c2a17: Download complete [2023-11-08T18:33:16.578Z] 5eb5b503b376: Verifying Checksum [2023-11-08T18:33:16.578Z] 5eb5b503b376: Download complete [2023-11-08T18:33:17.510Z] 2f39f015ded8: Verifying Checksum [2023-11-08T18:33:17.510Z] 2f39f015ded8: Download complete [2023-11-08T18:33:17.768Z] 5eb5b503b376: Pull complete [2023-11-08T18:33:17.768Z] 5c69ac0246d0: Pull complete [2023-11-08T18:33:18.333Z] ec43610c2a17: Pull complete [2023-11-08T18:33:18.333Z] 3a2ae6a8a46f: Pull complete [2023-11-08T18:33:18.591Z] 33b1e0a273af: Pull complete [2023-11-08T18:33:18.591Z] 5d3b04190fa2: Pull complete [2023-11-08T18:33:20.944Z] using credential edgex-jenkins-ssh [2023-11-08T18:33:20.976Z] Cloning the remote Git repository [2023-11-08T18:33:21.034Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-08T18:33:21.150Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-11-08T18:33:21.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-08T18:33:21.316Z] > git --version # timeout=10 [2023-11-08T18:33:21.342Z] > git --version # 'git version 2.25.1' [2023-11-08T18:33:21.345Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:33:21.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:33:22.768Z] 2f39f015ded8: Pull complete [2023-11-08T18:33:22.768Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T18:33:22.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:33:22.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:33:22.994Z] prd-ubuntu20.04-docker-8c-8g-17047 does not seem to be running inside a container [2023-11-08T18:33:23.039Z] $ 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-646 -v /w/workspace/gexfoundry_device-mqtt-go_PR-646:/w/workspace/gexfoundry_device-mqtt-go_PR-646:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T18:33:22.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-08T18:33:22.705Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:33:23.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-08T18:33:23.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-08T18:33:23.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:33:23.667Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/646/head:refs/remotes/origin/PR-646 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-08T18:33:24.323Z] Merging remotes/origin/main commit daf9656040259007f9ff9da57e54fb024fb8fec3 into PR head commit d71a6e5ed03d95373abe4b34c9acc21d52fee38c [2023-11-08T18:33:24.618Z] Merge succeeded, producing d71a6e5ed03d95373abe4b34c9acc21d52fee38c [2023-11-08T18:33:24.619Z] Checking out Revision d71a6e5ed03d95373abe4b34c9acc21d52fee38c (PR-646) [2023-11-08T18:33:24.344Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:33:24.430Z] > git checkout -f d71a6e5ed03d95373abe4b34c9acc21d52fee38c # timeout=10 [2023-11-08T18:33:24.512Z] > git remote # timeout=10 [2023-11-08T18:33:24.532Z] > git config --get remote.origin.url # timeout=10 [2023-11-08T18:33:24.559Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:33:24.574Z] > git merge daf9656040259007f9ff9da57e54fb024fb8fec3 # timeout=10 [2023-11-08T18:33:24.602Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-08T18:33:24.627Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:33:24.644Z] > git checkout -f d71a6e5ed03d95373abe4b34c9acc21d52fee38c # timeout=10 [2023-11-08T18:33:28.120Z] Commit message: "build: Update go mod for Napa" [2023-11-08T18:33:28.179Z] > git --version # timeout=10 [2023-11-08T18:33:28.192Z] > git --version # 'git version 2.25.1' [2023-11-08T18:33:28.209Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:33:28.561Z] [2023-11-08T18:33:28.561Z] GitHub has been notified of this commit’s build result [2023-11-08T18:33:28.561Z] [2023-11-08T18:33:28.834Z] $ docker top b6016bb38766199ec7dfc9d514e7b0b184cf75a8ad50938b8354650dd0e41bcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-11-08T18:33:29.271Z] ---> job-cost.sh [2023-11-08T18:33:29.271Z] lf-activate-venv: SKIPPING [2023-11-08T18:33:29.271Z] INFO: No Stack... [Pipeline] sh [2023-11-08T18:33:29.530Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:33:29.766Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T18:33:29.766Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T18:33:29.766Z] Dload Upload Total Spent Left Speed [2023-11-08T18:33:29.766Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 182k 0 --:--:-- --:--:-- --:--:-- 182k [2023-11-08T18:33:29.790Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:33:30.102Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives/cost.csv [2023-11-08T18:33:30.102Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T18:33:30.155Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] [2023-11-08T18:33:30.160Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] did not exist. Created. [2023-11-08T18:33:30.160Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh [2023-11-08T18:33:30.571Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T18:33:30.646Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T18:33:30.763Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:33:30.798Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:33:30.889Z] $ docker stop --time=1 b6016bb38766199ec7dfc9d514e7b0b184cf75a8ad50938b8354650dd0e41bcf [2023-11-08T18:33:30.961Z] + sudo tee /etc/docker/daemon.new [2023-11-08T18:33:30.961Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T18:33:30.961Z] { [2023-11-08T18:33:30.961Z] "registry-mirrors": [ [2023-11-08T18:33:30.961Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T18:33:30.961Z] ], [2023-11-08T18:33:30.961Z] "bip": "10.250.0.254/24", [2023-11-08T18:33:30.961Z] "hosts": [ [2023-11-08T18:33:30.961Z] "tcp://0.0.0.0:5555", [2023-11-08T18:33:30.961Z] "unix:///var/run/docker.sock" [2023-11-08T18:33:30.961Z] ], [2023-11-08T18:33:30.961Z] "mtu": 1458, [2023-11-08T18:33:30.961Z] "selinux-enabled": true, [2023-11-08T18:33:30.961Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T18:33:30.961Z] } [2023-11-08T18:33:32.044Z] $ docker rm -f --volumes b6016bb38766199ec7dfc9d514e7b0b184cf75a8ad50938b8354650dd0e41bcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T18:33:32.496Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T18:33:33.103Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:33:51.447Z] provisioning config files... [2023-11-08T18:33:51.478Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5127091201681632745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:33:51.886Z] ---> docker-login.sh [2023-11-08T18:33:51.886Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:33:52.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:33:52.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:33:52.481Z] Configure a credential helper to remove this warning. See [2023-11-08T18:33:52.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:33:52.481Z] [2023-11-08T18:33:52.481Z] Login Succeeded [2023-11-08T18:33:52.481Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:33:52.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:33:53.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:33:53.029Z] Configure a credential helper to remove this warning. See [2023-11-08T18:33:53.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:33:53.029Z] [2023-11-08T18:33:53.029Z] Login Succeeded [2023-11-08T18:33:53.029Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:33:53.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:33:53.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:33:53.302Z] Configure a credential helper to remove this warning. See [2023-11-08T18:33:53.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:33:53.302Z] [2023-11-08T18:33:53.302Z] Login Succeeded [2023-11-08T18:33:53.302Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:33:53.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:33:53.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:33:53.850Z] Configure a credential helper to remove this warning. See [2023-11-08T18:33:53.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:33:53.850Z] [2023-11-08T18:33:53.850Z] Login Succeeded [2023-11-08T18:33:53.850Z] docker.io [2023-11-08T18:33:54.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:33:54.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:33:54.405Z] Configure a credential helper to remove this warning. See [2023-11-08T18:33:54.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:33:54.405Z] [2023-11-08T18:33:54.405Z] Login Succeeded [2023-11-08T18:33:54.405Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:33:54.445Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:33:54.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:33:54.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:33:55.020Z] ========================================================= [2023-11-08T18:33:55.020Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T18:33:55.020Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:33:55.536Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T18:33:55.809Z] Sending build context to Docker daemon 3.384MB [2023-11-08T18:33:55.809Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:33:55.809Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T18:33:56.083Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T18:33:56.083Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T18:33:56.083Z] 5d54e960e981: Pulling fs layer [2023-11-08T18:33:56.083Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T18:33:56.083Z] f0e02332f6b5: Pulling fs layer [2023-11-08T18:33:56.083Z] cefa15bbcfad: Pulling fs layer [2023-11-08T18:33:56.083Z] 17808c966233: Pulling fs layer [2023-11-08T18:33:56.083Z] f4c1fc716caa: Pulling fs layer [2023-11-08T18:33:56.083Z] f0e02332f6b5: Waiting [2023-11-08T18:33:56.083Z] cefa15bbcfad: Waiting [2023-11-08T18:33:56.083Z] 17808c966233: Waiting [2023-11-08T18:33:56.083Z] f4c1fc716caa: Waiting [2023-11-08T18:33:56.083Z] 5d54e960e981: Verifying Checksum [2023-11-08T18:33:56.083Z] 5d54e960e981: Download complete [2023-11-08T18:33:56.083Z] f0e02332f6b5: Verifying Checksum [2023-11-08T18:33:56.083Z] f0e02332f6b5: Download complete [2023-11-08T18:33:56.083Z] cefa15bbcfad: Verifying Checksum [2023-11-08T18:33:56.083Z] cefa15bbcfad: Download complete [2023-11-08T18:33:56.363Z] 9fda8d8052c6: Verifying Checksum [2023-11-08T18:33:56.363Z] 9fda8d8052c6: Download complete [2023-11-08T18:33:56.638Z] f4c1fc716caa: Verifying Checksum [2023-11-08T18:33:56.638Z] f4c1fc716caa: Download complete [2023-11-08T18:33:57.623Z] 9fda8d8052c6: Pull complete [2023-11-08T18:33:57.895Z] 5d54e960e981: Pull complete [2023-11-08T18:33:58.165Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T18:33:58.165Z] c4a7e357bf2a: Download complete [2023-11-08T18:33:59.591Z] 17808c966233: Verifying Checksum [2023-11-08T18:33:59.591Z] 17808c966233: Download complete [2023-11-08T18:34:11.925Z] c4a7e357bf2a: Pull complete [2023-11-08T18:34:17.272Z] f0e02332f6b5: Pull complete [2023-11-08T18:34:17.273Z] cefa15bbcfad: Pull complete [2023-11-08T18:34:25.496Z] 17808c966233: Pull complete [2023-11-08T18:34:26.918Z] f4c1fc716caa: Pull complete [2023-11-08T18:34:26.918Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T18:34:26.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T18:34:26.918Z] ---> ea914061e18c [2023-11-08T18:34:26.918Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:34:29.508Z] ---> Running in baf2210247dd [2023-11-08T18:34:29.508Z] Removing intermediate container baf2210247dd [2023-11-08T18:34:29.508Z] ---> f343f57601c9 [2023-11-08T18:34:29.508Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:34:29.508Z] ---> Running in 11e63749646a [2023-11-08T18:34:30.169Z] Removing intermediate container 11e63749646a [2023-11-08T18:34:30.169Z] ---> ef595d0fbd72 [2023-11-08T18:34:30.169Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:34:30.169Z] ---> Running in 5a4e1a4f0e3f [2023-11-08T18:34:30.437Z] Removing intermediate container 5a4e1a4f0e3f [2023-11-08T18:34:30.437Z] ---> cd86df88b111 [2023-11-08T18:34:30.437Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:34:30.704Z] ---> Running in 6697f1f9bbf9 [2023-11-08T18:34:30.973Z] Removing intermediate container 6697f1f9bbf9 [2023-11-08T18:34:30.973Z] ---> 3d46b7497dcc [2023-11-08T18:34:30.973Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:34:30.973Z] ---> Running in 53d00f84c1d3 [2023-11-08T18:34:32.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:34:32.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:34:34.132Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T18:34:34.132Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T18:34:34.132Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T18:34:34.132Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T18:34:34.132Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:34:34.402Z] OK: 270 MiB in 56 packages [2023-11-08T18:34:35.379Z] Removing intermediate container 53d00f84c1d3 [2023-11-08T18:34:35.379Z] ---> b33b0e4c9e59 [2023-11-08T18:34:35.379Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-08T18:34:35.649Z] ---> Running in 7e4d05d15721 [2023-11-08T18:34:35.917Z] Removing intermediate container 7e4d05d15721 [2023-11-08T18:34:35.917Z] ---> 5440586e1a2f [2023-11-08T18:34:35.917Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T18:34:36.506Z] ---> c350e22c6509 [2023-11-08T18:34:36.506Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:34:36.506Z] ---> Running in 9c24843f2270 [2023-11-08T18:35:58.171Z] Removing intermediate container 9c24843f2270 [2023-11-08T18:35:58.171Z] ---> 51de04ec6e92 [2023-11-08T18:35:58.171Z] Step 11/12 : COPY . . [2023-11-08T18:35:58.171Z] ---> 84ab2c841d03 [2023-11-08T18:35:58.171Z] Step 12/12 : RUN $MAKE [2023-11-08T18:35:58.171Z] ---> Running in ad32344a4a9a [2023-11-08T18:35:58.171Z] noop [2023-11-08T18:35:58.171Z] Removing intermediate container ad32344a4a9a [2023-11-08T18:35:58.171Z] ---> 6d328995c20c [2023-11-08T18:35:58.171Z] Successfully built 6d328995c20c [2023-11-08T18:35:58.171Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:35:58.659Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:35:58.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:35:58.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-17049 does not seem to be running inside a container [2023-11-08T18:35:59.004Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:36:00.213Z] $ docker top a2e36bd984f457a1bdc1bd659d01d432940853353c4b28a83118c374a1aa3020 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:36:01.099Z] + go version [2023-11-08T18:36:01.099Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T18:36:01.133Z] $ docker stop --time=1 a2e36bd984f457a1bdc1bd659d01d432940853353c4b28a83118c374a1aa3020 [2023-11-08T18:36:02.824Z] $ docker rm -f --volumes a2e36bd984f457a1bdc1bd659d01d432940853353c4b28a83118c374a1aa3020 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:36:03.725Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:36:03.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:36:04.034Z] prd-ubuntu20.04-docker-arm64-4c-16g-17049 does not seem to be running inside a container [2023-11-08T18:36:04.105Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:36:05.381Z] $ docker top 59309b2aa5eb7ad1b522ea609fd955057d10554f7f14f29d5fce1131ceb943b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:36:06.279Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-08T18:36:07.019Z] + make test [2023-11-08T18:36:07.019Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T18:36:11.319Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-08T18:38:03.005Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-08T18:38:03.005Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-08T18:38:03.005Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 22.8% of statements [2023-11-08T18:38:03.005Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T18:38:03.005Z] go vet ./... [2023-11-08T18:38:35.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T18:38:35.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T18:38:35.301Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T18:38:35.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T18:38:35.380Z] $ docker stop --time=1 59309b2aa5eb7ad1b522ea609fd955057d10554f7f14f29d5fce1131ceb943b9 [2023-11-08T18:38:37.460Z] $ docker rm -f --volumes 59309b2aa5eb7ad1b522ea609fd955057d10554f7f14f29d5fce1131ceb943b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:38:38.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T18:38:38.912Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T18:38:39.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:38:40.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:38:40.428Z] + ls -al . [2023-11-08T18:38:40.428Z] total 180 [2023-11-08T18:38:40.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:36 . [2023-11-08T18:38:40.428Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:33 .. [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:33 .dockerignore [2023-11-08T18:38:40.428Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:33 .git [2023-11-08T18:38:40.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:33 .github [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:33 .gitignore [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:33 .golangci.yml [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 8 18:33 Attribution.txt [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 17522 Nov 8 18:33 CHANGELOG.md [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 1689 Nov 8 18:33 Dockerfile [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:33 GOVERNANCE.md [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 18:33 Jenkinsfile [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:33 LICENSE [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 8 18:33 Makefile [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:33 OWNERS.md [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 18:33 README.md [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:30 VERSION [2023-11-08T18:38:40.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:33 bin [2023-11-08T18:38:40.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:33 cmd [2023-11-08T18:38:40.428Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 8 18:37 coverage.out [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 8 18:33 go.mod [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:33 go.sum [2023-11-08T18:38:40.428Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:33 internal [2023-11-08T18:38:40.428Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:33 mock [2023-11-08T18:38:40.428Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 18:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:38:40.853Z] + 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=d71a6e5ed03d95373abe4b34c9acc21d52fee38c --label arch=arm64 --label version=0.0.0 . [2023-11-08T18:38:41.121Z] Sending build context to Docker daemon 3.403MB [2023-11-08T18:38:41.389Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T18:38:41.389Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-08T18:38:41.389Z] ---> 6d328995c20c [2023-11-08T18:38:41.389Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-11-08T18:38:41.389Z] ---> Running in bf6ed49ad183 [2023-11-08T18:38:41.972Z] Removing intermediate container bf6ed49ad183 [2023-11-08T18:38:41.972Z] ---> 73e1c62a8da1 [2023-11-08T18:38:41.972Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T18:38:41.972Z] ---> Running in bbea368fcc9d [2023-11-08T18:38:42.559Z] Removing intermediate container bbea368fcc9d [2023-11-08T18:38:42.559Z] ---> 690e22a5b1d7 [2023-11-08T18:38:42.559Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T18:38:42.559Z] ---> Running in 91950d62ec30 [2023-11-08T18:38:43.146Z] Removing intermediate container 91950d62ec30 [2023-11-08T18:38:43.146Z] ---> c27c46e927d3 [2023-11-08T18:38:43.146Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T18:38:43.414Z] ---> Running in 4837017dd26b [2023-11-08T18:38:43.682Z] Removing intermediate container 4837017dd26b [2023-11-08T18:38:43.682Z] ---> 2fc32fc1d431 [2023-11-08T18:38:43.682Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T18:38:43.682Z] ---> Running in d55c1c477877 [2023-11-08T18:38:45.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:45.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:47.043Z] OK: 270 MiB in 56 packages [2023-11-08T18:38:48.450Z] Removing intermediate container d55c1c477877 [2023-11-08T18:38:48.450Z] ---> 8024d0770660 [2023-11-08T18:38:48.450Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-11-08T18:38:48.450Z] ---> Running in 73a2ec181334 [2023-11-08T18:38:48.723Z] Removing intermediate container 73a2ec181334 [2023-11-08T18:38:48.723Z] ---> 1f269d885845 [2023-11-08T18:38:48.723Z] Step 9/24 : COPY go.mod vendor* ./ [2023-11-08T18:38:50.672Z] ---> b61336b51a51 [2023-11-08T18:38:50.672Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T18:38:50.672Z] ---> Running in 1dc90b181e8c [2023-11-08T18:38:56.056Z] Removing intermediate container 1dc90b181e8c [2023-11-08T18:38:56.056Z] ---> 13dc44cd38db [2023-11-08T18:38:56.056Z] Step 11/24 : COPY . . [2023-11-08T18:38:57.019Z] ---> 16dcc31a82a2 [2023-11-08T18:38:57.019Z] Step 12/24 : RUN $MAKE [2023-11-08T18:38:57.287Z] ---> Running in 25379eff28bb [2023-11-08T18:38:58.256Z] 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" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-08T18:40:49.918Z] Removing intermediate container 25379eff28bb [2023-11-08T18:40:49.918Z] ---> f4352e98aca4 [2023-11-08T18:40:49.918Z] Step 13/24 : FROM alpine:3.18 [2023-11-08T18:40:49.918Z] 3.18: Pulling from library/alpine [2023-11-08T18:40:49.918Z] 579b34f0a95b: Pulling fs layer [2023-11-08T18:40:50.183Z] 579b34f0a95b: Download complete [2023-11-08T18:40:51.141Z] 579b34f0a95b: Pull complete [2023-11-08T18:40:51.141Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T18:40:51.141Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T18:40:51.141Z] ---> 3cc203321400 [2023-11-08T18:40:51.141Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-08T18:40:51.141Z] ---> Running in 2ddd1265c6e6 [2023-11-08T18:40:51.408Z] Removing intermediate container 2ddd1265c6e6 [2023-11-08T18:40:51.408Z] ---> dc4488696549 [2023-11-08T18:40:51.408Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-11-08T18:40:51.408Z] ---> Running in 16b1d654d3ca [2023-11-08T18:40:52.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:40:53.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:40:54.048Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T18:40:54.048Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T18:40:54.048Z] OK: 8 MiB in 16 packages [2023-11-08T18:40:55.025Z] Removing intermediate container 16b1d654d3ca [2023-11-08T18:40:55.025Z] ---> 6ab229247c18 [2023-11-08T18:40:55.025Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-08T18:40:56.456Z] ---> 872d05e1dfd9 [2023-11-08T18:40:56.456Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-08T18:40:57.042Z] ---> be0bbfcc7d3e [2023-11-08T18:40:57.042Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-08T18:40:57.627Z] ---> 2eff665bc1ef [2023-11-08T18:40:57.627Z] Step 19/24 : EXPOSE 59982 [2023-11-08T18:40:57.627Z] ---> Running in 7149b1a1268c [2023-11-08T18:40:57.891Z] Removing intermediate container 7149b1a1268c [2023-11-08T18:40:57.892Z] ---> 9b6104880997 [2023-11-08T18:40:57.892Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-11-08T18:40:58.159Z] ---> Running in c6025a198ed4 [2023-11-08T18:40:58.426Z] Removing intermediate container c6025a198ed4 [2023-11-08T18:40:58.426Z] ---> 5d5655afd23d [2023-11-08T18:40:58.426Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T18:40:58.426Z] ---> Running in 2861f1b0eb4d [2023-11-08T18:40:58.696Z] Removing intermediate container 2861f1b0eb4d [2023-11-08T18:40:58.696Z] ---> 05cc7caf2e26 [2023-11-08T18:40:58.696Z] Step 22/24 : LABEL arch=arm64 [2023-11-08T18:40:58.961Z] ---> Running in 932057a3ad8c [2023-11-08T18:40:59.226Z] Removing intermediate container 932057a3ad8c [2023-11-08T18:40:59.226Z] ---> 352141e134a7 [2023-11-08T18:40:59.226Z] Step 23/24 : LABEL git_sha=d71a6e5ed03d95373abe4b34c9acc21d52fee38c [2023-11-08T18:40:59.226Z] ---> Running in cc9c6d58a0bd [2023-11-08T18:40:59.493Z] Removing intermediate container cc9c6d58a0bd [2023-11-08T18:40:59.493Z] ---> e85e639b052c [2023-11-08T18:40:59.493Z] Step 24/24 : LABEL version=0.0.0 [2023-11-08T18:40:59.767Z] ---> Running in c1e62e2ff59e [2023-11-08T18:41:00.033Z] Removing intermediate container c1e62e2ff59e [2023-11-08T18:41:00.033Z] ---> 00e0cf98526a [2023-11-08T18:41:00.033Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T18:41:00.033Z] Successfully built 00e0cf98526a [2023-11-08T18:41:00.033Z] 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-11-08T18:41:00.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:41:00.875Z] [2023-11-08T18:41:00.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:41:01.271Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:41:01.855Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T18:41:01.856Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T18:41:01.856Z] 04944245beec: Pulling fs layer [2023-11-08T18:41:01.856Z] 699f458cf7ca: Pulling fs layer [2023-11-08T18:41:01.856Z] 765212b225bb: Pulling fs layer [2023-11-08T18:41:01.856Z] f23df028b6ca: Pulling fs layer [2023-11-08T18:41:01.856Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T18:41:01.856Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T18:41:01.856Z] f23df028b6ca: Waiting [2023-11-08T18:41:01.856Z] 765212b225bb: Waiting [2023-11-08T18:41:01.856Z] d65c8cfc05b1: Waiting [2023-11-08T18:41:01.856Z] 2437ff75d9bd: Waiting [2023-11-08T18:41:01.856Z] 04944245beec: Verifying Checksum [2023-11-08T18:41:01.856Z] 04944245beec: Download complete [2023-11-08T18:41:01.856Z] 765212b225bb: Verifying Checksum [2023-11-08T18:41:01.856Z] 765212b225bb: Download complete [2023-11-08T18:41:01.856Z] f23df028b6ca: Verifying Checksum [2023-11-08T18:41:01.856Z] f23df028b6ca: Download complete [2023-11-08T18:41:01.856Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T18:41:01.856Z] d65c8cfc05b1: Download complete [2023-11-08T18:41:02.125Z] 699f458cf7ca: Verifying Checksum [2023-11-08T18:41:02.125Z] 699f458cf7ca: Download complete [2023-11-08T18:41:02.392Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T18:41:02.392Z] 8998bd30e6a1: Download complete [2023-11-08T18:41:04.976Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T18:41:04.976Z] 2437ff75d9bd: Download complete [2023-11-08T18:41:07.555Z] 8998bd30e6a1: Pull complete [2023-11-08T18:41:07.555Z] 04944245beec: Pull complete [2023-11-08T18:41:09.500Z] 699f458cf7ca: Pull complete [2023-11-08T18:41:09.500Z] 765212b225bb: Pull complete [2023-11-08T18:41:10.462Z] f23df028b6ca: Pull complete [2023-11-08T18:41:10.463Z] d65c8cfc05b1: Pull complete [2023-11-08T18:41:28.671Z] 2437ff75d9bd: Pull complete [2023-11-08T18:41:28.671Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T18:41:28.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:41:28.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:41:29.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-17049 does not seem to be running inside a container [2023-11-08T18:41:29.070Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-08T18:41:31.929Z] $ docker top b7d2aa25d52c246d8f5f62dd2e643062cd4f96fe70eafbe40d851d6c497e48bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:32.539Z] ---> job-cost.sh [2023-11-08T18:41:32.807Z] lf-activate-venv: SKIPPING [2023-11-08T18:41:32.807Z] INFO: No Stack... [2023-11-08T18:41:33.073Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T18:41:34.029Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:41:34.690Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-11-08T18:41:34.690Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T18:41:34.768Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] [2023-11-08T18:41:34.773Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] did not exist. Created. [2023-11-08T18:41:34.773Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:41:35.495Z] /w/workspace/device-mqtt-go/1@tmp/durable-3ac3a022/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T18:41:36.161Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T18:41:36.193Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T18:41:36.244Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:41:36.259Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-646-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:41:36.339Z] $ docker stop --time=1 b7d2aa25d52c246d8f5f62dd2e643062cd4f96fe70eafbe40d851d6c497e48bc [2023-11-08T18:41:37.885Z] $ docker rm -f --volumes b7d2aa25d52c246d8f5f62dd2e643062cd4f96fe70eafbe40d851d6c497e48bc [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-11-08T18:41:38.888Z] provisioning config files... [2023-11-08T18:41:38.895Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/config13009622627376539182tmp [Pipeline] { [Pipeline] sh [2023-11-08T18:41:39.234Z] + set +x [2023-11-08T18:41:39.234Z] + curl -s https://codecov.io/bash [2023-11-08T18:41:39.234Z] + bash -s -- [2023-11-08T18:41:39.234Z] [2023-11-08T18:41:39.234Z] _____ _ [2023-11-08T18:41:39.234Z] / ____| | | [2023-11-08T18:41:39.234Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T18:41:39.234Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T18:41:39.234Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T18:41:39.234Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T18:41:39.234Z] Bash-1.0.6 [2023-11-08T18:41:39.234Z] [2023-11-08T18:41:39.234Z] [2023-11-08T18:41:39.234Z] ==> git version 2.25.1 found [2023-11-08T18:41:39.234Z] ==> 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-11-08T18:41:39.234Z] Release-Date: 2020-01-08 [2023-11-08T18:41:39.234Z] 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-11-08T18:41:39.234Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T18:41:39.234Z] ==> Jenkins CI detected. [2023-11-08T18:41:39.234Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-646 [2023-11-08T18:41:39.234Z] project root: . [2023-11-08T18:41:39.234Z] --> token set from env [2023-11-08T18:41:39.234Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T18:41:39.234Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T18:41:39.234Z] ==> Python coveragepy not found [2023-11-08T18:41:39.234Z] ==> Searching for coverage reports in: [2023-11-08T18:41:39.234Z] + . [2023-11-08T18:41:39.234Z] -> Found 1 reports [2023-11-08T18:41:39.234Z] ==> Detecting git/mercurial file structure [2023-11-08T18:41:39.234Z] ==> Reading reports [2023-11-08T18:41:39.494Z] + ./coverage.out bytes=18506 [2023-11-08T18:41:39.494Z] ==> Appending adjustments [2023-11-08T18:41:39.494Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T18:41:39.494Z] + Found adjustments [2023-11-08T18:41:39.494Z] ==> Gzipping contents [2023-11-08T18:41:39.494Z] 4.0K /tmp/codecov.ClTYM0.gz [2023-11-08T18:41:39.494Z] ==> Uploading reports [2023-11-08T18:41:39.494Z] url: https://codecov.io [2023-11-08T18:41:39.494Z] query: branch=PR-646&commit=d71a6e5ed03d95373abe4b34c9acc21d52fee38c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=646&job=&cmd_args= [2023-11-08T18:41:39.494Z] -> Pinging Codecov [2023-11-08T18:41:39.494Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-646&commit=d71a6e5ed03d95373abe4b34c9acc21d52fee38c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=646&job=&cmd_args= [2023-11-08T18:41:39.494Z] -> Uploading to [2023-11-08T18:41:39.494Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/7D719EC7BBE17E464838252E33014C33/d71a6e5ed03d95373abe4b34c9acc21d52fee38c/ba6a79d7-952e-4260-9ba0-1b04b8b1c31d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T184139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4547598b419573ae1b58029c6eb1b5a1e8f95bca8e812f866afce4069ec2e02 [2023-11-08T18:41:39.494Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T18:41:39.494Z] Dload Upload Total Spent Left Speed [2023-11-08T18:41:39.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11863 --:--:-- --:--:-- --:--:-- 11863 [2023-11-08T18:41:40.012Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d71a6e5ed03d95373abe4b34c9acc21d52fee38c [Pipeline] } [2023-11-08T18:41:40.040Z] 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-11-08T18:41:41.737Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives ] [2023-11-08T18:41:41.738Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives [2023-11-08T18:41:41.738Z] total 16 [2023-11-08T18:41:41.738Z] drwxr-xr-x 3 root root 4096 Nov 8 18:33 . [2023-11-08T18:41:41.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:33 .. [2023-11-08T18:41:41.738Z] drwxr-xr-x 2 root root 4096 Nov 8 18:33 cost [2023-11-08T18:41:41.738Z] -rw-r--r-- 1 root root 86 Nov 8 18:33 cost.csv [2023-11-08T18:41:41.738Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives [2023-11-08T18:41:41.738Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives [2023-11-08T18:41:41.738Z] total 16 [2023-11-08T18:41:41.738Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:33 . [2023-11-08T18:41:41.738Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:33 .. [2023-11-08T18:41:41.738Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:33 cost [2023-11-08T18:41:41.738Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 18:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:42.062Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:42.950Z] ---> package-listing.sh [2023-11-08T18:41:42.950Z] ++ facter osfamily [2023-11-08T18:41:42.950Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T18:41:43.210Z] + OS_FAMILY=debian [2023-11-08T18:41:43.210Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-646 [2023-11-08T18:41:43.210Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T18:41:43.210Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T18:41:43.210Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T18:41:43.210Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T18:41:43.210Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-646 ']' [2023-11-08T18:41:43.210Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T18:41:43.210Z] + case "${OS_FAMILY}" in [2023-11-08T18:41:43.210Z] + dpkg -l [2023-11-08T18:41:43.210Z] + grep '^ii' [2023-11-08T18:41:43.210Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T18:41:43.210Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T18:41:43.210Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T18:41:43.210Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-646 ']' [2023-11-08T18:41:43.210Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives/ [2023-11-08T18:41:43.210Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-646/archives/ [Pipeline] echo [2023-11-08T18:41:43.245Z] 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-646/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T18:41:43.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:41:44.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:41:44.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:41:44.320Z] prd-ubuntu20.04-docker-8c-8g-17047 does not seem to be running inside a container [2023-11-08T18:41:44.373Z] $ 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-646/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-646 -v /w/workspace/gexfoundry_device-mqtt-go_PR-646:/w/workspace/gexfoundry_device-mqtt-go_PR-646:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-08T18:41:44.574Z] $ docker top 410fc8dc2e152b87dbf450db1e43f52430f8d0c31e350b2092a95d2d63c080e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:41:44.961Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T18:41:45.277Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T18:41:45.588Z] + ls /var/log/sa-host [2023-11-08T18:41:45.588Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:41:45.736Z] provisioning config files... [2023-11-08T18:41:45.744Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-646@tmp/config8646439018450750843tmp [Pipeline] { [Pipeline] echo [2023-11-08T18:41:45.792Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:46.110Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T18:41:46.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:46.550Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T18:41:46.583Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:46.899Z] ---> sudo-logs.sh [2023-11-08T18:41:46.899Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T18:41:46.987Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:47.302Z] ---> job-cost.sh [2023-11-08T18:41:47.303Z] lf-activate-venv: SKIPPING [2023-11-08T18:41:47.303Z] DEBUG: total: 0.2199999988079071 [2023-11-08T18:41:47.303Z] INFO: Retrieving Stack Cost... [2023-11-08T18:41:47.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:41:48.139Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T18:41:48.176Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:41:48.495Z] ---> logs-deploy.sh [2023-11-08T18:41:48.495Z] lf-activate-venv: SKIPPING [2023-11-08T18:41:48.495Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-646/1 [2023-11-08T18:41:48.495Z] INFO: archiving workspace using pattern(s): [2023-11-08T18:41:49.433Z] Archives upload complete. [2023-11-08T18:41:49.433Z] INFO: archiving logs to Nexus