Pull request #521 updated 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 vli11 for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 229099614b4381a690093be203497270268560bd rather than 08b327fe0703c0c9c4af3d752741217c6634a71b Obtained Jenkinsfile from 229099614b4381a690093be203497270268560bd 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-ssh4351359019755961522.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-ssh1047890899513610881.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-521/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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14477108452760465301.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-ssh2309249634503784659.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-521/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-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1023276838894223984.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9683 in /w/workspace/gexfoundry_device-mqtt-go_PR-521 [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-521 # 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 229099614b4381a690093be203497270268560bd into PR head commit 08b327fe0703c0c9c4af3d752741217c6634a71b > 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/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08b327fe0703c0c9c4af3d752741217c6634a71b # timeout=10 Merge succeeded, producing 08b327fe0703c0c9c4af3d752741217c6634a71b Checking out Revision 08b327fe0703c0c9c4af3d752741217c6634a71b (PR-521) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 229099614b4381a690093be203497270268560bd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08b327fe0703c0c9c4af3d752741217c6634a71b # timeout=10 Commit message: "fix: Rename secretName to SecretName" > git rev-list --no-walk b19e386d8e8ed9765def202b879e4c9db9919488 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-10T21:10:10.506Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-10T21:10:10.562Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-10T21:10:10.585Z] ========================================================= [2023-03-10T21:10:10.585Z] EdgeX Global Pipelines Version Info [2023-03-10T21:10:10.585Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:10:11.297Z] ------------------- [2023-03-10T21:10:11.297Z] stable info: [2023-03-10T21:10:11.297Z] ------------------- [2023-03-10T21:10:11.297Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-10T21:10:11.297Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T21:10:11.297Z] Message: update stable to v1.0.244 [2023-03-10T21:10:11.867Z] ------------------- [2023-03-10T21:10:11.867Z] experimental info: [2023-03-10T21:10:11.867Z] ------------------- [2023-03-10T21:10:11.867Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-10T21:10:11.867Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T21:10:11.867Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-10T21:10:12.041Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-10T21:10:12.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-10T21:10:12.060Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-10T21:10:12.076Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-10T21:10:12.090Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-10T21:10:12.106Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-10T21:10:12.117Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-10T21:10:12.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-10T21:10:12.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-10T21:10:12.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-10T21:10:12.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-10T21:10:12.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-10T21:10:12.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-10T21:10:12.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-10T21:10:12.228Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T21:10:12.240Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T21:10:12.253Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T21:10:12.265Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T21:10:12.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-10T21:10:12.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-10T21:10:12.312Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-10T21:10:12.328Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-10T21:10:12.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-10T21:10:12.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-10T21:10:12.362Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-10T21:10:12.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-10T21:10:12.383Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-10T21:10:12.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-521 [Pipeline] echo [2023-03-10T21:10:12.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-521 [Pipeline] echo [2023-03-10T21:10:12.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-521 [Pipeline] echo [2023-03-10T21:10:12.443Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08b327fe0703c0c9c4af3d752741217c6634a71b [Pipeline] echo [2023-03-10T21:10:12.457Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08b327f [Pipeline] echo [2023-03-10T21:10:12.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T21:10:12.515Z] provisioning config files... [2023-03-10T21:10:12.527Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config9803927149603060714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:10:12.836Z] ---> docker-login.sh [2023-03-10T21:10:12.836Z] nexus3.edgexfoundry.org:10001 [2023-03-10T21:10:13.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:13.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:13.096Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:13.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:13.096Z] [2023-03-10T21:10:13.096Z] Login Succeeded [2023-03-10T21:10:13.096Z] nexus3.edgexfoundry.org:10002 [2023-03-10T21:10:13.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:13.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:13.355Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:13.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:13.355Z] [2023-03-10T21:10:13.355Z] Login Succeeded [2023-03-10T21:10:13.355Z] nexus3.edgexfoundry.org:10003 [2023-03-10T21:10:13.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:13.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:13.355Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:13.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:13.355Z] [2023-03-10T21:10:13.355Z] Login Succeeded [2023-03-10T21:10:13.355Z] nexus3.edgexfoundry.org:10004 [2023-03-10T21:10:13.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:13.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:13.355Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:13.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:13.355Z] [2023-03-10T21:10:13.355Z] Login Succeeded [2023-03-10T21:10:13.355Z] docker.io [2023-03-10T21:10:13.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:13.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:13.874Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:13.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:13.874Z] [2023-03-10T21:10:13.874Z] Login Succeeded [2023-03-10T21:10:13.874Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T21:10:13.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-10T21:10:14.258Z] + git rev-list -1 --merges 08b327fe0703c0c9c4af3d752741217c6634a71b~1..08b327fe0703c0c9c4af3d752741217c6634a71b [Pipeline] echo [2023-03-10T21:10:14.307Z] -----------> git rev-list -1 --merges 08b327fe0703c0c9c4af3d752741217c6634a71b~1..08b327fe0703c0c9c4af3d752741217c6634a71b 08b327fe0703c0c9c4af3d752741217c6634a71b [false] [Pipeline] sh [2023-03-10T21:10:14.594Z] + git log --format=format:%s -1 08b327fe0703c0c9c4af3d752741217c6634a71b [Pipeline] echo [2023-03-10T21:10:14.608Z] ========================================================= [2023-03-10T21:10:14.608Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-10T21:10:14.608Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T21:10:14.919Z] + git log --format=format:%s -1 08b327fe0703c0c9c4af3d752741217c6634a71b [Pipeline] echo [2023-03-10T21:10:14.929Z] [semverPrep] GIT_COMMIT: 08b327fe0703c0c9c4af3d752741217c6634a71b, Commit Message: fix: Rename secretName to SecretName [Pipeline] echo [2023-03-10T21:10:14.939Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-10T21:10:15.287Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-10T21:10:15.287Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-10T21:10:15.287Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-10T21:10:15.287Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-10T21:10:15.287Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-10T21:10:15.287Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-10T21:10:15.287Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:10:15.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T21:10:15.633Z] [2023-03-10T21:10:15.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:10:15.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T21:10:15.936Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-10T21:10:15.936Z] b85a868b505f: Pulling fs layer [2023-03-10T21:10:15.936Z] e2be974225ed: Pulling fs layer [2023-03-10T21:10:15.936Z] 339a4e72a1f5: Pulling fs layer [2023-03-10T21:10:15.936Z] 988bab9f4d93: Pulling fs layer [2023-03-10T21:10:15.936Z] 1469e6f7b9e6: Pulling fs layer [2023-03-10T21:10:15.936Z] eaf3925da568: Pulling fs layer [2023-03-10T21:10:15.936Z] bab4dde63d76: Pulling fs layer [2023-03-10T21:10:15.936Z] bde34c3a00c8: Pulling fs layer [2023-03-10T21:10:15.936Z] b352a97aabf1: Pulling fs layer [2023-03-10T21:10:15.936Z] 4872d77fe225: Pulling fs layer [2023-03-10T21:10:15.936Z] 5851b861e8e6: Pulling fs layer [2023-03-10T21:10:15.936Z] bab4dde63d76: Waiting [2023-03-10T21:10:15.936Z] bde34c3a00c8: Waiting [2023-03-10T21:10:15.936Z] b352a97aabf1: Waiting [2023-03-10T21:10:15.936Z] 4872d77fe225: Waiting [2023-03-10T21:10:15.936Z] 5851b861e8e6: Waiting [2023-03-10T21:10:15.936Z] 988bab9f4d93: Waiting [2023-03-10T21:10:15.936Z] eaf3925da568: Waiting [2023-03-10T21:10:15.936Z] 1469e6f7b9e6: Waiting [2023-03-10T21:10:15.936Z] e2be974225ed: Verifying Checksum [2023-03-10T21:10:15.936Z] e2be974225ed: Download complete [2023-03-10T21:10:15.936Z] 988bab9f4d93: Download complete [2023-03-10T21:10:16.197Z] 1469e6f7b9e6: Verifying Checksum [2023-03-10T21:10:16.197Z] 1469e6f7b9e6: Download complete [2023-03-10T21:10:16.197Z] eaf3925da568: Verifying Checksum [2023-03-10T21:10:16.197Z] eaf3925da568: Download complete [2023-03-10T21:10:16.197Z] 339a4e72a1f5: Verifying Checksum [2023-03-10T21:10:16.197Z] 339a4e72a1f5: Download complete [2023-03-10T21:10:16.197Z] bde34c3a00c8: Download complete [2023-03-10T21:10:16.197Z] b352a97aabf1: Verifying Checksum [2023-03-10T21:10:16.197Z] b352a97aabf1: Download complete [2023-03-10T21:10:16.197Z] 4872d77fe225: Download complete [2023-03-10T21:10:16.197Z] 5851b861e8e6: Verifying Checksum [2023-03-10T21:10:16.197Z] 5851b861e8e6: Download complete [2023-03-10T21:10:16.197Z] b85a868b505f: Verifying Checksum [2023-03-10T21:10:16.197Z] b85a868b505f: Download complete [2023-03-10T21:10:16.456Z] bab4dde63d76: Download complete [2023-03-10T21:10:17.393Z] b85a868b505f: Pull complete [2023-03-10T21:10:17.651Z] e2be974225ed: Pull complete [2023-03-10T21:10:18.219Z] 339a4e72a1f5: Pull complete [2023-03-10T21:10:18.219Z] 988bab9f4d93: Pull complete [2023-03-10T21:10:18.478Z] 1469e6f7b9e6: Pull complete [2023-03-10T21:10:18.478Z] eaf3925da568: Pull complete [2023-03-10T21:10:20.382Z] bab4dde63d76: Pull complete [2023-03-10T21:10:20.382Z] bde34c3a00c8: Pull complete [2023-03-10T21:10:20.382Z] b352a97aabf1: Pull complete [2023-03-10T21:10:20.382Z] 4872d77fe225: Pull complete [2023-03-10T21:10:20.642Z] 5851b861e8e6: Pull complete [2023-03-10T21:10:20.642Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-10T21:10:20.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T21:10:20.642Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:10:20.735Z] prd-ubuntu20.04-docker-8c-8g-9683 does not seem to be running inside a container [2023-03-10T21:10:20.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-10T21:10:22.264Z] $ docker top d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 -eo pid,comm [2023-03-10T21:10:22.320Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-10T21:10:22.320Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-10T21:10:22.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T21:10:22.349Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T21:10:22.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T21:10:22.483Z] $ docker exec d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 ssh-agent [2023-03-10T21:10:22.613Z] SSH_AUTH_SOCK=/tmp/ssh-RKNtfFLZx8z0/agent.33 [2023-03-10T21:10:22.613Z] SSH_AGENT_PID=39 [2023-03-10T21:10:22.629Z] Running ssh-add (command line suppressed) [2023-03-10T21:10:22.737Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_14597583987412136538.key (/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_14597583987412136538.key) [2023-03-10T21:10:22.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T21:10:23.037Z] + git tag --points-at HEAD [Pipeline] } [2023-03-10T21:10:23.052Z] $ docker exec --env ******** --env ******** d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 ssh-agent -k [2023-03-10T21:10:23.145Z] unset SSH_AUTH_SOCK; [2023-03-10T21:10:23.146Z] unset SSH_AGENT_PID; [2023-03-10T21:10:23.146Z] echo Agent pid 39 killed; [2023-03-10T21:10:23.151Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-10T21:10:23.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T21:10:23.180Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T21:10:23.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T21:10:23.301Z] $ docker exec d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 ssh-agent [2023-03-10T21:10:23.411Z] SSH_AUTH_SOCK=/tmp/ssh-7OEqbSBEFusO/agent.71 [2023-03-10T21:10:23.411Z] SSH_AGENT_PID=77 [2023-03-10T21:10:23.416Z] Running ssh-add (command line suppressed) [2023-03-10T21:10:23.521Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_5885991048154718326.key (/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/private_key_5885991048154718326.key) [2023-03-10T21:10:23.533Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T21:10:23.819Z] + git semver init [2023-03-10T21:10:24.077Z] 2023-03-10 21:10:24,032 [run_init] DEBUG init version:0.0.0 force:False [2023-03-10T21:10:24.077Z] 2023-03-10 21:10:24,033 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver [2023-03-10T21:10:24.077Z] 2023-03-10 21:10:24,033 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver [2023-03-10T21:10:24.077Z] 2023-03-10 21:10:24,034 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-521, universal_newlines=False, shell=None, istream=None) [2023-03-10T21:10:25.015Z] 2023-03-10 21:10:24,706 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.git/info/exclude [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,707 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver/PR-521 with force:False [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,707 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver/PR-521 [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,710 [execute] INFO git cat-file --batch-check [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,719 [execute] INFO git cat-file --batch [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T21:10:25.016Z] 2023-03-10 21:10:24,725 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-521/.semver/PR-521 [2023-03-10T21:10:25.016Z] 0.0.0 [Pipeline] } [2023-03-10T21:10:25.029Z] $ docker exec --env ******** --env ******** d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 ssh-agent -k [2023-03-10T21:10:25.125Z] unset SSH_AUTH_SOCK; [2023-03-10T21:10:25.125Z] unset SSH_AGENT_PID; [2023-03-10T21:10:25.125Z] echo Agent pid 77 killed; [2023-03-10T21:10:25.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-10T21:10:25.438Z] + git semver [Pipeline] } [2023-03-10T21:10:25.713Z] $ docker stop --time=1 d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 [2023-03-10T21:10:27.049Z] $ docker rm -f --volumes d9f6b8146a86b30347e948d011ad78d640569ee13c1f5d3a54b3fb296a3cf6e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T21:10:27.383Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-10T21:10:27.584Z] Stashed 1 file(s) [Pipeline] echo [2023-03-10T21:10:27.587Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T21:10:27.704Z] provisioning config files... [2023-03-10T21:10:27.713Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config11287522502413103200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:10:28.008Z] ---> docker-login.sh [2023-03-10T21:10:28.008Z] nexus3.edgexfoundry.org:10001 [2023-03-10T21:10:28.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:28.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:28.008Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:28.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:28.008Z] [2023-03-10T21:10:28.008Z] Login Succeeded [2023-03-10T21:10:28.008Z] nexus3.edgexfoundry.org:10002 [2023-03-10T21:10:28.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:28.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:28.008Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:28.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:28.008Z] [2023-03-10T21:10:28.008Z] Login Succeeded [2023-03-10T21:10:28.008Z] nexus3.edgexfoundry.org:10003 [2023-03-10T21:10:28.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:28.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:28.267Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:28.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:28.267Z] [2023-03-10T21:10:28.267Z] Login Succeeded [2023-03-10T21:10:28.267Z] nexus3.edgexfoundry.org:10004 [2023-03-10T21:10:28.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:28.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:28.267Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:28.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:28.267Z] [2023-03-10T21:10:28.267Z] Login Succeeded [2023-03-10T21:10:28.267Z] docker.io [2023-03-10T21:10:28.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:10:28.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:10:28.528Z] Configure a credential helper to remove this warning. See [2023-03-10T21:10:28.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:10:28.528Z] [2023-03-10T21:10:28.528Z] Login Succeeded [2023-03-10T21:10:28.528Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T21:10:28.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T21:10:28.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T21:10:28.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T21:10:28.613Z] ========================================================= [2023-03-10T21:10:28.613Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-10T21:10:28.613Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:10:28.938Z] + 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-03-10T21:10:28.938Z] Sending build context to Docker daemon 6.394MB [2023-03-10T21:10:28.938Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T21:10:28.938Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-10T21:10:28.938Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-10T21:10:28.938Z] 213ec9aee27d: Pulling fs layer [2023-03-10T21:10:28.938Z] 4583459ba037: Pulling fs layer [2023-03-10T21:10:28.938Z] 93c1e223e6f2: Pulling fs layer [2023-03-10T21:10:28.938Z] 53926ce57604: Pulling fs layer [2023-03-10T21:10:28.938Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-10T21:10:28.938Z] 22ff95d597cd: Pulling fs layer [2023-03-10T21:10:28.938Z] 12d6caf4c0d1: Pulling fs layer [2023-03-10T21:10:28.938Z] 96b7cbca73a9: Pulling fs layer [2023-03-10T21:10:28.938Z] a7acece74701: Pulling fs layer [2023-03-10T21:10:28.938Z] 12d6caf4c0d1: Waiting [2023-03-10T21:10:28.939Z] 96b7cbca73a9: Waiting [2023-03-10T21:10:28.939Z] a7acece74701: Waiting [2023-03-10T21:10:28.939Z] 53926ce57604: Waiting [2023-03-10T21:10:28.939Z] 21b2b0c7a3f4: Waiting [2023-03-10T21:10:28.939Z] 22ff95d597cd: Waiting [2023-03-10T21:10:28.939Z] 93c1e223e6f2: Verifying Checksum [2023-03-10T21:10:28.939Z] 93c1e223e6f2: Download complete [2023-03-10T21:10:28.939Z] 4583459ba037: Verifying Checksum [2023-03-10T21:10:28.939Z] 4583459ba037: Download complete [2023-03-10T21:10:28.939Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-10T21:10:28.939Z] 21b2b0c7a3f4: Download complete [2023-03-10T21:10:28.939Z] 22ff95d597cd: Download complete [2023-03-10T21:10:29.201Z] 213ec9aee27d: Verifying Checksum [2023-03-10T21:10:29.201Z] 213ec9aee27d: Download complete [2023-03-10T21:10:29.201Z] 12d6caf4c0d1: Verifying Checksum [2023-03-10T21:10:29.201Z] 12d6caf4c0d1: Download complete [2023-03-10T21:10:29.201Z] 213ec9aee27d: Pull complete [2023-03-10T21:10:29.469Z] 4583459ba037: Pull complete [2023-03-10T21:10:29.469Z] 93c1e223e6f2: Pull complete [2023-03-10T21:10:29.752Z] a7acece74701: Verifying Checksum [2023-03-10T21:10:29.752Z] a7acece74701: Download complete [2023-03-10T21:10:30.018Z] 53926ce57604: Verifying Checksum [2023-03-10T21:10:30.018Z] 53926ce57604: Download complete [2023-03-10T21:10:30.018Z] 96b7cbca73a9: Download complete [2023-03-10T21:10:34.210Z] 53926ce57604: Pull complete [2023-03-10T21:10:34.210Z] 21b2b0c7a3f4: Pull complete [2023-03-10T21:10:34.210Z] 22ff95d597cd: Pull complete [2023-03-10T21:10:34.210Z] 12d6caf4c0d1: Pull complete [2023-03-10T21:10:36.745Z] 96b7cbca73a9: Pull complete [2023-03-10T21:10:37.318Z] a7acece74701: Pull complete [2023-03-10T21:10:37.318Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-10T21:10:37.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-10T21:10:37.318Z] ---> db6d94c90886 [2023-03-10T21:10:37.318Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-10T21:10:39.224Z] ---> Running in 91dee47dc2c2 [2023-03-10T21:10:39.224Z] Removing intermediate container 91dee47dc2c2 [2023-03-10T21:10:39.224Z] ---> e7fa5e7a26fb [2023-03-10T21:10:39.224Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T21:10:39.224Z] ---> Running in 413ad75c71b4 [2023-03-10T21:10:39.224Z] Removing intermediate container 413ad75c71b4 [2023-03-10T21:10:39.224Z] ---> 4d1b7997c58e [2023-03-10T21:10:39.224Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T21:10:39.224Z] ---> Running in 88a4a86fb045 [2023-03-10T21:10:39.483Z] Removing intermediate container 88a4a86fb045 [2023-03-10T21:10:39.483Z] ---> 27a7e6da68e3 [2023-03-10T21:10:39.483Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T21:10:39.483Z] ---> Running in e35691de7f36 [2023-03-10T21:10:39.483Z] Removing intermediate container e35691de7f36 [2023-03-10T21:10:39.483Z] ---> f9312c635128 [2023-03-10T21:10:39.483Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T21:10:39.742Z] ---> Running in 92fb411652fe [2023-03-10T21:10:40.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T21:10:40.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T21:10:40.259Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-10T21:10:40.259Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-10T21:10:40.259Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-10T21:10:40.259Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-10T21:10:40.259Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T21:10:40.259Z] OK: 216 MiB in 55 packages [2023-03-10T21:10:40.831Z] Removing intermediate container 92fb411652fe [2023-03-10T21:10:40.831Z] ---> e456af7711b7 [2023-03-10T21:10:40.831Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-10T21:10:40.831Z] ---> Running in 048a1bf0e465 [2023-03-10T21:10:40.831Z] Removing intermediate container 048a1bf0e465 [2023-03-10T21:10:40.831Z] ---> a5e0c9a4eb50 [2023-03-10T21:10:40.831Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-10T21:10:41.088Z] ---> 3ac988e3999d [2023-03-10T21:10:41.088Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T21:10:41.088Z] ---> Running in a316b058fe3c [2023-03-10T21:10:42.674Z] Still waiting to schedule task [2023-03-10T21:10:42.675Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-10T21:11:07.623Z] Removing intermediate container a316b058fe3c [2023-03-10T21:11:07.623Z] ---> 2dfa99dda3dc [2023-03-10T21:11:07.623Z] Step 11/12 : COPY . . [2023-03-10T21:11:07.623Z] ---> a6fa0519c674 [2023-03-10T21:11:07.623Z] Step 12/12 : RUN $MAKE [2023-03-10T21:11:07.623Z] ---> Running in d7092d3aca90 [2023-03-10T21:11:07.623Z] noop [2023-03-10T21:11:07.623Z] Removing intermediate container d7092d3aca90 [2023-03-10T21:11:07.623Z] ---> 90f38d7d675c [2023-03-10T21:11:07.623Z] Successfully built 90f38d7d675c [2023-03-10T21:11:07.623Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:11:07.932Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T21:11:07.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:11:08.003Z] prd-ubuntu20.04-docker-8c-8g-9683 does not seem to be running inside a container [2023-03-10T21:11:08.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@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-x86_64 cat [2023-03-10T21:11:08.403Z] $ docker top 62e27ae644294c9f78056f0e558c8279357499942caa2d12971b6e39b5b86674 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T21:11:08.740Z] + go version [2023-03-10T21:11:08.740Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-10T21:11:08.752Z] $ docker stop --time=1 62e27ae644294c9f78056f0e558c8279357499942caa2d12971b6e39b5b86674 [2023-03-10T21:11:10.082Z] $ docker rm -f --volumes 62e27ae644294c9f78056f0e558c8279357499942caa2d12971b6e39b5b86674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:11:10.483Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T21:11:10.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:11:10.548Z] prd-ubuntu20.04-docker-8c-8g-9683 does not seem to be running inside a container [2023-03-10T21:11:10.576Z] $ 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-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@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-x86_64 cat [2023-03-10T21:11:10.912Z] $ docker top 44678fb7eb8e017354187e3c00ac41cbb5de060b9f821d83258de88e676efbb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T21:11:11.251Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-521 [Pipeline] fileExists [Pipeline] sh [2023-03-10T21:11:11.543Z] + make test [2023-03-10T21:11:11.543Z] go test ./... -coverprofile=coverage.out ./... [2023-03-10T21:11:11.800Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-10T21:11:21.766Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-10T21:11:21.766Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.2% of statements [2023-03-10T21:11:21.766Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-10T21:11:27.026Z] 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-03-10T21:11:27.026Z] go vet ./... [2023-03-10T21:11:31.206Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-10T21:11:31.206Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-10T21:11:31.206Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-10T21:11:31.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-10T21:11:31.236Z] $ docker stop --time=1 44678fb7eb8e017354187e3c00ac41cbb5de060b9f821d83258de88e676efbb7 [2023-03-10T21:11:33.076Z] $ docker rm -f --volumes 44678fb7eb8e017354187e3c00ac41cbb5de060b9f821d83258de88e676efbb7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T21:11:33.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-10T21:11:33.559Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-10T21:11:33.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T21:11:34.261Z] + ls -al . [2023-03-10T21:11:34.261Z] total 180 [2023-03-10T21:11:34.261Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 21:11 . [2023-03-10T21:11:34.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 21:10 .. [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 21:10 .dockerignore [2023-03-10T21:11:34.261Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 21:11 .git [2023-03-10T21:11:34.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 21:10 .github [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 10 21:10 .gitignore [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 10 21:10 .golangci.yml [2023-03-10T21:11:34.261Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 21:10 .semver [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 10 21:10 Attribution.txt [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 10 21:10 CHANGELOG.md [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 10 21:10 Dockerfile [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 21:10 GOVERNANCE.md [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 10 21:10 Jenkinsfile [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 10 21:10 LICENSE [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 10 21:10 Makefile [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 10 21:10 OWNERS.md [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 10 21:10 README.md [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 21:10 VERSION [2023-03-10T21:11:34.261Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 21:10 bin [2023-03-10T21:11:34.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 21:10 cmd [2023-03-10T21:11:34.261Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 10 21:11 coverage.out [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 10 21:10 go.mod [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 10 21:10 go.sum [2023-03-10T21:11:34.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 21:10 internal [2023-03-10T21:11:34.261Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 21:10 mock [2023-03-10T21:11:34.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 21:10 snap [2023-03-10T21:11:34.261Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 10 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:11:34.559Z] + 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=08b327fe0703c0c9c4af3d752741217c6634a71b --label arch=amd64 --label version=0.0.0 . [2023-03-10T21:11:34.559Z] Sending build context to Docker daemon 6.413MB [2023-03-10T21:11:34.559Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T21:11:34.559Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-10T21:11:34.559Z] ---> 90f38d7d675c [2023-03-10T21:11:34.559Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-10T21:11:34.559Z] ---> Running in da74d2e42eea [2023-03-10T21:11:34.816Z] Removing intermediate container da74d2e42eea [2023-03-10T21:11:34.816Z] ---> bc18f624544d [2023-03-10T21:11:34.816Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T21:11:34.816Z] ---> Running in 73af674ff9aa [2023-03-10T21:11:34.816Z] Removing intermediate container 73af674ff9aa [2023-03-10T21:11:34.816Z] ---> 3173e3ec8e34 [2023-03-10T21:11:34.816Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T21:11:34.816Z] ---> Running in f92ad4b2173a [2023-03-10T21:11:35.074Z] Removing intermediate container f92ad4b2173a [2023-03-10T21:11:35.074Z] ---> 27cc1e47985f [2023-03-10T21:11:35.074Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T21:11:35.074Z] ---> Running in 6e2ab7651cee [2023-03-10T21:11:35.074Z] Removing intermediate container 6e2ab7651cee [2023-03-10T21:11:35.074Z] ---> 5a488b905e00 [2023-03-10T21:11:35.074Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T21:11:35.074Z] ---> Running in 663bb5e3f2a5 [2023-03-10T21:11:35.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T21:11:35.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T21:11:35.854Z] OK: 216 MiB in 55 packages [2023-03-10T21:11:36.112Z] Removing intermediate container 663bb5e3f2a5 [2023-03-10T21:11:36.112Z] ---> 54cb41c9007f [2023-03-10T21:11:36.112Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-10T21:11:36.112Z] ---> Running in a1d960d99bc6 [2023-03-10T21:11:36.370Z] Removing intermediate container a1d960d99bc6 [2023-03-10T21:11:36.370Z] ---> e4f70fa3ac9a [2023-03-10T21:11:36.370Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-10T21:11:36.370Z] ---> 911ebc970da6 [2023-03-10T21:11:36.370Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T21:11:36.370Z] ---> Running in 7dd9245c7216 [2023-03-10T21:11:37.304Z] Removing intermediate container 7dd9245c7216 [2023-03-10T21:11:37.304Z] ---> 5127e10796cc [2023-03-10T21:11:37.304Z] Step 11/24 : COPY . . [2023-03-10T21:11:37.562Z] ---> be3bcaa5262b [2023-03-10T21:11:37.562Z] Step 12/24 : RUN $MAKE [2023-03-10T21:11:37.820Z] ---> Running in c160f4277faa [2023-03-10T21:11:38.078Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-10T21:11:59.997Z] Removing intermediate container c160f4277faa [2023-03-10T21:11:59.997Z] ---> e4f44ad62921 [2023-03-10T21:11:59.997Z] Step 13/24 : FROM alpine:3.16 [2023-03-10T21:11:59.997Z] 3.16: Pulling from library/alpine [2023-03-10T21:11:59.997Z] ef5531b6e74e: Pulling fs layer [2023-03-10T21:11:59.997Z] ef5531b6e74e: Verifying Checksum [2023-03-10T21:11:59.997Z] ef5531b6e74e: Download complete [2023-03-10T21:11:59.997Z] ef5531b6e74e: Pull complete [2023-03-10T21:11:59.997Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-10T21:11:59.997Z] Status: Downloaded newer image for alpine:3.16 [2023-03-10T21:11:59.997Z] ---> dfd21b5a31f5 [2023-03-10T21:11:59.997Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-10T21:11:59.997Z] ---> Running in d227c8279086 [2023-03-10T21:11:59.997Z] Removing intermediate container d227c8279086 [2023-03-10T21:11:59.997Z] ---> d818621a5a0c [2023-03-10T21:11:59.997Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-10T21:11:59.997Z] ---> Running in 317012add35c [2023-03-10T21:11:59.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T21:11:59.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T21:11:59.997Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-10T21:11:59.997Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T21:11:59.997Z] OK: 6 MiB in 15 packages [2023-03-10T21:11:59.997Z] Removing intermediate container 317012add35c [2023-03-10T21:11:59.997Z] ---> be2b699f1082 [2023-03-10T21:11:59.997Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-10T21:11:59.997Z] ---> e8eae1e97193 [2023-03-10T21:11:59.997Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-10T21:11:59.997Z] ---> 6fa1f785dcd6 [2023-03-10T21:11:59.997Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-10T21:11:59.997Z] ---> 7caf0c5b8a26 [2023-03-10T21:11:59.997Z] Step 19/24 : EXPOSE 59982 [2023-03-10T21:11:59.997Z] ---> Running in daeaee927f1b [2023-03-10T21:11:59.997Z] Removing intermediate container daeaee927f1b [2023-03-10T21:11:59.997Z] ---> 881a671af4ec [2023-03-10T21:11:59.997Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-10T21:11:59.997Z] ---> Running in 165935c4e45a [2023-03-10T21:11:59.997Z] Removing intermediate container 165935c4e45a [2023-03-10T21:11:59.997Z] ---> fa0092258b7f [2023-03-10T21:11:59.997Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-10T21:11:59.997Z] ---> Running in 3c3e342ac1e7 [2023-03-10T21:11:59.997Z] Removing intermediate container 3c3e342ac1e7 [2023-03-10T21:11:59.997Z] ---> eefcf08f7c0c [2023-03-10T21:11:59.997Z] Step 22/24 : LABEL arch=amd64 [2023-03-10T21:11:59.997Z] ---> Running in 6ab7feabda80 [2023-03-10T21:11:59.997Z] Removing intermediate container 6ab7feabda80 [2023-03-10T21:11:59.997Z] ---> 1ecaea981ef4 [2023-03-10T21:11:59.997Z] Step 23/24 : LABEL git_sha=08b327fe0703c0c9c4af3d752741217c6634a71b [2023-03-10T21:11:59.997Z] ---> Running in 92c63cd2ec43 [2023-03-10T21:11:59.997Z] Removing intermediate container 92c63cd2ec43 [2023-03-10T21:11:59.997Z] ---> ec17a35c8312 [2023-03-10T21:11:59.997Z] Step 24/24 : LABEL version=0.0.0 [2023-03-10T21:11:59.997Z] ---> Running in a0c370b5c416 [2023-03-10T21:11:59.997Z] Removing intermediate container a0c370b5c416 [2023-03-10T21:11:59.997Z] ---> fc97379ecdb6 [2023-03-10T21:11:59.997Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-10T21:11:59.997Z] Successfully built fc97379ecdb6 [2023-03-10T21:11:59.997Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:12:00.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T21:12:00.440Z] [2023-03-10T21:12:00.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:12:00.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T21:12:00.739Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-10T21:12:00.739Z] 5eb5b503b376: Pulling fs layer [2023-03-10T21:12:00.739Z] 5c69ac0246d0: Pulling fs layer [2023-03-10T21:12:00.739Z] ec43610c2a17: Pulling fs layer [2023-03-10T21:12:00.739Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-10T21:12:00.739Z] 33b1e0a273af: Pulling fs layer [2023-03-10T21:12:00.739Z] 5d3b04190fa2: Pulling fs layer [2023-03-10T21:12:00.739Z] 2f39f015ded8: Pulling fs layer [2023-03-10T21:12:00.739Z] 3a2ae6a8a46f: Waiting [2023-03-10T21:12:00.739Z] 2f39f015ded8: Waiting [2023-03-10T21:12:00.739Z] 33b1e0a273af: Waiting [2023-03-10T21:12:00.739Z] 5d3b04190fa2: Waiting [2023-03-10T21:12:00.739Z] 5c69ac0246d0: Download complete [2023-03-10T21:12:00.739Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-10T21:12:00.739Z] 3a2ae6a8a46f: Download complete [2023-03-10T21:12:00.998Z] 33b1e0a273af: Verifying Checksum [2023-03-10T21:12:00.998Z] 33b1e0a273af: Download complete [2023-03-10T21:12:00.998Z] 5d3b04190fa2: Verifying Checksum [2023-03-10T21:12:00.998Z] 5d3b04190fa2: Download complete [2023-03-10T21:12:00.998Z] ec43610c2a17: Verifying Checksum [2023-03-10T21:12:00.998Z] 5eb5b503b376: Verifying Checksum [2023-03-10T21:12:00.998Z] 5eb5b503b376: Download complete [2023-03-10T21:12:01.563Z] 2f39f015ded8: Download complete [2023-03-10T21:12:02.129Z] 5eb5b503b376: Pull complete [2023-03-10T21:12:02.129Z] 5c69ac0246d0: Pull complete [2023-03-10T21:12:02.695Z] ec43610c2a17: Pull complete [2023-03-10T21:12:02.695Z] 3a2ae6a8a46f: Pull complete [2023-03-10T21:12:02.953Z] 33b1e0a273af: Pull complete [2023-03-10T21:12:02.953Z] 5d3b04190fa2: Pull complete [2023-03-10T21:12:07.133Z] 2f39f015ded8: Pull complete [2023-03-10T21:12:07.133Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-10T21:12:07.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T21:12:07.133Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:12:07.216Z] prd-ubuntu20.04-docker-8c-8g-9683 does not seem to be running inside a container [2023-03-10T21:12:07.254Z] $ 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-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@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:latest cat [2023-03-10T21:12:09.312Z] $ docker top 6e3fcafff3ca1ddb4e440177be727dfba9c7070b603e1700e5c04de4a9edc989 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:12:09.680Z] ---> job-cost.sh [2023-03-10T21:12:09.680Z] lf-activate-venv: SKIPPING [2023-03-10T21:12:09.680Z] INFO: No Stack... [2023-03-10T21:12:10.250Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T21:12:10.510Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T21:12:10.802Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives/cost.csv [2023-03-10T21:12:10.802Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T21:12:10.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] [2023-03-10T21:12:10.825Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] did not exist. Created. [2023-03-10T21:12:10.825Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T21:12:11.121Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-10T21:12:11.149Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T21:12:11.154Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T21:12:11.174Z] $ docker stop --time=1 6e3fcafff3ca1ddb4e440177be727dfba9c7070b603e1700e5c04de4a9edc989 [2023-03-10T21:12:12.348Z] $ docker rm -f --volumes 6e3fcafff3ca1ddb4e440177be727dfba9c7070b603e1700e5c04de4a9edc989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-10T21:13:49.320Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9684 in /w/workspace/gexfoundry_device-mqtt-go_PR-521 [Pipeline] { [Pipeline] ws [2023-03-10T21:13:49.334Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-03-10T21:13:49.386Z] Selected Git installation does not exist. Using Default [2023-03-10T21:13:49.386Z] The recommended git tool is: NONE [2023-03-10T21:13:55.795Z] using credential edgex-jenkins-ssh [2023-03-10T21:13:55.814Z] Cloning the remote Git repository [2023-03-10T21:13:55.869Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-10T21:13:55.961Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-03-10T21:13:56.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-10T21:13:56.135Z] > git --version # timeout=10 [2023-03-10T21:13:56.159Z] > git --version # 'git version 2.25.1' [2023-03-10T21:13:56.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T21:13:56.228Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T21:13:57.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-10T21:13:57.327Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T21:13:58.959Z] Merging remotes/origin/main commit 229099614b4381a690093be203497270268560bd into PR head commit 08b327fe0703c0c9c4af3d752741217c6634a71b [2023-03-10T21:13:59.215Z] Merge succeeded, producing 08b327fe0703c0c9c4af3d752741217c6634a71b [2023-03-10T21:13:59.216Z] Checking out Revision 08b327fe0703c0c9c4af3d752741217c6634a71b (PR-521) [2023-03-10T21:13:58.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-10T21:13:58.391Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-10T21:13:58.392Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T21:13:58.415Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-10T21:13:58.983Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T21:13:59.016Z] > git checkout -f 08b327fe0703c0c9c4af3d752741217c6634a71b # timeout=10 [2023-03-10T21:13:59.106Z] > git remote # timeout=10 [2023-03-10T21:13:59.131Z] > git config --get remote.origin.url # timeout=10 [2023-03-10T21:13:59.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T21:13:59.164Z] > git merge 229099614b4381a690093be203497270268560bd # timeout=10 [2023-03-10T21:13:59.194Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-10T21:13:59.227Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T21:13:59.243Z] > git checkout -f 08b327fe0703c0c9c4af3d752741217c6634a71b # timeout=10 [2023-03-10T21:14:02.933Z] Commit message: "fix: Rename secretName to SecretName" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T21:14:04.077Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-10T21:14:04.077Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-10T21:14:04.077Z] Dload Upload Total Spent Left Speed [2023-03-10T21:14:04.077Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-03-10T21:14:04.814Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-10T21:14:05.159Z] + sudo tee /etc/docker/daemon.new [2023-03-10T21:14:05.160Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-10T21:14:05.160Z] { [2023-03-10T21:14:05.160Z] "registry-mirrors": [ [2023-03-10T21:14:05.160Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-10T21:14:05.160Z] ], [2023-03-10T21:14:05.160Z] "bip": "10.250.0.254/24", [2023-03-10T21:14:05.160Z] "hosts": [ [2023-03-10T21:14:05.160Z] "tcp://0.0.0.0:5555", [2023-03-10T21:14:05.160Z] "unix:///var/run/docker.sock" [2023-03-10T21:14:05.160Z] ], [2023-03-10T21:14:05.160Z] "mtu": 1458, [2023-03-10T21:14:05.160Z] "selinux-enabled": true, [2023-03-10T21:14:05.160Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-10T21:14:05.160Z] } [Pipeline] sh [2023-03-10T21:14:05.496Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-10T21:14:05.822Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T21:14:24.094Z] provisioning config files... [2023-03-10T21:14:24.120Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config17440873492227378461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:14:24.471Z] ---> docker-login.sh [2023-03-10T21:14:24.471Z] nexus3.edgexfoundry.org:10001 [2023-03-10T21:14:25.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:14:25.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:14:25.055Z] Configure a credential helper to remove this warning. See [2023-03-10T21:14:25.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:14:25.055Z] [2023-03-10T21:14:25.055Z] Login Succeeded [2023-03-10T21:14:25.055Z] nexus3.edgexfoundry.org:10002 [2023-03-10T21:14:25.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:14:25.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:14:25.591Z] Configure a credential helper to remove this warning. See [2023-03-10T21:14:25.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:14:25.591Z] [2023-03-10T21:14:25.591Z] Login Succeeded [2023-03-10T21:14:25.591Z] nexus3.edgexfoundry.org:10003 [2023-03-10T21:14:25.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:14:25.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:14:25.860Z] Configure a credential helper to remove this warning. See [2023-03-10T21:14:25.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:14:25.860Z] [2023-03-10T21:14:25.860Z] Login Succeeded [2023-03-10T21:14:25.860Z] nexus3.edgexfoundry.org:10004 [2023-03-10T21:14:26.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:14:26.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:14:26.131Z] Configure a credential helper to remove this warning. See [2023-03-10T21:14:26.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:14:26.131Z] [2023-03-10T21:14:26.131Z] Login Succeeded [2023-03-10T21:14:26.131Z] docker.io [2023-03-10T21:14:26.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T21:14:26.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T21:14:26.666Z] Configure a credential helper to remove this warning. See [2023-03-10T21:14:26.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T21:14:26.666Z] [2023-03-10T21:14:26.666Z] Login Succeeded [2023-03-10T21:14:26.666Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T21:14:26.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T21:14:26.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T21:14:26.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T21:14:26.966Z] ========================================================= [2023-03-10T21:14:26.966Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-10T21:14:26.966Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:14:27.316Z] + 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-03-10T21:14:27.584Z] Sending build context to Docker daemon 3.327MB [2023-03-10T21:14:27.584Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T21:14:27.584Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-10T21:14:27.855Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-10T21:14:27.855Z] 9b18e9b68314: Pulling fs layer [2023-03-10T21:14:27.855Z] 35d82f9e3411: Pulling fs layer [2023-03-10T21:14:27.855Z] e16973657156: Pulling fs layer [2023-03-10T21:14:27.855Z] fc693d55d65f: Pulling fs layer [2023-03-10T21:14:27.855Z] 7e9fc2657dce: Pulling fs layer [2023-03-10T21:14:27.855Z] dda99020689f: Pulling fs layer [2023-03-10T21:14:27.855Z] db1c61fa0a46: Pulling fs layer [2023-03-10T21:14:27.855Z] 891c053d2c06: Pulling fs layer [2023-03-10T21:14:27.855Z] fc693d55d65f: Waiting [2023-03-10T21:14:27.855Z] 7e9fc2657dce: Waiting [2023-03-10T21:14:27.855Z] dda99020689f: Waiting [2023-03-10T21:14:27.855Z] db1c61fa0a46: Waiting [2023-03-10T21:14:27.855Z] 891c053d2c06: Waiting [2023-03-10T21:14:27.855Z] e16973657156: Verifying Checksum [2023-03-10T21:14:27.855Z] e16973657156: Download complete [2023-03-10T21:14:27.855Z] 35d82f9e3411: Verifying Checksum [2023-03-10T21:14:27.855Z] 35d82f9e3411: Download complete [2023-03-10T21:14:27.855Z] 7e9fc2657dce: Verifying Checksum [2023-03-10T21:14:27.855Z] 7e9fc2657dce: Download complete [2023-03-10T21:14:27.855Z] dda99020689f: Verifying Checksum [2023-03-10T21:14:27.855Z] dda99020689f: Download complete [2023-03-10T21:14:27.856Z] 9b18e9b68314: Verifying Checksum [2023-03-10T21:14:28.824Z] 9b18e9b68314: Pull complete [2023-03-10T21:14:29.124Z] 891c053d2c06: Verifying Checksum [2023-03-10T21:14:29.124Z] 891c053d2c06: Download complete [2023-03-10T21:14:29.393Z] 35d82f9e3411: Pull complete [2023-03-10T21:14:29.661Z] e16973657156: Pull complete [2023-03-10T21:14:29.926Z] db1c61fa0a46: Verifying Checksum [2023-03-10T21:14:29.926Z] db1c61fa0a46: Download complete [2023-03-10T21:14:30.885Z] fc693d55d65f: Verifying Checksum [2023-03-10T21:14:30.885Z] fc693d55d65f: Download complete [2023-03-10T21:14:43.208Z] fc693d55d65f: Pull complete [2023-03-10T21:14:43.208Z] 7e9fc2657dce: Pull complete [2023-03-10T21:14:43.208Z] dda99020689f: Pull complete [2023-03-10T21:14:47.466Z] db1c61fa0a46: Pull complete [2023-03-10T21:14:48.894Z] 891c053d2c06: Pull complete [2023-03-10T21:14:48.894Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-10T21:14:49.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-10T21:14:49.167Z] ---> f96f9c87975a [2023-03-10T21:14:49.167Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-10T21:14:51.116Z] ---> Running in 35318f66dbd7 [2023-03-10T21:14:51.386Z] Removing intermediate container 35318f66dbd7 [2023-03-10T21:14:51.386Z] ---> 0cd90b847269 [2023-03-10T21:14:51.386Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T21:14:51.386Z] ---> Running in dc15fdcac985 [2023-03-10T21:14:51.655Z] Removing intermediate container dc15fdcac985 [2023-03-10T21:14:51.655Z] ---> d02ba407f2a1 [2023-03-10T21:14:51.655Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T21:14:51.925Z] ---> Running in c382918f324a [2023-03-10T21:14:52.194Z] Removing intermediate container c382918f324a [2023-03-10T21:14:52.194Z] ---> a952b57ea1df [2023-03-10T21:14:52.194Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T21:14:52.194Z] ---> Running in bb402cac0a75 [2023-03-10T21:14:52.721Z] Removing intermediate container bb402cac0a75 [2023-03-10T21:14:52.721Z] ---> 78038bea6647 [2023-03-10T21:14:52.721Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T21:14:52.721Z] ---> Running in a6c3632f7c1d [2023-03-10T21:14:53.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T21:14:54.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T21:14:55.243Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-10T21:14:55.243Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-10T21:14:55.243Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-10T21:14:55.243Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-10T21:14:55.243Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T21:14:55.243Z] OK: 226 MiB in 55 packages [2023-03-10T21:14:56.202Z] Removing intermediate container a6c3632f7c1d [2023-03-10T21:14:56.202Z] ---> 691cd63458bd [2023-03-10T21:14:56.202Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-10T21:14:56.469Z] ---> Running in 8ec47e2b81be [2023-03-10T21:14:56.736Z] Removing intermediate container 8ec47e2b81be [2023-03-10T21:14:56.736Z] ---> ee264474097c [2023-03-10T21:14:56.736Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-10T21:14:57.318Z] ---> 861d4e0fb3cc [2023-03-10T21:14:57.318Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T21:14:57.318Z] ---> Running in 0525dfcc691c [2023-03-10T21:16:05.226Z] Removing intermediate container 0525dfcc691c [2023-03-10T21:16:05.226Z] ---> cdfe8e174da6 [2023-03-10T21:16:05.226Z] Step 11/12 : COPY . . [2023-03-10T21:16:05.226Z] ---> 79ea1325b5b4 [2023-03-10T21:16:05.226Z] Step 12/12 : RUN $MAKE [2023-03-10T21:16:05.226Z] ---> Running in be1cb59a79a3 [2023-03-10T21:16:05.226Z] noop [2023-03-10T21:16:05.226Z] Removing intermediate container be1cb59a79a3 [2023-03-10T21:16:05.226Z] ---> b4064c17e803 [2023-03-10T21:16:05.226Z] Successfully built b4064c17e803 [2023-03-10T21:16:05.226Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:16:05.571Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T21:16:05.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:16:05.765Z] prd-ubuntu20.04-docker-arm64-4c-16g-9684 does not seem to be running inside a container [2023-03-10T21:16:05.836Z] $ 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-03-10T21:16:07.060Z] $ docker top 69593c6173271110af544e54fc297cbbef9b23074fce9e96703b0271ef9f2050 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T21:16:07.888Z] + go version [2023-03-10T21:16:07.888Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-10T21:16:07.910Z] $ docker stop --time=1 69593c6173271110af544e54fc297cbbef9b23074fce9e96703b0271ef9f2050 [2023-03-10T21:16:09.521Z] $ docker rm -f --volumes 69593c6173271110af544e54fc297cbbef9b23074fce9e96703b0271ef9f2050 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:16:10.067Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T21:16:10.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:16:10.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-9684 does not seem to be running inside a container [2023-03-10T21:16:10.303Z] $ 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-03-10T21:16:11.408Z] $ docker top a0a8b0666e82d928ddd432f1a29156ac597dc60dba1884ef4ecc3ce031e2174c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T21:16:11.903Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-10T21:16:12.242Z] + make test [2023-03-10T21:16:12.242Z] go test ./... -coverprofile=coverage.out ./... [2023-03-10T21:16:14.184Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-10T21:17:35.797Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-10T21:17:36.752Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 22.2% of statements [2023-03-10T21:17:36.752Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-10T21:17:37.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-10T21:17:37.019Z] go vet ./... [2023-03-10T21:17:59.077Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-10T21:17:59.077Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-10T21:17:59.077Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-10T21:17:59.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-10T21:17:59.109Z] $ docker stop --time=1 a0a8b0666e82d928ddd432f1a29156ac597dc60dba1884ef4ecc3ce031e2174c [2023-03-10T21:18:00.907Z] $ docker rm -f --volumes a0a8b0666e82d928ddd432f1a29156ac597dc60dba1884ef4ecc3ce031e2174c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T21:18:01.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-10T21:18:01.871Z] Warning: overwriting stash ‘coverage-report’ [2023-03-10T21:18:05.154Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T21:18:05.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T21:18:05.868Z] + ls -al . [2023-03-10T21:18:05.868Z] total 176 [2023-03-10T21:18:05.868Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 21:16 . [2023-03-10T21:18:05.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 21:13 .. [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 21:13 .dockerignore [2023-03-10T21:18:05.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 21:13 .git [2023-03-10T21:18:05.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 21:13 .github [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 10 21:13 .gitignore [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 10 21:13 .golangci.yml [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 10 21:13 Attribution.txt [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 10 21:13 CHANGELOG.md [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 10 21:13 Dockerfile [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 21:13 GOVERNANCE.md [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 10 21:13 Jenkinsfile [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 10 21:13 LICENSE [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 10 21:13 Makefile [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 10 21:13 OWNERS.md [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 10 21:13 README.md [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 21:10 VERSION [2023-03-10T21:18:05.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 21:13 bin [2023-03-10T21:18:05.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 21:13 cmd [2023-03-10T21:18:05.868Z] -rw-r--r-- 1 jenkins jenkins 18047 Mar 10 21:17 coverage.out [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 3377 Mar 10 21:13 go.mod [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 10 21:13 go.sum [2023-03-10T21:18:05.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 21:13 internal [2023-03-10T21:18:05.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 21:13 mock [2023-03-10T21:18:05.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 21:13 snap [2023-03-10T21:18:05.868Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 10 21:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:18:06.206Z] + 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=08b327fe0703c0c9c4af3d752741217c6634a71b --label arch=arm64 --label version=0.0.0 . [2023-03-10T21:18:06.478Z] Sending build context to Docker daemon 3.346MB [2023-03-10T21:18:06.478Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-10T21:18:06.478Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-10T21:18:06.478Z] ---> b4064c17e803 [2023-03-10T21:18:06.478Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-10T21:18:06.747Z] ---> Running in 32b7389d39ad [2023-03-10T21:18:07.013Z] Removing intermediate container 32b7389d39ad [2023-03-10T21:18:07.013Z] ---> 5f5b4c0f33f5 [2023-03-10T21:18:07.013Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-10T21:18:07.013Z] ---> Running in 85b4f657ad69 [2023-03-10T21:18:07.283Z] Removing intermediate container 85b4f657ad69 [2023-03-10T21:18:07.283Z] ---> 0a849a0d4a7b [2023-03-10T21:18:07.283Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-10T21:18:07.562Z] ---> Running in 3a964589cb9c [2023-03-10T21:18:07.829Z] Removing intermediate container 3a964589cb9c [2023-03-10T21:18:07.829Z] ---> 3dfeda5675af [2023-03-10T21:18:07.829Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-10T21:18:07.829Z] ---> Running in e6e05f1a3279 [2023-03-10T21:18:08.439Z] Removing intermediate container e6e05f1a3279 [2023-03-10T21:18:08.439Z] ---> b1d8b8f71c65 [2023-03-10T21:18:08.439Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-10T21:18:08.439Z] ---> Running in aeed21506083 [2023-03-10T21:18:09.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T21:18:10.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T21:18:10.970Z] OK: 226 MiB in 55 packages [2023-03-10T21:18:11.940Z] Removing intermediate container aeed21506083 [2023-03-10T21:18:11.940Z] ---> 06f04fa02b75 [2023-03-10T21:18:11.940Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-10T21:18:11.940Z] ---> Running in c813856b9ce6 [2023-03-10T21:18:12.210Z] Removing intermediate container c813856b9ce6 [2023-03-10T21:18:12.210Z] ---> d655e51309f2 [2023-03-10T21:18:12.210Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-10T21:18:14.160Z] ---> 382314e5d41f [2023-03-10T21:18:14.160Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-10T21:18:14.160Z] ---> Running in 50f5182331a0 [2023-03-10T21:18:18.523Z] Removing intermediate container 50f5182331a0 [2023-03-10T21:18:18.523Z] ---> bf3f868fe335 [2023-03-10T21:18:18.523Z] Step 11/24 : COPY . . [2023-03-10T21:18:19.489Z] ---> a4fe216d573f [2023-03-10T21:18:19.489Z] Step 12/24 : RUN $MAKE [2023-03-10T21:18:19.489Z] ---> Running in 7aa0de2abc7d [2023-03-10T21:18:20.451Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-10T21:20:42.474Z] Removing intermediate container 7aa0de2abc7d [2023-03-10T21:20:42.474Z] ---> b2e96c2120ef [2023-03-10T21:20:42.474Z] Step 13/24 : FROM alpine:3.16 [2023-03-10T21:20:42.474Z] 3.16: Pulling from library/alpine [2023-03-10T21:20:42.474Z] 3760b48202b3: Pulling fs layer [2023-03-10T21:20:42.474Z] 3760b48202b3: Verifying Checksum [2023-03-10T21:20:42.474Z] 3760b48202b3: Download complete [2023-03-10T21:20:42.474Z] 3760b48202b3: Pull complete [2023-03-10T21:20:42.474Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-10T21:20:42.474Z] Status: Downloaded newer image for alpine:3.16 [2023-03-10T21:20:42.474Z] ---> 4c81e5bf8899 [2023-03-10T21:20:42.474Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-10T21:20:42.474Z] ---> Running in 030329bf5f58 [2023-03-10T21:20:42.474Z] Removing intermediate container 030329bf5f58 [2023-03-10T21:20:42.474Z] ---> 7eb896b494d4 [2023-03-10T21:20:42.474Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-10T21:20:42.474Z] ---> Running in f14739e1d655 [2023-03-10T21:20:42.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T21:20:42.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T21:20:42.474Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-10T21:20:42.474Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T21:20:42.474Z] OK: 5 MiB in 15 packages [2023-03-10T21:20:42.474Z] Removing intermediate container f14739e1d655 [2023-03-10T21:20:42.474Z] ---> ca1d72cddb3d [2023-03-10T21:20:42.474Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-10T21:20:43.443Z] ---> 960acf482e6c [2023-03-10T21:20:43.443Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-10T21:20:44.031Z] ---> c3c3534aec4c [2023-03-10T21:20:44.031Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-10T21:20:44.620Z] ---> fdbcc27dc456 [2023-03-10T21:20:44.620Z] Step 19/24 : EXPOSE 59982 [2023-03-10T21:20:44.620Z] ---> Running in 54652afff37c [2023-03-10T21:20:44.888Z] Removing intermediate container 54652afff37c [2023-03-10T21:20:44.888Z] ---> 6db336c7bc4b [2023-03-10T21:20:44.888Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-10T21:20:44.888Z] ---> Running in d6885898f436 [2023-03-10T21:20:45.156Z] Removing intermediate container d6885898f436 [2023-03-10T21:20:45.156Z] ---> 238b0974da64 [2023-03-10T21:20:45.156Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-10T21:20:45.156Z] ---> Running in d12d157587b9 [2023-03-10T21:20:45.426Z] Removing intermediate container d12d157587b9 [2023-03-10T21:20:45.426Z] ---> 7b9875c816a1 [2023-03-10T21:20:45.426Z] Step 22/24 : LABEL arch=arm64 [2023-03-10T21:20:45.697Z] ---> Running in c1b6fee9afd3 [2023-03-10T21:20:45.964Z] Removing intermediate container c1b6fee9afd3 [2023-03-10T21:20:45.964Z] ---> 6446722e07ba [2023-03-10T21:20:45.964Z] Step 23/24 : LABEL git_sha=08b327fe0703c0c9c4af3d752741217c6634a71b [2023-03-10T21:20:45.964Z] ---> Running in 14e96f2defde [2023-03-10T21:20:46.236Z] Removing intermediate container 14e96f2defde [2023-03-10T21:20:46.236Z] ---> a5bf85273e24 [2023-03-10T21:20:46.236Z] Step 24/24 : LABEL version=0.0.0 [2023-03-10T21:20:46.236Z] ---> Running in 0efd494327c4 [2023-03-10T21:20:46.504Z] Removing intermediate container 0efd494327c4 [2023-03-10T21:20:46.504Z] ---> 9d136a0fa4bf [2023-03-10T21:20:46.504Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-10T21:20:46.504Z] Successfully built 9d136a0fa4bf [2023-03-10T21:20:46.504Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:20:46.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T21:20:46.945Z] [2023-03-10T21:20:46.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:20:47.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T21:20:47.276Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-10T21:20:47.276Z] 8998bd30e6a1: Pulling fs layer [2023-03-10T21:20:47.276Z] 04944245beec: Pulling fs layer [2023-03-10T21:20:47.276Z] 699f458cf7ca: Pulling fs layer [2023-03-10T21:20:47.276Z] 765212b225bb: Pulling fs layer [2023-03-10T21:20:47.276Z] f23df028b6ca: Pulling fs layer [2023-03-10T21:20:47.276Z] d65c8cfc05b1: Pulling fs layer [2023-03-10T21:20:47.276Z] 2437ff75d9bd: Pulling fs layer [2023-03-10T21:20:47.276Z] f23df028b6ca: Waiting [2023-03-10T21:20:47.276Z] 765212b225bb: Waiting [2023-03-10T21:20:47.276Z] d65c8cfc05b1: Waiting [2023-03-10T21:20:47.276Z] 2437ff75d9bd: Waiting [2023-03-10T21:20:47.544Z] 04944245beec: Verifying Checksum [2023-03-10T21:20:47.544Z] 04944245beec: Download complete [2023-03-10T21:20:47.544Z] 765212b225bb: Verifying Checksum [2023-03-10T21:20:47.544Z] 765212b225bb: Download complete [2023-03-10T21:20:47.544Z] f23df028b6ca: Verifying Checksum [2023-03-10T21:20:47.544Z] f23df028b6ca: Download complete [2023-03-10T21:20:47.544Z] d65c8cfc05b1: Verifying Checksum [2023-03-10T21:20:47.544Z] d65c8cfc05b1: Download complete [2023-03-10T21:20:47.812Z] 699f458cf7ca: Verifying Checksum [2023-03-10T21:20:47.813Z] 699f458cf7ca: Download complete [2023-03-10T21:20:48.081Z] 8998bd30e6a1: Verifying Checksum [2023-03-10T21:20:48.081Z] 8998bd30e6a1: Download complete [2023-03-10T21:20:50.044Z] 2437ff75d9bd: Verifying Checksum [2023-03-10T21:20:50.044Z] 2437ff75d9bd: Download complete [2023-03-10T21:20:51.978Z] 8998bd30e6a1: Pull complete [2023-03-10T21:20:54.553Z] 04944245beec: Pull complete [2023-03-10T21:20:55.516Z] 699f458cf7ca: Pull complete [2023-03-10T21:20:55.783Z] 765212b225bb: Pull complete [2023-03-10T21:20:56.743Z] f23df028b6ca: Pull complete [2023-03-10T21:20:56.743Z] d65c8cfc05b1: Pull complete [2023-03-10T21:21:11.733Z] 2437ff75d9bd: Pull complete [2023-03-10T21:21:11.733Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-10T21:21:11.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T21:21:11.733Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:21:11.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-9684 does not seem to be running inside a container [2023-03-10T21:21:11.973Z] $ 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-03-10T21:21:14.625Z] $ docker top 19cbfcab71d23e2d857ba587b14703a6b232d571db50e033ba2d6df4d33556ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:21:15.130Z] ---> job-cost.sh [2023-03-10T21:21:15.393Z] lf-activate-venv: SKIPPING [2023-03-10T21:21:15.393Z] INFO: No Stack... [2023-03-10T21:21:15.971Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-10T21:21:16.549Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T21:21:16.865Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-03-10T21:21:16.865Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T21:21:17.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] [2023-03-10T21:21:17.192Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] did not exist. Created. [2023-03-10T21:21:17.192Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T21:21:17.527Z] /w/workspace/device-mqtt-go/2@tmp/durable-2c0efbbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-10T21:21:17.856Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-10T21:21:17.879Z] Warning: overwriting stash ‘stack-cost’ [2023-03-10T21:21:17.923Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T21:21:17.933Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-521-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T21:21:17.954Z] $ docker stop --time=1 19cbfcab71d23e2d857ba587b14703a6b232d571db50e033ba2d6df4d33556ec [2023-03-10T21:21:19.393Z] $ docker rm -f --volumes 19cbfcab71d23e2d857ba587b14703a6b232d571db50e033ba2d6df4d33556ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-10T21:21:19.731Z] provisioning config files... [2023-03-10T21:21:19.737Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config16530413039542552797tmp [Pipeline] { [Pipeline] sh [2023-03-10T21:21:20.027Z] + set +x [2023-03-10T21:21:20.027Z] + curl -s https://codecov.io/bash [2023-03-10T21:21:20.027Z] + bash -s -- [2023-03-10T21:21:20.027Z] [2023-03-10T21:21:20.027Z] _____ _ [2023-03-10T21:21:20.027Z] / ____| | | [2023-03-10T21:21:20.027Z] | | ___ __| | ___ ___ _____ __ [2023-03-10T21:21:20.027Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-10T21:21:20.027Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-10T21:21:20.027Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-10T21:21:20.027Z] Bash-1.0.6 [2023-03-10T21:21:20.027Z] [2023-03-10T21:21:20.027Z] [2023-03-10T21:21:20.027Z] ==> git version 2.25.1 found [2023-03-10T21:21:20.027Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-10T21:21:20.027Z] Release-Date: 2020-01-08 [2023-03-10T21:21:20.027Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-10T21:21:20.027Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-10T21:21:20.027Z] ==> Jenkins CI detected. [2023-03-10T21:21:20.027Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-521 [2023-03-10T21:21:20.027Z] project root: . [2023-03-10T21:21:20.027Z] --> token set from env [2023-03-10T21:21:20.027Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-10T21:21:20.027Z] ==> Running gcov in . (disable via -X gcov) [2023-03-10T21:21:20.027Z] ==> Python coveragepy not found [2023-03-10T21:21:20.027Z] ==> Searching for coverage reports in: [2023-03-10T21:21:20.027Z] + . [2023-03-10T21:21:20.027Z] -> Found 1 reports [2023-03-10T21:21:20.027Z] ==> Detecting git/mercurial file structure [2023-03-10T21:21:20.027Z] ==> Reading reports [2023-03-10T21:21:20.027Z] + ./coverage.out bytes=18047 [2023-03-10T21:21:20.027Z] ==> Appending adjustments [2023-03-10T21:21:20.027Z] https://docs.codecov.io/docs/fixing-reports [2023-03-10T21:21:20.286Z] + Found adjustments [2023-03-10T21:21:20.286Z] ==> Gzipping contents [2023-03-10T21:21:20.286Z] 4.0K /tmp/codecov.TfsPXk.gz [2023-03-10T21:21:20.286Z] ==> Uploading reports [2023-03-10T21:21:20.286Z] url: https://codecov.io [2023-03-10T21:21:20.286Z] query: branch=PR-521&commit=08b327fe0703c0c9c4af3d752741217c6634a71b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-521%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=521&job=&cmd_args= [2023-03-10T21:21:20.286Z] -> Pinging Codecov [2023-03-10T21:21:20.286Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-521&commit=08b327fe0703c0c9c4af3d752741217c6634a71b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-521%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=521&job=&cmd_args= [2023-03-10T21:21:46.837Z] upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [2023-03-10T21:21:46.837Z] 503 [2023-03-10T21:21:46.837Z] ==> Uploading to Codecov [2023-03-10T21:21:46.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-10T21:21:46.837Z] Dload Upload Total Spent Left Speed [2023-03-10T21:21:46.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 2617 0:00:01 0:00:01 --:--:-- 2617 100 3151 0 0 100 3151 0 1574 0:00:02 0:00:02 --:--:-- 1574 100 3151 0 0 100 3151 0 1049 0:00:03 0:00:03 --:--:-- 1049 100 3242 100 91 100 3151 29 1028 0:00:03 0:00:03 --:--:-- 1058 [2023-03-10T21:21:46.837Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries [2023-03-10T21:21:46.837Z] Warning: left. [2023-03-10T21:21:51.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 3147 0:00:01 0:00:01 --:--:-- 3147 100 3151 0 0 100 3151 0 1574 0:00:02 0:00:02 --:--:-- 1575 100 3151 0 0 100 3151 0 1049 0:00:03 0:00:03 --:--:-- 1049 100 3242 100 91 100 3151 30 1039 0:00:03 0:00:03 --:--:-- 1069 [2023-03-10T21:21:51.022Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries [2023-03-10T21:21:51.022Z] Warning: left. [2023-03-10T21:21:54.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 3147 0:00:01 0:00:01 --:--:-- 3147 100 3242 100 91 100 3151 85 2953 0:00:01 0:00:01 --:--:-- 3041 [2023-03-10T21:21:54.118Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries [2023-03-10T21:21:54.118Z] Warning: left. [2023-03-10T21:21:56.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3242 100 91 100 3151 2843 98468 --:--:-- --:--:-- --:--:-- 98k [2023-03-10T21:21:56.025Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries [2023-03-10T21:21:56.025Z] Warning: left. [2023-03-10T21:22:01.177Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 3147 0:00:01 0:00:01 --:--:-- 3147 100 3151 0 0 100 3151 0 1574 0:00:02 0:00:02 --:--:-- 1575 100 3151 0 0 100 3151 0 1049 0:00:03 0:00:03 --:--:-- 1049 100 3242 100 91 100 3151 30 1040 0:00:03 0:00:03 --:--:-- 1070 [2023-03-10T21:22:01.177Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries [2023-03-10T21:22:01.177Z] Warning: left. [2023-03-10T21:22:06.332Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3151 0 0 100 3151 0 3147 0:00:01 0:00:01 --:--:-- 3147 100 3151 0 0 100 3151 0 1575 0:00:02 0:00:02 --:--:-- 1575 100 3151 0 0 100 3151 0 1049 0:00:03 0:00:03 --:--:-- 1049 100 3242 100 91 100 3151 30 1038 0:00:03 0:00:03 --:--:-- 1068 [2023-03-10T21:22:06.332Z] upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [Pipeline] } [2023-03-10T21:22:06.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-10T21:22:07.025Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives ] [2023-03-10T21:22:07.025Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives [2023-03-10T21:22:07.025Z] total 16 [2023-03-10T21:22:07.025Z] drwxr-xr-x 3 root root 4096 Mar 10 21:12 . [2023-03-10T21:22:07.025Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 21:12 .. [2023-03-10T21:22:07.025Z] drwxr-xr-x 2 root root 4096 Mar 10 21:12 cost [2023-03-10T21:22:07.025Z] -rw-r--r-- 1 root root 86 Mar 10 21:12 cost.csv [2023-03-10T21:22:07.025Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives [2023-03-10T21:22:07.025Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives [2023-03-10T21:22:07.025Z] total 16 [2023-03-10T21:22:07.025Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 21:12 . [2023-03-10T21:22:07.025Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 21:12 .. [2023-03-10T21:22:07.025Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 21:12 cost [2023-03-10T21:22:07.025Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 10 21:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:07.316Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:08.176Z] ---> package-listing.sh [2023-03-10T21:22:08.177Z] ++ facter osfamily [2023-03-10T21:22:08.177Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-10T21:22:08.437Z] + OS_FAMILY=debian [2023-03-10T21:22:08.437Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-521 [2023-03-10T21:22:08.437Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-10T21:22:08.437Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-10T21:22:08.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-10T21:22:08.437Z] + PACKAGES=/tmp/packages_start.txt [2023-03-10T21:22:08.437Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-521 ']' [2023-03-10T21:22:08.437Z] + PACKAGES=/tmp/packages_end.txt [2023-03-10T21:22:08.437Z] + case "${OS_FAMILY}" in [2023-03-10T21:22:08.437Z] + dpkg -l [2023-03-10T21:22:08.437Z] + grep '^ii' [2023-03-10T21:22:08.437Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-10T21:22:08.437Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-10T21:22:08.437Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-10T21:22:08.437Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-521 ']' [2023-03-10T21:22:08.437Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives/ [2023-03-10T21:22:08.437Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-521/archives/ [Pipeline] echo [2023-03-10T21:22:08.449Z] 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-521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-10T21:22:08.729Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T21:22:09.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T21:22:09.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T21:22:09.358Z] prd-ubuntu20.04-docker-8c-8g-9683 does not seem to be running inside a container [2023-03-10T21:22:09.390Z] $ 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-521/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-521 -v /w/workspace/gexfoundry_device-mqtt-go_PR-521:/w/workspace/gexfoundry_device-mqtt-go_PR-521:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-521@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-03-10T21:22:09.732Z] $ docker top 6157f7f2fc47bb74946b89372fbe1289966795ad6cd98182627db80e8c4f0ff5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T21:22:10.073Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-10T21:22:10.365Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-10T21:22:10.650Z] + ls /var/log/sa-host [2023-03-10T21:22:10.651Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T21:22:10.711Z] provisioning config files... [2023-03-10T21:22:10.719Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-521@tmp/config789292498076416856tmp [Pipeline] { [Pipeline] echo [2023-03-10T21:22:10.730Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:11.009Z] ---> create-netrc.sh [Pipeline] } [2023-03-10T21:22:11.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:11.342Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-10T21:22:11.352Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:11.638Z] ---> sudo-logs.sh [2023-03-10T21:22:11.638Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-10T21:22:11.669Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:11.954Z] ---> job-cost.sh [2023-03-10T21:22:11.954Z] lf-activate-venv: SKIPPING [2023-03-10T21:22:11.954Z] DEBUG: total: 0.2199999988079071 [2023-03-10T21:22:11.954Z] INFO: Retrieving Stack Cost... [2023-03-10T21:22:12.213Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T21:22:12.782Z] INFO: Archiving Costs [Pipeline] echo [2023-03-10T21:22:12.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T21:22:13.077Z] ---> logs-deploy.sh [2023-03-10T21:22:13.077Z] lf-activate-venv: SKIPPING [2023-03-10T21:22:13.077Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-521/2 [2023-03-10T21:22:13.077Z] INFO: archiving workspace using pattern(s): [2023-03-10T21:22:14.014Z] Archives upload complete. [2023-03-10T21:22:14.014Z] INFO: archiving logs to Nexus