Pull request #668 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d1605c55dffe9620e857c48c46dd1c59e7c1bef3+cece63dbd868ba4ffecf5f739a16bcebc59408bd (794b6ea095e0e021b0a1586167f281846602381e) 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-ssh11991671920689582252.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10506361704206821957.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-668/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-668/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4509073610821834063.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-668/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16902229851779375738.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13499741189276120408.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-668/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-668/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3659398240068467602.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-235 in /w/workspace/gexfoundry_device-mqtt-go_PR-668 [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-668 # 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/668/head:refs/remotes/origin/PR-668 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cece63dbd868ba4ffecf5f739a16bcebc59408bd into PR head commit d1605c55dffe9620e857c48c46dd1c59e7c1bef3 Merge succeeded, producing d1605c55dffe9620e857c48c46dd1c59e7c1bef3 Checking out Revision d1605c55dffe9620e857c48c46dd1c59e7c1bef3 (PR-668) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f d1605c55dffe9620e857c48c46dd1c59e7c1bef3 # 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 cece63dbd868ba4ffecf5f739a16bcebc59408bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1605c55dffe9620e857c48c46dd1c59e7c1bef3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-18T01:38:00.326Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-18T01:38:00.604Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-18T01:38:00.712Z] ========================================================= [2024-03-18T01:38:00.713Z] EdgeX Global Pipelines Version Info [2024-03-18T01:38:00.713Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:38:01.460Z] ------------------- [2024-03-18T01:38:01.460Z] stable info: [2024-03-18T01:38:01.460Z] ------------------- [2024-03-18T01:38:01.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-18T01:38:01.460Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-18T01:38:01.460Z] Message: update stable to v1.0.258 [2024-03-18T01:38:02.029Z] ------------------- [2024-03-18T01:38:02.029Z] experimental info: [2024-03-18T01:38:02.029Z] ------------------- [2024-03-18T01:38:02.029Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-18T01:38:02.029Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-18T01:38:02.029Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-18T01:38:02.230Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-03-18T01:38:02.277Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-03-18T01:38:02.327Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-18T01:38:02.375Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-18T01:38:02.426Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-18T01:38:02.468Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-18T01:38:02.511Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-18T01:38:02.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-18T01:38:02.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-18T01:38:02.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-18T01:38:02.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-18T01:38:02.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-03-18T01:38:02.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-18T01:38:02.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-18T01:38:02.903Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-18T01:38:02.955Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-18T01:38:03.007Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-18T01:38:03.053Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-18T01:38:03.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-18T01:38:03.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-18T01:38:03.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-18T01:38:03.276Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-18T01:38:03.330Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-18T01:38:03.383Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-18T01:38:03.436Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-18T01:38:03.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-18T01:38:03.548Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-18T01:38:03.597Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-668 [Pipeline] echo [2024-03-18T01:38:03.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-668 [Pipeline] echo [2024-03-18T01:38:03.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-668 [Pipeline] echo [2024-03-18T01:38:03.763Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [Pipeline] echo [2024-03-18T01:38:03.814Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1605c5 [Pipeline] echo [2024-03-18T01:38:03.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-18T01:38:04.001Z] provisioning config files... [2024-03-18T01:38:04.014Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/config8908421865023204920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:38:04.393Z] ---> ****-login.sh [2024-03-18T01:38:04.393Z] nexus3.edgexfoundry.org:10001 [2024-03-18T01:38:04.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:04.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:04.654Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:04.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:04.654Z] [2024-03-18T01:38:04.654Z] Login Succeeded [2024-03-18T01:38:04.654Z] nexus3.edgexfoundry.org:10002 [2024-03-18T01:38:04.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:04.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:04.924Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:04.924Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:04.924Z] [2024-03-18T01:38:04.924Z] Login Succeeded [2024-03-18T01:38:04.925Z] nexus3.edgexfoundry.org:10003 [2024-03-18T01:38:04.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:04.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:04.925Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:04.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:04.925Z] [2024-03-18T01:38:04.925Z] Login Succeeded [2024-03-18T01:38:04.925Z] nexus3.edgexfoundry.org:10004 [2024-03-18T01:38:04.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:05.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:05.183Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:05.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:05.184Z] [2024-03-18T01:38:05.184Z] Login Succeeded [2024-03-18T01:38:05.184Z] ****.io [2024-03-18T01:38:05.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:05.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:05.443Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:05.443Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:05.443Z] [2024-03-18T01:38:05.443Z] Login Succeeded [2024-03-18T01:38:05.443Z] ---> ****-login.sh ends [Pipeline] } [2024-03-18T01:38:05.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-18T01:38:06.169Z] + git rev-list -1 --merges d1605c55dffe9620e857c48c46dd1c59e7c1bef3~1..d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [Pipeline] echo [2024-03-18T01:38:06.212Z] -----------> git rev-list -1 --merges d1605c55dffe9620e857c48c46dd1c59e7c1bef3~1..d1605c55dffe9620e857c48c46dd1c59e7c1bef3 d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [false] [Pipeline] sh [2024-03-18T01:38:06.526Z] + git log --format=format:%s -1 d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [Pipeline] echo [2024-03-18T01:38:06.565Z] ========================================================= [2024-03-18T01:38:06.565Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-18T01:38:06.565Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-18T01:38:07.004Z] + git log --format=format:%s -1 d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [Pipeline] echo [2024-03-18T01:38:07.042Z] [semverPrep] GIT_COMMIT: d1605c55dffe9620e857c48c46dd1c59e7c1bef3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-18T01:38:07.078Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-18T01:38:07.483Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-18T01:38:07.483Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-18T01:38:07.483Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-18T01:38:07.483Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-18T01:38:07.483Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-18T01:38:07.483Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-18T01:38:07.483Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:38:07.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-18T01:38:07.982Z] [2024-03-18T01:38:07.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:38:08.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-18T01:38:08.358Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-18T01:38:08.358Z] b85a868b505f: Pulling fs layer [2024-03-18T01:38:08.358Z] e2be974225ed: Pulling fs layer [2024-03-18T01:38:08.358Z] 339a4e72a1f5: Pulling fs layer [2024-03-18T01:38:08.358Z] 988bab9f4d93: Pulling fs layer [2024-03-18T01:38:08.358Z] 1469e6f7b9e6: Pulling fs layer [2024-03-18T01:38:08.358Z] eaf3925da568: Pulling fs layer [2024-03-18T01:38:08.358Z] bab4dde63d76: Pulling fs layer [2024-03-18T01:38:08.358Z] bde34c3a00c8: Pulling fs layer [2024-03-18T01:38:08.358Z] b352a97aabf1: Pulling fs layer [2024-03-18T01:38:08.358Z] 4872d77fe225: Pulling fs layer [2024-03-18T01:38:08.358Z] 5851b861e8e6: Pulling fs layer [2024-03-18T01:38:08.358Z] 988bab9f4d93: Waiting [2024-03-18T01:38:08.358Z] 1469e6f7b9e6: Waiting [2024-03-18T01:38:08.358Z] eaf3925da568: Waiting [2024-03-18T01:38:08.358Z] bab4dde63d76: Waiting [2024-03-18T01:38:08.358Z] bde34c3a00c8: Waiting [2024-03-18T01:38:08.358Z] b352a97aabf1: Waiting [2024-03-18T01:38:08.358Z] 4872d77fe225: Waiting [2024-03-18T01:38:08.358Z] 5851b861e8e6: Waiting [2024-03-18T01:38:08.358Z] e2be974225ed: Download complete [2024-03-18T01:38:08.358Z] 988bab9f4d93: Verifying Checksum [2024-03-18T01:38:08.358Z] 988bab9f4d93: Download complete [2024-03-18T01:38:08.620Z] 1469e6f7b9e6: Verifying Checksum [2024-03-18T01:38:08.620Z] 1469e6f7b9e6: Download complete [2024-03-18T01:38:08.620Z] eaf3925da568: Verifying Checksum [2024-03-18T01:38:08.620Z] eaf3925da568: Download complete [2024-03-18T01:38:08.620Z] 339a4e72a1f5: Verifying Checksum [2024-03-18T01:38:08.620Z] 339a4e72a1f5: Download complete [2024-03-18T01:38:08.620Z] bde34c3a00c8: Download complete [2024-03-18T01:38:08.620Z] b352a97aabf1: Verifying Checksum [2024-03-18T01:38:08.620Z] b352a97aabf1: Download complete [2024-03-18T01:38:08.620Z] 4872d77fe225: Verifying Checksum [2024-03-18T01:38:08.620Z] 4872d77fe225: Download complete [2024-03-18T01:38:08.620Z] 5851b861e8e6: Verifying Checksum [2024-03-18T01:38:08.620Z] 5851b861e8e6: Download complete [2024-03-18T01:38:08.620Z] b85a868b505f: Verifying Checksum [2024-03-18T01:38:08.620Z] b85a868b505f: Download complete [2024-03-18T01:38:08.878Z] bab4dde63d76: Verifying Checksum [2024-03-18T01:38:08.878Z] bab4dde63d76: Download complete [2024-03-18T01:38:09.812Z] b85a868b505f: Pull complete [2024-03-18T01:38:09.813Z] e2be974225ed: Pull complete [2024-03-18T01:38:10.381Z] 339a4e72a1f5: Pull complete [2024-03-18T01:38:10.381Z] 988bab9f4d93: Pull complete [2024-03-18T01:38:10.639Z] 1469e6f7b9e6: Pull complete [2024-03-18T01:38:10.639Z] eaf3925da568: Pull complete [2024-03-18T01:38:12.548Z] bab4dde63d76: Pull complete [2024-03-18T01:38:12.548Z] bde34c3a00c8: Pull complete [2024-03-18T01:38:12.548Z] b352a97aabf1: Pull complete [2024-03-18T01:38:12.548Z] 4872d77fe225: Pull complete [2024-03-18T01:38:12.808Z] 5851b861e8e6: Pull complete [2024-03-18T01:38:12.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-18T01:38:12.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-18T01:38:12.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:38:13.099Z] prd-ubuntu20.04-docker-8c-8g-235 does not seem to be running inside a container [2024-03-18T01:38:13.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-668 -v /w/workspace/gexfoundry_device-mqtt-go_PR-668:/w/workspace/gexfoundry_device-mqtt-go_PR-668:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-18T01:38:15.942Z] $ docker top 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e -eo pid,comm [2024-03-18T01:38:15.997Z] 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). [2024-03-18T01:38:15.997Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-18T01:38:16.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-18T01:38:16.135Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-18T01:38:16.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-18T01:38:16.248Z] $ docker exec 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e ssh-agent [2024-03-18T01:38:16.351Z] SSH_AUTH_SOCK=/tmp/ssh-8VCyxjbEBcHK/agent.32 [2024-03-18T01:38:16.351Z] SSH_AGENT_PID=39 [2024-03-18T01:38:16.358Z] Running ssh-add (command line suppressed) [2024-03-18T01:38:16.451Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/private_key_7116453180137390350.key (/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/private_key_7116453180137390350.key) [2024-03-18T01:38:16.462Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-18T01:38:16.793Z] + git tag --points-at HEAD [Pipeline] } [2024-03-18T01:38:16.822Z] $ docker exec --env ******** --env ******** 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e ssh-agent -k [2024-03-18T01:38:16.915Z] unset SSH_AUTH_SOCK; [2024-03-18T01:38:16.916Z] unset SSH_AGENT_PID; [2024-03-18T01:38:16.916Z] echo Agent pid 39 killed; [2024-03-18T01:38:16.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-18T01:38:17.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-18T01:38:17.019Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-18T01:38:17.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-18T01:38:17.144Z] $ docker exec 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e ssh-agent [2024-03-18T01:38:17.239Z] SSH_AUTH_SOCK=/tmp/ssh-qkILLmfLTTUp/agent.72 [2024-03-18T01:38:17.239Z] SSH_AGENT_PID=78 [2024-03-18T01:38:17.243Z] Running ssh-add (command line suppressed) [2024-03-18T01:38:17.334Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/private_key_6367156156867264146.key (/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/private_key_6367156156867264146.key) [2024-03-18T01:38:17.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-18T01:38:17.680Z] + git semver init [2024-03-18T01:38:17.939Z] 2024-03-18 01:38:17,841 [run_init] DEBUG init version:0.0.0 force:False [2024-03-18T01:38:17.939Z] 2024-03-18 01:38:17,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver [2024-03-18T01:38:17.939Z] 2024-03-18 01:38:17,842 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver [2024-03-18T01:38:17.939Z] 2024-03-18 01:38:17,842 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-668, universal_newlines=False, shell=None, istream=None) [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,844 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-668/.git/info/exclude [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,844 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver/PR-668 with force:False [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,845 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver/PR-668 [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,849 [execute] INFO git cat-file --batch-check [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver, universal_newlines=False, shell=None, istream=) [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,856 [execute] INFO git cat-file --batch [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver, universal_newlines=False, shell=None, istream=) [2024-03-18T01:38:18.876Z] 2024-03-18 01:38:18,861 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-668/.semver/PR-668 [2024-03-18T01:38:18.876Z] 0.0.0 [Pipeline] } [2024-03-18T01:38:18.903Z] $ docker exec --env ******** --env ******** 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e ssh-agent -k [2024-03-18T01:38:19.000Z] unset SSH_AUTH_SOCK; [2024-03-18T01:38:19.001Z] unset SSH_AGENT_PID; [2024-03-18T01:38:19.001Z] echo Agent pid 78 killed; [2024-03-18T01:38:19.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-18T01:38:19.451Z] + git semver [Pipeline] } [2024-03-18T01:38:19.737Z] $ docker stop --time=1 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e [2024-03-18T01:38:21.054Z] $ docker rm -f --volumes 3af8e40542cd2f760346ef50f34d230a2b8d3d7a361719c58c22984ea6149d0e [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-18T01:38:21.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-18T01:38:21.751Z] Stashed 1 file(s) [Pipeline] echo [2024-03-18T01:38:21.771Z] [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 [2024-03-18T01:38:22.442Z] provisioning config files... [2024-03-18T01:38:22.454Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/config11720400696953258091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:38:22.817Z] ---> ****-login.sh [2024-03-18T01:38:22.817Z] nexus3.edgexfoundry.org:10001 [2024-03-18T01:38:22.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:22.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:22.817Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:22.817Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:22.817Z] [2024-03-18T01:38:22.817Z] Login Succeeded [2024-03-18T01:38:22.817Z] nexus3.edgexfoundry.org:10002 [2024-03-18T01:38:22.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:22.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:22.817Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:22.817Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:22.817Z] [2024-03-18T01:38:22.817Z] Login Succeeded [2024-03-18T01:38:22.817Z] nexus3.edgexfoundry.org:10003 [2024-03-18T01:38:23.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:23.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:23.076Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:23.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:23.077Z] [2024-03-18T01:38:23.077Z] Login Succeeded [2024-03-18T01:38:23.077Z] nexus3.edgexfoundry.org:10004 [2024-03-18T01:38:23.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:23.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:23.077Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:23.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:23.077Z] [2024-03-18T01:38:23.077Z] Login Succeeded [2024-03-18T01:38:23.077Z] ****.io [2024-03-18T01:38:23.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:38:23.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:38:23.337Z] Configure a credential helper to remove this warning. See [2024-03-18T01:38:23.337Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:38:23.337Z] [2024-03-18T01:38:23.337Z] Login Succeeded [2024-03-18T01:38:23.337Z] ---> ****-login.sh ends [Pipeline] } [2024-03-18T01:38:23.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-18T01:38:23.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-18T01:38:23.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-18T01:38:23.663Z] ========================================================= [2024-03-18T01:38:23.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-18T01:38:23.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:38:24.143Z] + 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 . [2024-03-18T01:38:24.143Z] Sending build context to Docker daemon 14.93MB [2024-03-18T01:38:24.143Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-18T01:38:24.143Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-18T01:38:24.143Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-18T01:38:24.143Z] 7264a8db6415: Pulling fs layer [2024-03-18T01:38:24.143Z] c4d48a809fc2: Pulling fs layer [2024-03-18T01:38:24.143Z] 4f1c88b9dad5: Pulling fs layer [2024-03-18T01:38:24.143Z] ad3a456e5733: Pulling fs layer [2024-03-18T01:38:24.143Z] 69c7f0334f64: Pulling fs layer [2024-03-18T01:38:24.143Z] 1f1c1a5573a3: Pulling fs layer [2024-03-18T01:38:24.143Z] ce7588e14bc9: Pulling fs layer [2024-03-18T01:38:24.143Z] b5e4710f87ac: Pulling fs layer [2024-03-18T01:38:24.143Z] 1f1c1a5573a3: Waiting [2024-03-18T01:38:24.143Z] ad3a456e5733: Waiting [2024-03-18T01:38:24.143Z] 69c7f0334f64: Waiting [2024-03-18T01:38:24.143Z] ce7588e14bc9: Waiting [2024-03-18T01:38:24.143Z] b5e4710f87ac: Waiting [2024-03-18T01:38:24.143Z] c4d48a809fc2: Download complete [2024-03-18T01:38:24.143Z] ad3a456e5733: Download complete [2024-03-18T01:38:24.143Z] 69c7f0334f64: Download complete [2024-03-18T01:38:24.404Z] 7264a8db6415: Verifying Checksum [2024-03-18T01:38:24.404Z] 7264a8db6415: Download complete [2024-03-18T01:38:24.404Z] 1f1c1a5573a3: Verifying Checksum [2024-03-18T01:38:24.404Z] 1f1c1a5573a3: Download complete [2024-03-18T01:38:24.404Z] 7264a8db6415: Pull complete [2024-03-18T01:38:24.663Z] b5e4710f87ac: Verifying Checksum [2024-03-18T01:38:24.663Z] b5e4710f87ac: Download complete [2024-03-18T01:38:24.663Z] c4d48a809fc2: Pull complete [2024-03-18T01:38:24.663Z] 4f1c88b9dad5: Verifying Checksum [2024-03-18T01:38:24.663Z] 4f1c88b9dad5: Download complete [2024-03-18T01:38:25.230Z] ce7588e14bc9: Verifying Checksum [2024-03-18T01:38:25.230Z] ce7588e14bc9: Download complete [2024-03-18T01:38:27.763Z] 4f1c88b9dad5: Pull complete [2024-03-18T01:38:27.763Z] ad3a456e5733: Pull complete [2024-03-18T01:38:28.023Z] 69c7f0334f64: Pull complete [2024-03-18T01:38:28.023Z] 1f1c1a5573a3: Pull complete [2024-03-18T01:38:30.555Z] ce7588e14bc9: Pull complete [2024-03-18T01:38:30.555Z] b5e4710f87ac: Pull complete [2024-03-18T01:38:30.555Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-18T01:38:30.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-18T01:38:30.555Z] ---> 88b5674ff536 [2024-03-18T01:38:30.555Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-18T01:38:33.915Z] ---> Running in c2def73f3663 [2024-03-18T01:38:33.915Z] Removing intermediate container c2def73f3663 [2024-03-18T01:38:33.915Z] ---> 23f6836d0a00 [2024-03-18T01:38:33.915Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-18T01:38:33.915Z] ---> Running in 4c6995112313 [2024-03-18T01:38:33.915Z] Removing intermediate container 4c6995112313 [2024-03-18T01:38:33.915Z] ---> 5a461875d425 [2024-03-18T01:38:33.915Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-18T01:38:33.915Z] ---> Running in 482d26f862c1 [2024-03-18T01:38:33.915Z] Removing intermediate container 482d26f862c1 [2024-03-18T01:38:33.915Z] ---> eb7cf7cef53f [2024-03-18T01:38:33.915Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-18T01:38:33.915Z] ---> Running in 5252835323b2 [2024-03-18T01:38:33.915Z] Removing intermediate container 5252835323b2 [2024-03-18T01:38:33.915Z] ---> 562974914e32 [2024-03-18T01:38:33.915Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-18T01:38:33.915Z] ---> Running in 39185765f095 [2024-03-18T01:38:34.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-18T01:38:34.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-18T01:38:34.694Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-18T01:38:34.694Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-18T01:38:34.694Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-18T01:38:34.955Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-18T01:38:34.955Z] Executing busybox-1.36.1-r5.trigger [2024-03-18T01:38:34.955Z] OK: 268 MiB in 56 packages [2024-03-18T01:38:35.215Z] Removing intermediate container 39185765f095 [2024-03-18T01:38:35.215Z] ---> 13a3234819a2 [2024-03-18T01:38:35.215Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-18T01:38:35.474Z] ---> Running in e9bf37870864 [2024-03-18T01:38:35.475Z] Removing intermediate container e9bf37870864 [2024-03-18T01:38:35.475Z] ---> cefd8c4bd1c1 [2024-03-18T01:38:35.475Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-18T01:38:35.475Z] ---> 3b6c22c2aade [2024-03-18T01:38:35.475Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-18T01:38:35.475Z] ---> Running in 7f2b39db256a [2024-03-18T01:38:37.247Z] Still waiting to schedule task [2024-03-18T01:38:37.247Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-233’ [2024-03-18T01:39:14.203Z] Removing intermediate container 7f2b39db256a [2024-03-18T01:39:14.203Z] ---> 3c9eb6398f24 [2024-03-18T01:39:14.203Z] Step 11/12 : COPY . . [2024-03-18T01:39:14.203Z] ---> ed61584f2a93 [2024-03-18T01:39:14.203Z] Step 12/12 : RUN $MAKE [2024-03-18T01:39:14.203Z] ---> Running in f28c45be7dfb [2024-03-18T01:39:14.203Z] noop [2024-03-18T01:39:14.203Z] Removing intermediate container f28c45be7dfb [2024-03-18T01:39:14.203Z] ---> 4c750972d780 [2024-03-18T01:39:14.203Z] Successfully built 4c750972d780 [2024-03-18T01:39:14.203Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:39:14.664Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-18T01:39:14.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:39:14.834Z] prd-ubuntu20.04-docker-8c-8g-235 does not seem to be running inside a container [2024-03-18T01:39:14.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-668 -v /w/workspace/gexfoundry_device-mqtt-go_PR-668:/w/workspace/gexfoundry_device-mqtt-go_PR-668:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-18T01:39:15.210Z] $ docker top 525f052ae7198d9e57b35c0a00e8a8d130830a35bdd3a0366beb45182cfab90b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-18T01:39:15.616Z] + go version [2024-03-18T01:39:15.616Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-18T01:39:15.647Z] $ docker stop --time=1 525f052ae7198d9e57b35c0a00e8a8d130830a35bdd3a0366beb45182cfab90b [2024-03-18T01:39:16.938Z] $ docker rm -f --volumes 525f052ae7198d9e57b35c0a00e8a8d130830a35bdd3a0366beb45182cfab90b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:39:17.686Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-18T01:39:17.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:39:17.859Z] prd-ubuntu20.04-docker-8c-8g-235 does not seem to be running inside a container [2024-03-18T01:39:17.889Z] $ 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-668 -v /w/workspace/gexfoundry_device-mqtt-go_PR-668:/w/workspace/gexfoundry_device-mqtt-go_PR-668:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-18T01:39:18.218Z] $ docker top 4ef54d5a2120c05c92cbee7e990835f2ec2cd6ed46fc28781985a5e0956b8d95 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-18T01:39:18.625Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-668 [Pipeline] fileExists [Pipeline] sh [2024-03-18T01:39:19.004Z] + make test [2024-03-18T01:39:19.004Z] go test ./... -coverprofile=coverage.out ./... [2024-03-18T01:39:20.382Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-18T01:39:30.347Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-18T01:39:30.347Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-18T01:39:30.347Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements [2024-03-18T01:39:36.900Z] go vet ./... [2024-03-18T01:39:40.180Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-18T01:39:40.180Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-18T01:39:40.180Z] ./bin/test-attribution-txt.sh [2024-03-18T01:39:40.180Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-18T01:39:40.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-18T01:39:40.261Z] $ docker stop --time=1 4ef54d5a2120c05c92cbee7e990835f2ec2cd6ed46fc28781985a5e0956b8d95 [2024-03-18T01:39:44.082Z] $ docker rm -f --volumes 4ef54d5a2120c05c92cbee7e990835f2ec2cd6ed46fc28781985a5e0956b8d95 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-18T01:39:44.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-18T01:39:44.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-18T01:39:45.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-18T01:39:45.663Z] + ls -al . [2024-03-18T01:39:45.663Z] total 184 [2024-03-18T01:39:45.663Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 18 01:39 . [2024-03-18T01:39:45.663Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 01:37 .. [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 01:37 .dockerignore [2024-03-18T01:39:45.663Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 01:39 .git [2024-03-18T01:39:45.663Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 01:37 .github [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 18 01:37 .gitignore [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 18 01:37 .golangci.yml [2024-03-18T01:39:45.663Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 01:38 .semver [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 18 01:37 Attribution.txt [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 18 01:37 CHANGELOG.md [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 18 01:37 Dockerfile [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 01:37 GOVERNANCE.md [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 01:37 Jenkinsfile [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 01:37 LICENSE [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 18 01:37 Makefile [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 18 01:37 OWNERS.md [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 18 01:37 README.md [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 01:38 VERSION [2024-03-18T01:39:45.663Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 01:37 bin [2024-03-18T01:39:45.663Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 01:37 cmd [2024-03-18T01:39:45.663Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 18 01:39 coverage.out [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 3867 Mar 18 01:37 go.mod [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 18 01:37 go.sum [2024-03-18T01:39:45.663Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 01:37 internal [2024-03-18T01:39:45.663Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 01:37 mock [2024-03-18T01:39:45.663Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 18 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:39:46.073Z] + 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=d1605c55dffe9620e857c48c46dd1c59e7c1bef3 --label arch=amd64 --label version=0.0.0 . [2024-03-18T01:39:46.074Z] Sending build context to Docker daemon 14.95MB [2024-03-18T01:39:46.074Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-18T01:39:46.074Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-18T01:39:46.074Z] ---> 4c750972d780 [2024-03-18T01:39:46.074Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-18T01:39:46.331Z] ---> Running in f076cfc481c3 [2024-03-18T01:39:46.332Z] Removing intermediate container f076cfc481c3 [2024-03-18T01:39:46.332Z] ---> e7d57328aa3f [2024-03-18T01:39:46.332Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-18T01:39:46.332Z] ---> Running in 0095374a0971 [2024-03-18T01:39:46.590Z] Removing intermediate container 0095374a0971 [2024-03-18T01:39:46.590Z] ---> 5e8832ae8fd2 [2024-03-18T01:39:46.590Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-18T01:39:46.590Z] ---> Running in 93efafb02127 [2024-03-18T01:39:46.590Z] Removing intermediate container 93efafb02127 [2024-03-18T01:39:46.590Z] ---> 62a568c4ee88 [2024-03-18T01:39:46.590Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-18T01:39:46.590Z] ---> Running in 51b385f40074 [2024-03-18T01:39:46.590Z] Removing intermediate container 51b385f40074 [2024-03-18T01:39:46.590Z] ---> c0d073f46243 [2024-03-18T01:39:46.590Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-18T01:39:46.590Z] ---> Running in 9758563ff3b1 [2024-03-18T01:39:46.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-18T01:39:47.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-18T01:39:47.365Z] OK: 268 MiB in 56 packages [2024-03-18T01:39:47.630Z] Removing intermediate container 9758563ff3b1 [2024-03-18T01:39:47.630Z] ---> 9244efcd8265 [2024-03-18T01:39:47.630Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-18T01:39:47.890Z] ---> Running in ac92c6b44c9d [2024-03-18T01:39:47.890Z] Removing intermediate container ac92c6b44c9d [2024-03-18T01:39:47.890Z] ---> d7fb5d213e89 [2024-03-18T01:39:47.890Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-18T01:39:47.890Z] ---> 011f674f8bd8 [2024-03-18T01:39:47.890Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-18T01:39:48.152Z] ---> Running in 916417d5348d [2024-03-18T01:39:48.772Z] Removing intermediate container 916417d5348d [2024-03-18T01:39:48.772Z] ---> 060edb08e7f3 [2024-03-18T01:39:48.772Z] Step 11/25 : COPY . . [2024-03-18T01:39:49.030Z] ---> 402dc58f361a [2024-03-18T01:39:49.030Z] Step 12/25 : RUN $MAKE [2024-03-18T01:39:49.290Z] ---> Running in 283ee69cc68f [2024-03-18T01:39:49.290Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-18T01:40:07.435Z] Removing intermediate container 283ee69cc68f [2024-03-18T01:40:07.435Z] ---> 72bfb5f3ac2d [2024-03-18T01:40:07.435Z] Step 13/25 : FROM alpine:3.18 [2024-03-18T01:40:08.002Z] 3.18: Pulling from library/alpine [2024-03-18T01:40:08.262Z] 619be1103602: Pulling fs layer [2024-03-18T01:40:08.520Z] 619be1103602: Download complete [2024-03-18T01:40:08.779Z] 619be1103602: Pull complete [2024-03-18T01:40:08.779Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-18T01:40:08.779Z] Status: Downloaded newer image for alpine:3.18 [2024-03-18T01:40:08.779Z] ---> d3782b16ccc9 [2024-03-18T01:40:08.779Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-18T01:40:08.779Z] ---> Running in a15ad18fb560 [2024-03-18T01:40:09.038Z] Removing intermediate container a15ad18fb560 [2024-03-18T01:40:09.038Z] ---> 4bbfd6b3c626 [2024-03-18T01:40:09.038Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-18T01:40:09.038Z] ---> Running in 886ddd9eee64 [2024-03-18T01:40:09.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-18T01:40:09.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-18T01:40:09.555Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-18T01:40:09.818Z] Executing busybox-1.36.1-r5.trigger [2024-03-18T01:40:09.818Z] OK: 7 MiB in 16 packages [2024-03-18T01:40:10.076Z] Removing intermediate container 886ddd9eee64 [2024-03-18T01:40:10.076Z] ---> 7fcfeb7c6ba9 [2024-03-18T01:40:10.076Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-18T01:40:10.076Z] ---> Running in feaa54335566 [2024-03-18T01:40:10.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-18T01:40:10.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-18T01:40:10.591Z] OK: 7 MiB in 16 packages [2024-03-18T01:40:10.850Z] Removing intermediate container feaa54335566 [2024-03-18T01:40:10.850Z] ---> d31e872a0066 [2024-03-18T01:40:10.850Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-18T01:40:11.417Z] ---> 81870a209230 [2024-03-18T01:40:11.417Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-18T01:40:11.676Z] ---> 0d979a1a5e87 [2024-03-18T01:40:11.676Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-18T01:40:11.676Z] ---> 41818bf8f92a [2024-03-18T01:40:11.676Z] Step 20/25 : EXPOSE 59982 [2024-03-18T01:40:11.676Z] ---> Running in 4246e8c58ad8 [2024-03-18T01:40:11.676Z] Removing intermediate container 4246e8c58ad8 [2024-03-18T01:40:11.676Z] ---> 22229eda1b34 [2024-03-18T01:40:11.676Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-18T01:40:11.676Z] ---> Running in 59db99cecd97 [2024-03-18T01:40:11.935Z] Removing intermediate container 59db99cecd97 [2024-03-18T01:40:11.935Z] ---> 8a7357069daf [2024-03-18T01:40:11.935Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-18T01:40:11.935Z] ---> Running in e4e52801b185 [2024-03-18T01:40:11.935Z] Removing intermediate container e4e52801b185 [2024-03-18T01:40:11.935Z] ---> d6f72c9828f9 [2024-03-18T01:40:11.935Z] Step 23/25 : LABEL arch=amd64 [2024-03-18T01:40:11.935Z] ---> Running in b226abd85f34 [2024-03-18T01:40:12.193Z] Removing intermediate container b226abd85f34 [2024-03-18T01:40:12.193Z] ---> 02922f7db40b [2024-03-18T01:40:12.193Z] Step 24/25 : LABEL git_sha=d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [2024-03-18T01:40:12.193Z] ---> Running in 7597850d8b93 [2024-03-18T01:40:12.193Z] Removing intermediate container 7597850d8b93 [2024-03-18T01:40:12.193Z] ---> f8202b1af81d [2024-03-18T01:40:12.193Z] Step 25/25 : LABEL version=0.0.0 [2024-03-18T01:40:12.193Z] ---> Running in 30ce4d5c8aa8 [2024-03-18T01:40:12.452Z] Removing intermediate container 30ce4d5c8aa8 [2024-03-18T01:40:12.452Z] ---> a726e1063c97 [2024-03-18T01:40:12.452Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-18T01:40:12.452Z] Successfully built a726e1063c97 [2024-03-18T01:40:12.452Z] 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 [2024-03-18T01:40:13.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-18T01:40:13.367Z] [2024-03-18T01:40:13.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:40:13.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-18T01:40:13.738Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-18T01:40:13.738Z] 5eb5b503b376: Pulling fs layer [2024-03-18T01:40:13.738Z] 5c69ac0246d0: Pulling fs layer [2024-03-18T01:40:13.738Z] ec43610c2a17: Pulling fs layer [2024-03-18T01:40:13.738Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-18T01:40:13.738Z] 33b1e0a273af: Pulling fs layer [2024-03-18T01:40:13.738Z] 5d3b04190fa2: Pulling fs layer [2024-03-18T01:40:13.738Z] 2f39f015ded8: Pulling fs layer [2024-03-18T01:40:13.738Z] 3a2ae6a8a46f: Waiting [2024-03-18T01:40:13.738Z] 33b1e0a273af: Waiting [2024-03-18T01:40:13.738Z] 5d3b04190fa2: Waiting [2024-03-18T01:40:13.738Z] 2f39f015ded8: Waiting [2024-03-18T01:40:13.738Z] 5c69ac0246d0: Download complete [2024-03-18T01:40:13.738Z] 3a2ae6a8a46f: Download complete [2024-03-18T01:40:13.738Z] 33b1e0a273af: Verifying Checksum [2024-03-18T01:40:13.738Z] 33b1e0a273af: Download complete [2024-03-18T01:40:13.738Z] 5d3b04190fa2: Verifying Checksum [2024-03-18T01:40:13.738Z] 5d3b04190fa2: Download complete [2024-03-18T01:40:13.738Z] ec43610c2a17: Verifying Checksum [2024-03-18T01:40:13.738Z] ec43610c2a17: Download complete [2024-03-18T01:40:13.997Z] 5eb5b503b376: Verifying Checksum [2024-03-18T01:40:13.997Z] 5eb5b503b376: Download complete [2024-03-18T01:40:14.561Z] 2f39f015ded8: Download complete [2024-03-18T01:40:15.127Z] 5eb5b503b376: Pull complete [2024-03-18T01:40:15.386Z] 5c69ac0246d0: Pull complete [2024-03-18T01:40:15.645Z] ec43610c2a17: Pull complete [2024-03-18T01:40:15.645Z] 3a2ae6a8a46f: Pull complete [2024-03-18T01:40:15.905Z] 33b1e0a273af: Pull complete [2024-03-18T01:40:15.905Z] 5d3b04190fa2: Pull complete [2024-03-18T01:40:20.093Z] 2f39f015ded8: Pull complete [2024-03-18T01:40:20.093Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-18T01:40:20.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-18T01:40:20.093Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:40:20.344Z] prd-ubuntu20.04-docker-8c-8g-235 does not seem to be running inside a container [2024-03-18T01:40:20.379Z] $ 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-668 -v /w/workspace/gexfoundry_device-mqtt-go_PR-668:/w/workspace/gexfoundry_device-mqtt-go_PR-668:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-18T01:40:22.523Z] $ docker top 99d3ac0e6b12362b34d362184d74fe31d5dc1cc4e088cffe505d3f97237d597f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:40:23.023Z] ---> job-cost.sh [2024-03-18T01:40:23.023Z] lf-activate-venv: SKIPPING [2024-03-18T01:40:23.023Z] INFO: No Stack... [2024-03-18T01:40:23.282Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-18T01:40:23.542Z] INFO: Archiving Costs [Pipeline] sh [2024-03-18T01:40:23.855Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives/cost.csv [2024-03-18T01:40:23.855Z] + cut -d, -f6 [Pipeline] lock [2024-03-18T01:40:23.905Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] [2024-03-18T01:40:23.910Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] did not exist. Created. [2024-03-18T01:40:23.915Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-18T01:40:24.309Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-18T01:40:24.359Z] Stashed 1 file(s) [Pipeline] } [2024-03-18T01:40:24.394Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-18T01:40:24.483Z] $ docker stop --time=1 99d3ac0e6b12362b34d362184d74fe31d5dc1cc4e088cffe505d3f97237d597f [2024-03-18T01:40:25.625Z] $ docker rm -f --volumes 99d3ac0e6b12362b34d362184d74fe31d5dc1cc4e088cffe505d3f97237d597f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-18T01:42:13.358Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-236 in /w/workspace/gexfoundry_device-mqtt-go_PR-668 [Pipeline] { [Pipeline] ws [2024-03-18T01:42:13.430Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-03-18T01:42:16.525Z] The recommended git tool is: git [2024-03-18T01:42:21.283Z] using credential edgex-jenkins-ssh [2024-03-18T01:42:21.309Z] Cloning the remote Git repository [2024-03-18T01:42:21.356Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-18T01:42:21.442Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-03-18T01:42:21.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-18T01:42:21.581Z] > git --version # timeout=10 [2024-03-18T01:42:21.605Z] > git --version # 'git version 2.25.1' [2024-03-18T01:42:21.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-18T01:42:21.752Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-18T01:42:23.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-18T01:42:23.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-18T01:42:24.816Z] Merging remotes/origin/main commit cece63dbd868ba4ffecf5f739a16bcebc59408bd into PR head commit d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [2024-03-18T01:42:25.072Z] Merge succeeded, producing d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [2024-03-18T01:42:25.073Z] Checking out Revision d1605c55dffe9620e857c48c46dd1c59e7c1bef3 (PR-668) [2024-03-18T01:42:24.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-18T01:42:24.280Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-18T01:42:24.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-18T01:42:24.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/668/head:refs/remotes/origin/PR-668 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-18T01:42:24.838Z] > git config core.sparsecheckout # timeout=10 [2024-03-18T01:42:24.910Z] > git checkout -f d1605c55dffe9620e857c48c46dd1c59e7c1bef3 # timeout=10 [2024-03-18T01:42:24.983Z] > git remote # timeout=10 [2024-03-18T01:42:25.001Z] > git config --get remote.origin.url # timeout=10 [2024-03-18T01:42:25.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-18T01:42:25.039Z] > git merge cece63dbd868ba4ffecf5f739a16bcebc59408bd # timeout=10 [2024-03-18T01:42:25.063Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-18T01:42:25.086Z] > git config core.sparsecheckout # timeout=10 [2024-03-18T01:42:25.101Z] > git checkout -f d1605c55dffe9620e857c48c46dd1c59e7c1bef3 # timeout=10 [2024-03-18T01:42:25.553Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-18T01:42:25.606Z] > git --version # timeout=10 [2024-03-18T01:42:25.625Z] > git --version # 'git version 2.25.1' [2024-03-18T01:42:25.637Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-18T01:42:30.447Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-18T01:42:30.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-18T01:42:30.447Z] Dload Upload Total Spent Left Speed [2024-03-18T01:42:30.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-03-18T01:42:30.782Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-18T01:42:31.134Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-18T01:42:31.135Z] + sudo tee /etc/docker/daemon.new [2024-03-18T01:42:31.135Z] { [2024-03-18T01:42:31.135Z] "registry-mirrors": [ [2024-03-18T01:42:31.135Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-18T01:42:31.135Z] ], [2024-03-18T01:42:31.135Z] "bip": "10.250.0.254/24", [2024-03-18T01:42:31.135Z] "hosts": [ [2024-03-18T01:42:31.135Z] "tcp://0.0.0.0:5555", [2024-03-18T01:42:31.135Z] "unix:///var/run/docker.sock" [2024-03-18T01:42:31.135Z] ], [2024-03-18T01:42:31.135Z] "mtu": 1458, [2024-03-18T01:42:31.135Z] "selinux-enabled": true, [2024-03-18T01:42:31.135Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-18T01:42:31.135Z] } [Pipeline] sh [2024-03-18T01:42:31.471Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-18T01:42:31.821Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-18T01:42:50.126Z] provisioning config files... [2024-03-18T01:42:50.151Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4305582622166037247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:42:50.625Z] ---> ****-login.sh [2024-03-18T01:42:50.625Z] nexus3.edgexfoundry.org:10001 [2024-03-18T01:42:50.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:42:51.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:42:51.161Z] Configure a credential helper to remove this warning. See [2024-03-18T01:42:51.161Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:42:51.161Z] [2024-03-18T01:42:51.161Z] Login Succeeded [2024-03-18T01:42:51.161Z] nexus3.edgexfoundry.org:10002 [2024-03-18T01:42:51.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:42:51.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:42:51.430Z] Configure a credential helper to remove this warning. See [2024-03-18T01:42:51.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:42:51.430Z] [2024-03-18T01:42:51.430Z] Login Succeeded [2024-03-18T01:42:51.430Z] nexus3.edgexfoundry.org:10003 [2024-03-18T01:42:51.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:42:51.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:42:51.973Z] Configure a credential helper to remove this warning. See [2024-03-18T01:42:51.973Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:42:51.973Z] [2024-03-18T01:42:51.973Z] Login Succeeded [2024-03-18T01:42:51.973Z] nexus3.edgexfoundry.org:10004 [2024-03-18T01:42:51.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:42:52.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:42:52.245Z] Configure a credential helper to remove this warning. See [2024-03-18T01:42:52.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:42:52.245Z] [2024-03-18T01:42:52.245Z] Login Succeeded [2024-03-18T01:42:52.245Z] ****.io [2024-03-18T01:42:52.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-18T01:42:52.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-18T01:42:52.782Z] Configure a credential helper to remove this warning. See [2024-03-18T01:42:52.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-18T01:42:52.782Z] [2024-03-18T01:42:52.782Z] Login Succeeded [2024-03-18T01:42:52.782Z] ---> ****-login.sh ends [Pipeline] } [2024-03-18T01:42:52.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-18T01:42:53.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-18T01:42:53.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-18T01:42:53.281Z] ========================================================= [2024-03-18T01:42:53.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-18T01:42:53.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:42:53.791Z] + 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 . [2024-03-18T01:42:54.061Z] Sending build context to Docker daemon 7.571MB [2024-03-18T01:42:54.061Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-18T01:42:54.061Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-18T01:42:54.333Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-18T01:42:54.333Z] 9fda8d8052c6: Pulling fs layer [2024-03-18T01:42:54.333Z] 5d54e960e981: Pulling fs layer [2024-03-18T01:42:54.333Z] c4a7e357bf2a: Pulling fs layer [2024-03-18T01:42:54.333Z] f0e02332f6b5: Pulling fs layer [2024-03-18T01:42:54.333Z] 872ee5b61b7b: Pulling fs layer [2024-03-18T01:42:54.333Z] 0c6a40ed1a82: Pulling fs layer [2024-03-18T01:42:54.333Z] 94ae7d8d031c: Pulling fs layer [2024-03-18T01:42:54.333Z] 872ee5b61b7b: Waiting [2024-03-18T01:42:54.333Z] 0c6a40ed1a82: Waiting [2024-03-18T01:42:54.333Z] 94ae7d8d031c: Waiting [2024-03-18T01:42:54.333Z] f0e02332f6b5: Waiting [2024-03-18T01:42:54.333Z] 5d54e960e981: Verifying Checksum [2024-03-18T01:42:54.333Z] 5d54e960e981: Download complete [2024-03-18T01:42:54.333Z] f0e02332f6b5: Verifying Checksum [2024-03-18T01:42:54.333Z] f0e02332f6b5: Download complete [2024-03-18T01:42:54.333Z] 872ee5b61b7b: Verifying Checksum [2024-03-18T01:42:54.333Z] 872ee5b61b7b: Download complete [2024-03-18T01:42:54.333Z] 9fda8d8052c6: Download complete [2024-03-18T01:42:54.926Z] 94ae7d8d031c: Verifying Checksum [2024-03-18T01:42:54.926Z] 94ae7d8d031c: Download complete [2024-03-18T01:42:55.198Z] 9fda8d8052c6: Pull complete [2024-03-18T01:42:55.789Z] 5d54e960e981: Pull complete [2024-03-18T01:42:56.378Z] c4a7e357bf2a: Verifying Checksum [2024-03-18T01:42:56.378Z] c4a7e357bf2a: Download complete [2024-03-18T01:42:57.342Z] 0c6a40ed1a82: Verifying Checksum [2024-03-18T01:42:57.342Z] 0c6a40ed1a82: Download complete [2024-03-18T01:43:12.359Z] c4a7e357bf2a: Pull complete [2024-03-18T01:43:12.359Z] f0e02332f6b5: Pull complete [2024-03-18T01:43:12.359Z] 872ee5b61b7b: Pull complete [2024-03-18T01:43:20.564Z] 0c6a40ed1a82: Pull complete [2024-03-18T01:43:21.970Z] 94ae7d8d031c: Pull complete [2024-03-18T01:43:21.970Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-18T01:43:21.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-18T01:43:21.970Z] ---> 86de565de09d [2024-03-18T01:43:21.970Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-18T01:43:24.545Z] ---> Running in cfa235cb83f6 [2024-03-18T01:43:24.545Z] Removing intermediate container cfa235cb83f6 [2024-03-18T01:43:24.545Z] ---> 1025bbbd2276 [2024-03-18T01:43:24.545Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-18T01:43:24.545Z] ---> Running in 73e75ff7777b [2024-03-18T01:43:24.812Z] Removing intermediate container 73e75ff7777b [2024-03-18T01:43:24.812Z] ---> af7529e467e3 [2024-03-18T01:43:24.812Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-18T01:43:24.812Z] ---> Running in a989991e7d57 [2024-03-18T01:43:25.081Z] Removing intermediate container a989991e7d57 [2024-03-18T01:43:25.082Z] ---> 95d5eb376dcd [2024-03-18T01:43:25.082Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-18T01:43:25.350Z] ---> Running in 066f02aa4193 [2024-03-18T01:43:25.616Z] Removing intermediate container 066f02aa4193 [2024-03-18T01:43:25.616Z] ---> 86064c33a457 [2024-03-18T01:43:25.616Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-18T01:43:25.616Z] ---> Running in 6983a0a0a452 [2024-03-18T01:43:27.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-18T01:43:27.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-18T01:43:28.262Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-18T01:43:28.262Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-18T01:43:28.262Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-18T01:43:28.262Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-18T01:43:28.530Z] Executing busybox-1.36.1-r5.trigger [2024-03-18T01:43:28.530Z] OK: 271 MiB in 56 packages [2024-03-18T01:43:29.494Z] Removing intermediate container 6983a0a0a452 [2024-03-18T01:43:29.494Z] ---> 7e4ac35fc74f [2024-03-18T01:43:29.494Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-18T01:43:29.494Z] ---> Running in 939b0c211c6a [2024-03-18T01:43:29.768Z] Removing intermediate container 939b0c211c6a [2024-03-18T01:43:29.768Z] ---> 44587ada0513 [2024-03-18T01:43:29.768Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-18T01:43:30.350Z] ---> 335e30b84e0a [2024-03-18T01:43:30.350Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-18T01:43:30.350Z] ---> Running in 3c0de1e86a52 [2024-03-18T01:44:38.205Z] Removing intermediate container 3c0de1e86a52 [2024-03-18T01:44:38.205Z] ---> 670568eeb38b [2024-03-18T01:44:38.205Z] Step 11/12 : COPY . . [2024-03-18T01:44:38.205Z] ---> b0b3b10d2ab8 [2024-03-18T01:44:38.205Z] Step 12/12 : RUN $MAKE [2024-03-18T01:44:38.205Z] ---> Running in 8080b407d649 [2024-03-18T01:44:38.205Z] noop [2024-03-18T01:44:38.205Z] Removing intermediate container 8080b407d649 [2024-03-18T01:44:38.205Z] ---> 23666c6f20f2 [2024-03-18T01:44:38.205Z] Successfully built 23666c6f20f2 [2024-03-18T01:44:38.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:44:38.705Z] + docker inspect -f . ci-base-image-arm64 [2024-03-18T01:44:38.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:44:38.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-236 does not seem to be running inside a container [2024-03-18T01:44:39.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-18T01:44:40.334Z] $ docker top 6f780cb9f15a9b627514bb33d7c9391ddceab33f96615fc52ea1464b515131e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-18T01:44:41.209Z] + go version [2024-03-18T01:44:41.209Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-18T01:44:41.250Z] $ docker stop --time=1 6f780cb9f15a9b627514bb33d7c9391ddceab33f96615fc52ea1464b515131e7 [2024-03-18T01:44:42.874Z] $ docker rm -f --volumes 6f780cb9f15a9b627514bb33d7c9391ddceab33f96615fc52ea1464b515131e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:44:43.769Z] + docker inspect -f . ci-base-image-arm64 [2024-03-18T01:44:43.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:44:44.032Z] prd-ubuntu20.04-docker-arm64-4c-16g-236 does not seem to be running inside a container [2024-03-18T01:44:44.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-18T01:44:45.286Z] $ docker top 3f5a14ad7bb65b8cc5adbec62e9c9509fdd938dd6e88b75ba2af3b63e4ac7428 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-18T01:44:46.305Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-18T01:44:46.742Z] + make test [2024-03-18T01:44:46.742Z] go test ./... -coverprofile=coverage.out ./... [2024-03-18T01:44:51.018Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-18T01:46:27.647Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-18T01:46:27.647Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-18T01:46:27.647Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements [2024-03-18T01:46:27.647Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-18T01:46:27.647Z] go vet ./... [2024-03-18T01:46:39.968Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-18T01:46:39.968Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-18T01:46:39.968Z] ./bin/test-attribution-txt.sh [2024-03-18T01:46:39.968Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-18T01:46:40.008Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-18T01:46:40.057Z] $ docker stop --time=1 3f5a14ad7bb65b8cc5adbec62e9c9509fdd938dd6e88b75ba2af3b63e4ac7428 [2024-03-18T01:46:41.976Z] $ docker rm -f --volumes 3f5a14ad7bb65b8cc5adbec62e9c9509fdd938dd6e88b75ba2af3b63e4ac7428 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-18T01:46:43.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-18T01:46:43.327Z] Warning: overwriting stash ‘coverage-report’ [2024-03-18T01:46:43.730Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-18T01:46:44.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-18T01:46:44.724Z] + ls -al . [2024-03-18T01:46:44.724Z] total 180 [2024-03-18T01:46:44.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 01:44 . [2024-03-18T01:46:44.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 01:42 .. [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 01:42 .dockerignore [2024-03-18T01:46:44.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 01:42 .git [2024-03-18T01:46:44.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 01:42 .github [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 18 01:42 .gitignore [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 18 01:42 .golangci.yml [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 18 01:42 Attribution.txt [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 18 01:42 CHANGELOG.md [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 18 01:42 Dockerfile [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 01:42 GOVERNANCE.md [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 18 01:42 Jenkinsfile [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 18 01:42 LICENSE [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 18 01:42 Makefile [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 18 01:42 OWNERS.md [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 18 01:42 README.md [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 01:38 VERSION [2024-03-18T01:46:44.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 01:42 bin [2024-03-18T01:46:44.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 01:42 cmd [2024-03-18T01:46:44.724Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 18 01:46 coverage.out [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 3867 Mar 18 01:42 go.mod [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 18 01:42 go.sum [2024-03-18T01:46:44.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 01:42 internal [2024-03-18T01:46:44.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 01:42 mock [2024-03-18T01:46:44.724Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 18 01:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:46:45.153Z] + 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=d1605c55dffe9620e857c48c46dd1c59e7c1bef3 --label arch=arm64 --label version=0.0.0 . [2024-03-18T01:46:45.421Z] Sending build context to Docker daemon 7.591MB [2024-03-18T01:46:45.421Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-18T01:46:45.421Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-18T01:46:45.421Z] ---> 23666c6f20f2 [2024-03-18T01:46:45.421Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-18T01:46:45.689Z] ---> Running in ebfad6f6afd1 [2024-03-18T01:46:45.957Z] Removing intermediate container ebfad6f6afd1 [2024-03-18T01:46:45.957Z] ---> df7b8d76c191 [2024-03-18T01:46:45.957Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-18T01:46:45.957Z] ---> Running in b7a2123a3b33 [2024-03-18T01:46:46.224Z] Removing intermediate container b7a2123a3b33 [2024-03-18T01:46:46.224Z] ---> a75981e1faa6 [2024-03-18T01:46:46.224Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-18T01:46:46.492Z] ---> Running in 6c8fe09cd7b1 [2024-03-18T01:46:46.761Z] Removing intermediate container 6c8fe09cd7b1 [2024-03-18T01:46:46.761Z] ---> c6ca8c470f15 [2024-03-18T01:46:46.761Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-18T01:46:46.761Z] ---> Running in ea0171703e65 [2024-03-18T01:46:47.029Z] Removing intermediate container ea0171703e65 [2024-03-18T01:46:47.029Z] ---> 8b8657628366 [2024-03-18T01:46:47.029Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-18T01:46:47.029Z] ---> Running in 4dc756aab902 [2024-03-18T01:46:48.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-18T01:46:48.583Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-18T01:46:49.541Z] OK: 271 MiB in 56 packages [2024-03-18T01:46:50.569Z] Removing intermediate container 4dc756aab902 [2024-03-18T01:46:50.569Z] ---> 6d3dad49a9ca [2024-03-18T01:46:50.569Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-18T01:46:50.569Z] ---> Running in c0bc43f5fab2 [2024-03-18T01:46:50.835Z] Removing intermediate container c0bc43f5fab2 [2024-03-18T01:46:50.835Z] ---> 38b2c6c6ac80 [2024-03-18T01:46:50.835Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-18T01:46:51.440Z] ---> f0898228437f [2024-03-18T01:46:51.440Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-18T01:46:51.440Z] ---> Running in 1c39da8dcf31 [2024-03-18T01:46:53.395Z] Removing intermediate container 1c39da8dcf31 [2024-03-18T01:46:53.395Z] ---> 69bc5f0b7cde [2024-03-18T01:46:53.395Z] Step 11/25 : COPY . . [2024-03-18T01:46:54.376Z] ---> 2f1af1e9a371 [2024-03-18T01:46:54.376Z] Step 12/25 : RUN $MAKE [2024-03-18T01:46:54.376Z] ---> Running in 60237cff21e2 [2024-03-18T01:46:55.334Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-18T01:48:46.997Z] Removing intermediate container 60237cff21e2 [2024-03-18T01:48:46.997Z] ---> 203cda5b1561 [2024-03-18T01:48:46.997Z] Step 13/25 : FROM alpine:3.18 [2024-03-18T01:48:46.997Z] 3.18: Pulling from library/alpine [2024-03-18T01:48:46.997Z] c6b39de5b339: Pulling fs layer [2024-03-18T01:48:46.997Z] c6b39de5b339: Download complete [2024-03-18T01:48:46.997Z] c6b39de5b339: Pull complete [2024-03-18T01:48:46.997Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-18T01:48:46.997Z] Status: Downloaded newer image for alpine:3.18 [2024-03-18T01:48:46.997Z] ---> 33abbf032149 [2024-03-18T01:48:46.997Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-18T01:48:46.997Z] ---> Running in 4de8db2eca27 [2024-03-18T01:48:46.997Z] Removing intermediate container 4de8db2eca27 [2024-03-18T01:48:46.997Z] ---> d2ce47ce546c [2024-03-18T01:48:46.997Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-18T01:48:46.997Z] ---> Running in 419d7aa41a82 [2024-03-18T01:48:46.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-18T01:48:46.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-18T01:48:46.997Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-18T01:48:46.997Z] Executing busybox-1.36.1-r5.trigger [2024-03-18T01:48:46.997Z] OK: 8 MiB in 16 packages [2024-03-18T01:48:46.997Z] Removing intermediate container 419d7aa41a82 [2024-03-18T01:48:46.997Z] ---> dbc2ac16e921 [2024-03-18T01:48:46.997Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-18T01:48:46.997Z] ---> Running in de1d283ead96 [2024-03-18T01:48:46.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-18T01:48:47.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-18T01:48:48.225Z] OK: 8 MiB in 16 packages [2024-03-18T01:48:49.187Z] Removing intermediate container de1d283ead96 [2024-03-18T01:48:49.187Z] ---> ad22dab3162b [2024-03-18T01:48:49.187Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-18T01:48:50.591Z] ---> 43a13015f46d [2024-03-18T01:48:50.591Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-18T01:48:50.856Z] ---> 9d97999640d7 [2024-03-18T01:48:50.856Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-18T01:48:51.437Z] ---> b5ae40b6267e [2024-03-18T01:48:51.437Z] Step 20/25 : EXPOSE 59982 [2024-03-18T01:48:51.437Z] ---> Running in b2112e59fbd8 [2024-03-18T01:48:51.708Z] Removing intermediate container b2112e59fbd8 [2024-03-18T01:48:51.708Z] ---> 2cc233ec737a [2024-03-18T01:48:51.708Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-18T01:48:51.975Z] ---> Running in 54f8b9e07e2b [2024-03-18T01:48:52.240Z] Removing intermediate container 54f8b9e07e2b [2024-03-18T01:48:52.240Z] ---> 49778339b765 [2024-03-18T01:48:52.240Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-18T01:48:52.240Z] ---> Running in ced47053f8d5 [2024-03-18T01:48:52.508Z] Removing intermediate container ced47053f8d5 [2024-03-18T01:48:52.508Z] ---> 86a3c25adbbc [2024-03-18T01:48:52.508Z] Step 23/25 : LABEL arch=arm64 [2024-03-18T01:48:52.508Z] ---> Running in 347c622a69c1 [2024-03-18T01:48:52.775Z] Removing intermediate container 347c622a69c1 [2024-03-18T01:48:52.775Z] ---> f19a27aa9667 [2024-03-18T01:48:52.775Z] Step 24/25 : LABEL git_sha=d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [2024-03-18T01:48:53.153Z] ---> Running in 773fe991acf6 [2024-03-18T01:48:53.424Z] Removing intermediate container 773fe991acf6 [2024-03-18T01:48:53.424Z] ---> 504100a8bd5b [2024-03-18T01:48:53.424Z] Step 25/25 : LABEL version=0.0.0 [2024-03-18T01:48:53.424Z] ---> Running in 79ee33e20e43 [2024-03-18T01:48:53.699Z] Removing intermediate container 79ee33e20e43 [2024-03-18T01:48:53.699Z] ---> 1368bf2f9f2f [2024-03-18T01:48:53.699Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-18T01:48:53.699Z] Successfully built 1368bf2f9f2f [2024-03-18T01:48:53.699Z] 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 [2024-03-18T01:48:54.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-18T01:48:54.549Z] [2024-03-18T01:48:54.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:48:54.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-18T01:48:54.963Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-18T01:48:54.963Z] 8998bd30e6a1: Pulling fs layer [2024-03-18T01:48:54.963Z] 04944245beec: Pulling fs layer [2024-03-18T01:48:54.963Z] 699f458cf7ca: Pulling fs layer [2024-03-18T01:48:54.963Z] 765212b225bb: Pulling fs layer [2024-03-18T01:48:54.963Z] f23df028b6ca: Pulling fs layer [2024-03-18T01:48:54.963Z] d65c8cfc05b1: Pulling fs layer [2024-03-18T01:48:54.963Z] 2437ff75d9bd: Pulling fs layer [2024-03-18T01:48:54.963Z] 765212b225bb: Waiting [2024-03-18T01:48:54.963Z] f23df028b6ca: Waiting [2024-03-18T01:48:54.963Z] 2437ff75d9bd: Waiting [2024-03-18T01:48:54.963Z] d65c8cfc05b1: Waiting [2024-03-18T01:48:55.233Z] 04944245beec: Verifying Checksum [2024-03-18T01:48:55.233Z] 04944245beec: Download complete [2024-03-18T01:48:55.233Z] 765212b225bb: Verifying Checksum [2024-03-18T01:48:55.233Z] 765212b225bb: Download complete [2024-03-18T01:48:55.233Z] f23df028b6ca: Verifying Checksum [2024-03-18T01:48:55.233Z] f23df028b6ca: Download complete [2024-03-18T01:48:55.233Z] d65c8cfc05b1: Verifying Checksum [2024-03-18T01:48:55.233Z] d65c8cfc05b1: Download complete [2024-03-18T01:48:55.513Z] 699f458cf7ca: Verifying Checksum [2024-03-18T01:48:55.513Z] 699f458cf7ca: Download complete [2024-03-18T01:48:55.781Z] 8998bd30e6a1: Verifying Checksum [2024-03-18T01:48:55.781Z] 8998bd30e6a1: Download complete [2024-03-18T01:48:58.364Z] 2437ff75d9bd: Verifying Checksum [2024-03-18T01:48:58.364Z] 2437ff75d9bd: Download complete [2024-03-18T01:49:00.307Z] 8998bd30e6a1: Pull complete [2024-03-18T01:49:00.888Z] 04944245beec: Pull complete [2024-03-18T01:49:02.299Z] 699f458cf7ca: Pull complete [2024-03-18T01:49:02.568Z] 765212b225bb: Pull complete [2024-03-18T01:49:03.529Z] f23df028b6ca: Pull complete [2024-03-18T01:49:03.797Z] d65c8cfc05b1: Pull complete [2024-03-18T01:49:21.996Z] 2437ff75d9bd: Pull complete [2024-03-18T01:49:21.996Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-18T01:49:21.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-18T01:49:21.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:49:22.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-236 does not seem to be running inside a container [2024-03-18T01:49:22.441Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-18T01:49:25.120Z] $ docker top 25d2c0d2ec26767e885a9218beea11a913b51dc8120de1a06e421d0e0b684135 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:25.989Z] ---> job-cost.sh [2024-03-18T01:49:25.989Z] lf-activate-venv: SKIPPING [2024-03-18T01:49:25.989Z] INFO: No Stack... [2024-03-18T01:49:26.255Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-18T01:49:27.210Z] INFO: Archiving Costs [Pipeline] sh [2024-03-18T01:49:27.871Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-03-18T01:49:27.871Z] + cut -d, -f6 [Pipeline] lock [2024-03-18T01:49:27.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] [2024-03-18T01:49:27.965Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] did not exist. Created. [2024-03-18T01:49:27.969Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-18T01:49:28.684Z] /w/workspace/device-mqtt-go/1@tmp/durable-30f27bd6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-18T01:49:29.341Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-18T01:49:29.379Z] Warning: overwriting stash ‘stack-cost’ [2024-03-18T01:49:29.429Z] Stashed 1 file(s) [Pipeline] } [2024-03-18T01:49:29.443Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-668-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-18T01:49:29.543Z] $ docker stop --time=1 25d2c0d2ec26767e885a9218beea11a913b51dc8120de1a06e421d0e0b684135 [2024-03-18T01:49:31.030Z] $ docker rm -f --volumes 25d2c0d2ec26767e885a9218beea11a913b51dc8120de1a06e421d0e0b684135 [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 [2024-03-18T01:49:32.148Z] provisioning config files... [2024-03-18T01:49:32.159Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/config325060675016618014tmp [Pipeline] { [Pipeline] sh [2024-03-18T01:49:32.506Z] + set +x [2024-03-18T01:49:32.506Z] + bash -s -- [2024-03-18T01:49:32.506Z] + curl -s https://codecov.io/bash [2024-03-18T01:49:32.506Z] [2024-03-18T01:49:32.506Z] _____ _ [2024-03-18T01:49:32.506Z] / ____| | | [2024-03-18T01:49:32.506Z] | | ___ __| | ___ ___ _____ __ [2024-03-18T01:49:32.506Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-18T01:49:32.506Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-18T01:49:32.506Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-18T01:49:32.506Z] Bash-1.0.6 [2024-03-18T01:49:32.506Z] [2024-03-18T01:49:32.506Z] [2024-03-18T01:49:32.506Z] ==> git version 2.25.1 found [2024-03-18T01:49:32.506Z] ==> 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 [2024-03-18T01:49:32.506Z] Release-Date: 2020-01-08 [2024-03-18T01:49:32.506Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-18T01:49:32.506Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-18T01:49:32.506Z] ==> Jenkins CI detected. [2024-03-18T01:49:32.506Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-668 [2024-03-18T01:49:32.506Z] project root: . [2024-03-18T01:49:32.506Z] --> token set from env [2024-03-18T01:49:32.506Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-18T01:49:32.506Z] ==> Running gcov in . (disable via -X gcov) [2024-03-18T01:49:32.506Z] ==> Python coveragepy not found [2024-03-18T01:49:32.506Z] ==> Searching for coverage reports in: [2024-03-18T01:49:32.506Z] + . [2024-03-18T01:49:32.765Z] -> Found 1 reports [2024-03-18T01:49:32.765Z] ==> Detecting git/mercurial file structure [2024-03-18T01:49:32.765Z] ==> Reading reports [2024-03-18T01:49:32.765Z] + ./coverage.out bytes=18506 [2024-03-18T01:49:32.765Z] ==> Appending adjustments [2024-03-18T01:49:32.765Z] https://docs.codecov.io/docs/fixing-reports [2024-03-18T01:49:32.765Z] + Found adjustments [2024-03-18T01:49:32.765Z] ==> Gzipping contents [2024-03-18T01:49:32.765Z] 4.0K /tmp/codecov.CC835a.gz [2024-03-18T01:49:32.765Z] ==> Uploading reports [2024-03-18T01:49:32.765Z] url: https://codecov.io [2024-03-18T01:49:32.765Z] query: branch=PR-668&commit=d1605c55dffe9620e857c48c46dd1c59e7c1bef3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-668%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=668&job=&cmd_args= [2024-03-18T01:49:32.765Z] -> Pinging Codecov [2024-03-18T01:49:32.765Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-668&commit=d1605c55dffe9620e857c48c46dd1c59e7c1bef3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-668%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=668&job=&cmd_args= [2024-03-18T01:49:33.024Z] -> Uploading to [2024-03-18T01:49:33.024Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-18/7D719EC7BBE17E464838252E33014C33/d1605c55dffe9620e857c48c46dd1c59e7c1bef3/04d2f316-6d96-4312-9f9a-191426ba586a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240318T014932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ccad0cbc9e9c09cd25255a8a18bd616143a9a17b39ee1e5c4c3f70d27a999bc [2024-03-18T01:49:33.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-18T01:49:33.024Z] Dload Upload Total Spent Left Speed [2024-03-18T01:49:33.283Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 10370 --:--:-- --:--:-- --:--:-- 10335 100 3049 0 0 100 3049 0 10335 --:--:-- --:--:-- --:--:-- 10300 [2024-03-18T01:49:33.283Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d1605c55dffe9620e857c48c46dd1c59e7c1bef3 [Pipeline] } [2024-03-18T01:49:33.309Z] 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 [2024-03-18T01:49:35.283Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives ] [2024-03-18T01:49:35.283Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives [2024-03-18T01:49:35.283Z] total 16 [2024-03-18T01:49:35.283Z] drwxr-xr-x 3 root root 4096 Mar 18 01:40 . [2024-03-18T01:49:35.283Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 01:40 .. [2024-03-18T01:49:35.283Z] drwxr-xr-x 2 root root 4096 Mar 18 01:40 cost [2024-03-18T01:49:35.283Z] -rw-r--r-- 1 root root 86 Mar 18 01:40 cost.csv [2024-03-18T01:49:35.283Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives [2024-03-18T01:49:35.283Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives [2024-03-18T01:49:35.283Z] total 16 [2024-03-18T01:49:35.283Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 01:40 . [2024-03-18T01:49:35.283Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 01:40 .. [2024-03-18T01:49:35.283Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 01:40 cost [2024-03-18T01:49:35.283Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 18 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:35.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:36.558Z] ---> package-listing.sh [2024-03-18T01:49:36.558Z] ++ facter osfamily [2024-03-18T01:49:36.558Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-18T01:49:36.558Z] + OS_FAMILY=debian [2024-03-18T01:49:36.558Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-668 [2024-03-18T01:49:36.558Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-18T01:49:36.558Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-18T01:49:36.558Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-18T01:49:36.558Z] + PACKAGES=/tmp/packages_start.txt [2024-03-18T01:49:36.558Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-668 ']' [2024-03-18T01:49:36.558Z] + PACKAGES=/tmp/packages_end.txt [2024-03-18T01:49:36.558Z] + case "${OS_FAMILY}" in [2024-03-18T01:49:36.558Z] + dpkg -l [2024-03-18T01:49:36.558Z] + grep '^ii' [2024-03-18T01:49:36.558Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-18T01:49:36.558Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-18T01:49:36.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-18T01:49:36.831Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-668 ']' [2024-03-18T01:49:36.831Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives/ [2024-03-18T01:49:36.831Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-668/archives/ [Pipeline] echo [2024-03-18T01:49:36.869Z] 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-668/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-18T01:49:37.212Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-18T01:49:37.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-18T01:49:37.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-18T01:49:37.773Z] prd-ubuntu20.04-docker-8c-8g-235 does not seem to be running inside a container [2024-03-18T01:49:37.803Z] $ 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-668/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-668 -v /w/workspace/gexfoundry_device-mqtt-go_PR-668:/w/workspace/gexfoundry_device-mqtt-go_PR-668:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-18T01:49:37.970Z] $ docker top 47152780dcf8186cdaf1e6bb81b0d377bc9e9601d17275c5ac8288dfab099996 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-18T01:49:38.374Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-18T01:49:38.682Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-18T01:49:38.991Z] + ls /var/log/sa-host [2024-03-18T01:49:38.991Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-18T01:49:39.225Z] provisioning config files... [2024-03-18T01:49:39.235Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-668@tmp/config1328920923014328991tmp [Pipeline] { [Pipeline] echo [2024-03-18T01:49:39.296Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:39.605Z] ---> create-netrc.sh [Pipeline] } [2024-03-18T01:49:39.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:40.044Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-18T01:49:40.077Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:40.391Z] ---> sudo-logs.sh [2024-03-18T01:49:40.391Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-18T01:49:40.483Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:40.793Z] ---> job-cost.sh [2024-03-18T01:49:40.793Z] lf-activate-venv: SKIPPING [2024-03-18T01:49:40.793Z] DEBUG: total: 0.2199999988079071 [2024-03-18T01:49:40.793Z] INFO: Retrieving Stack Cost... [2024-03-18T01:49:41.360Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-18T01:49:41.619Z] INFO: Archiving Costs [Pipeline] echo [2024-03-18T01:49:41.661Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-18T01:49:41.967Z] ---> logs-deploy.sh [2024-03-18T01:49:41.967Z] lf-activate-venv: SKIPPING [2024-03-18T01:49:41.967Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-668/1 [2024-03-18T01:49:41.967Z] INFO: archiving workspace using pattern(s): [2024-03-18T01:49:48.795Z] Archives upload complete. [2024-03-18T01:49:48.795Z] INFO: archiving logs to Nexus