Branch indexing 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 bnevis-i for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at c9f2a0543715ca35ad5b34b71a578c78c2f9cecd rather than 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d Obtained Jenkinsfile from c9f2a0543715ca35ad5b34b71a578c78c2f9cecd 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-ssh10239412352758375150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13961659201948820946.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10672262005417260640.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh5127222805533289508.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11418188566573348586.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1986 in /w/workspace/gexfoundry_device-mqtt-go_PR-445 [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-445 # 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 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 Merge succeeded, producing e08244fd84764539a32dc063c6cee84a08ea7c7a Checking out Revision e08244fd84764539a32dc063c6cee84a08ea7c7a (PR-445) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e08244fd84764539a32dc063c6cee84a08ea7c7a # timeout=10 Commit message: "Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD" > git rev-list --no-walk 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T23:17:22.764Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T23:17:22.816Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T23:17:22.829Z] ========================================================= [2023-01-11T23:17:22.829Z] EdgeX Global Pipelines Version Info [2023-01-11T23:17:22.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:17:23.552Z] ------------------- [2023-01-11T23:17:23.552Z] stable info: [2023-01-11T23:17:23.552Z] ------------------- [2023-01-11T23:17:23.552Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T23:17:23.552Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T23:17:23.552Z] Message: update stable to v1.0.244 [2023-01-11T23:17:24.120Z] ------------------- [2023-01-11T23:17:24.120Z] experimental info: [2023-01-11T23:17:24.120Z] ------------------- [2023-01-11T23:17:24.120Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T23:17:24.120Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T23:17:24.120Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T23:17:24.285Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-11T23:17:24.294Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-11T23:17:24.302Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T23:17:24.310Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T23:17:24.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T23:17:24.337Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T23:17:24.351Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T23:17:24.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T23:17:24.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T23:17:24.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T23:17:24.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T23:17:24.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-11T23:17:24.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T23:17:24.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T23:17:24.450Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T23:17:24.462Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T23:17:24.476Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T23:17:24.492Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T23:17:24.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T23:17:24.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T23:17:24.528Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T23:17:24.539Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T23:17:24.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T23:17:24.565Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T23:17:24.573Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T23:17:24.591Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T23:17:24.602Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T23:17:24.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-01-11T23:17:24.619Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-01-11T23:17:24.627Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-01-11T23:17:24.635Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e08244fd84764539a32dc063c6cee84a08ea7c7a [Pipeline] echo [2023-01-11T23:17:24.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e08244f [Pipeline] echo [2023-01-11T23:17:24.652Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:17:24.700Z] provisioning config files... [2023-01-11T23:17:24.713Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config17528500188607277498tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:17:25.012Z] ---> docker-login.sh [2023-01-11T23:17:25.012Z] nexus3.edgexfoundry.org:10001 [2023-01-11T23:17:25.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:25.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:25.273Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:25.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:25.273Z] [2023-01-11T23:17:25.273Z] Login Succeeded [2023-01-11T23:17:25.273Z] nexus3.edgexfoundry.org:10002 [2023-01-11T23:17:25.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:25.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:25.533Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:25.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:25.533Z] [2023-01-11T23:17:25.533Z] Login Succeeded [2023-01-11T23:17:25.533Z] nexus3.edgexfoundry.org:10003 [2023-01-11T23:17:25.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:25.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:25.533Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:25.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:25.533Z] [2023-01-11T23:17:25.533Z] Login Succeeded [2023-01-11T23:17:25.533Z] nexus3.edgexfoundry.org:10004 [2023-01-11T23:17:25.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:25.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:25.794Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:25.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:25.794Z] [2023-01-11T23:17:25.794Z] Login Succeeded [2023-01-11T23:17:25.794Z] docker.io [2023-01-11T23:17:25.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:26.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:26.054Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:26.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:26.054Z] [2023-01-11T23:17:26.054Z] Login Succeeded [2023-01-11T23:17:26.054Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T23:17:26.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T23:17:26.418Z] + git rev-list -1 --merges e08244fd84764539a32dc063c6cee84a08ea7c7a~1..e08244fd84764539a32dc063c6cee84a08ea7c7a [Pipeline] echo [2023-01-11T23:17:26.465Z] -----------> git rev-list -1 --merges e08244fd84764539a32dc063c6cee84a08ea7c7a~1..e08244fd84764539a32dc063c6cee84a08ea7c7a e08244fd84764539a32dc063c6cee84a08ea7c7a [2023-01-11T23:17:26.465Z] e08244fd84764539a32dc063c6cee84a08ea7c7a [false] [Pipeline] sh [2023-01-11T23:17:26.753Z] + git log --format=format:%s -1 e08244fd84764539a32dc063c6cee84a08ea7c7a [Pipeline] echo [2023-01-11T23:17:26.769Z] ========================================================= [2023-01-11T23:17:26.769Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T23:17:26.769Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T23:17:27.108Z] + git log --format=format:%s -1 e08244fd84764539a32dc063c6cee84a08ea7c7a [Pipeline] echo [2023-01-11T23:17:27.120Z] [semverPrep] GIT_COMMIT: e08244fd84764539a32dc063c6cee84a08ea7c7a, Commit Message: Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD [Pipeline] echo [2023-01-11T23:17:27.131Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T23:17:27.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T23:17:27.517Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T23:17:27.517Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T23:17:27.517Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T23:17:27.517Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T23:17:27.517Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T23:17:27.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:17:27.926Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T23:17:27.926Z] [2023-01-11T23:17:27.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:17:28.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T23:17:28.235Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T23:17:28.235Z] b85a868b505f: Pulling fs layer [2023-01-11T23:17:28.235Z] e2be974225ed: Pulling fs layer [2023-01-11T23:17:28.235Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T23:17:28.235Z] 988bab9f4d93: Pulling fs layer [2023-01-11T23:17:28.235Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T23:17:28.235Z] 988bab9f4d93: Waiting [2023-01-11T23:17:28.235Z] 1469e6f7b9e6: Waiting [2023-01-11T23:17:28.235Z] eaf3925da568: Pulling fs layer [2023-01-11T23:17:28.235Z] bab4dde63d76: Pulling fs layer [2023-01-11T23:17:28.235Z] bde34c3a00c8: Pulling fs layer [2023-01-11T23:17:28.235Z] bab4dde63d76: Waiting [2023-01-11T23:17:28.235Z] b352a97aabf1: Pulling fs layer [2023-01-11T23:17:28.235Z] 4872d77fe225: Pulling fs layer [2023-01-11T23:17:28.235Z] b352a97aabf1: Waiting [2023-01-11T23:17:28.235Z] 5851b861e8e6: Pulling fs layer [2023-01-11T23:17:28.235Z] 5851b861e8e6: Waiting [2023-01-11T23:17:28.235Z] e2be974225ed: Verifying Checksum [2023-01-11T23:17:28.235Z] e2be974225ed: Download complete [2023-01-11T23:17:28.235Z] 988bab9f4d93: Download complete [2023-01-11T23:17:28.496Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T23:17:28.496Z] 1469e6f7b9e6: Download complete [2023-01-11T23:17:28.496Z] eaf3925da568: Verifying Checksum [2023-01-11T23:17:28.496Z] eaf3925da568: Download complete [2023-01-11T23:17:28.496Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T23:17:28.496Z] 339a4e72a1f5: Download complete [2023-01-11T23:17:28.496Z] b352a97aabf1: Verifying Checksum [2023-01-11T23:17:28.496Z] b352a97aabf1: Download complete [2023-01-11T23:17:28.496Z] b85a868b505f: Verifying Checksum [2023-01-11T23:17:28.496Z] b85a868b505f: Download complete [2023-01-11T23:17:28.496Z] 4872d77fe225: Verifying Checksum [2023-01-11T23:17:28.496Z] 4872d77fe225: Download complete [2023-01-11T23:17:28.496Z] 5851b861e8e6: Verifying Checksum [2023-01-11T23:17:28.496Z] 5851b861e8e6: Download complete [2023-01-11T23:17:28.755Z] bab4dde63d76: Verifying Checksum [2023-01-11T23:17:28.755Z] bab4dde63d76: Download complete [2023-01-11T23:17:29.690Z] b85a868b505f: Pull complete [2023-01-11T23:17:29.948Z] e2be974225ed: Pull complete [2023-01-11T23:17:30.207Z] 339a4e72a1f5: Pull complete [2023-01-11T23:17:30.466Z] 988bab9f4d93: Pull complete [2023-01-11T23:17:30.724Z] 1469e6f7b9e6: Pull complete [2023-01-11T23:17:30.724Z] eaf3925da568: Pull complete [2023-01-11T23:17:32.633Z] bab4dde63d76: Pull complete [2023-01-11T23:17:32.633Z] bde34c3a00c8: Pull complete [2023-01-11T23:17:32.633Z] b352a97aabf1: Pull complete [2023-01-11T23:17:32.633Z] 4872d77fe225: Pull complete [2023-01-11T23:17:32.633Z] 5851b861e8e6: Pull complete [2023-01-11T23:17:32.633Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T23:17:32.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T23:17:32.633Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:17:32.716Z] prd-ubuntu20.04-docker-8c-8g-1986 does not seem to be running inside a container [2023-01-11T23:17:32.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@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-devops/py-git-semver:0.1.4 cat [2023-01-11T23:17:35.928Z] $ docker top c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a -eo pid,comm [2023-01-11T23:17:35.974Z] 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-01-11T23:17:35.974Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T23:17:36.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T23:17:36.003Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T23:17:36.097Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T23:17:36.103Z] $ docker exec c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a ssh-agent [2023-01-11T23:17:36.202Z] SSH_AUTH_SOCK=/tmp/ssh-jxXQgefF44Ix/agent.32 [2023-01-11T23:17:36.202Z] SSH_AGENT_PID=38 [2023-01-11T23:17:36.221Z] Running ssh-add (command line suppressed) [2023-01-11T23:17:36.310Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_3516309119767651308.key (/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_3516309119767651308.key) [2023-01-11T23:17:36.318Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T23:17:36.603Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T23:17:36.621Z] $ docker exec --env ******** --env ******** c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a ssh-agent -k [2023-01-11T23:17:36.714Z] unset SSH_AUTH_SOCK; [2023-01-11T23:17:36.717Z] unset SSH_AGENT_PID; [2023-01-11T23:17:36.717Z] echo Agent pid 38 killed; [2023-01-11T23:17:36.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T23:17:36.747Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T23:17:36.747Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T23:17:36.852Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T23:17:36.858Z] $ docker exec c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a ssh-agent [2023-01-11T23:17:36.955Z] SSH_AUTH_SOCK=/tmp/ssh-N1sJ868n9SRI/agent.70 [2023-01-11T23:17:36.955Z] SSH_AGENT_PID=76 [2023-01-11T23:17:36.959Z] Running ssh-add (command line suppressed) [2023-01-11T23:17:37.071Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_13535955636994588142.key (/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_13535955636994588142.key) [2023-01-11T23:17:37.080Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T23:17:37.367Z] + git semver init [2023-01-11T23:17:37.626Z] 2023-01-11 23:17:37,533 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T23:17:37.626Z] 2023-01-11 23:17:37,533 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver [2023-01-11T23:17:37.626Z] 2023-01-11 23:17:37,534 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver [2023-01-11T23:17:37.626Z] 2023-01-11 23:17:37,534 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-445, universal_newlines=False, shell=None, istream=None) [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,365 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.git/info/exclude [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,366 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver/PR-445 with force:False [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,366 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver/PR-445 [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,370 [execute] INFO git cat-file --batch-check [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,376 [execute] INFO git cat-file --batch [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T23:17:38.564Z] 2023-01-11 23:17:38,383 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver/PR-445 [2023-01-11T23:17:38.564Z] 0.0.0 [Pipeline] } [2023-01-11T23:17:38.576Z] $ docker exec --env ******** --env ******** c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a ssh-agent -k [2023-01-11T23:17:38.675Z] unset SSH_AUTH_SOCK; [2023-01-11T23:17:38.675Z] unset SSH_AGENT_PID; [2023-01-11T23:17:38.675Z] echo Agent pid 76 killed; [2023-01-11T23:17:38.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T23:17:38.977Z] + git semver [Pipeline] } [2023-01-11T23:17:39.250Z] $ docker stop --time=1 c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a [2023-01-11T23:17:40.827Z] $ docker rm -f --volumes c2ee7b70486d4f57ffbd07199cfb6622813913802377ac254dc4effc1586369a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T23:17:41.156Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T23:17:41.349Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T23:17:41.353Z] [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-01-11T23:17:41.462Z] provisioning config files... [2023-01-11T23:17:41.471Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config9278623461765279986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:17:41.764Z] ---> docker-login.sh [2023-01-11T23:17:41.764Z] nexus3.edgexfoundry.org:10001 [2023-01-11T23:17:41.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:41.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:41.764Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:41.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:41.764Z] [2023-01-11T23:17:41.764Z] Login Succeeded [2023-01-11T23:17:41.764Z] nexus3.edgexfoundry.org:10002 [2023-01-11T23:17:41.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:41.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:41.764Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:41.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:41.764Z] [2023-01-11T23:17:41.764Z] Login Succeeded [2023-01-11T23:17:41.764Z] nexus3.edgexfoundry.org:10003 [2023-01-11T23:17:42.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:42.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:42.022Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:42.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:42.022Z] [2023-01-11T23:17:42.022Z] Login Succeeded [2023-01-11T23:17:42.022Z] nexus3.edgexfoundry.org:10004 [2023-01-11T23:17:42.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:42.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:42.022Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:42.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:42.022Z] [2023-01-11T23:17:42.022Z] Login Succeeded [2023-01-11T23:17:42.022Z] docker.io [2023-01-11T23:17:42.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:17:42.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:17:42.282Z] Configure a credential helper to remove this warning. See [2023-01-11T23:17:42.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:17:42.282Z] [2023-01-11T23:17:42.282Z] Login Succeeded [2023-01-11T23:17:42.282Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T23:17:42.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T23:17:42.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:17:42.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:17:42.375Z] ========================================================= [2023-01-11T23:17:42.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T23:17:42.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:17:42.688Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T23:17:42.688Z] Sending build context to Docker daemon 6.352MB [2023-01-11T23:17:42.688Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:17:42.688Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T23:17:42.688Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T23:17:42.688Z] 213ec9aee27d: Pulling fs layer [2023-01-11T23:17:42.688Z] 4583459ba037: Pulling fs layer [2023-01-11T23:17:42.688Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T23:17:42.688Z] 53926ce57604: Pulling fs layer [2023-01-11T23:17:42.688Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T23:17:42.688Z] 22ff95d597cd: Pulling fs layer [2023-01-11T23:17:42.688Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T23:17:42.688Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T23:17:42.688Z] a7acece74701: Pulling fs layer [2023-01-11T23:17:42.688Z] 22ff95d597cd: Waiting [2023-01-11T23:17:42.688Z] 12d6caf4c0d1: Waiting [2023-01-11T23:17:42.688Z] 53926ce57604: Waiting [2023-01-11T23:17:42.688Z] 96b7cbca73a9: Waiting [2023-01-11T23:17:42.688Z] a7acece74701: Waiting [2023-01-11T23:17:42.688Z] 21b2b0c7a3f4: Waiting [2023-01-11T23:17:42.688Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T23:17:42.688Z] 93c1e223e6f2: Download complete [2023-01-11T23:17:42.947Z] 4583459ba037: Download complete [2023-01-11T23:17:42.947Z] 21b2b0c7a3f4: Download complete [2023-01-11T23:17:42.947Z] 22ff95d597cd: Verifying Checksum [2023-01-11T23:17:42.947Z] 22ff95d597cd: Download complete [2023-01-11T23:17:42.947Z] 213ec9aee27d: Verifying Checksum [2023-01-11T23:17:42.947Z] 213ec9aee27d: Download complete [2023-01-11T23:17:42.947Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T23:17:42.947Z] 12d6caf4c0d1: Download complete [2023-01-11T23:17:42.947Z] 213ec9aee27d: Pull complete [2023-01-11T23:17:43.206Z] 4583459ba037: Pull complete [2023-01-11T23:17:43.206Z] 93c1e223e6f2: Pull complete [2023-01-11T23:17:44.147Z] a7acece74701: Verifying Checksum [2023-01-11T23:17:44.147Z] a7acece74701: Download complete [2023-01-11T23:17:44.147Z] 53926ce57604: Verifying Checksum [2023-01-11T23:17:44.147Z] 53926ce57604: Download complete [2023-01-11T23:17:44.147Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T23:17:44.147Z] 96b7cbca73a9: Download complete [2023-01-11T23:17:48.330Z] 53926ce57604: Pull complete [2023-01-11T23:17:48.330Z] 21b2b0c7a3f4: Pull complete [2023-01-11T23:17:48.330Z] 22ff95d597cd: Pull complete [2023-01-11T23:17:48.330Z] 12d6caf4c0d1: Pull complete [2023-01-11T23:17:49.701Z] 96b7cbca73a9: Pull complete [2023-01-11T23:17:50.632Z] a7acece74701: Pull complete [2023-01-11T23:17:50.632Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T23:17:50.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T23:17:50.632Z] ---> db6d94c90886 [2023-01-11T23:17:50.632Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:17:55.907Z] ---> Running in b34358e2f08f [2023-01-11T23:17:55.907Z] Removing intermediate container b34358e2f08f [2023-01-11T23:17:55.908Z] ---> a95ab5fbdfb6 [2023-01-11T23:17:55.908Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:17:55.908Z] ---> Running in 8f81a38a5ca1 [2023-01-11T23:17:55.908Z] Removing intermediate container 8f81a38a5ca1 [2023-01-11T23:17:55.908Z] ---> 679fdac2c219 [2023-01-11T23:17:55.908Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:17:55.908Z] ---> Running in 22cffccedb1a [2023-01-11T23:17:55.908Z] Removing intermediate container 22cffccedb1a [2023-01-11T23:17:55.908Z] ---> 2f952ab3115c [2023-01-11T23:17:55.908Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:17:55.908Z] ---> Running in ab11a8cb0aea [2023-01-11T23:17:55.908Z] Removing intermediate container ab11a8cb0aea [2023-01-11T23:17:55.908Z] ---> c5d768c9efb0 [2023-01-11T23:17:55.908Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:17:55.908Z] ---> Running in b7b174a59ce0 [2023-01-11T23:17:55.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T23:17:56.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T23:17:56.426Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T23:17:56.426Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T23:17:56.426Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T23:17:56.426Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T23:17:56.426Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:17:56.426Z] OK: 216 MiB in 55 packages [2023-01-11T23:17:56.432Z] Still waiting to schedule task [2023-01-11T23:17:56.433Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-11T23:17:56.994Z] Removing intermediate container b7b174a59ce0 [2023-01-11T23:17:56.994Z] ---> ea860b58b4e7 [2023-01-11T23:17:56.994Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T23:17:56.994Z] ---> Running in ecbc85bb57cf [2023-01-11T23:17:56.994Z] Removing intermediate container ecbc85bb57cf [2023-01-11T23:17:56.994Z] ---> d5148a7887d6 [2023-01-11T23:17:56.994Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T23:17:57.253Z] ---> 13d861d63b6d [2023-01-11T23:17:57.253Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:17:57.253Z] ---> Running in 68f8543d8279 [2023-01-11T23:18:29.332Z] Removing intermediate container 68f8543d8279 [2023-01-11T23:18:29.332Z] ---> 4578fabd0065 [2023-01-11T23:18:29.332Z] Step 11/12 : COPY . . [2023-01-11T23:18:29.332Z] ---> c110e4ff0d76 [2023-01-11T23:18:29.332Z] Step 12/12 : RUN $MAKE [2023-01-11T23:18:29.332Z] ---> Running in 7425a90422dc [2023-01-11T23:18:29.332Z] noop [2023-01-11T23:18:29.332Z] Removing intermediate container 7425a90422dc [2023-01-11T23:18:29.332Z] ---> ce2c685d3e85 [2023-01-11T23:18:29.332Z] Successfully built ce2c685d3e85 [2023-01-11T23:18:29.332Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:18:29.652Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T23:18:29.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:18:29.729Z] prd-ubuntu20.04-docker-8c-8g-1986 does not seem to be running inside a container [2023-01-11T23:18:29.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T23:18:30.108Z] $ docker top ed63c64861c28347e87eedbaea1b98882f0973451489f1dcc451b9260bf2cf5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:18:30.441Z] + go version [2023-01-11T23:18:30.441Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T23:18:30.454Z] $ docker stop --time=1 ed63c64861c28347e87eedbaea1b98882f0973451489f1dcc451b9260bf2cf5b [2023-01-11T23:18:31.731Z] $ docker rm -f --volumes ed63c64861c28347e87eedbaea1b98882f0973451489f1dcc451b9260bf2cf5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:18:32.145Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T23:18:32.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:18:32.214Z] prd-ubuntu20.04-docker-8c-8g-1986 does not seem to be running inside a container [2023-01-11T23:18:32.244Z] $ 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-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T23:18:32.568Z] $ docker top 71ad0b5f00611f1478f953cdd09027ba2e4752acf9cba2264fa2ba6838c9b84c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:18:32.913Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-445 [Pipeline] fileExists [Pipeline] sh [2023-01-11T23:18:33.208Z] + make test [2023-01-11T23:18:33.208Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T23:18:33.466Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T23:18:43.460Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T23:18:43.720Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2023-01-11T23:18:43.721Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T23:18:51.836Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T23:18:51.836Z] go vet ./... [2023-01-11T23:18:54.367Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T23:18:54.367Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T23:18:54.367Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T23:18:54.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T23:18:54.401Z] $ docker stop --time=1 71ad0b5f00611f1478f953cdd09027ba2e4752acf9cba2264fa2ba6838c9b84c [2023-01-11T23:18:57.701Z] $ docker rm -f --volumes 71ad0b5f00611f1478f953cdd09027ba2e4752acf9cba2264fa2ba6838c9b84c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T23:18:58.142Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T23:18:58.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T23:18:58.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T23:18:58.992Z] + ls -al . [2023-01-11T23:18:58.992Z] total 192 [2023-01-11T23:18:58.992Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 23:18 . [2023-01-11T23:18:58.992Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:17 .. [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 23:17 .dockerignore [2023-01-11T23:18:58.992Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 23:18 .git [2023-01-11T23:18:58.992Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:17 .github [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 23:17 .gitignore [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 23:17 .golangci.yml [2023-01-11T23:18:58.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 23:17 .semver [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 23:17 Attribution.txt [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 23:17 CHANGELOG.md [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 23:17 Dockerfile [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 23:17 GOVERNANCE.md [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 23:17 Jenkinsfile [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 23:17 LICENSE [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 23:17 Makefile [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 23:17 OWNERS.md [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 23:17 README.md [2023-01-11T23:18:58.992Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 23:17 VERSION [2023-01-11T23:18:58.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:17 bin [2023-01-11T23:18:58.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:17 cmd [2023-01-11T23:18:58.993Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 23:18 coverage.out [2023-01-11T23:18:58.993Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 23:17 go.mod [2023-01-11T23:18:58.993Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 23:17 go.sum [2023-01-11T23:18:58.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:17 internal [2023-01-11T23:18:58.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:17 mock [2023-01-11T23:18:58.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:17 snap [2023-01-11T23:18:58.993Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:18:59.317Z] + 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=e08244fd84764539a32dc063c6cee84a08ea7c7a --label arch=amd64 --label version=0.0.0 . [2023-01-11T23:18:59.317Z] Sending build context to Docker daemon 6.37MB [2023-01-11T23:18:59.317Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:18:59.317Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T23:18:59.317Z] ---> ce2c685d3e85 [2023-01-11T23:18:59.317Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:18:59.577Z] ---> Running in 2e94d0f6a5c5 [2023-01-11T23:18:59.577Z] Removing intermediate container 2e94d0f6a5c5 [2023-01-11T23:18:59.577Z] ---> 4b619aa87c7c [2023-01-11T23:18:59.577Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:18:59.577Z] ---> Running in 9b9e1e260a1e [2023-01-11T23:18:59.837Z] Removing intermediate container 9b9e1e260a1e [2023-01-11T23:18:59.837Z] ---> 9dc8ebb2eb8c [2023-01-11T23:18:59.837Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:18:59.837Z] ---> Running in 0c3ab3b4edd1 [2023-01-11T23:18:59.837Z] Removing intermediate container 0c3ab3b4edd1 [2023-01-11T23:18:59.837Z] ---> a7ba0404f5a3 [2023-01-11T23:18:59.837Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:18:59.837Z] ---> Running in 2d99522a4446 [2023-01-11T23:18:59.837Z] Removing intermediate container 2d99522a4446 [2023-01-11T23:18:59.837Z] ---> faa5ec7cb0d9 [2023-01-11T23:18:59.837Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:18:59.837Z] ---> Running in 20e9e251e9cd [2023-01-11T23:19:00.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T23:19:00.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T23:19:00.354Z] OK: 216 MiB in 55 packages [2023-01-11T23:19:00.923Z] Removing intermediate container 20e9e251e9cd [2023-01-11T23:19:00.923Z] ---> b239c657f28f [2023-01-11T23:19:00.923Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T23:19:00.923Z] ---> Running in 8809b05f26df [2023-01-11T23:19:00.923Z] Removing intermediate container 8809b05f26df [2023-01-11T23:19:00.923Z] ---> ab3272c5dec1 [2023-01-11T23:19:00.923Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T23:19:00.923Z] ---> a2fdcba6a644 [2023-01-11T23:19:00.923Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:19:00.923Z] ---> Running in a0816bd1c9df [2023-01-11T23:19:01.862Z] Removing intermediate container a0816bd1c9df [2023-01-11T23:19:01.862Z] ---> b5e2558fcd0b [2023-01-11T23:19:01.862Z] Step 11/24 : COPY . . [2023-01-11T23:19:01.862Z] ---> 769fa78d420d [2023-01-11T23:19:01.862Z] Step 12/24 : RUN $MAKE [2023-01-11T23:19:02.121Z] ---> Running in bbaf32dba842 [2023-01-11T23:19:02.379Z] 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-01-11T23:19:24.358Z] Removing intermediate container bbaf32dba842 [2023-01-11T23:19:24.358Z] ---> 06c88f8f0f2a [2023-01-11T23:19:24.358Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T23:19:24.358Z] 3.16: Pulling from library/alpine [2023-01-11T23:19:24.358Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T23:19:24.358Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T23:19:24.358Z] ca7dd9ec2225: Download complete [2023-01-11T23:19:24.358Z] ca7dd9ec2225: Pull complete [2023-01-11T23:19:24.358Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T23:19:24.358Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T23:19:24.358Z] ---> bfe296a52501 [2023-01-11T23:19:24.358Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T23:19:24.358Z] ---> Running in f72955ab6f78 [2023-01-11T23:19:24.358Z] Removing intermediate container f72955ab6f78 [2023-01-11T23:19:24.358Z] ---> 0e7db983148e [2023-01-11T23:19:24.358Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T23:19:24.358Z] ---> Running in 8c22a4c2abb7 [2023-01-11T23:19:24.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T23:19:24.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T23:19:24.358Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T23:19:24.358Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:19:24.358Z] OK: 6 MiB in 15 packages [2023-01-11T23:19:24.358Z] Removing intermediate container 8c22a4c2abb7 [2023-01-11T23:19:24.358Z] ---> 5b1629d54dd2 [2023-01-11T23:19:24.358Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T23:19:24.924Z] ---> 467b5db88640 [2023-01-11T23:19:24.924Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T23:19:24.924Z] ---> b320902fb598 [2023-01-11T23:19:24.924Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T23:19:25.182Z] ---> 79c732bb036f [2023-01-11T23:19:25.182Z] Step 19/24 : EXPOSE 59982 [2023-01-11T23:19:25.182Z] ---> Running in ceb644b0ebcd [2023-01-11T23:19:25.182Z] Removing intermediate container ceb644b0ebcd [2023-01-11T23:19:25.182Z] ---> fd26b0d3b01d [2023-01-11T23:19:25.182Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T23:19:25.182Z] ---> Running in 831e1085120e [2023-01-11T23:19:25.182Z] Removing intermediate container 831e1085120e [2023-01-11T23:19:25.182Z] ---> 7e80bbf1a5f4 [2023-01-11T23:19:25.182Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T23:19:25.182Z] ---> Running in 9d52c12fc85b [2023-01-11T23:19:25.441Z] Removing intermediate container 9d52c12fc85b [2023-01-11T23:19:25.441Z] ---> e92bd5b172b9 [2023-01-11T23:19:25.441Z] Step 22/24 : LABEL arch=amd64 [2023-01-11T23:19:25.441Z] ---> Running in 41d97f4857d0 [2023-01-11T23:19:25.441Z] Removing intermediate container 41d97f4857d0 [2023-01-11T23:19:25.441Z] ---> d0b202af7f00 [2023-01-11T23:19:25.441Z] Step 23/24 : LABEL git_sha=e08244fd84764539a32dc063c6cee84a08ea7c7a [2023-01-11T23:19:25.441Z] ---> Running in 2d3b32a1600b [2023-01-11T23:19:25.441Z] Removing intermediate container 2d3b32a1600b [2023-01-11T23:19:25.441Z] ---> 423c0ce5af4d [2023-01-11T23:19:25.441Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T23:19:25.441Z] ---> Running in cfbe99f48737 [2023-01-11T23:19:25.699Z] Removing intermediate container cfbe99f48737 [2023-01-11T23:19:25.699Z] ---> cee55bbc82d9 [2023-01-11T23:19:25.699Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T23:19:25.699Z] Successfully built cee55bbc82d9 [2023-01-11T23:19:25.699Z] 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-01-11T23:19:26.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:19:26.154Z] [2023-01-11T23:19:26.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:19:26.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:19:26.448Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T23:19:26.448Z] 5eb5b503b376: Pulling fs layer [2023-01-11T23:19:26.448Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T23:19:26.448Z] ec43610c2a17: Pulling fs layer [2023-01-11T23:19:26.448Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T23:19:26.448Z] 33b1e0a273af: Pulling fs layer [2023-01-11T23:19:26.448Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T23:19:26.448Z] 2f39f015ded8: Pulling fs layer [2023-01-11T23:19:26.448Z] 3a2ae6a8a46f: Waiting [2023-01-11T23:19:26.448Z] 33b1e0a273af: Waiting [2023-01-11T23:19:26.448Z] 5d3b04190fa2: Waiting [2023-01-11T23:19:26.448Z] 2f39f015ded8: Waiting [2023-01-11T23:19:26.448Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T23:19:26.448Z] 5c69ac0246d0: Download complete [2023-01-11T23:19:26.448Z] 3a2ae6a8a46f: Download complete [2023-01-11T23:19:26.448Z] 33b1e0a273af: Verifying Checksum [2023-01-11T23:19:26.448Z] 33b1e0a273af: Download complete [2023-01-11T23:19:26.448Z] 5d3b04190fa2: Download complete [2023-01-11T23:19:26.709Z] ec43610c2a17: Verifying Checksum [2023-01-11T23:19:26.709Z] ec43610c2a17: Download complete [2023-01-11T23:19:26.709Z] 5eb5b503b376: Verifying Checksum [2023-01-11T23:19:26.709Z] 5eb5b503b376: Download complete [2023-01-11T23:19:27.275Z] 2f39f015ded8: Download complete [2023-01-11T23:19:27.853Z] 5eb5b503b376: Pull complete [2023-01-11T23:19:28.109Z] 5c69ac0246d0: Pull complete [2023-01-11T23:19:28.366Z] ec43610c2a17: Pull complete [2023-01-11T23:19:28.367Z] 3a2ae6a8a46f: Pull complete [2023-01-11T23:19:28.623Z] 33b1e0a273af: Pull complete [2023-01-11T23:19:28.623Z] 5d3b04190fa2: Pull complete [2023-01-11T23:19:32.169Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1988 in /w/workspace/gexfoundry_device-mqtt-go_PR-445 [Pipeline] { [Pipeline] ws [2023-01-11T23:19:32.182Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-01-11T23:19:32.212Z] Selected Git installation does not exist. Using Default [2023-01-11T23:19:32.212Z] The recommended git tool is: NONE [2023-01-11T23:19:32.803Z] 2f39f015ded8: Pull complete [2023-01-11T23:19:32.803Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T23:19:32.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:19:32.803Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:19:32.880Z] prd-ubuntu20.04-docker-8c-8g-1986 does not seem to be running inside a container [2023-01-11T23:19:32.906Z] $ 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-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T23:19:36.329Z] $ docker top a92a451c7289b33add4905de16e26de64c3f6b8bad9946a1446c31f37feb9709 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:19:36.711Z] ---> job-cost.sh [2023-01-11T23:19:36.711Z] lf-activate-venv: SKIPPING [2023-01-11T23:19:36.711Z] INFO: No Stack... [2023-01-11T23:19:36.925Z] using credential edgex-jenkins-ssh [2023-01-11T23:19:36.943Z] Cloning the remote Git repository [2023-01-11T23:19:36.969Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T23:19:36.986Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T23:19:37.056Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-01-11T23:19:37.194Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T23:19:37.228Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T23:19:37.513Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives/cost.csv [2023-01-11T23:19:37.513Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T23:19:37.528Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] [2023-01-11T23:19:37.533Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] did not exist. Created. [2023-01-11T23:19:37.534Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T23:19:37.829Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T23:19:37.854Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T23:19:37.860Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T23:19:37.879Z] $ docker stop --time=1 a92a451c7289b33add4905de16e26de64c3f6b8bad9946a1446c31f37feb9709 [2023-01-11T23:19:39.019Z] $ docker rm -f --volumes a92a451c7289b33add4905de16e26de64c3f6b8bad9946a1446c31f37feb9709 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T23:19:37.195Z] > git --version # timeout=10 [2023-01-11T23:19:37.220Z] > git --version # 'git version 2.25.1' [2023-01-11T23:19:37.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T23:19:39.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T23:19:40.503Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T23:19:40.520Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T23:19:41.980Z] Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [2023-01-11T23:19:41.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T23:19:41.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T23:19:41.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T23:19:41.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T23:19:42.217Z] Merge succeeded, producing 4c3add665c353f016a1542d2a34a66455cfdadb5 [2023-01-11T23:19:42.217Z] Checking out Revision 4c3add665c353f016a1542d2a34a66455cfdadb5 (PR-445) [2023-01-11T23:19:41.997Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T23:19:42.018Z] > git checkout -f 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 [2023-01-11T23:19:42.094Z] > git remote # timeout=10 [2023-01-11T23:19:42.114Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T23:19:42.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T23:19:42.141Z] > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 [2023-01-11T23:19:42.200Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T23:19:42.223Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T23:19:42.235Z] > git checkout -f 4c3add665c353f016a1542d2a34a66455cfdadb5 # timeout=10 [2023-01-11T23:19:45.653Z] Commit message: "Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD" [2023-01-11T23:19:45.661Z] > git rev-list --no-walk 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T23:19:46.529Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T23:19:46.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T23:19:46.529Z] Dload Upload Total Spent Left Speed [2023-01-11T23:19:46.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-01-11T23:19:47.234Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T23:19:47.560Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T23:19:47.560Z] + sudo tee /etc/docker/daemon.new [2023-01-11T23:19:47.560Z] { [2023-01-11T23:19:47.560Z] "registry-mirrors": [ [2023-01-11T23:19:47.560Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T23:19:47.560Z] ], [2023-01-11T23:19:47.560Z] "bip": "10.250.0.254/24", [2023-01-11T23:19:47.560Z] "hosts": [ [2023-01-11T23:19:47.560Z] "tcp://0.0.0.0:5555", [2023-01-11T23:19:47.560Z] "unix:///var/run/docker.sock" [2023-01-11T23:19:47.560Z] ], [2023-01-11T23:19:47.560Z] "mtu": 1458, [2023-01-11T23:19:47.560Z] "selinux-enabled": true, [2023-01-11T23:19:47.560Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T23:19:47.560Z] } [Pipeline] sh [2023-01-11T23:19:47.899Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T23:19:48.236Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:20:06.532Z] provisioning config files... [2023-01-11T23:20:06.558Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config17050287504688919587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:20:06.909Z] ---> docker-login.sh [2023-01-11T23:20:06.909Z] nexus3.edgexfoundry.org:10001 [2023-01-11T23:20:07.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:20:07.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:20:07.450Z] Configure a credential helper to remove this warning. See [2023-01-11T23:20:07.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:20:07.450Z] [2023-01-11T23:20:07.450Z] Login Succeeded [2023-01-11T23:20:07.451Z] nexus3.edgexfoundry.org:10002 [2023-01-11T23:20:07.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:20:07.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:20:07.722Z] Configure a credential helper to remove this warning. See [2023-01-11T23:20:07.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:20:07.722Z] [2023-01-11T23:20:07.722Z] Login Succeeded [2023-01-11T23:20:07.722Z] nexus3.edgexfoundry.org:10003 [2023-01-11T23:20:07.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:20:08.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:20:08.259Z] Configure a credential helper to remove this warning. See [2023-01-11T23:20:08.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:20:08.259Z] [2023-01-11T23:20:08.259Z] Login Succeeded [2023-01-11T23:20:08.259Z] nexus3.edgexfoundry.org:10004 [2023-01-11T23:20:08.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:20:08.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:20:08.528Z] Configure a credential helper to remove this warning. See [2023-01-11T23:20:08.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:20:08.528Z] [2023-01-11T23:20:08.528Z] Login Succeeded [2023-01-11T23:20:08.528Z] docker.io [2023-01-11T23:20:08.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:20:09.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:20:09.067Z] Configure a credential helper to remove this warning. See [2023-01-11T23:20:09.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:20:09.067Z] [2023-01-11T23:20:09.067Z] Login Succeeded [2023-01-11T23:20:09.067Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T23:20:09.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T23:20:09.316Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:20:09.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:20:09.349Z] ========================================================= [2023-01-11T23:20:09.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T23:20:09.349Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:20:09.702Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T23:20:09.969Z] Sending build context to Docker daemon 3.302MB [2023-01-11T23:20:09.969Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:20:09.969Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T23:20:10.241Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T23:20:10.241Z] 9b18e9b68314: Pulling fs layer [2023-01-11T23:20:10.241Z] 35d82f9e3411: Pulling fs layer [2023-01-11T23:20:10.241Z] e16973657156: Pulling fs layer [2023-01-11T23:20:10.241Z] fc693d55d65f: Pulling fs layer [2023-01-11T23:20:10.241Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T23:20:10.241Z] dda99020689f: Pulling fs layer [2023-01-11T23:20:10.241Z] db1c61fa0a46: Pulling fs layer [2023-01-11T23:20:10.241Z] 891c053d2c06: Pulling fs layer [2023-01-11T23:20:10.241Z] db1c61fa0a46: Waiting [2023-01-11T23:20:10.241Z] fc693d55d65f: Waiting [2023-01-11T23:20:10.241Z] 7e9fc2657dce: Waiting [2023-01-11T23:20:10.241Z] 891c053d2c06: Waiting [2023-01-11T23:20:10.241Z] dda99020689f: Waiting [2023-01-11T23:20:10.241Z] e16973657156: Verifying Checksum [2023-01-11T23:20:10.241Z] e16973657156: Download complete [2023-01-11T23:20:10.241Z] 35d82f9e3411: Verifying Checksum [2023-01-11T23:20:10.241Z] 35d82f9e3411: Download complete [2023-01-11T23:20:10.241Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T23:20:10.241Z] 7e9fc2657dce: Download complete [2023-01-11T23:20:10.241Z] dda99020689f: Download complete [2023-01-11T23:20:10.241Z] 9b18e9b68314: Verifying Checksum [2023-01-11T23:20:10.241Z] 9b18e9b68314: Download complete [2023-01-11T23:20:11.216Z] 9b18e9b68314: Pull complete [2023-01-11T23:20:11.216Z] 891c053d2c06: Verifying Checksum [2023-01-11T23:20:11.216Z] 891c053d2c06: Download complete [2023-01-11T23:20:11.828Z] 35d82f9e3411: Pull complete [2023-01-11T23:20:11.828Z] e16973657156: Pull complete [2023-01-11T23:20:12.421Z] db1c61fa0a46: Verifying Checksum [2023-01-11T23:20:12.421Z] db1c61fa0a46: Download complete [2023-01-11T23:20:13.017Z] fc693d55d65f: Verifying Checksum [2023-01-11T23:20:13.017Z] fc693d55d65f: Download complete [2023-01-11T23:20:25.359Z] fc693d55d65f: Pull complete [2023-01-11T23:20:25.359Z] 7e9fc2657dce: Pull complete [2023-01-11T23:20:25.359Z] dda99020689f: Pull complete [2023-01-11T23:20:30.722Z] db1c61fa0a46: Pull complete [2023-01-11T23:20:32.138Z] 891c053d2c06: Pull complete [2023-01-11T23:20:32.407Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T23:20:32.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T23:20:32.407Z] ---> f96f9c87975a [2023-01-11T23:20:32.407Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:20:34.349Z] ---> Running in 8faf4c27a301 [2023-01-11T23:20:34.349Z] Removing intermediate container 8faf4c27a301 [2023-01-11T23:20:34.349Z] ---> e8bb5f2a062e [2023-01-11T23:20:34.349Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:20:34.642Z] ---> Running in 944008d33dc6 [2023-01-11T23:20:34.643Z] Removing intermediate container 944008d33dc6 [2023-01-11T23:20:34.643Z] ---> 1359e0105281 [2023-01-11T23:20:34.643Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:20:34.909Z] ---> Running in 72882151f5fa [2023-01-11T23:20:35.176Z] Removing intermediate container 72882151f5fa [2023-01-11T23:20:35.176Z] ---> 9ce4dd2fa69c [2023-01-11T23:20:35.176Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:20:35.176Z] ---> Running in 6c401c2912b6 [2023-01-11T23:20:35.758Z] Removing intermediate container 6c401c2912b6 [2023-01-11T23:20:35.758Z] ---> 5ebb42e245c4 [2023-01-11T23:20:35.758Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:20:35.758Z] ---> Running in f8e2fa753704 [2023-01-11T23:20:36.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T23:20:37.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T23:20:38.264Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T23:20:38.264Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T23:20:38.264Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T23:20:38.264Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T23:20:38.264Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:20:38.264Z] OK: 226 MiB in 55 packages [2023-01-11T23:20:39.223Z] Removing intermediate container f8e2fa753704 [2023-01-11T23:20:39.223Z] ---> 67dce87d497f [2023-01-11T23:20:39.223Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T23:20:39.489Z] ---> Running in 93ce59fc37a2 [2023-01-11T23:20:39.755Z] Removing intermediate container 93ce59fc37a2 [2023-01-11T23:20:39.755Z] ---> 6eecaa198df2 [2023-01-11T23:20:39.755Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T23:20:40.021Z] ---> f2375270ac46 [2023-01-11T23:20:40.021Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:20:40.288Z] ---> Running in 8cc18d4b78a0 [2023-01-11T23:21:36.680Z] Removing intermediate container 8cc18d4b78a0 [2023-01-11T23:21:36.680Z] ---> 701511458496 [2023-01-11T23:21:36.680Z] Step 11/12 : COPY . . [2023-01-11T23:21:36.680Z] ---> 7c2bbf35395d [2023-01-11T23:21:36.680Z] Step 12/12 : RUN $MAKE [2023-01-11T23:21:36.680Z] ---> Running in f7ce7d3edd7b [2023-01-11T23:21:36.680Z] noop [2023-01-11T23:21:36.680Z] Removing intermediate container f7ce7d3edd7b [2023-01-11T23:21:36.680Z] ---> a0839a50e056 [2023-01-11T23:21:36.680Z] Successfully built a0839a50e056 [2023-01-11T23:21:36.680Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:21:37.035Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T23:21:37.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:21:37.222Z] prd-ubuntu20.04-docker-arm64-4c-16g-1988 does not seem to be running inside a container [2023-01-11T23:21:37.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T23:21:38.429Z] $ docker top 4b60056a410c4f53b8f785b8702b88833a20f326950b55129f4b28cbd199e162 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:21:39.238Z] + go version [2023-01-11T23:21:39.238Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T23:21:39.261Z] $ docker stop --time=1 4b60056a410c4f53b8f785b8702b88833a20f326950b55129f4b28cbd199e162 [2023-01-11T23:21:40.846Z] $ docker rm -f --volumes 4b60056a410c4f53b8f785b8702b88833a20f326950b55129f4b28cbd199e162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:21:41.374Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T23:21:41.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:21:41.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-1988 does not seem to be running inside a container [2023-01-11T23:21:41.622Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T23:21:42.701Z] $ docker top 5422ed6a1756304f0bc19d77c485d364458682fbd94f76b3a187665afa678ca2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:21:43.194Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-11T23:21:43.789Z] + make test [2023-01-11T23:21:43.789Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T23:21:45.731Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T23:23:07.377Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T23:23:07.377Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.060s coverage: 21.8% of statements [2023-01-11T23:23:07.377Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T23:23:07.377Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T23:23:07.377Z] go vet ./... [2023-01-11T23:23:25.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T23:23:25.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T23:23:25.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T23:23:25.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T23:23:25.647Z] $ docker stop --time=1 5422ed6a1756304f0bc19d77c485d364458682fbd94f76b3a187665afa678ca2 [2023-01-11T23:23:28.062Z] $ docker rm -f --volumes 5422ed6a1756304f0bc19d77c485d364458682fbd94f76b3a187665afa678ca2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T23:23:29.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T23:23:29.037Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T23:23:29.578Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T23:23:29.957Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T23:23:30.286Z] + ls -al . [2023-01-11T23:23:30.286Z] total 188 [2023-01-11T23:23:30.286Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 23:21 . [2023-01-11T23:23:30.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:19 .. [2023-01-11T23:23:30.286Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 23:19 .dockerignore [2023-01-11T23:23:30.286Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 23:19 .git [2023-01-11T23:23:30.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:19 .github [2023-01-11T23:23:30.286Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 23:19 .gitignore [2023-01-11T23:23:30.286Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 23:19 .golangci.yml [2023-01-11T23:23:30.286Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 23:19 Attribution.txt [2023-01-11T23:23:30.286Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 23:19 CHANGELOG.md [2023-01-11T23:23:30.286Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 23:19 Dockerfile [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 23:19 GOVERNANCE.md [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 23:19 Jenkinsfile [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 23:19 LICENSE [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 23:19 Makefile [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 23:19 OWNERS.md [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 23:19 README.md [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 23:17 VERSION [2023-01-11T23:23:30.287Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:19 bin [2023-01-11T23:23:30.287Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:19 cmd [2023-01-11T23:23:30.287Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 23:23 coverage.out [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 23:19 go.mod [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 23:19 go.sum [2023-01-11T23:23:30.287Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:19 internal [2023-01-11T23:23:30.287Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:19 mock [2023-01-11T23:23:30.287Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:19 snap [2023-01-11T23:23:30.287Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:23:30.627Z] + 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=4c3add665c353f016a1542d2a34a66455cfdadb5 --label arch=arm64 --label version=0.0.0 . [2023-01-11T23:23:30.894Z] Sending build context to Docker daemon 3.321MB [2023-01-11T23:23:30.894Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:23:30.894Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T23:23:30.894Z] ---> a0839a50e056 [2023-01-11T23:23:30.894Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:23:31.162Z] ---> Running in 3e727c4b72ff [2023-01-11T23:23:31.429Z] Removing intermediate container 3e727c4b72ff [2023-01-11T23:23:31.429Z] ---> 7eeb1971adab [2023-01-11T23:23:31.429Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:23:31.429Z] ---> Running in 8d915e07436b [2023-01-11T23:23:31.705Z] Removing intermediate container 8d915e07436b [2023-01-11T23:23:31.705Z] ---> c7abd390a3d9 [2023-01-11T23:23:31.705Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:23:31.705Z] ---> Running in 288ec25735c5 [2023-01-11T23:23:32.297Z] Removing intermediate container 288ec25735c5 [2023-01-11T23:23:32.297Z] ---> ea17da02cbf1 [2023-01-11T23:23:32.297Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:23:32.297Z] ---> Running in 02f9d9695c24 [2023-01-11T23:23:32.568Z] Removing intermediate container 02f9d9695c24 [2023-01-11T23:23:32.568Z] ---> 2567cc354de2 [2023-01-11T23:23:32.568Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:23:32.568Z] ---> Running in 6ca5a9ed94cb [2023-01-11T23:23:33.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T23:23:33.799Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T23:23:35.216Z] OK: 226 MiB in 55 packages [2023-01-11T23:23:35.803Z] Removing intermediate container 6ca5a9ed94cb [2023-01-11T23:23:35.803Z] ---> 2161c7ab09ca [2023-01-11T23:23:35.803Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T23:23:36.080Z] ---> Running in 7cd928f19b8f [2023-01-11T23:23:36.348Z] Removing intermediate container 7cd928f19b8f [2023-01-11T23:23:36.348Z] ---> 9522ef580105 [2023-01-11T23:23:36.348Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T23:23:36.933Z] ---> a54a7d0f8520 [2023-01-11T23:23:36.933Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:23:36.933Z] ---> Running in e394e7a0fc0c [2023-01-11T23:23:38.892Z] Removing intermediate container e394e7a0fc0c [2023-01-11T23:23:38.892Z] ---> fc6fc1b91388 [2023-01-11T23:23:38.892Z] Step 11/24 : COPY . . [2023-01-11T23:23:39.853Z] ---> faf248822720 [2023-01-11T23:23:39.853Z] Step 12/24 : RUN $MAKE [2023-01-11T23:23:39.853Z] ---> Running in 15853b688fe3 [2023-01-11T23:23:40.816Z] 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-01-11T23:26:17.588Z] Removing intermediate container 15853b688fe3 [2023-01-11T23:26:17.588Z] ---> 8f1d6fdca3fd [2023-01-11T23:26:17.588Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T23:26:17.588Z] 3.16: Pulling from library/alpine [2023-01-11T23:26:17.588Z] 6875df1f5354: Pulling fs layer [2023-01-11T23:26:17.588Z] 6875df1f5354: Verifying Checksum [2023-01-11T23:26:17.588Z] 6875df1f5354: Download complete [2023-01-11T23:26:17.588Z] 6875df1f5354: Pull complete [2023-01-11T23:26:17.588Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T23:26:17.588Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T23:26:17.588Z] ---> 2b4661558fb8 [2023-01-11T23:26:17.588Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T23:26:17.588Z] ---> Running in 3725b43854e5 [2023-01-11T23:26:17.588Z] Removing intermediate container 3725b43854e5 [2023-01-11T23:26:17.588Z] ---> eeb028b53ef5 [2023-01-11T23:26:17.588Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T23:26:17.588Z] ---> Running in 04d26a90947a [2023-01-11T23:26:17.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T23:26:17.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T23:26:17.588Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T23:26:17.588Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:26:17.588Z] OK: 5 MiB in 15 packages [2023-01-11T23:26:17.588Z] Removing intermediate container 04d26a90947a [2023-01-11T23:26:17.588Z] ---> fc1731d62d6e [2023-01-11T23:26:17.588Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T23:26:17.588Z] ---> b5300444e2e5 [2023-01-11T23:26:17.588Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T23:26:17.588Z] ---> 293b332fc501 [2023-01-11T23:26:17.588Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T23:26:17.588Z] ---> e705ae0a461f [2023-01-11T23:26:17.588Z] Step 19/24 : EXPOSE 59982 [2023-01-11T23:26:17.588Z] ---> Running in 3de6653337c3 [2023-01-11T23:26:17.588Z] Removing intermediate container 3de6653337c3 [2023-01-11T23:26:17.588Z] ---> 1d411933ba3a [2023-01-11T23:26:17.588Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T23:26:17.588Z] ---> Running in 3ff845f2b38c [2023-01-11T23:26:17.588Z] Removing intermediate container 3ff845f2b38c [2023-01-11T23:26:17.588Z] ---> f29a54f8eb82 [2023-01-11T23:26:17.588Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T23:26:17.588Z] ---> Running in 522ab606b78d [2023-01-11T23:26:17.588Z] Removing intermediate container 522ab606b78d [2023-01-11T23:26:17.588Z] ---> 372bc0f75176 [2023-01-11T23:26:17.588Z] Step 22/24 : LABEL arch=arm64 [2023-01-11T23:26:17.588Z] ---> Running in 88c8f843d4a4 [2023-01-11T23:26:17.857Z] Removing intermediate container 88c8f843d4a4 [2023-01-11T23:26:17.857Z] ---> 60f94337c970 [2023-01-11T23:26:17.857Z] Step 23/24 : LABEL git_sha=4c3add665c353f016a1542d2a34a66455cfdadb5 [2023-01-11T23:26:17.857Z] ---> Running in d7627ad54013 [2023-01-11T23:26:18.125Z] Removing intermediate container d7627ad54013 [2023-01-11T23:26:18.125Z] ---> 390bc65c1702 [2023-01-11T23:26:18.125Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T23:26:18.125Z] ---> Running in 4329a44ce420 [2023-01-11T23:26:18.393Z] Removing intermediate container 4329a44ce420 [2023-01-11T23:26:18.393Z] ---> 5da2980038ae [2023-01-11T23:26:18.393Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T23:26:18.393Z] Successfully built 5da2980038ae [2023-01-11T23:26:18.393Z] 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-01-11T23:26:19.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T23:26:19.110Z] [2023-01-11T23:26:19.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:26:19.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T23:26:19.455Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T23:26:19.455Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T23:26:19.455Z] 04944245beec: Pulling fs layer [2023-01-11T23:26:19.455Z] 699f458cf7ca: Pulling fs layer [2023-01-11T23:26:19.455Z] 765212b225bb: Pulling fs layer [2023-01-11T23:26:19.455Z] f23df028b6ca: Pulling fs layer [2023-01-11T23:26:19.455Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T23:26:19.455Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T23:26:19.455Z] d65c8cfc05b1: Waiting [2023-01-11T23:26:19.455Z] 765212b225bb: Waiting [2023-01-11T23:26:19.455Z] 2437ff75d9bd: Waiting [2023-01-11T23:26:19.725Z] 04944245beec: Verifying Checksum [2023-01-11T23:26:19.725Z] 04944245beec: Download complete [2023-01-11T23:26:19.725Z] 765212b225bb: Verifying Checksum [2023-01-11T23:26:19.725Z] 765212b225bb: Download complete [2023-01-11T23:26:19.725Z] f23df028b6ca: Download complete [2023-01-11T23:26:19.725Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T23:26:19.725Z] d65c8cfc05b1: Download complete [2023-01-11T23:26:19.725Z] 699f458cf7ca: Verifying Checksum [2023-01-11T23:26:19.998Z] 699f458cf7ca: Download complete [2023-01-11T23:26:20.264Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T23:26:20.264Z] 8998bd30e6a1: Download complete [2023-01-11T23:26:22.856Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T23:26:22.856Z] 2437ff75d9bd: Download complete [2023-01-11T23:26:24.810Z] 8998bd30e6a1: Pull complete [2023-01-11T23:26:25.775Z] 04944245beec: Pull complete [2023-01-11T23:26:27.192Z] 699f458cf7ca: Pull complete [2023-01-11T23:26:27.192Z] 765212b225bb: Pull complete [2023-01-11T23:26:27.777Z] f23df028b6ca: Pull complete [2023-01-11T23:26:28.045Z] d65c8cfc05b1: Pull complete [2023-01-11T23:26:43.046Z] 2437ff75d9bd: Pull complete [2023-01-11T23:26:43.046Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T23:26:43.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T23:26:43.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:26:43.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-1988 does not seem to be running inside a container [2023-01-11T23:26:43.403Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T23:26:46.307Z] $ docker top 49938ac76b63d9422ef5dbb73b318cbb6e754b5e2cf5efc5e1c51e1a499de1c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:47.234Z] ---> job-cost.sh [2023-01-11T23:26:47.234Z] lf-activate-venv: SKIPPING [2023-01-11T23:26:47.234Z] INFO: No Stack... [2023-01-11T23:26:47.503Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T23:26:48.478Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T23:26:49.140Z] + cut -d, -f6 [2023-01-11T23:26:49.140Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2023-01-11T23:26:49.220Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] [2023-01-11T23:26:49.226Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] did not exist. Created. [2023-01-11T23:26:49.226Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T23:26:49.891Z] /w/workspace/device-mqtt-go/2@tmp/durable-76286df5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T23:26:50.554Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T23:26:50.578Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T23:26:50.628Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T23:26:50.636Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T23:26:50.659Z] $ docker stop --time=1 49938ac76b63d9422ef5dbb73b318cbb6e754b5e2cf5efc5e1c51e1a499de1c0 [2023-01-11T23:26:52.195Z] $ docker rm -f --volumes 49938ac76b63d9422ef5dbb73b318cbb6e754b5e2cf5efc5e1c51e1a499de1c0 [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-01-11T23:26:52.553Z] provisioning config files... [2023-01-11T23:26:52.559Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config16189587190598477750tmp [Pipeline] { [Pipeline] sh [2023-01-11T23:26:52.847Z] + set +x [2023-01-11T23:26:52.847Z] + curl -s https://codecov.io/bash [2023-01-11T23:26:52.847Z] + bash -s -- [2023-01-11T23:26:52.847Z] [2023-01-11T23:26:52.847Z] _____ _ [2023-01-11T23:26:52.847Z] / ____| | | [2023-01-11T23:26:52.847Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T23:26:52.847Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T23:26:52.847Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T23:26:52.847Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T23:26:52.847Z] Bash-1.0.6 [2023-01-11T23:26:52.847Z] [2023-01-11T23:26:52.847Z] [2023-01-11T23:26:52.847Z] ==> git version 2.25.1 found [2023-01-11T23:26:52.847Z] ==> 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-01-11T23:26:52.847Z] Release-Date: 2020-01-08 [2023-01-11T23:26:52.847Z] 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-01-11T23:26:52.847Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T23:26:52.847Z] ==> Jenkins CI detected. [2023-01-11T23:26:52.847Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-445 [2023-01-11T23:26:52.847Z] project root: . [2023-01-11T23:26:52.847Z] --> token set from env [2023-01-11T23:26:52.847Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T23:26:52.847Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T23:26:52.847Z] ==> Python coveragepy not found [2023-01-11T23:26:52.847Z] ==> Searching for coverage reports in: [2023-01-11T23:26:52.847Z] + . [2023-01-11T23:26:52.847Z] -> Found 1 reports [2023-01-11T23:26:52.847Z] ==> Detecting git/mercurial file structure [2023-01-11T23:26:52.847Z] ==> Reading reports [2023-01-11T23:26:52.847Z] + ./coverage.out bytes=17887 [2023-01-11T23:26:53.105Z] ==> Appending adjustments [2023-01-11T23:26:53.105Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T23:26:53.105Z] + Found adjustments [2023-01-11T23:26:53.105Z] ==> Gzipping contents [2023-01-11T23:26:53.105Z] 4.0K /tmp/codecov.El7AdE.gz [2023-01-11T23:26:53.105Z] ==> Uploading reports [2023-01-11T23:26:53.105Z] url: https://codecov.io [2023-01-11T23:26:53.105Z] query: branch=PR-445&commit=e08244fd84764539a32dc063c6cee84a08ea7c7a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-445%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2023-01-11T23:26:53.105Z] -> Pinging Codecov [2023-01-11T23:26:53.105Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-445&commit=e08244fd84764539a32dc063c6cee84a08ea7c7a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-445%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2023-01-11T23:26:53.364Z] -> Uploading to [2023-01-11T23:26:53.364Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7D719EC7BBE17E464838252E33014C33/e08244fd84764539a32dc063c6cee84a08ea7c7a/11e98e21-3dc6-4024-a03d-2a55cb7ea010.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T232653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c113b4836036e6401a1500c7c1bd529742edea76ad89cba37ba9adbe12d141b [2023-01-11T23:26:53.364Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T23:26:53.364Z] Dload Upload Total Spent Left Speed [2023-01-11T23:26:53.624Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3181 0 0 100 3181 0 13536 --:--:-- --:--:-- --:--:-- 13536 [2023-01-11T23:26:53.624Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e08244fd84764539a32dc063c6cee84a08ea7c7a [Pipeline] } [2023-01-11T23:26:53.633Z] 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-01-11T23:26:54.340Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives ] [2023-01-11T23:26:54.340Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives [2023-01-11T23:26:54.340Z] total 16 [2023-01-11T23:26:54.340Z] drwxr-xr-x 3 root root 4096 Jan 11 23:19 . [2023-01-11T23:26:54.340Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 23:19 .. [2023-01-11T23:26:54.340Z] drwxr-xr-x 2 root root 4096 Jan 11 23:19 cost [2023-01-11T23:26:54.340Z] -rw-r--r-- 1 root root 86 Jan 11 23:19 cost.csv [2023-01-11T23:26:54.340Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives [2023-01-11T23:26:54.340Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives [2023-01-11T23:26:54.340Z] total 16 [2023-01-11T23:26:54.340Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 23:19 . [2023-01-11T23:26:54.340Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 23:19 .. [2023-01-11T23:26:54.340Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 23:19 cost [2023-01-11T23:26:54.340Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:54.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:55.492Z] ---> package-listing.sh [2023-01-11T23:26:55.492Z] ++ facter osfamily [2023-01-11T23:26:55.492Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T23:26:55.751Z] + OS_FAMILY=debian [2023-01-11T23:26:55.751Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-445 [2023-01-11T23:26:55.751Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T23:26:55.751Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T23:26:55.751Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T23:26:55.751Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T23:26:55.751Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-445 ']' [2023-01-11T23:26:55.751Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T23:26:55.751Z] + case "${OS_FAMILY}" in [2023-01-11T23:26:55.751Z] + dpkg -l [2023-01-11T23:26:55.751Z] + grep '^ii' [2023-01-11T23:26:55.751Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T23:26:55.751Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T23:26:55.751Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T23:26:55.751Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-445 ']' [2023-01-11T23:26:55.751Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives/ [2023-01-11T23:26:55.751Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives/ [Pipeline] echo [2023-01-11T23:26:55.763Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T23:26:56.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:26:56.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:26:56.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:26:56.669Z] prd-ubuntu20.04-docker-8c-8g-1986 does not seem to be running inside a container [2023-01-11T23:26:56.698Z] $ 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-445/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-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T23:26:56.891Z] $ docker top 1b18bee7bf57f85cdfa94ad5ff7ad9b7ff89397ae781a97705852b94c4a1af61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:26:57.226Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T23:26:57.509Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T23:26:57.791Z] + ls /var/log/sa-host [2023-01-11T23:26:57.791Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:26:57.940Z] provisioning config files... [2023-01-11T23:26:57.949Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config11248858477966951571tmp [Pipeline] { [Pipeline] echo [2023-01-11T23:26:57.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:58.243Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T23:26:58.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:58.569Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T23:26:58.578Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:58.861Z] ---> sudo-logs.sh [2023-01-11T23:26:58.861Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T23:26:58.889Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:26:59.170Z] ---> job-cost.sh [2023-01-11T23:26:59.170Z] lf-activate-venv: SKIPPING [2023-01-11T23:26:59.170Z] DEBUG: total: 0.2199999988079071 [2023-01-11T23:26:59.170Z] INFO: Retrieving Stack Cost... [2023-01-11T23:26:59.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T23:26:59.997Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T23:27:00.011Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:27:00.295Z] ---> logs-deploy.sh [2023-01-11T23:27:00.295Z] lf-activate-venv: SKIPPING [2023-01-11T23:27:00.295Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-445/2 [2023-01-11T23:27:00.295Z] INFO: archiving workspace using pattern(s): [2023-01-11T23:27:01.232Z] Archives upload complete. [2023-01-11T23:27:01.232Z] INFO: archiving logs to Nexus