Pull request #529 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from d91084f367e59075b592b3dd03a17e6c08a8773d+4a35f1d313b93b1afef0ede40251cd94a3668512 (2951549f05bf034537530e1345394c7541b18576) 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-ssh7549635791375944346.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4511922993133713268.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-529/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-529/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7876940675448629234.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-529/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8677668012483415896.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12266613472707905502.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-529/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-529/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5349405120080513054.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-629’ is offline ‘prd-ubuntu20.04-docker-8c-8g-630’ is offline ‘prd-ubuntu20.04-docker-8c-8g-853’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-859 in /w/workspace/gexfoundry_device-mqtt-go_PR-529 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-529 # 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/529/head:refs/remotes/origin/PR-529 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit d91084f367e59075b592b3dd03a17e6c08a8773d Merge succeeded, producing d91084f367e59075b592b3dd03a17e6c08a8773d Checking out Revision d91084f367e59075b592b3dd03a17e6c08a8773d (PR-529) > git config core.sparsecheckout # timeout=10 > git checkout -f d91084f367e59075b592b3dd03a17e6c08a8773d # 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 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d91084f367e59075b592b3dd03a17e6c08a8773d # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:11:52.335Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:11:52.502Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:11:52.605Z] ========================================================= [2023-03-15T16:11:52.606Z] EdgeX Global Pipelines Version Info [2023-03-15T16:11:52.606Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:53.338Z] ------------------- [2023-03-15T16:11:53.338Z] stable info: [2023-03-15T16:11:53.338Z] ------------------- [2023-03-15T16:11:53.338Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:11:53.338Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:11:53.338Z] Message: update stable to v1.0.245 [2023-03-15T16:11:53.909Z] ------------------- [2023-03-15T16:11:53.909Z] experimental info: [2023-03-15T16:11:53.909Z] ------------------- [2023-03-15T16:11:53.909Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:11:53.909Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:11:53.909Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:11:54.216Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-15T16:11:54.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-15T16:11:54.298Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:11:54.342Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:11:54.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:11:54.429Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:11:54.476Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:11:54.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:11:54.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:11:54.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:11:54.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:11:54.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-15T16:11:54.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:11:54.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:11:54.804Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:11:54.843Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:11:54.880Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:11:54.921Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:11:54.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:11:55.000Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:11:55.037Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:11:55.079Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:11:55.133Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:11:55.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:11:55.224Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:11:55.265Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:11:55.312Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:11:55.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-529 [Pipeline] echo [2023-03-15T16:11:55.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-529 [Pipeline] echo [2023-03-15T16:11:55.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-529 [Pipeline] echo [2023-03-15T16:11:55.614Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d91084f367e59075b592b3dd03a17e6c08a8773d [Pipeline] echo [2023-03-15T16:11:55.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d91084f [Pipeline] echo [2023-03-15T16:11:55.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:11:55.806Z] provisioning config files... [2023-03-15T16:11:55.825Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config15056202147176261187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:11:56.183Z] ---> docker-login.sh [2023-03-15T16:11:56.183Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:11:56.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:56.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:56.447Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:56.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:56.447Z] [2023-03-15T16:11:56.447Z] Login Succeeded [2023-03-15T16:11:56.447Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:11:56.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:56.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:56.447Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:56.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:56.447Z] [2023-03-15T16:11:56.447Z] Login Succeeded [2023-03-15T16:11:56.447Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:11:56.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:56.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:56.708Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:56.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:56.708Z] [2023-03-15T16:11:56.708Z] Login Succeeded [2023-03-15T16:11:56.708Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:11:56.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:56.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:56.708Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:56.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:56.708Z] [2023-03-15T16:11:56.708Z] Login Succeeded [2023-03-15T16:11:56.708Z] docker.io [2023-03-15T16:11:56.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:11:56.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:11:56.972Z] Configure a credential helper to remove this warning. See [2023-03-15T16:11:56.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:11:56.972Z] [2023-03-15T16:11:56.972Z] Login Succeeded [2023-03-15T16:11:56.972Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:11:56.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:11:57.616Z] + git rev-list -1 --merges d91084f367e59075b592b3dd03a17e6c08a8773d~1..d91084f367e59075b592b3dd03a17e6c08a8773d [Pipeline] echo [2023-03-15T16:11:57.683Z] -----------> git rev-list -1 --merges d91084f367e59075b592b3dd03a17e6c08a8773d~1..d91084f367e59075b592b3dd03a17e6c08a8773d d91084f367e59075b592b3dd03a17e6c08a8773d [false] [Pipeline] sh [2023-03-15T16:11:57.999Z] + git log --format=format:%s -1 d91084f367e59075b592b3dd03a17e6c08a8773d [Pipeline] echo [2023-03-15T16:11:58.041Z] ========================================================= [2023-03-15T16:11:58.041Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:11:58.041Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:11:58.477Z] + git log --format=format:%s -1 d91084f367e59075b592b3dd03a17e6c08a8773d [Pipeline] echo [2023-03-15T16:11:58.508Z] [semverPrep] GIT_COMMIT: d91084f367e59075b592b3dd03a17e6c08a8773d, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo [2023-03-15T16:11:58.539Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:11:58.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:11:58.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:11:58.913Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:11:58.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:11:58.913Z] + sudo+ tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:11:58.913Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:11:58.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:59.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:59.340Z] [2023-03-15T16:11:59.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:11:59.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:11:59.710Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:11:59.710Z] b85a868b505f: Pulling fs layer [2023-03-15T16:11:59.710Z] e2be974225ed: Pulling fs layer [2023-03-15T16:11:59.710Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:11:59.710Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:11:59.710Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:11:59.711Z] eaf3925da568: Pulling fs layer [2023-03-15T16:11:59.711Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:11:59.711Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:11:59.711Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:11:59.711Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:11:59.711Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:11:59.711Z] 1469e6f7b9e6: Waiting [2023-03-15T16:11:59.711Z] eaf3925da568: Waiting [2023-03-15T16:11:59.711Z] bab4dde63d76: Waiting [2023-03-15T16:11:59.711Z] bde34c3a00c8: Waiting [2023-03-15T16:11:59.711Z] b352a97aabf1: Waiting [2023-03-15T16:11:59.711Z] 4872d77fe225: Waiting [2023-03-15T16:11:59.711Z] 5851b861e8e6: Waiting [2023-03-15T16:11:59.711Z] 988bab9f4d93: Waiting [2023-03-15T16:11:59.711Z] e2be974225ed: Verifying Checksum [2023-03-15T16:11:59.711Z] e2be974225ed: Download complete [2023-03-15T16:11:59.711Z] 988bab9f4d93: Download complete [2023-03-15T16:11:59.971Z] 1469e6f7b9e6: Download complete [2023-03-15T16:11:59.971Z] eaf3925da568: Verifying Checksum [2023-03-15T16:11:59.971Z] eaf3925da568: Download complete [2023-03-15T16:11:59.971Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:11:59.971Z] 339a4e72a1f5: Download complete [2023-03-15T16:11:59.971Z] bde34c3a00c8: Download complete [2023-03-15T16:11:59.971Z] b352a97aabf1: Verifying Checksum [2023-03-15T16:11:59.971Z] b352a97aabf1: Download complete [2023-03-15T16:11:59.971Z] 4872d77fe225: Download complete [2023-03-15T16:11:59.971Z] 5851b861e8e6: Verifying Checksum [2023-03-15T16:11:59.971Z] 5851b861e8e6: Download complete [2023-03-15T16:11:59.971Z] b85a868b505f: Verifying Checksum [2023-03-15T16:11:59.971Z] b85a868b505f: Download complete [2023-03-15T16:12:00.231Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:12:00.231Z] bab4dde63d76: Download complete [2023-03-15T16:12:01.294Z] b85a868b505f: Pull complete [2023-03-15T16:12:01.574Z] e2be974225ed: Pull complete [2023-03-15T16:12:02.140Z] 339a4e72a1f5: Pull complete [2023-03-15T16:12:02.140Z] 988bab9f4d93: Pull complete [2023-03-15T16:12:02.402Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:12:02.402Z] eaf3925da568: Pull complete [2023-03-15T16:12:04.305Z] bab4dde63d76: Pull complete [2023-03-15T16:12:04.305Z] bde34c3a00c8: Pull complete [2023-03-15T16:12:04.564Z] b352a97aabf1: Pull complete [2023-03-15T16:12:04.564Z] 4872d77fe225: Pull complete [2023-03-15T16:12:04.824Z] 5851b861e8e6: Pull complete [2023-03-15T16:12:04.824Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:12:04.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:12:04.824Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:05.066Z] prd-ubuntu20.04-docker-8c-8g-859 does not seem to be running inside a container [2023-03-15T16:12:05.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:12:06.287Z] $ docker top 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf -eo pid,comm [2023-03-15T16:12:06.341Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-15T16:12:06.341Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:12:06.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:12:06.458Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:12:06.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:12:06.584Z] $ docker exec 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf ssh-agent [2023-03-15T16:12:06.679Z] SSH_AUTH_SOCK=/tmp/ssh-hFqyMEw6zO6v/agent.32 [2023-03-15T16:12:06.679Z] SSH_AGENT_PID=38 [2023-03-15T16:12:06.686Z] Running ssh-add (command line suppressed) [2023-03-15T16:12:06.781Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_14808265145656859822.key (/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_14808265145656859822.key) [2023-03-15T16:12:06.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:12:07.122Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:12:07.151Z] $ docker exec --env ******** --env ******** 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf ssh-agent -k [2023-03-15T16:12:07.241Z] unset SSH_AUTH_SOCK; [2023-03-15T16:12:07.242Z] unset SSH_AGENT_PID; [2023-03-15T16:12:07.242Z] echo Agent pid 38 killed; [2023-03-15T16:12:07.247Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:12:07.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:12:07.337Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:12:07.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:12:07.454Z] $ docker exec 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf ssh-agent [2023-03-15T16:12:07.566Z] SSH_AUTH_SOCK=/tmp/ssh-pB6qJrsdGr8d/agent.70 [2023-03-15T16:12:07.566Z] SSH_AGENT_PID=76 [2023-03-15T16:12:07.571Z] Running ssh-add (command line suppressed) [2023-03-15T16:12:07.686Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_12161540654268057850.key (/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_12161540654268057850.key) [2023-03-15T16:12:07.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:12:08.018Z] + git semver init [2023-03-15T16:12:08.277Z] 2023-03-15 16:12:08,204 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:12:08.277Z] 2023-03-15 16:12:08,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver [2023-03-15T16:12:08.277Z] 2023-03-15 16:12:08,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver [2023-03-15T16:12:08.277Z] 2023-03-15 16:12:08,206 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-529, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,032 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.git/info/exclude [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,032 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver/PR-529 with force:False [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,032 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver/PR-529 [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,036 [execute] INFO git cat-file --batch-check [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,044 [execute] INFO git cat-file --batch [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:12:09.212Z] 2023-03-15 16:12:09,051 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver/PR-529 [2023-03-15T16:12:09.212Z] 0.0.0 [Pipeline] } [2023-03-15T16:12:09.240Z] $ docker exec --env ******** --env ******** 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf ssh-agent -k [2023-03-15T16:12:09.337Z] unset SSH_AUTH_SOCK; [2023-03-15T16:12:09.338Z] unset SSH_AGENT_PID; [2023-03-15T16:12:09.338Z] echo Agent pid 76 killed; [2023-03-15T16:12:09.345Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:12:09.773Z] + git semver [Pipeline] } [2023-03-15T16:12:10.071Z] $ docker stop --time=1 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf [2023-03-15T16:12:11.431Z] $ docker rm -f --volumes 40efe2e5f93e283b556ee322e827dada5d5e300817c9248922227137880a45bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:12:11.827Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:12:12.102Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:12:12.119Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:12:12.715Z] provisioning config files... [2023-03-15T16:12:12.725Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config16139828879133616496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:12:13.086Z] ---> docker-login.sh [2023-03-15T16:12:13.086Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:12:13.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:13.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:13.086Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:13.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:13.086Z] [2023-03-15T16:12:13.086Z] Login Succeeded [2023-03-15T16:12:13.086Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:12:13.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:13.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:13.086Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:13.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:13.086Z] [2023-03-15T16:12:13.086Z] Login Succeeded [2023-03-15T16:12:13.086Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:12:13.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:13.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:13.346Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:13.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:13.346Z] [2023-03-15T16:12:13.346Z] Login Succeeded [2023-03-15T16:12:13.346Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:12:13.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:13.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:13.346Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:13.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:13.346Z] [2023-03-15T16:12:13.346Z] Login Succeeded [2023-03-15T16:12:13.346Z] docker.io [2023-03-15T16:12:13.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:12:13.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:12:13.605Z] Configure a credential helper to remove this warning. See [2023-03-15T16:12:13.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:12:13.605Z] [2023-03-15T16:12:13.605Z] Login Succeeded [2023-03-15T16:12:13.605Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:12:13.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:12:13.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:12:13.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:12:13.887Z] ========================================================= [2023-03-15T16:12:13.888Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:12:13.888Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:14.350Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:12:14.350Z] Sending build context to Docker daemon 6.394MB [2023-03-15T16:12:14.350Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:12:14.350Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:12:14.611Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:12:14.611Z] 63b65145d645: Pulling fs layer [2023-03-15T16:12:14.611Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:12:14.611Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:12:14.611Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:12:14.611Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:12:14.611Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:12:14.611Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:12:14.611Z] f25807f1079a: Pulling fs layer [2023-03-15T16:12:14.611Z] 30dea6a524f1: Waiting [2023-03-15T16:12:14.611Z] a2aff8979fd8: Waiting [2023-03-15T16:12:14.611Z] 6808be2612f2: Waiting [2023-03-15T16:12:14.611Z] f25807f1079a: Waiting [2023-03-15T16:12:14.611Z] 94cc34f8dd06: Waiting [2023-03-15T16:12:14.611Z] a2d21d5440eb: Download complete [2023-03-15T16:12:14.611Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:12:14.611Z] 94cc34f8dd06: Download complete [2023-03-15T16:12:14.611Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:12:14.611Z] 30dea6a524f1: Download complete [2023-03-15T16:12:14.611Z] 63b65145d645: Verifying Checksum [2023-03-15T16:12:14.611Z] 63b65145d645: Download complete [2023-03-15T16:12:14.611Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:12:14.611Z] a2aff8979fd8: Download complete [2023-03-15T16:12:14.872Z] 63b65145d645: Pull complete [2023-03-15T16:12:14.872Z] a2d21d5440eb: Pull complete [2023-03-15T16:12:15.132Z] f25807f1079a: Verifying Checksum [2023-03-15T16:12:15.132Z] f25807f1079a: Download complete [2023-03-15T16:12:15.391Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:12:15.391Z] 6808be2612f2: Download complete [2023-03-15T16:12:15.649Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:12:15.649Z] 935e6c44a52c: Download complete [2023-03-15T16:12:18.951Z] 935e6c44a52c: Pull complete [2023-03-15T16:12:18.951Z] 94cc34f8dd06: Pull complete [2023-03-15T16:12:19.210Z] 30dea6a524f1: Pull complete [2023-03-15T16:12:19.210Z] a2aff8979fd8: Pull complete [2023-03-15T16:12:21.741Z] 6808be2612f2: Pull complete [2023-03-15T16:12:22.308Z] f25807f1079a: Pull complete [2023-03-15T16:12:22.308Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:12:22.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:12:22.308Z] ---> 3b553350e43f [2023-03-15T16:12:22.308Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:12:23.685Z] ---> Running in 3f371ca43d82 [2023-03-15T16:12:23.685Z] Removing intermediate container 3f371ca43d82 [2023-03-15T16:12:23.685Z] ---> 8731c63f17c7 [2023-03-15T16:12:23.685Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:12:23.685Z] ---> Running in cf3829625813 [2023-03-15T16:12:23.944Z] Removing intermediate container cf3829625813 [2023-03-15T16:12:23.944Z] ---> dd2908a4cddb [2023-03-15T16:12:23.944Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:12:23.944Z] ---> Running in a17d1f8a8fb5 [2023-03-15T16:12:23.944Z] Removing intermediate container a17d1f8a8fb5 [2023-03-15T16:12:23.944Z] ---> e5c5c74cd374 [2023-03-15T16:12:23.944Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:12:24.203Z] ---> Running in cbaa1f522d08 [2023-03-15T16:12:24.203Z] Removing intermediate container cbaa1f522d08 [2023-03-15T16:12:24.203Z] ---> e6bd2c105b25 [2023-03-15T16:12:24.203Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:12:24.203Z] ---> Running in f7072f1ebcb3 [2023-03-15T16:12:24.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:24.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:12:24.721Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:12:24.721Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:12:24.721Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:12:24.980Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:12:24.981Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:12:24.981Z] OK: 269 MiB in 57 packages [2023-03-15T16:12:25.240Z] Removing intermediate container f7072f1ebcb3 [2023-03-15T16:12:25.240Z] ---> 2e8e1e43bbb8 [2023-03-15T16:12:25.240Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T16:12:25.240Z] ---> Running in ee1e5308b5a7 [2023-03-15T16:12:25.240Z] Removing intermediate container ee1e5308b5a7 [2023-03-15T16:12:25.240Z] ---> d68f145543c8 [2023-03-15T16:12:25.240Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:12:25.498Z] ---> b97572446f4f [2023-03-15T16:12:25.498Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:12:25.498Z] ---> Running in b5f0f0d694bc [2023-03-15T16:12:27.540Z] Still waiting to schedule task [2023-03-15T16:12:27.540Z] ‘prd-centos7-builder-2c-1g-842’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:27.540Z] ‘prd-ubuntu20.04-docker-8c-8g-629’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:27.540Z] ‘prd-ubuntu20.04-docker-8c-8g-630’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:27.540Z] ‘prd-ubuntu20.04-docker-8c-8g-860’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:27.540Z] ‘prd-ubuntu20.04-docker-8c-8g-861’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:12:27.540Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-754’ is offline [2023-03-15T16:12:27.541Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-756’ is offline [2023-03-15T16:12:27.541Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-858’ is offline [2023-03-15T16:12:47.423Z] Removing intermediate container b5f0f0d694bc [2023-03-15T16:12:47.423Z] ---> de9e2f5e85e9 [2023-03-15T16:12:47.423Z] Step 11/12 : COPY . . [2023-03-15T16:12:47.423Z] ---> 67c823040ce1 [2023-03-15T16:12:47.423Z] Step 12/12 : RUN $MAKE [2023-03-15T16:12:47.423Z] ---> Running in 6b3ffa035d60 [2023-03-15T16:12:47.423Z] noop [2023-03-15T16:12:47.423Z] Removing intermediate container 6b3ffa035d60 [2023-03-15T16:12:47.423Z] ---> 2de613c772cc [2023-03-15T16:12:47.423Z] Successfully built 2de613c772cc [2023-03-15T16:12:47.423Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:47.853Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:12:47.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:47.990Z] prd-ubuntu20.04-docker-8c-8g-859 does not seem to be running inside a container [2023-03-15T16:12:48.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:12:48.381Z] $ docker top 35ef5707eca10c17d024896c5152b87cf759f156b9e5a56868b245d3a73c9cc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:12:48.761Z] + go version [2023-03-15T16:12:48.761Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:12:48.795Z] $ docker stop --time=1 35ef5707eca10c17d024896c5152b87cf759f156b9e5a56868b245d3a73c9cc8 [2023-03-15T16:12:50.112Z] $ docker rm -f --volumes 35ef5707eca10c17d024896c5152b87cf759f156b9e5a56868b245d3a73c9cc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:12:50.808Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:12:50.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:12:50.960Z] prd-ubuntu20.04-docker-8c-8g-859 does not seem to be running inside a container [2023-03-15T16:12:50.992Z] $ 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-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:12:51.354Z] $ docker top 2f14af956d2819b4c655e916ffc6df195d60a7e67ce4ed59129b9dbaaf57fe36 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:12:51.736Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-529 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:12:52.088Z] + make test [2023-03-15T16:12:52.088Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:12:57.359Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T16:13:05.463Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T16:13:06.028Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T16:13:06.028Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.2% of statements [2023-03-15T16:13:11.281Z] go vet ./... [2023-03-15T16:13:14.571Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:13:14.571Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:13:14.571Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:13:14.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:13:14.890Z] $ docker stop --time=1 2f14af956d2819b4c655e916ffc6df195d60a7e67ce4ed59129b9dbaaf57fe36 [2023-03-15T16:13:16.796Z] $ docker rm -f --volumes 2f14af956d2819b4c655e916ffc6df195d60a7e67ce4ed59129b9dbaaf57fe36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:13:17.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:13:17.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:13:18.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:13:18.321Z] + ls -al . [2023-03-15T16:13:18.322Z] total 180 [2023-03-15T16:13:18.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:12 . [2023-03-15T16:13:18.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:11 .. [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:11 .dockerignore [2023-03-15T16:13:18.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:12 .git [2023-03-15T16:13:18.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 .github [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:11 .gitignore [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:11 .golangci.yml [2023-03-15T16:13:18.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:12 .semver [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 16:11 Attribution.txt [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 16:11 CHANGELOG.md [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 16:11 Dockerfile [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:11 GOVERNANCE.md [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 16:11 Jenkinsfile [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:11 LICENSE [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 16:11 Makefile [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:11 OWNERS.md [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 16:11 README.md [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:12 VERSION [2023-03-15T16:13:18.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:11 bin [2023-03-15T16:13:18.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 cmd [2023-03-15T16:13:18.322Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 16:13 coverage.out [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 16:11 go.mod [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:11 go.sum [2023-03-15T16:13:18.322Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:11 internal [2023-03-15T16:13:18.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:11 mock [2023-03-15T16:13:18.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:11 snap [2023-03-15T16:13:18.322Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:18.709Z] + 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=d91084f367e59075b592b3dd03a17e6c08a8773d --label arch=amd64 --label version=0.0.0 . [2023-03-15T16:13:18.709Z] Sending build context to Docker daemon 6.413MB [2023-03-15T16:13:18.709Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:13:18.709Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T16:13:18.709Z] ---> 2de613c772cc [2023-03-15T16:13:18.709Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:13:18.709Z] ---> Running in ded178f8c04a [2023-03-15T16:13:18.972Z] Removing intermediate container ded178f8c04a [2023-03-15T16:13:18.972Z] ---> 469a3097a1ce [2023-03-15T16:13:18.972Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:13:18.972Z] ---> Running in 8f8a66841eac [2023-03-15T16:13:18.972Z] Removing intermediate container 8f8a66841eac [2023-03-15T16:13:18.972Z] ---> bbb57c3febe1 [2023-03-15T16:13:18.972Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:13:18.972Z] ---> Running in 5143f0e8917a [2023-03-15T16:13:18.972Z] Removing intermediate container 5143f0e8917a [2023-03-15T16:13:18.972Z] ---> 2b0546c7e072 [2023-03-15T16:13:18.972Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:13:19.231Z] ---> Running in da6b0f9ab544 [2023-03-15T16:13:19.231Z] Removing intermediate container da6b0f9ab544 [2023-03-15T16:13:19.231Z] ---> 749c61997bb7 [2023-03-15T16:13:19.231Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:13:19.231Z] ---> Running in 101ea0b880f7 [2023-03-15T16:13:19.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:19.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:20.004Z] OK: 269 MiB in 57 packages [2023-03-15T16:13:20.262Z] Removing intermediate container 101ea0b880f7 [2023-03-15T16:13:20.262Z] ---> 1eea7a2a133f [2023-03-15T16:13:20.262Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T16:13:20.262Z] ---> Running in 3439fc28d92c [2023-03-15T16:13:20.533Z] Removing intermediate container 3439fc28d92c [2023-03-15T16:13:20.533Z] ---> 125be7c48942 [2023-03-15T16:13:20.533Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T16:13:20.533Z] ---> db232d78637a [2023-03-15T16:13:20.533Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:13:20.533Z] ---> Running in bfdb5673cbad [2023-03-15T16:13:21.486Z] Removing intermediate container bfdb5673cbad [2023-03-15T16:13:21.486Z] ---> 879f3d5b92a4 [2023-03-15T16:13:21.486Z] Step 11/24 : COPY . . [2023-03-15T16:13:21.486Z] ---> b029464805cc [2023-03-15T16:13:21.486Z] Step 12/24 : RUN $MAKE [2023-03-15T16:13:21.746Z] ---> Running in 044433ff02a1 [2023-03-15T16:13:21.746Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T16:13:39.817Z] Removing intermediate container 044433ff02a1 [2023-03-15T16:13:39.817Z] ---> 68643187a2d5 [2023-03-15T16:13:39.817Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T16:13:39.817Z] 3.17: Pulling from library/alpine [2023-03-15T16:13:39.817Z] 63b65145d645: Already exists [2023-03-15T16:13:39.817Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:13:39.817Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:13:39.817Z] ---> b2aa39c304c2 [2023-03-15T16:13:39.817Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T16:13:39.817Z] ---> Running in 22cfdab24af6 [2023-03-15T16:13:39.817Z] Removing intermediate container 22cfdab24af6 [2023-03-15T16:13:39.817Z] ---> 99ea57ad701b [2023-03-15T16:13:39.817Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:13:39.817Z] ---> Running in 31132f2cb1bf [2023-03-15T16:13:39.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:39.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:13:39.817Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:13:39.817Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:13:39.817Z] OK: 7 MiB in 16 packages [2023-03-15T16:13:39.817Z] Removing intermediate container 31132f2cb1bf [2023-03-15T16:13:39.817Z] ---> 336347d1e906 [2023-03-15T16:13:39.817Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T16:13:39.817Z] ---> caa5f32317ee [2023-03-15T16:13:39.817Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T16:13:39.817Z] ---> 8d3000ffff9c [2023-03-15T16:13:39.817Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T16:13:39.817Z] ---> cf2bd08f5dcc [2023-03-15T16:13:39.817Z] Step 19/24 : EXPOSE 59982 [2023-03-15T16:13:39.817Z] ---> Running in c4b6935dce53 [2023-03-15T16:13:39.817Z] Removing intermediate container c4b6935dce53 [2023-03-15T16:13:39.817Z] ---> ec0fd0602377 [2023-03-15T16:13:39.817Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T16:13:39.817Z] ---> Running in bc0bb87fdf91 [2023-03-15T16:13:39.817Z] Removing intermediate container bc0bb87fdf91 [2023-03-15T16:13:39.817Z] ---> 2df82500f4f0 [2023-03-15T16:13:39.817Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:13:40.075Z] ---> Running in e8ef405b5a5e [2023-03-15T16:13:40.075Z] Removing intermediate container e8ef405b5a5e [2023-03-15T16:13:40.075Z] ---> 1defcf202ae9 [2023-03-15T16:13:40.075Z] Step 22/24 : LABEL arch=amd64 [2023-03-15T16:13:40.075Z] ---> Running in e4aa44b7e1ff [2023-03-15T16:13:40.075Z] Removing intermediate container e4aa44b7e1ff [2023-03-15T16:13:40.075Z] ---> 956ab0312802 [2023-03-15T16:13:40.075Z] Step 23/24 : LABEL git_sha=d91084f367e59075b592b3dd03a17e6c08a8773d [2023-03-15T16:13:40.075Z] ---> Running in fad203b359e8 [2023-03-15T16:13:40.333Z] Removing intermediate container fad203b359e8 [2023-03-15T16:13:40.333Z] ---> 30f029a59d46 [2023-03-15T16:13:40.333Z] Step 24/24 : LABEL version=0.0.0 [2023-03-15T16:13:40.333Z] ---> Running in bc172c2ae079 [2023-03-15T16:13:40.333Z] Removing intermediate container bc172c2ae079 [2023-03-15T16:13:40.333Z] ---> d3cdaac48d83 [2023-03-15T16:13:40.333Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:13:40.333Z] Successfully built d3cdaac48d83 [2023-03-15T16:13:40.333Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:41.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:41.163Z] [2023-03-15T16:13:41.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:13:41.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:41.532Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:13:41.532Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:13:41.532Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:13:41.532Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:13:41.532Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:13:41.532Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:13:41.532Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:13:41.532Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:13:41.532Z] 5d3b04190fa2: Waiting [2023-03-15T16:13:41.532Z] 33b1e0a273af: Waiting [2023-03-15T16:13:41.532Z] 2f39f015ded8: Waiting [2023-03-15T16:13:41.532Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:13:41.532Z] 5c69ac0246d0: Download complete [2023-03-15T16:13:41.532Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T16:13:41.532Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:13:41.792Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:13:41.792Z] ec43610c2a17: Download complete [2023-03-15T16:13:41.792Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:13:41.792Z] 33b1e0a273af: Download complete [2023-03-15T16:13:41.792Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T16:13:41.792Z] 5d3b04190fa2: Download complete [2023-03-15T16:13:41.792Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:13:41.792Z] 5eb5b503b376: Download complete [2023-03-15T16:13:42.357Z] 2f39f015ded8: Download complete [2023-03-15T16:13:42.922Z] 5eb5b503b376: Pull complete [2023-03-15T16:13:42.922Z] 5c69ac0246d0: Pull complete [2023-03-15T16:13:43.507Z] ec43610c2a17: Pull complete [2023-03-15T16:13:43.508Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:13:43.765Z] 33b1e0a273af: Pull complete [2023-03-15T16:13:43.765Z] 5d3b04190fa2: Pull complete [2023-03-15T16:13:47.943Z] 2f39f015ded8: Pull complete [2023-03-15T16:13:47.943Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:13:47.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:13:47.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:13:48.156Z] prd-ubuntu20.04-docker-8c-8g-859 does not seem to be running inside a container [2023-03-15T16:13:48.184Z] $ 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-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:13:49.584Z] $ docker top 84da9f6439da899b5b4e8524426c7ee59d257dead7a9772206bf18b72a2c8fd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:13:50.041Z] ---> job-cost.sh [2023-03-15T16:13:50.041Z] lf-activate-venv: SKIPPING [2023-03-15T16:13:50.041Z] INFO: No Stack... [2023-03-15T16:13:50.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:13:50.870Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:13:51.181Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives/cost.csv [2023-03-15T16:13:51.181Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:13:51.221Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] [2023-03-15T16:13:51.227Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] did not exist. Created. [2023-03-15T16:13:51.227Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:13:51.606Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:13:51.654Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:13:51.680Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:13:51.760Z] $ docker stop --time=1 84da9f6439da899b5b4e8524426c7ee59d257dead7a9772206bf18b72a2c8fd2 [2023-03-15T16:13:52.932Z] $ docker rm -f --volumes 84da9f6439da899b5b4e8524426c7ee59d257dead7a9772206bf18b72a2c8fd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:28:02.055Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1286 in /w/workspace/gexfoundry_device-mqtt-go_PR-529 [Pipeline] { [Pipeline] ws [2023-03-15T16:28:02.105Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T16:28:02.182Z] Selected Git installation does not exist. Using Default [2023-03-15T16:28:02.182Z] The recommended git tool is: NONE [2023-03-15T16:28:10.308Z] using credential edgex-jenkins-ssh [2023-03-15T16:28:10.328Z] Cloning the remote Git repository [2023-03-15T16:28:10.405Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T16:28:10.544Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-03-15T16:28:10.746Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T16:28:10.748Z] > git --version # timeout=10 [2023-03-15T16:28:10.775Z] > git --version # 'git version 2.25.1' [2023-03-15T16:28:10.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:28:11.010Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:28:12.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T16:28:12.408Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:28:13.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-15T16:28:13.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-15T16:28:13.795Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:28:13.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/529/head:refs/remotes/origin/PR-529 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T16:28:14.494Z] Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit d91084f367e59075b592b3dd03a17e6c08a8773d [2023-03-15T16:28:14.879Z] Merge succeeded, producing d91084f367e59075b592b3dd03a17e6c08a8773d [2023-03-15T16:28:14.880Z] Checking out Revision d91084f367e59075b592b3dd03a17e6c08a8773d (PR-529) [2023-03-15T16:28:14.525Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:28:14.620Z] > git checkout -f d91084f367e59075b592b3dd03a17e6c08a8773d # timeout=10 [2023-03-15T16:28:14.734Z] > git remote # timeout=10 [2023-03-15T16:28:14.760Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T16:28:14.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:28:14.817Z] > git merge 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 [2023-03-15T16:28:14.852Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T16:28:14.892Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:28:14.912Z] > git checkout -f d91084f367e59075b592b3dd03a17e6c08a8773d # timeout=10 [2023-03-15T16:28:18.605Z] Commit message: "refactor(snap): Update command and metadata sourcing" [2023-03-15T16:28:18.675Z] > git --version # timeout=10 [2023-03-15T16:28:18.689Z] > git --version # 'git version 2.25.1' [2023-03-15T16:28:18.713Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:28:19.977Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:28:19.977Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:28:19.977Z] Dload Upload Total Spent Left Speed [2023-03-15T16:28:19.977Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-03-15T16:28:20.778Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:28:21.143Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:28:21.143Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:28:21.143Z] { [2023-03-15T16:28:21.143Z] "registry-mirrors": [ [2023-03-15T16:28:21.143Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:28:21.143Z] ], [2023-03-15T16:28:21.143Z] "bip": "10.250.0.254/24", [2023-03-15T16:28:21.143Z] "hosts": [ [2023-03-15T16:28:21.143Z] "tcp://0.0.0.0:5555", [2023-03-15T16:28:21.143Z] "unix:///var/run/docker.sock" [2023-03-15T16:28:21.143Z] ], [2023-03-15T16:28:21.143Z] "mtu": 1458, [2023-03-15T16:28:21.143Z] "selinux-enabled": true, [2023-03-15T16:28:21.143Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:28:21.143Z] } [Pipeline] sh [2023-03-15T16:28:21.504Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:28:21.885Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:28:40.259Z] provisioning config files... [2023-03-15T16:28:40.289Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config11166922881977463851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:40.684Z] ---> docker-login.sh [2023-03-15T16:28:40.684Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:28:40.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:28:41.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:28:41.234Z] Configure a credential helper to remove this warning. See [2023-03-15T16:28:41.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:28:41.234Z] [2023-03-15T16:28:41.234Z] Login Succeeded [2023-03-15T16:28:41.234Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:28:41.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:28:41.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:28:41.773Z] Configure a credential helper to remove this warning. See [2023-03-15T16:28:41.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:28:41.773Z] [2023-03-15T16:28:41.773Z] Login Succeeded [2023-03-15T16:28:41.773Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:28:42.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:28:42.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:28:42.041Z] Configure a credential helper to remove this warning. See [2023-03-15T16:28:42.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:28:42.042Z] [2023-03-15T16:28:42.042Z] Login Succeeded [2023-03-15T16:28:42.042Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:28:42.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:28:42.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:28:42.588Z] Configure a credential helper to remove this warning. See [2023-03-15T16:28:42.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:28:42.588Z] [2023-03-15T16:28:42.588Z] Login Succeeded [2023-03-15T16:28:42.588Z] docker.io [2023-03-15T16:28:42.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:28:42.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:28:42.857Z] Configure a credential helper to remove this warning. See [2023-03-15T16:28:42.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:28:42.857Z] [2023-03-15T16:28:42.857Z] Login Succeeded [2023-03-15T16:28:42.857Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:28:42.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:28:43.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:28:43.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:28:43.339Z] ========================================================= [2023-03-15T16:28:43.339Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:28:43.339Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:43.860Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:28:44.133Z] Sending build context to Docker daemon 3.315MB [2023-03-15T16:28:44.133Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:28:44.133Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:28:44.403Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:28:44.403Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:28:44.403Z] 55522c791124: Pulling fs layer [2023-03-15T16:28:44.403Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:28:44.403Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:28:44.403Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:28:44.403Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:28:44.403Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:28:44.403Z] e1ff8fa3b103: Waiting [2023-03-15T16:28:44.403Z] 52ebb69f0ebf: Waiting [2023-03-15T16:28:44.403Z] 5abe8eddf0d5: Waiting [2023-03-15T16:28:44.403Z] 169dfbe0d373: Waiting [2023-03-15T16:28:44.403Z] 55522c791124: Verifying Checksum [2023-03-15T16:28:44.403Z] 55522c791124: Download complete [2023-03-15T16:28:44.403Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:28:44.404Z] 169dfbe0d373: Download complete [2023-03-15T16:28:44.404Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:28:44.404Z] e1ff8fa3b103: Download complete [2023-03-15T16:28:44.678Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:28:45.650Z] af6eaf76a39c: Pull complete [2023-03-15T16:28:45.918Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:28:45.918Z] 5abe8eddf0d5: Download complete [2023-03-15T16:28:47.343Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:28:47.343Z] ce5c4a1c91eb: Download complete [2023-03-15T16:28:47.343Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:28:47.343Z] 52ebb69f0ebf: Download complete [2023-03-15T16:28:47.343Z] 55522c791124: Pull complete [2023-03-15T16:28:57.474Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:28:57.744Z] 169dfbe0d373: Pull complete [2023-03-15T16:28:58.013Z] e1ff8fa3b103: Pull complete [2023-03-15T16:29:04.712Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:29:07.328Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:29:07.328Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:29:07.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:29:07.328Z] ---> 6cb57ee374ae [2023-03-15T16:29:07.328Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:29:09.286Z] ---> Running in 24e0f4327977 [2023-03-15T16:29:09.286Z] Removing intermediate container 24e0f4327977 [2023-03-15T16:29:09.286Z] ---> db941f0a2695 [2023-03-15T16:29:09.286Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:29:09.558Z] ---> Running in ccf07fa08660 [2023-03-15T16:29:09.827Z] Removing intermediate container ccf07fa08660 [2023-03-15T16:29:09.827Z] ---> 86a6c24816ab [2023-03-15T16:29:09.827Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:29:09.827Z] ---> Running in fc037a3c00b2 [2023-03-15T16:29:10.419Z] Removing intermediate container fc037a3c00b2 [2023-03-15T16:29:10.419Z] ---> 1a6ee0059a0d [2023-03-15T16:29:10.419Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:29:10.419Z] ---> Running in 43b0a5d72ef2 [2023-03-15T16:29:10.697Z] Removing intermediate container 43b0a5d72ef2 [2023-03-15T16:29:10.697Z] ---> 6d3f8bbea632 [2023-03-15T16:29:10.697Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:29:10.697Z] ---> Running in 24a8c604028a [2023-03-15T16:29:12.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:29:12.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:29:14.147Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:29:14.147Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:29:14.147Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:29:14.147Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:29:14.147Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:29:14.147Z] OK: 268 MiB in 57 packages [2023-03-15T16:29:15.575Z] Removing intermediate container 24a8c604028a [2023-03-15T16:29:15.575Z] ---> 1636851fe6ae [2023-03-15T16:29:15.575Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-15T16:29:15.575Z] ---> Running in ee792e6b10da [2023-03-15T16:29:15.848Z] Removing intermediate container ee792e6b10da [2023-03-15T16:29:15.848Z] ---> bfa0f3c27dce [2023-03-15T16:29:15.848Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:29:16.438Z] ---> 2515e769124f [2023-03-15T16:29:16.438Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:29:16.719Z] ---> Running in 9de06a3e0029 [2023-03-15T16:30:24.744Z] Removing intermediate container 9de06a3e0029 [2023-03-15T16:30:24.744Z] ---> 0a95e01af6b8 [2023-03-15T16:30:24.744Z] Step 11/12 : COPY . . [2023-03-15T16:30:24.744Z] ---> 22258c59e9d4 [2023-03-15T16:30:24.744Z] Step 12/12 : RUN $MAKE [2023-03-15T16:30:24.744Z] ---> Running in 721055d7e627 [2023-03-15T16:30:24.744Z] noop [2023-03-15T16:30:24.744Z] Removing intermediate container 721055d7e627 [2023-03-15T16:30:24.744Z] ---> f95a5546a2e6 [2023-03-15T16:30:24.744Z] Successfully built f95a5546a2e6 [2023-03-15T16:30:24.744Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:30:25.277Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:30:25.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:30:25.612Z] prd-ubuntu20.04-docker-arm64-4c-16g-1286 does not seem to be running inside a container [2023-03-15T16:30:25.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:30:27.130Z] $ docker top 286582bfebe534c525930223df0219620e3648368c1624659bbd9f4a7988c934 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:30:28.077Z] + go version [2023-03-15T16:30:28.077Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:30:28.119Z] $ docker stop --time=1 286582bfebe534c525930223df0219620e3648368c1624659bbd9f4a7988c934 [2023-03-15T16:30:29.818Z] $ docker rm -f --volumes 286582bfebe534c525930223df0219620e3648368c1624659bbd9f4a7988c934 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:30:30.700Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:30:30.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:30:30.974Z] prd-ubuntu20.04-docker-arm64-4c-16g-1286 does not seem to be running inside a container [2023-03-15T16:30:31.072Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:30:32.316Z] $ docker top fa73876612a0cc9efa569d5b5096e19a980cd7be926aa6ca57b3748289ffc2c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:30:33.208Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:30:33.613Z] + make test [2023-03-15T16:30:33.884Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:31:12.824Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-15T16:33:49.593Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-15T16:33:49.593Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-15T16:33:49.593Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.083s coverage: 22.2% of statements [2023-03-15T16:33:49.593Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:33:49.593Z] go vet ./... [2023-03-15T16:34:16.282Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:34:16.282Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:34:16.282Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:34:16.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:34:16.359Z] $ docker stop --time=1 fa73876612a0cc9efa569d5b5096e19a980cd7be926aa6ca57b3748289ffc2c0 [2023-03-15T16:34:18.177Z] $ docker rm -f --volumes fa73876612a0cc9efa569d5b5096e19a980cd7be926aa6ca57b3748289ffc2c0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:34:19.427Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:34:19.461Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:34:19.931Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:34:20.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:34:20.853Z] + ls -al . [2023-03-15T16:34:20.853Z] total 176 [2023-03-15T16:34:20.853Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:30 . [2023-03-15T16:34:20.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:28 .. [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 16:28 .dockerignore [2023-03-15T16:34:20.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:28 .git [2023-03-15T16:34:20.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:28 .github [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:28 .gitignore [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:28 .golangci.yml [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 15 16:28 Attribution.txt [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 15 16:28 CHANGELOG.md [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 15 16:28 Dockerfile [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:28 GOVERNANCE.md [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 16:28 Jenkinsfile [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:28 LICENSE [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 1732 Mar 15 16:28 Makefile [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:28 OWNERS.md [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 15 16:28 README.md [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:12 VERSION [2023-03-15T16:34:20.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:28 bin [2023-03-15T16:34:20.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:28 cmd [2023-03-15T16:34:20.853Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 15 16:33 coverage.out [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 15 16:28 go.mod [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:28 go.sum [2023-03-15T16:34:20.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:28 internal [2023-03-15T16:34:20.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:28 mock [2023-03-15T16:34:20.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:28 snap [2023-03-15T16:34:20.853Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 15 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:34:21.330Z] + 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=d91084f367e59075b592b3dd03a17e6c08a8773d --label arch=arm64 --label version=0.0.0 . [2023-03-15T16:34:21.600Z] Sending build context to Docker daemon 3.334MB [2023-03-15T16:34:21.601Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:34:21.601Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-15T16:34:21.601Z] ---> f95a5546a2e6 [2023-03-15T16:34:21.601Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:34:21.878Z] ---> Running in 2216636f7809 [2023-03-15T16:34:22.151Z] Removing intermediate container 2216636f7809 [2023-03-15T16:34:22.151Z] ---> 23a06dcdbab3 [2023-03-15T16:34:22.151Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:34:22.151Z] ---> Running in b4b66587cfee [2023-03-15T16:34:22.448Z] Removing intermediate container b4b66587cfee [2023-03-15T16:34:22.448Z] ---> ece5b7e54480 [2023-03-15T16:34:22.448Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:34:22.448Z] ---> Running in 221921955f57 [2023-03-15T16:34:22.742Z] Removing intermediate container 221921955f57 [2023-03-15T16:34:22.742Z] ---> e4ec9ed620b6 [2023-03-15T16:34:22.742Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:34:23.019Z] ---> Running in 61eaa50ccd11 [2023-03-15T16:34:23.304Z] Removing intermediate container 61eaa50ccd11 [2023-03-15T16:34:23.304Z] ---> 5673125462d0 [2023-03-15T16:34:23.304Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:34:23.304Z] ---> Running in 9915c48ae69e [2023-03-15T16:34:24.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:34:24.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:34:25.817Z] OK: 268 MiB in 57 packages [2023-03-15T16:34:26.779Z] Removing intermediate container 9915c48ae69e [2023-03-15T16:34:26.779Z] ---> a75f2c296c84 [2023-03-15T16:34:26.779Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-15T16:34:26.779Z] ---> Running in 6e40bfffd110 [2023-03-15T16:34:27.059Z] Removing intermediate container 6e40bfffd110 [2023-03-15T16:34:27.059Z] ---> 9a4bfbf22a88 [2023-03-15T16:34:27.059Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-15T16:34:28.025Z] ---> 28afb082b511 [2023-03-15T16:34:28.025Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:34:28.025Z] ---> Running in c26264e57025 [2023-03-15T16:34:30.620Z] Removing intermediate container c26264e57025 [2023-03-15T16:34:30.620Z] ---> 3bc1e0e06bf6 [2023-03-15T16:34:30.620Z] Step 11/24 : COPY . . [2023-03-15T16:34:31.593Z] ---> 8aac994e613d [2023-03-15T16:34:31.593Z] Step 12/24 : RUN $MAKE [2023-03-15T16:34:31.593Z] ---> Running in c3ef1a1f9468 [2023-03-15T16:34:32.575Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-15T16:36:54.291Z] Removing intermediate container c3ef1a1f9468 [2023-03-15T16:36:54.291Z] ---> 2d23318827e1 [2023-03-15T16:36:54.291Z] Step 13/24 : FROM alpine:3.17 [2023-03-15T16:36:54.291Z] 3.17: Pulling from library/alpine [2023-03-15T16:36:54.291Z] af6eaf76a39c: Already exists [2023-03-15T16:36:54.291Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:36:54.291Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:36:54.291Z] ---> d74e625d9115 [2023-03-15T16:36:54.291Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-15T16:36:54.291Z] ---> Running in d70e1019fe92 [2023-03-15T16:36:54.291Z] Removing intermediate container d70e1019fe92 [2023-03-15T16:36:54.291Z] ---> c1157a811188 [2023-03-15T16:36:54.291Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:36:54.291Z] ---> Running in bcc213b9458d [2023-03-15T16:36:54.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:36:54.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:36:54.291Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:36:54.291Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:36:54.291Z] OK: 8 MiB in 16 packages [2023-03-15T16:36:54.292Z] Removing intermediate container bcc213b9458d [2023-03-15T16:36:54.292Z] ---> d0f687c49286 [2023-03-15T16:36:54.292Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-15T16:36:54.292Z] ---> 6b1ed27d30cf [2023-03-15T16:36:54.292Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-15T16:36:54.292Z] ---> b769cf3ae074 [2023-03-15T16:36:54.292Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-15T16:36:54.292Z] ---> 2da5d37d7c16 [2023-03-15T16:36:54.292Z] Step 19/24 : EXPOSE 59982 [2023-03-15T16:36:54.292Z] ---> Running in 2f93cc0eacc1 [2023-03-15T16:36:54.292Z] Removing intermediate container 2f93cc0eacc1 [2023-03-15T16:36:54.292Z] ---> 425da146f442 [2023-03-15T16:36:54.292Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-15T16:36:54.292Z] ---> Running in 706ce01d1700 [2023-03-15T16:36:54.292Z] Removing intermediate container 706ce01d1700 [2023-03-15T16:36:54.292Z] ---> d6302c1d4453 [2023-03-15T16:36:54.292Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:36:54.292Z] ---> Running in 5e21e128f7da [2023-03-15T16:36:54.563Z] Removing intermediate container 5e21e128f7da [2023-03-15T16:36:54.563Z] ---> 3554f3524d63 [2023-03-15T16:36:54.563Z] Step 22/24 : LABEL arch=arm64 [2023-03-15T16:36:54.563Z] ---> Running in b39e175bf1f6 [2023-03-15T16:36:54.846Z] Removing intermediate container b39e175bf1f6 [2023-03-15T16:36:54.846Z] ---> eb3784a83b5e [2023-03-15T16:36:54.846Z] Step 23/24 : LABEL git_sha=d91084f367e59075b592b3dd03a17e6c08a8773d [2023-03-15T16:36:55.115Z] ---> Running in d8b214972c11 [2023-03-15T16:36:55.390Z] Removing intermediate container d8b214972c11 [2023-03-15T16:36:55.390Z] ---> 03959bcb5de2 [2023-03-15T16:36:55.390Z] Step 24/24 : LABEL version=0.0.0 [2023-03-15T16:36:55.390Z] ---> Running in c9fd82144462 [2023-03-15T16:36:55.673Z] Removing intermediate container c9fd82144462 [2023-03-15T16:36:55.673Z] ---> aadcdeb7bdc0 [2023-03-15T16:36:55.673Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:36:55.943Z] Successfully built aadcdeb7bdc0 [2023-03-15T16:36:55.943Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:36:56.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:36:56.763Z] [2023-03-15T16:36:56.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:36:57.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:36:57.441Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:36:57.441Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:36:57.441Z] 04944245beec: Pulling fs layer [2023-03-15T16:36:57.441Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:36:57.441Z] 765212b225bb: Pulling fs layer [2023-03-15T16:36:57.441Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:36:57.441Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:36:57.441Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:36:57.441Z] f23df028b6ca: Waiting [2023-03-15T16:36:57.441Z] d65c8cfc05b1: Waiting [2023-03-15T16:36:57.441Z] 2437ff75d9bd: Waiting [2023-03-15T16:36:57.441Z] 765212b225bb: Waiting [2023-03-15T16:36:57.441Z] 04944245beec: Verifying Checksum [2023-03-15T16:36:57.441Z] 04944245beec: Download complete [2023-03-15T16:36:57.441Z] 765212b225bb: Download complete [2023-03-15T16:36:57.441Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:36:57.441Z] f23df028b6ca: Download complete [2023-03-15T16:36:57.716Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:36:57.716Z] d65c8cfc05b1: Download complete [2023-03-15T16:36:57.716Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:36:57.716Z] 699f458cf7ca: Download complete [2023-03-15T16:36:58.310Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:36:58.310Z] 8998bd30e6a1: Download complete [2023-03-15T16:37:00.922Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:37:00.922Z] 2437ff75d9bd: Download complete [2023-03-15T16:37:02.879Z] 8998bd30e6a1: Pull complete [2023-03-15T16:37:03.148Z] 04944245beec: Pull complete [2023-03-15T16:37:04.570Z] 699f458cf7ca: Pull complete [2023-03-15T16:37:04.843Z] 765212b225bb: Pull complete [2023-03-15T16:37:05.822Z] f23df028b6ca: Pull complete [2023-03-15T16:37:05.822Z] d65c8cfc05b1: Pull complete [2023-03-15T16:37:20.880Z] 2437ff75d9bd: Pull complete [2023-03-15T16:37:20.880Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:37:20.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:37:20.880Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:37:21.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-1286 does not seem to be running inside a container [2023-03-15T16:37:21.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T16:37:24.230Z] $ docker top 9167f91b80ce5ad05d69b7fc47c5fc281df59f757a3baaafc68549a78981d19b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:25.154Z] ---> job-cost.sh [2023-03-15T16:37:25.154Z] lf-activate-venv: SKIPPING [2023-03-15T16:37:25.154Z] INFO: No Stack... [2023-03-15T16:37:25.742Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:37:26.329Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:37:27.001Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-03-15T16:37:27.001Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:37:27.105Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] [2023-03-15T16:37:27.110Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] did not exist. Created. [2023-03-15T16:37:27.110Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:37:27.855Z] /w/workspace/device-mqtt-go/1@tmp/durable-6ef92880/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:37:28.537Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:37:28.570Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:37:28.626Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:37:28.641Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:37:28.728Z] $ docker stop --time=1 9167f91b80ce5ad05d69b7fc47c5fc281df59f757a3baaafc68549a78981d19b [2023-03-15T16:37:30.302Z] $ docker rm -f --volumes 9167f91b80ce5ad05d69b7fc47c5fc281df59f757a3baaafc68549a78981d19b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-15T16:37:31.271Z] provisioning config files... [2023-03-15T16:37:31.278Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config6294924425794808585tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:37:31.615Z] + set +x [2023-03-15T16:37:31.615Z] + + bash -s -- [2023-03-15T16:37:31.615Z] curl -s https://codecov.io/bash [2023-03-15T16:37:31.615Z] [2023-03-15T16:37:31.615Z] _____ _ [2023-03-15T16:37:31.615Z] / ____| | | [2023-03-15T16:37:31.615Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:37:31.615Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:37:31.615Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:37:31.615Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:37:31.615Z] Bash-1.0.6 [2023-03-15T16:37:31.615Z] [2023-03-15T16:37:31.615Z] [2023-03-15T16:37:31.615Z] ==> git version 2.25.1 found [2023-03-15T16:37:31.615Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-15T16:37:31.615Z] Release-Date: 2020-01-08 [2023-03-15T16:37:31.615Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T16:37:31.615Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:37:31.615Z] ==> Jenkins CI detected. [2023-03-15T16:37:31.615Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-529 [2023-03-15T16:37:31.615Z] project root: . [2023-03-15T16:37:31.615Z] --> token set from env [2023-03-15T16:37:31.615Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:37:31.615Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:37:31.615Z] ==> Python coveragepy not found [2023-03-15T16:37:31.615Z] ==> Searching for coverage reports in: [2023-03-15T16:37:31.615Z] + . [2023-03-15T16:37:31.615Z] -> Found 1 reports [2023-03-15T16:37:31.615Z] ==> Detecting git/mercurial file structure [2023-03-15T16:37:31.615Z] ==> Reading reports [2023-03-15T16:37:31.615Z] + ./coverage.out bytes=18047 [2023-03-15T16:37:31.615Z] ==> Appending adjustments [2023-03-15T16:37:31.615Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:37:31.873Z] + Found adjustments [2023-03-15T16:37:31.873Z] ==> Gzipping contents [2023-03-15T16:37:31.873Z] 4.0K /tmp/codecov.Uz2hvS.gz [2023-03-15T16:37:31.873Z] ==> Uploading reports [2023-03-15T16:37:31.873Z] url: https://codecov.io [2023-03-15T16:37:31.873Z] query: branch=PR-529&commit=d91084f367e59075b592b3dd03a17e6c08a8773d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-529%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=529&job=&cmd_args= [2023-03-15T16:37:31.873Z] -> Pinging Codecov [2023-03-15T16:37:31.874Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-529&commit=d91084f367e59075b592b3dd03a17e6c08a8773d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-529%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=529&job=&cmd_args= [2023-03-15T16:37:34.408Z] -> Uploading to [2023-03-15T16:37:34.408Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7D719EC7BBE17E464838252E33014C33/d91084f367e59075b592b3dd03a17e6c08a8773d/44f96e3d-9903-45c1-bb65-df3b9f4109b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T163733Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43bd36f046eba36b8549fbe2308ace71bf3ba2eeba06afec2d1b934d8635bcce [2023-03-15T16:37:34.408Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:37:34.408Z] Dload Upload Total Spent Left Speed [2023-03-15T16:37:34.408Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 13872 --:--:-- --:--:-- --:--:-- 13872 [2023-03-15T16:37:34.408Z] -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection failurehttps://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d91084f367e59075b592b3dd03a17e6c08a8773d [Pipeline] } [2023-03-15T16:37:34.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-15T16:37:36.126Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives ] [2023-03-15T16:37:36.126Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives [2023-03-15T16:37:36.126Z] total 16 [2023-03-15T16:37:36.126Z] drwxr-xr-x 3 root root 4096 Mar 15 16:13 . [2023-03-15T16:37:36.126Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:13 .. [2023-03-15T16:37:36.126Z] drwxr-xr-x 2 root root 4096 Mar 15 16:13 cost [2023-03-15T16:37:36.126Z] -rw-r--r-- 1 root root 86 Mar 15 16:13 cost.csv [2023-03-15T16:37:36.126Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives [2023-03-15T16:37:36.126Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives [2023-03-15T16:37:36.126Z] total 16 [2023-03-15T16:37:36.126Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:13 . [2023-03-15T16:37:36.126Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:13 .. [2023-03-15T16:37:36.126Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:13 cost [2023-03-15T16:37:36.126Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:36.458Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:37.348Z] ---> package-listing.sh [2023-03-15T16:37:37.348Z] ++ facter osfamily [2023-03-15T16:37:37.348Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:37:37.607Z] + OS_FAMILY=debian [2023-03-15T16:37:37.607Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-529 [2023-03-15T16:37:37.607Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:37:37.607Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:37:37.607Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:37:37.607Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:37:37.607Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-529 ']' [2023-03-15T16:37:37.607Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:37:37.607Z] + case "${OS_FAMILY}" in [2023-03-15T16:37:37.607Z] + dpkg -l [2023-03-15T16:37:37.607Z] + grep '^ii' [2023-03-15T16:37:37.607Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:37:37.607Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:37:37.607Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:37:37.607Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-529 ']' [2023-03-15T16:37:37.607Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives/ [2023-03-15T16:37:37.607Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives/ [Pipeline] echo [2023-03-15T16:37:37.636Z] 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-529/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T16:37:37.925Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:37:38.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:37:38.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:37:38.685Z] prd-ubuntu20.04-docker-8c-8g-859 does not seem to be running inside a container [2023-03-15T16:37:38.700Z] $ 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-529/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-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:37:38.893Z] $ docker top ae0521a832b865976997e590e80d6fc82dae778bc0c4502c0fc5655ce9ce0678 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:37:39.291Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:37:39.606Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:37:39.911Z] + ls /var/log/sa-host [2023-03-15T16:37:39.911Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:37:40.045Z] provisioning config files... [2023-03-15T16:37:40.054Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config17251587037911709933tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:37:40.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:40.418Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:37:40.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:40.852Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:37:40.878Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:41.188Z] ---> sudo-logs.sh [2023-03-15T16:37:41.188Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:37:41.275Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:41.586Z] ---> job-cost.sh [2023-03-15T16:37:41.586Z] lf-activate-venv: SKIPPING [2023-03-15T16:37:41.586Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:37:41.586Z] INFO: Retrieving Stack Cost... [2023-03-15T16:37:41.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:37:42.410Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:37:42.442Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:37:42.745Z] ---> logs-deploy.sh [2023-03-15T16:37:42.745Z] lf-activate-venv: SKIPPING [2023-03-15T16:37:42.745Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-529/1 [2023-03-15T16:37:42.745Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:37:43.682Z] Archives upload complete. [2023-03-15T16:37:43.682Z] INFO: archiving logs to Nexus