Pull request #563 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 jim-wang-intel for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 rather than 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd Obtained Jenkinsfile from 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 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-ssh1302761386185788823.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1690515269248857148.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-563/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-563/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3229282562308281326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh10236717030984163223.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-563/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-563/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8439338551213875845.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8757’ Running on prd-ubuntu20.04-docker-8c-8g-8759 in /w/workspace/gexfoundry_device-mqtt-go_PR-563 [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-563 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd Merge succeeded, producing 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd Checking out Revision 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd (PR-563) > 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/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd # timeout=10 Commit message: "fix: address PR comment about moving new Device section above MQTTBrokerInfo" > git rev-list --no-walk b3975dfce9e36d407c8f395f34e3e031e1e74ed6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T18:21:11.486Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T18:21:11.546Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T18:21:11.559Z] ========================================================= [2023-04-17T18:21:11.559Z] EdgeX Global Pipelines Version Info [2023-04-17T18:21:11.559Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:21:12.266Z] ------------------- [2023-04-17T18:21:12.266Z] stable info: [2023-04-17T18:21:12.266Z] ------------------- [2023-04-17T18:21:12.266Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T18:21:12.266Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:21:12.266Z] Message: update stable to v1.0.248 [2023-04-17T18:21:12.836Z] ------------------- [2023-04-17T18:21:12.836Z] experimental info: [2023-04-17T18:21:12.836Z] ------------------- [2023-04-17T18:21:12.836Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T18:21:12.836Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T18:21:12.836Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T18:21:12.987Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-17T18:21:12.995Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-17T18:21:13.004Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T18:21:13.023Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T18:21:13.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T18:21:13.048Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T18:21:13.065Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T18:21:13.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T18:21:13.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T18:21:13.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T18:21:13.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T18:21:13.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-17T18:21:13.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T18:21:13.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T18:21:13.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:21:13.210Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T18:21:13.229Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:21:13.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T18:21:13.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T18:21:13.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T18:21:13.290Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T18:21:13.309Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T18:21:13.327Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T18:21:13.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T18:21:13.363Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T18:21:13.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T18:21:13.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T18:21:13.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-563 [Pipeline] echo [2023-04-17T18:21:13.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-563 [Pipeline] echo [2023-04-17T18:21:13.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-563 [Pipeline] echo [2023-04-17T18:21:13.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [Pipeline] echo [2023-04-17T18:21:13.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e535bf [Pipeline] echo [2023-04-17T18:21:13.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:21:13.537Z] provisioning config files... [2023-04-17T18:21:13.551Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config4691678548980092401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:21:13.863Z] ---> docker-login.sh [2023-04-17T18:21:13.863Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:21:14.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:14.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:14.122Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:14.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:14.122Z] [2023-04-17T18:21:14.122Z] Login Succeeded [2023-04-17T18:21:14.122Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:21:14.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:14.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:14.382Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:14.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:14.382Z] [2023-04-17T18:21:14.382Z] Login Succeeded [2023-04-17T18:21:14.382Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:21:14.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:14.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:14.382Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:14.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:14.382Z] [2023-04-17T18:21:14.382Z] Login Succeeded [2023-04-17T18:21:14.382Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:21:14.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:14.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:14.382Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:14.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:14.382Z] [2023-04-17T18:21:14.382Z] Login Succeeded [2023-04-17T18:21:14.382Z] docker.io [2023-04-17T18:21:14.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:14.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:14.642Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:14.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:14.642Z] [2023-04-17T18:21:14.642Z] Login Succeeded [2023-04-17T18:21:14.642Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:21:14.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T18:21:15.050Z] + git rev-list -1 --merges 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd~1..7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [Pipeline] echo [2023-04-17T18:21:15.105Z] -----------> git rev-list -1 --merges 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd~1..7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [false] [Pipeline] sh [2023-04-17T18:21:15.400Z] + git log --format=format:%s -1 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [Pipeline] echo [2023-04-17T18:21:15.417Z] ========================================================= [2023-04-17T18:21:15.417Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T18:21:15.417Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:21:15.744Z] + git log --format=format:%s -1 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [Pipeline] echo [2023-04-17T18:21:15.756Z] [semverPrep] GIT_COMMIT: 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd, Commit Message: fix: address PR comment about moving new Device section above MQTTBrokerInfo [Pipeline] echo [2023-04-17T18:21:15.769Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T18:21:16.199Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T18:21:16.199Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T18:21:16.199Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T18:21:16.199Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T18:21:16.199Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T18:21:16.199Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T18:21:16.199Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:21:16.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:21:16.633Z] [2023-04-17T18:21:16.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-04-17T18:21:16.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:21:16.934Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T18:21:16.934Z] b85a868b505f: Pulling fs layer [2023-04-17T18:21:16.934Z] e2be974225ed: Pulling fs layer [2023-04-17T18:21:16.934Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T18:21:16.934Z] 988bab9f4d93: Pulling fs layer [2023-04-17T18:21:16.934Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T18:21:16.934Z] eaf3925da568: Pulling fs layer [2023-04-17T18:21:16.934Z] bab4dde63d76: Pulling fs layer [2023-04-17T18:21:16.934Z] bde34c3a00c8: Pulling fs layer [2023-04-17T18:21:16.934Z] b352a97aabf1: Pulling fs layer [2023-04-17T18:21:16.934Z] 4872d77fe225: Pulling fs layer [2023-04-17T18:21:16.934Z] 5851b861e8e6: Pulling fs layer [2023-04-17T18:21:16.934Z] 1469e6f7b9e6: Waiting [2023-04-17T18:21:16.934Z] 4872d77fe225: Waiting [2023-04-17T18:21:16.934Z] b352a97aabf1: Waiting [2023-04-17T18:21:16.934Z] 5851b861e8e6: Waiting [2023-04-17T18:21:16.934Z] eaf3925da568: Waiting [2023-04-17T18:21:16.934Z] bab4dde63d76: Waiting [2023-04-17T18:21:16.934Z] bde34c3a00c8: Waiting [2023-04-17T18:21:16.934Z] e2be974225ed: Verifying Checksum [2023-04-17T18:21:16.935Z] e2be974225ed: Download complete [2023-04-17T18:21:16.935Z] 988bab9f4d93: Verifying Checksum [2023-04-17T18:21:16.935Z] 988bab9f4d93: Download complete [2023-04-17T18:21:16.935Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T18:21:16.935Z] 1469e6f7b9e6: Download complete [2023-04-17T18:21:16.935Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T18:21:16.935Z] 339a4e72a1f5: Download complete [2023-04-17T18:21:16.935Z] eaf3925da568: Verifying Checksum [2023-04-17T18:21:16.935Z] eaf3925da568: Download complete [2023-04-17T18:21:17.193Z] bde34c3a00c8: Verifying Checksum [2023-04-17T18:21:17.193Z] bde34c3a00c8: Download complete [2023-04-17T18:21:17.193Z] b352a97aabf1: Verifying Checksum [2023-04-17T18:21:17.193Z] b352a97aabf1: Download complete [2023-04-17T18:21:17.193Z] 4872d77fe225: Verifying Checksum [2023-04-17T18:21:17.193Z] 4872d77fe225: Download complete [2023-04-17T18:21:17.193Z] 5851b861e8e6: Download complete [2023-04-17T18:21:17.193Z] b85a868b505f: Verifying Checksum [2023-04-17T18:21:17.193Z] b85a868b505f: Download complete [2023-04-17T18:21:17.452Z] bab4dde63d76: Download complete [2023-04-17T18:21:18.414Z] b85a868b505f: Pull complete [2023-04-17T18:21:18.673Z] e2be974225ed: Pull complete [2023-04-17T18:21:18.931Z] 339a4e72a1f5: Pull complete [2023-04-17T18:21:19.191Z] 988bab9f4d93: Pull complete [2023-04-17T18:21:19.451Z] 1469e6f7b9e6: Pull complete [2023-04-17T18:21:19.451Z] eaf3925da568: Pull complete [2023-04-17T18:21:21.355Z] bab4dde63d76: Pull complete [2023-04-17T18:21:21.355Z] bde34c3a00c8: Pull complete [2023-04-17T18:21:21.355Z] b352a97aabf1: Pull complete [2023-04-17T18:21:21.355Z] 4872d77fe225: Pull complete [2023-04-17T18:21:21.616Z] 5851b861e8e6: Pull complete [2023-04-17T18:21:21.616Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T18:21:21.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T18:21:21.616Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:21:21.751Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2023-04-17T18:21:21.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-17T18:21:22.876Z] $ docker top 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b -eo pid,comm [2023-04-17T18:21:22.937Z] 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-04-17T18:21:22.937Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T18:21:22.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:21:22.982Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:21:23.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:21:23.098Z] $ docker exec 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b ssh-agent [2023-04-17T18:21:23.226Z] SSH_AUTH_SOCK=/tmp/ssh-4fy0JbUmL7rY/agent.32 [2023-04-17T18:21:23.226Z] SSH_AGENT_PID=38 [2023-04-17T18:21:23.233Z] Running ssh-add (command line suppressed) [2023-04-17T18:21:23.336Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_16596895752910392530.key (/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_16596895752910392530.key) [2023-04-17T18:21:23.355Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:21:24.183Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T18:21:24.192Z] $ docker exec --env ******** --env ******** 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b ssh-agent -k [2023-04-17T18:21:24.287Z] unset SSH_AUTH_SOCK; [2023-04-17T18:21:24.288Z] unset SSH_AGENT_PID; [2023-04-17T18:21:24.288Z] echo Agent pid 38 killed; [2023-04-17T18:21:24.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T18:21:24.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T18:21:24.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T18:21:24.455Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T18:21:24.453Z] $ docker exec 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b ssh-agent [2023-04-17T18:21:24.572Z] SSH_AUTH_SOCK=/tmp/ssh-vUOYEReE81CP/agent.70 [2023-04-17T18:21:24.572Z] SSH_AGENT_PID=77 [2023-04-17T18:21:24.577Z] Running ssh-add (command line suppressed) [2023-04-17T18:21:24.676Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_777244344854737076.key (/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/private_key_777244344854737076.key) [2023-04-17T18:21:24.692Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T18:21:24.977Z] + git semver init [2023-04-17T18:21:25.236Z] 2023-04-17 18:21:25,170 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T18:21:25.236Z] 2023-04-17 18:21:25,171 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver [2023-04-17T18:21:25.236Z] 2023-04-17 18:21:25,171 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver [2023-04-17T18:21:25.236Z] 2023-04-17 18:21:25,171 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-563, universal_newlines=False, shell=None, istream=None) [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,921 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.git/info/exclude [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,922 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver/PR-563 with force:False [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,922 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver/PR-563 [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,926 [execute] INFO git cat-file --batch-check [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,933 [execute] INFO git cat-file --batch [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T18:21:26.173Z] 2023-04-17 18:21:25,938 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-563/.semver/PR-563 [2023-04-17T18:21:26.173Z] 0.0.0 [Pipeline] } [2023-04-17T18:21:26.179Z] $ docker exec --env ******** --env ******** 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b ssh-agent -k [2023-04-17T18:21:26.278Z] unset SSH_AUTH_SOCK; [2023-04-17T18:21:26.278Z] unset SSH_AGENT_PID; [2023-04-17T18:21:26.278Z] echo Agent pid 77 killed; [2023-04-17T18:21:26.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T18:21:26.588Z] + git semver [Pipeline] } [2023-04-17T18:21:26.858Z] $ docker stop --time=1 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b [2023-04-17T18:21:28.171Z] $ docker rm -f --volumes 51f95ac3af05d4bd35c89edfce5b8cd1ae81947dd23f83cc51d355e0a318ed6b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:21:28.509Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T18:21:28.715Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T18:21:28.717Z] [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-04-17T18:21:28.820Z] provisioning config files... [2023-04-17T18:21:28.829Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config18297587296953508717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:21:29.125Z] ---> docker-login.sh [2023-04-17T18:21:29.125Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:21:29.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:29.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:29.125Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:29.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:29.125Z] [2023-04-17T18:21:29.125Z] Login Succeeded [2023-04-17T18:21:29.125Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:21:29.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:29.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:29.125Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:29.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:29.125Z] [2023-04-17T18:21:29.125Z] Login Succeeded [2023-04-17T18:21:29.125Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:21:29.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:29.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:29.384Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:29.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:29.384Z] [2023-04-17T18:21:29.384Z] Login Succeeded [2023-04-17T18:21:29.384Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:21:29.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:29.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:29.384Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:29.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:29.384Z] [2023-04-17T18:21:29.384Z] Login Succeeded [2023-04-17T18:21:29.384Z] docker.io [2023-04-17T18:21:29.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:21:29.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:21:29.643Z] Configure a credential helper to remove this warning. See [2023-04-17T18:21:29.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:21:29.643Z] [2023-04-17T18:21:29.644Z] Login Succeeded [2023-04-17T18:21:29.644Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:21:29.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:21:29.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:21:29.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:21:29.728Z] ========================================================= [2023-04-17T18:21:29.728Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T18:21:29.728Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:21:30.035Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:21:30.035Z] Sending build context to Docker daemon 6.444MB [2023-04-17T18:21:30.036Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:21:30.036Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T18:21:30.036Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T18:21:30.036Z] 63b65145d645: Pulling fs layer [2023-04-17T18:21:30.036Z] a2d21d5440eb: Pulling fs layer [2023-04-17T18:21:30.036Z] 935e6c44a52c: Pulling fs layer [2023-04-17T18:21:30.036Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T18:21:30.036Z] 30dea6a524f1: Pulling fs layer [2023-04-17T18:21:30.036Z] a2aff8979fd8: Pulling fs layer [2023-04-17T18:21:30.036Z] 6808be2612f2: Pulling fs layer [2023-04-17T18:21:30.036Z] f25807f1079a: Pulling fs layer [2023-04-17T18:21:30.036Z] 30dea6a524f1: Waiting [2023-04-17T18:21:30.036Z] a2aff8979fd8: Waiting [2023-04-17T18:21:30.036Z] 6808be2612f2: Waiting [2023-04-17T18:21:30.036Z] f25807f1079a: Waiting [2023-04-17T18:21:30.036Z] 94cc34f8dd06: Waiting [2023-04-17T18:21:30.036Z] a2d21d5440eb: Download complete [2023-04-17T18:21:30.036Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T18:21:30.036Z] 94cc34f8dd06: Download complete [2023-04-17T18:21:30.036Z] 30dea6a524f1: Verifying Checksum [2023-04-17T18:21:30.036Z] 30dea6a524f1: Download complete [2023-04-17T18:21:30.304Z] 63b65145d645: Verifying Checksum [2023-04-17T18:21:30.304Z] 63b65145d645: Download complete [2023-04-17T18:21:30.304Z] a2aff8979fd8: Verifying Checksum [2023-04-17T18:21:30.304Z] a2aff8979fd8: Download complete [2023-04-17T18:21:30.304Z] 63b65145d645: Pull complete [2023-04-17T18:21:30.563Z] a2d21d5440eb: Pull complete [2023-04-17T18:21:30.563Z] f25807f1079a: Verifying Checksum [2023-04-17T18:21:30.563Z] f25807f1079a: Download complete [2023-04-17T18:21:30.822Z] 935e6c44a52c: Verifying Checksum [2023-04-17T18:21:30.822Z] 935e6c44a52c: Download complete [2023-04-17T18:21:30.822Z] 6808be2612f2: Verifying Checksum [2023-04-17T18:21:30.822Z] 6808be2612f2: Download complete [2023-04-17T18:21:34.109Z] 935e6c44a52c: Pull complete [2023-04-17T18:21:34.109Z] 94cc34f8dd06: Pull complete [2023-04-17T18:21:34.368Z] 30dea6a524f1: Pull complete [2023-04-17T18:21:34.368Z] a2aff8979fd8: Pull complete [2023-04-17T18:21:36.895Z] 6808be2612f2: Pull complete [2023-04-17T18:21:37.462Z] f25807f1079a: Pull complete [2023-04-17T18:21:37.462Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T18:21:37.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T18:21:37.462Z] ---> 3b553350e43f [2023-04-17T18:21:37.462Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:21:38.849Z] ---> Running in 93e103dda939 [2023-04-17T18:21:38.849Z] Removing intermediate container 93e103dda939 [2023-04-17T18:21:38.849Z] ---> 0d52cf58bef7 [2023-04-17T18:21:38.849Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:21:38.849Z] ---> Running in 186627d18892 [2023-04-17T18:21:39.108Z] Removing intermediate container 186627d18892 [2023-04-17T18:21:39.108Z] ---> 3bcd55ab74f6 [2023-04-17T18:21:39.108Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:21:39.108Z] ---> Running in e2cea996e462 [2023-04-17T18:21:39.108Z] Removing intermediate container e2cea996e462 [2023-04-17T18:21:39.108Z] ---> c6f30be05cbb [2023-04-17T18:21:39.108Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:21:39.108Z] ---> Running in edfbb8ee4f61 [2023-04-17T18:21:39.108Z] Removing intermediate container edfbb8ee4f61 [2023-04-17T18:21:39.108Z] ---> fedfefa39465 [2023-04-17T18:21:39.108Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:21:39.367Z] ---> Running in bc05019843b6 [2023-04-17T18:21:39.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:21:39.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:21:39.887Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T18:21:39.887Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T18:21:39.887Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T18:21:39.887Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T18:21:39.887Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:21:39.887Z] OK: 269 MiB in 57 packages [2023-04-17T18:21:40.149Z] Removing intermediate container bc05019843b6 [2023-04-17T18:21:40.149Z] ---> e0ffec90367e [2023-04-17T18:21:40.149Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-17T18:21:40.149Z] ---> Running in b9381dc046bb [2023-04-17T18:21:40.408Z] Removing intermediate container b9381dc046bb [2023-04-17T18:21:40.408Z] ---> 6a773ea71a50 [2023-04-17T18:21:40.408Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T18:21:40.408Z] ---> 0bb24e68a6a2 [2023-04-17T18:21:40.408Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:21:40.408Z] ---> Running in d3902a905249 [2023-04-17T18:21:43.794Z] Still waiting to schedule task [2023-04-17T18:21:43.794Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8758’ [2023-04-17T18:22:02.354Z] Removing intermediate container d3902a905249 [2023-04-17T18:22:02.354Z] ---> 194f35fe7633 [2023-04-17T18:22:02.354Z] Step 11/12 : COPY . . [2023-04-17T18:22:02.613Z] ---> 3342b5326c4c [2023-04-17T18:22:02.613Z] Step 12/12 : RUN $MAKE [2023-04-17T18:22:02.871Z] ---> Running in 4ea5b63cef68 [2023-04-17T18:22:03.137Z] noop [2023-04-17T18:22:03.397Z] Removing intermediate container 4ea5b63cef68 [2023-04-17T18:22:03.397Z] ---> 9346dcc4830c [2023-04-17T18:22:03.397Z] Successfully built 9346dcc4830c [2023-04-17T18:22:03.397Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:22:03.708Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:22:03.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:22:03.770Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2023-04-17T18:22:03.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T18:22:04.270Z] $ docker top b5a18ba621846061719958cf9aeb795c1a28ff8b522f4395667baa3ab4d7e4bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:22:04.634Z] + go version [2023-04-17T18:22:04.634Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T18:22:04.643Z] $ docker stop --time=1 b5a18ba621846061719958cf9aeb795c1a28ff8b522f4395667baa3ab4d7e4bc [2023-04-17T18:22:05.968Z] $ docker rm -f --volumes b5a18ba621846061719958cf9aeb795c1a28ff8b522f4395667baa3ab4d7e4bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:22:06.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T18:22:06.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:22:06.435Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2023-04-17T18:22:06.470Z] $ 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-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-17T18:22:06.808Z] $ docker top e584d3783a213212a904bbf04b82dca16bb75d1f43141f85ce63c799b8f96fca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:22:07.160Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-563 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:22:07.458Z] + make test [2023-04-17T18:22:07.458Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:22:13.155Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-17T18:22:23.144Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-17T18:22:23.144Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-17T18:22:23.144Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.0% of statements [2023-04-17T18:22:29.716Z] go vet ./... [2023-04-17T18:22:32.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:22:32.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:22:32.244Z] ./bin/test-attribution-txt.sh [2023-04-17T18:22:32.244Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:22:32.257Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:22:32.270Z] $ docker stop --time=1 e584d3783a213212a904bbf04b82dca16bb75d1f43141f85ce63c799b8f96fca [2023-04-17T18:22:34.200Z] $ docker rm -f --volumes e584d3783a213212a904bbf04b82dca16bb75d1f43141f85ce63c799b8f96fca [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:22:34.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:22:34.730Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-17T18:22:35.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:22:35.436Z] + ls -al . [2023-04-17T18:22:35.436Z] total 180 [2023-04-17T18:22:35.436Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 18:22 . [2023-04-17T18:22:35.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:21 .. [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 18:21 .dockerignore [2023-04-17T18:22:35.436Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:21 .git [2023-04-17T18:22:35.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:21 .github [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 18:21 .gitignore [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:21 .golangci.yml [2023-04-17T18:22:35.436Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:21 .semver [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 17 18:21 Attribution.txt [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 17 18:21 CHANGELOG.md [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 17 18:21 Dockerfile [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:21 GOVERNANCE.md [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 18:21 Jenkinsfile [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:21 LICENSE [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 17 18:21 Makefile [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 18:21 OWNERS.md [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 17 18:21 README.md [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:21 VERSION [2023-04-17T18:22:35.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:21 bin [2023-04-17T18:22:35.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:21 cmd [2023-04-17T18:22:35.436Z] -rw-r--r-- 1 jenkins jenkins 18376 Apr 17 18:22 coverage.out [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 17 18:21 go.mod [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 18:21 go.sum [2023-04-17T18:22:35.436Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:21 internal [2023-04-17T18:22:35.436Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:21 mock [2023-04-17T18:22:35.436Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:21 snap [2023-04-17T18:22:35.436Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 17 18:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:22:35.734Z] + 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=7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd --label arch=amd64 --label version=0.0.0 . [2023-04-17T18:22:35.734Z] Sending build context to Docker daemon 6.462MB [2023-04-17T18:22:35.734Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:22:35.734Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-17T18:22:35.734Z] ---> 9346dcc4830c [2023-04-17T18:22:35.734Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:22:35.734Z] ---> Running in 77f7a02d2418 [2023-04-17T18:22:35.734Z] Removing intermediate container 77f7a02d2418 [2023-04-17T18:22:35.734Z] ---> db005948c960 [2023-04-17T18:22:35.734Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:22:35.991Z] ---> Running in 230d949431a7 [2023-04-17T18:22:35.991Z] Removing intermediate container 230d949431a7 [2023-04-17T18:22:35.991Z] ---> 502f7f831fa1 [2023-04-17T18:22:35.991Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:22:35.991Z] ---> Running in dbbb2633c89b [2023-04-17T18:22:35.991Z] Removing intermediate container dbbb2633c89b [2023-04-17T18:22:35.991Z] ---> d7d7b32767de [2023-04-17T18:22:35.991Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:22:35.991Z] ---> Running in 66dc4643c66f [2023-04-17T18:22:36.248Z] Removing intermediate container 66dc4643c66f [2023-04-17T18:22:36.248Z] ---> 5322be7d89ee [2023-04-17T18:22:36.248Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:22:36.248Z] ---> Running in 5579e5371621 [2023-04-17T18:22:36.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:22:36.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:22:36.765Z] OK: 269 MiB in 57 packages [2023-04-17T18:22:37.024Z] Removing intermediate container 5579e5371621 [2023-04-17T18:22:37.024Z] ---> 49a1a59d6c6e [2023-04-17T18:22:37.024Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-17T18:22:37.024Z] ---> Running in bc22171398a9 [2023-04-17T18:22:37.281Z] Removing intermediate container bc22171398a9 [2023-04-17T18:22:37.281Z] ---> 1a024fc60343 [2023-04-17T18:22:37.281Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-17T18:22:37.281Z] ---> 0a31d12633df [2023-04-17T18:22:37.281Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:22:37.281Z] ---> Running in d3681db78e7d [2023-04-17T18:22:38.217Z] Removing intermediate container d3681db78e7d [2023-04-17T18:22:38.217Z] ---> 587c4a970f4c [2023-04-17T18:22:38.217Z] Step 11/24 : COPY . . [2023-04-17T18:22:38.217Z] ---> 9a3ea3b9d850 [2023-04-17T18:22:38.217Z] Step 12/24 : RUN $MAKE [2023-04-17T18:22:38.475Z] ---> Running in 4344545dd38b [2023-04-17T18:22:38.476Z] 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-04-17T18:22:56.555Z] Removing intermediate container 4344545dd38b [2023-04-17T18:22:56.555Z] ---> 114c1cdca5dc [2023-04-17T18:22:56.555Z] Step 13/24 : FROM alpine:3.17 [2023-04-17T18:22:56.555Z] 3.17: Pulling from library/alpine [2023-04-17T18:22:56.555Z] f56be85fc22e: Pulling fs layer [2023-04-17T18:22:56.555Z] f56be85fc22e: Verifying Checksum [2023-04-17T18:22:56.555Z] f56be85fc22e: Download complete [2023-04-17T18:22:56.555Z] f56be85fc22e: Pull complete [2023-04-17T18:22:56.555Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:22:56.555Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:22:56.555Z] ---> 9ed4aefc74f6 [2023-04-17T18:22:56.555Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-17T18:22:56.555Z] ---> Running in c630d4000226 [2023-04-17T18:22:56.555Z] Removing intermediate container c630d4000226 [2023-04-17T18:22:56.555Z] ---> 22f29987df8a [2023-04-17T18:22:56.555Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-17T18:22:56.555Z] ---> Running in f96a6d552794 [2023-04-17T18:22:56.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T18:22:56.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T18:22:56.555Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T18:22:56.555Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:22:56.555Z] OK: 7 MiB in 16 packages [2023-04-17T18:22:56.814Z] Removing intermediate container f96a6d552794 [2023-04-17T18:22:56.814Z] ---> 5ed323524725 [2023-04-17T18:22:56.814Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-17T18:22:57.379Z] ---> acbac707f462 [2023-04-17T18:22:57.379Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-17T18:22:57.379Z] ---> 3bc8eb8f5213 [2023-04-17T18:22:57.379Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-17T18:22:57.639Z] ---> ea9be59abc6c [2023-04-17T18:22:57.639Z] Step 19/24 : EXPOSE 59982 [2023-04-17T18:22:57.639Z] ---> Running in cb20b8b1bd30 [2023-04-17T18:22:57.639Z] Removing intermediate container cb20b8b1bd30 [2023-04-17T18:22:57.639Z] ---> ec208d8b733c [2023-04-17T18:22:57.639Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-17T18:22:57.639Z] ---> Running in 960db8ce2859 [2023-04-17T18:22:57.639Z] Removing intermediate container 960db8ce2859 [2023-04-17T18:22:57.639Z] ---> 61efa5dfb946 [2023-04-17T18:22:57.639Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T18:22:57.639Z] ---> Running in 2147c2384bb7 [2023-04-17T18:22:57.898Z] Removing intermediate container 2147c2384bb7 [2023-04-17T18:22:57.898Z] ---> 201d7ca45b4c [2023-04-17T18:22:57.898Z] Step 22/24 : LABEL arch=amd64 [2023-04-17T18:22:57.898Z] ---> Running in cb746d7af137 [2023-04-17T18:22:57.898Z] Removing intermediate container cb746d7af137 [2023-04-17T18:22:57.898Z] ---> 900b7377187b [2023-04-17T18:22:57.898Z] Step 23/24 : LABEL git_sha=7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [2023-04-17T18:22:57.898Z] ---> Running in f6d29c721b84 [2023-04-17T18:22:57.899Z] Removing intermediate container f6d29c721b84 [2023-04-17T18:22:57.899Z] ---> 05f57e84ef02 [2023-04-17T18:22:57.899Z] Step 24/24 : LABEL version=0.0.0 [2023-04-17T18:22:57.899Z] ---> Running in 09ce2164ccc0 [2023-04-17T18:22:58.158Z] Removing intermediate container 09ce2164ccc0 [2023-04-17T18:22:58.158Z] ---> cc9da1b68ee8 [2023-04-17T18:22:58.158Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:22:58.158Z] Successfully built cc9da1b68ee8 [2023-04-17T18:22:58.158Z] 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-04-17T18:22:58.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:22:58.590Z] [2023-04-17T18:22:58.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:22:58.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:22:58.888Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T18:22:58.888Z] 5eb5b503b376: Pulling fs layer [2023-04-17T18:22:58.888Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T18:22:58.888Z] ec43610c2a17: Pulling fs layer [2023-04-17T18:22:58.888Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T18:22:58.888Z] 33b1e0a273af: Pulling fs layer [2023-04-17T18:22:58.888Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T18:22:58.888Z] 2f39f015ded8: Pulling fs layer [2023-04-17T18:22:58.888Z] 3a2ae6a8a46f: Waiting [2023-04-17T18:22:58.888Z] 33b1e0a273af: Waiting [2023-04-17T18:22:58.888Z] 2f39f015ded8: Waiting [2023-04-17T18:22:58.888Z] 5d3b04190fa2: Waiting [2023-04-17T18:22:58.888Z] 5c69ac0246d0: Download complete [2023-04-17T18:22:58.888Z] 3a2ae6a8a46f: Download complete [2023-04-17T18:22:58.888Z] 33b1e0a273af: Verifying Checksum [2023-04-17T18:22:58.888Z] 33b1e0a273af: Download complete [2023-04-17T18:22:58.888Z] 5d3b04190fa2: Download complete [2023-04-17T18:22:58.888Z] ec43610c2a17: Verifying Checksum [2023-04-17T18:22:58.888Z] ec43610c2a17: Download complete [2023-04-17T18:22:59.148Z] 5eb5b503b376: Verifying Checksum [2023-04-17T18:22:59.148Z] 5eb5b503b376: Download complete [2023-04-17T18:22:59.713Z] 2f39f015ded8: Download complete [2023-04-17T18:23:00.280Z] 5eb5b503b376: Pull complete [2023-04-17T18:23:00.280Z] 5c69ac0246d0: Pull complete [2023-04-17T18:23:00.848Z] ec43610c2a17: Pull complete [2023-04-17T18:23:00.848Z] 3a2ae6a8a46f: Pull complete [2023-04-17T18:23:01.106Z] 33b1e0a273af: Pull complete [2023-04-17T18:23:01.106Z] 5d3b04190fa2: Pull complete [2023-04-17T18:23:05.288Z] 2f39f015ded8: Pull complete [2023-04-17T18:23:05.288Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T18:23:05.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:23:05.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:23:05.375Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2023-04-17T18:23:05.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@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-04-17T18:23:06.428Z] $ docker top f43052af0c3f064a2016f09ce897b960eff127f785f7b9b06e6da2a1c9a6f5ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:23:06.795Z] ---> job-cost.sh [2023-04-17T18:23:06.795Z] lf-activate-venv: SKIPPING [2023-04-17T18:23:06.795Z] INFO: No Stack... [2023-04-17T18:23:07.053Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:23:07.312Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:23:07.595Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives/cost.csv [2023-04-17T18:23:07.595Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T18:23:07.607Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] [2023-04-17T18:23:07.613Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] did not exist. Created. [2023-04-17T18:23:07.613Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:23:07.911Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T18:23:07.938Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:23:07.947Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:23:07.961Z] $ docker stop --time=1 f43052af0c3f064a2016f09ce897b960eff127f785f7b9b06e6da2a1c9a6f5ad [2023-04-17T18:23:09.111Z] $ docker rm -f --volumes f43052af0c3f064a2016f09ce897b960eff127f785f7b9b06e6da2a1c9a6f5ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T18:25:00.504Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8760 in /w/workspace/gexfoundry_device-mqtt-go_PR-563 [Pipeline] { [Pipeline] ws [2023-04-17T18:25:00.519Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-04-17T18:25:00.561Z] Selected Git installation does not exist. Using Default [2023-04-17T18:25:00.562Z] The recommended git tool is: NONE [2023-04-17T18:25:06.370Z] using credential edgex-jenkins-ssh [2023-04-17T18:25:06.388Z] Cloning the remote Git repository [2023-04-17T18:25:06.437Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-17T18:25:06.550Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-04-17T18:25:06.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-17T18:25:06.718Z] > git --version # timeout=10 [2023-04-17T18:25:06.743Z] > git --version # 'git version 2.25.1' [2023-04-17T18:25:06.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:25:06.926Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:25:08.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-17T18:25:08.075Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T18:25:09.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-17T18:25:09.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-17T18:25:09.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:25:09.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/563/head:refs/remotes/origin/PR-563 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T18:25:09.707Z] Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [2023-04-17T18:25:10.019Z] Merge succeeded, producing 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [2023-04-17T18:25:10.020Z] Checking out Revision 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd (PR-563) [2023-04-17T18:25:09.726Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:25:09.819Z] > git checkout -f 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd # timeout=10 [2023-04-17T18:25:09.909Z] > git remote # timeout=10 [2023-04-17T18:25:09.929Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T18:25:09.948Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T18:25:09.963Z] > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 [2023-04-17T18:25:09.996Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T18:25:10.025Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T18:25:10.042Z] > git checkout -f 7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd # timeout=10 [2023-04-17T18:25:13.576Z] Commit message: "fix: address PR comment about moving new Device section above MQTTBrokerInfo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:25:14.722Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T18:25:14.722Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:25:14.722Z] Dload Upload Total Spent Left Speed [2023-04-17T18:25:14.722Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-04-17T18:25:15.421Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T18:25:15.775Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T18:25:15.775Z] + sudo tee /etc/docker/daemon.new [2023-04-17T18:25:15.775Z] { [2023-04-17T18:25:15.775Z] "registry-mirrors": [ [2023-04-17T18:25:15.775Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T18:25:15.775Z] ], [2023-04-17T18:25:15.775Z] "bip": "10.250.0.254/24", [2023-04-17T18:25:15.775Z] "hosts": [ [2023-04-17T18:25:15.775Z] "tcp://0.0.0.0:5555", [2023-04-17T18:25:15.775Z] "unix:///var/run/docker.sock" [2023-04-17T18:25:15.775Z] ], [2023-04-17T18:25:15.775Z] "mtu": 1458, [2023-04-17T18:25:15.775Z] "selinux-enabled": true, [2023-04-17T18:25:15.775Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T18:25:15.775Z] } [Pipeline] sh [2023-04-17T18:25:16.121Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T18:25:16.465Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:25:34.758Z] provisioning config files... [2023-04-17T18:25:34.786Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config10104327928376607252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:25:35.146Z] ---> docker-login.sh [2023-04-17T18:25:35.147Z] nexus3.edgexfoundry.org:10001 [2023-04-17T18:25:35.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:25:35.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:25:35.742Z] Configure a credential helper to remove this warning. See [2023-04-17T18:25:35.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:25:35.742Z] [2023-04-17T18:25:35.742Z] Login Succeeded [2023-04-17T18:25:36.017Z] nexus3.edgexfoundry.org:10002 [2023-04-17T18:25:36.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:25:36.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:25:36.291Z] Configure a credential helper to remove this warning. See [2023-04-17T18:25:36.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:25:36.291Z] [2023-04-17T18:25:36.291Z] Login Succeeded [2023-04-17T18:25:36.291Z] nexus3.edgexfoundry.org:10003 [2023-04-17T18:25:36.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:25:36.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:25:36.835Z] Configure a credential helper to remove this warning. See [2023-04-17T18:25:36.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:25:36.835Z] [2023-04-17T18:25:36.835Z] Login Succeeded [2023-04-17T18:25:36.835Z] nexus3.edgexfoundry.org:10004 [2023-04-17T18:25:36.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:25:37.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:25:37.109Z] Configure a credential helper to remove this warning. See [2023-04-17T18:25:37.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:25:37.109Z] [2023-04-17T18:25:37.109Z] Login Succeeded [2023-04-17T18:25:37.109Z] docker.io [2023-04-17T18:25:37.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T18:25:37.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T18:25:37.650Z] Configure a credential helper to remove this warning. See [2023-04-17T18:25:37.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T18:25:37.650Z] [2023-04-17T18:25:37.650Z] Login Succeeded [2023-04-17T18:25:37.650Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T18:25:37.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T18:25:37.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:25:37.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T18:25:37.980Z] ========================================================= [2023-04-17T18:25:37.980Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T18:25:37.980Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:25:38.329Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-17T18:25:39.756Z] Sending build context to Docker daemon 3.35MB [2023-04-17T18:25:39.756Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:25:39.756Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T18:25:40.031Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T18:25:40.031Z] af6eaf76a39c: Pulling fs layer [2023-04-17T18:25:40.031Z] 55522c791124: Pulling fs layer [2023-04-17T18:25:40.031Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T18:25:40.031Z] 169dfbe0d373: Pulling fs layer [2023-04-17T18:25:40.031Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T18:25:40.031Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T18:25:40.031Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T18:25:40.031Z] e1ff8fa3b103: Waiting [2023-04-17T18:25:40.031Z] 52ebb69f0ebf: Waiting [2023-04-17T18:25:40.031Z] 5abe8eddf0d5: Waiting [2023-04-17T18:25:40.031Z] 169dfbe0d373: Waiting [2023-04-17T18:25:40.031Z] 55522c791124: Verifying Checksum [2023-04-17T18:25:40.031Z] 55522c791124: Download complete [2023-04-17T18:25:40.031Z] 169dfbe0d373: Verifying Checksum [2023-04-17T18:25:40.031Z] 169dfbe0d373: Download complete [2023-04-17T18:25:40.031Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T18:25:40.031Z] e1ff8fa3b103: Download complete [2023-04-17T18:25:40.031Z] af6eaf76a39c: Verifying Checksum [2023-04-17T18:25:40.031Z] af6eaf76a39c: Download complete [2023-04-17T18:25:41.462Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T18:25:41.462Z] 5abe8eddf0d5: Download complete [2023-04-17T18:25:41.462Z] af6eaf76a39c: Pull complete [2023-04-17T18:25:42.052Z] 55522c791124: Pull complete [2023-04-17T18:25:42.647Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T18:25:42.647Z] ce5c4a1c91eb: Download complete [2023-04-17T18:25:42.647Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T18:25:42.647Z] 52ebb69f0ebf: Download complete [2023-04-17T18:25:55.009Z] ce5c4a1c91eb: Pull complete [2023-04-17T18:25:55.009Z] 169dfbe0d373: Pull complete [2023-04-17T18:25:55.009Z] e1ff8fa3b103: Pull complete [2023-04-17T18:26:01.681Z] 52ebb69f0ebf: Pull complete [2023-04-17T18:26:03.103Z] 5abe8eddf0d5: Pull complete [2023-04-17T18:26:03.103Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T18:26:03.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T18:26:03.103Z] ---> 6cb57ee374ae [2023-04-17T18:26:03.103Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:26:05.066Z] ---> Running in ffb0b95a5f8b [2023-04-17T18:26:05.334Z] Removing intermediate container ffb0b95a5f8b [2023-04-17T18:26:05.334Z] ---> 51ba2172fcad [2023-04-17T18:26:05.334Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:26:05.334Z] ---> Running in 7111dedb0fc0 [2023-04-17T18:26:05.605Z] Removing intermediate container 7111dedb0fc0 [2023-04-17T18:26:05.605Z] ---> 4d731762ddff [2023-04-17T18:26:05.605Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:26:05.877Z] ---> Running in 2738c9cb9a3e [2023-04-17T18:26:06.145Z] Removing intermediate container 2738c9cb9a3e [2023-04-17T18:26:06.145Z] ---> 793f6c0656c5 [2023-04-17T18:26:06.145Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:26:06.145Z] ---> Running in fba3dd475151 [2023-04-17T18:26:06.415Z] Removing intermediate container fba3dd475151 [2023-04-17T18:26:06.415Z] ---> 9c0735afcc47 [2023-04-17T18:26:06.415Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:26:06.683Z] ---> Running in 83da9fc88b9a [2023-04-17T18:26:07.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:26:08.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:26:09.642Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T18:26:09.642Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T18:26:09.642Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T18:26:09.642Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T18:26:09.642Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:26:09.642Z] OK: 268 MiB in 57 packages [2023-04-17T18:26:10.615Z] Removing intermediate container 83da9fc88b9a [2023-04-17T18:26:10.615Z] ---> 16ee3ae7bee7 [2023-04-17T18:26:10.615Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-17T18:26:10.885Z] ---> Running in aa3cfb0681e2 [2023-04-17T18:26:11.164Z] Removing intermediate container aa3cfb0681e2 [2023-04-17T18:26:11.164Z] ---> 8e4bcca94a63 [2023-04-17T18:26:11.164Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T18:26:11.752Z] ---> a174b775292d [2023-04-17T18:26:11.752Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:26:11.752Z] ---> Running in b79e4cc383a3 [2023-04-17T18:27:19.632Z] Removing intermediate container b79e4cc383a3 [2023-04-17T18:27:19.632Z] ---> 3f8350011679 [2023-04-17T18:27:19.632Z] Step 11/12 : COPY . . [2023-04-17T18:27:19.632Z] ---> 88fad2b17b55 [2023-04-17T18:27:19.632Z] Step 12/12 : RUN $MAKE [2023-04-17T18:27:19.632Z] ---> Running in 138c49c15f6a [2023-04-17T18:27:20.598Z] noop [2023-04-17T18:27:21.185Z] Removing intermediate container 138c49c15f6a [2023-04-17T18:27:21.185Z] ---> 74e390785c67 [2023-04-17T18:27:21.185Z] Successfully built 74e390785c67 [2023-04-17T18:27:21.185Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:27:21.816Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:27:21.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:27:22.024Z] prd-ubuntu20.04-docker-arm64-4c-16g-8760 does not seem to be running inside a container [2023-04-17T18:27:22.090Z] $ 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-04-17T18:27:23.357Z] $ docker top 0207e581836b5e6c22e9b632ce1ddd3011f833194cf635304e45cbd36111e4ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:27:24.204Z] + go version [2023-04-17T18:27:24.204Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T18:27:24.221Z] $ docker stop --time=1 0207e581836b5e6c22e9b632ce1ddd3011f833194cf635304e45cbd36111e4ff [2023-04-17T18:27:25.910Z] $ docker rm -f --volumes 0207e581836b5e6c22e9b632ce1ddd3011f833194cf635304e45cbd36111e4ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:27:26.440Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T18:27:26.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:27:26.625Z] prd-ubuntu20.04-docker-arm64-4c-16g-8760 does not seem to be running inside a container [2023-04-17T18:27:26.693Z] $ 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-04-17T18:27:27.880Z] $ docker top 12c42bca37321a2042018a06b80dba60e83e36dcb7dc3368d16fb8daa6f71d11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:27:28.724Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-17T18:27:29.376Z] + make test [2023-04-17T18:27:29.376Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T18:28:08.292Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-17T18:30:30.050Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-17T18:30:30.050Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-17T18:30:30.050Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 22.0% of statements [2023-04-17T18:30:30.050Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-17T18:30:30.050Z] go vet ./... [2023-04-17T18:31:02.304Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-17T18:31:02.304Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-17T18:31:02.304Z] ./bin/test-attribution-txt.sh [2023-04-17T18:31:02.304Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-17T18:31:02.325Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-17T18:31:02.338Z] $ docker stop --time=1 12c42bca37321a2042018a06b80dba60e83e36dcb7dc3368d16fb8daa6f71d11 [2023-04-17T18:31:04.151Z] $ docker rm -f --volumes 12c42bca37321a2042018a06b80dba60e83e36dcb7dc3368d16fb8daa6f71d11 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T18:31:05.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-17T18:31:05.311Z] Warning: overwriting stash ‘coverage-report’ [2023-04-17T18:31:05.838Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T18:31:06.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-17T18:31:06.526Z] + ls -al . [2023-04-17T18:31:06.526Z] total 176 [2023-04-17T18:31:06.526Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 18:27 . [2023-04-17T18:31:06.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:25 .. [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 18:25 .dockerignore [2023-04-17T18:31:06.526Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 18:25 .git [2023-04-17T18:31:06.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:25 .github [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 18:25 .gitignore [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 18:25 .golangci.yml [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 17 18:25 Attribution.txt [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 17 18:25 CHANGELOG.md [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 17 18:25 Dockerfile [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 18:25 GOVERNANCE.md [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 17 18:25 Jenkinsfile [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 18:25 LICENSE [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 17 18:25 Makefile [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 18:25 OWNERS.md [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 17 18:25 README.md [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 18:21 VERSION [2023-04-17T18:31:06.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:25 bin [2023-04-17T18:31:06.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:25 cmd [2023-04-17T18:31:06.526Z] -rw-r--r-- 1 jenkins jenkins 18376 Apr 17 18:30 coverage.out [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 17 18:25 go.mod [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 18:25 go.sum [2023-04-17T18:31:06.526Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 18:25 internal [2023-04-17T18:31:06.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 18:25 mock [2023-04-17T18:31:06.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 18:25 snap [2023-04-17T18:31:06.526Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 17 18:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:31:06.876Z] + 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=7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd --label arch=arm64 --label version=0.0.0 . [2023-04-17T18:31:07.145Z] Sending build context to Docker daemon 3.368MB [2023-04-17T18:31:07.145Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T18:31:07.145Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-17T18:31:07.145Z] ---> 74e390785c67 [2023-04-17T18:31:07.145Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-17T18:31:07.411Z] ---> Running in d88b658c6119 [2023-04-17T18:31:07.679Z] Removing intermediate container d88b658c6119 [2023-04-17T18:31:07.679Z] ---> b466d6527b83 [2023-04-17T18:31:07.679Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T18:31:07.679Z] ---> Running in ccebe29497d4 [2023-04-17T18:31:07.946Z] Removing intermediate container ccebe29497d4 [2023-04-17T18:31:07.946Z] ---> 63914e05927e [2023-04-17T18:31:07.946Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T18:31:08.218Z] ---> Running in c6f56828b908 [2023-04-17T18:31:08.485Z] Removing intermediate container c6f56828b908 [2023-04-17T18:31:08.485Z] ---> 6f051b511716 [2023-04-17T18:31:08.485Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T18:31:08.485Z] ---> Running in a73778a0c522 [2023-04-17T18:31:08.754Z] Removing intermediate container a73778a0c522 [2023-04-17T18:31:08.754Z] ---> b95b0a0666ee [2023-04-17T18:31:08.754Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T18:31:08.754Z] ---> Running in 23ec29c0d92b [2023-04-17T18:31:09.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:31:10.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:31:11.331Z] OK: 268 MiB in 57 packages [2023-04-17T18:31:12.314Z] Removing intermediate container 23ec29c0d92b [2023-04-17T18:31:12.314Z] ---> 7bf80b746d67 [2023-04-17T18:31:12.314Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-17T18:31:12.314Z] ---> Running in 858e9b62484b [2023-04-17T18:31:12.583Z] Removing intermediate container 858e9b62484b [2023-04-17T18:31:12.583Z] ---> e347ac2377f4 [2023-04-17T18:31:12.583Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-17T18:31:13.182Z] ---> a4d650883d43 [2023-04-17T18:31:13.182Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T18:31:13.182Z] ---> Running in 4268c1e56704 [2023-04-17T18:31:15.761Z] Removing intermediate container 4268c1e56704 [2023-04-17T18:31:15.761Z] ---> 5ec96cf6bfbe [2023-04-17T18:31:15.761Z] Step 11/24 : COPY . . [2023-04-17T18:31:16.726Z] ---> 7200c60f18bb [2023-04-17T18:31:16.726Z] Step 12/24 : RUN $MAKE [2023-04-17T18:31:16.726Z] ---> Running in 9de19bef8184 [2023-04-17T18:31:17.685Z] 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-04-17T18:33:39.413Z] Removing intermediate container 9de19bef8184 [2023-04-17T18:33:39.413Z] ---> cb507739c917 [2023-04-17T18:33:39.413Z] Step 13/24 : FROM alpine:3.17 [2023-04-17T18:33:39.413Z] 3.17: Pulling from library/alpine [2023-04-17T18:33:39.413Z] c41833b44d91: Pulling fs layer [2023-04-17T18:33:39.413Z] c41833b44d91: Verifying Checksum [2023-04-17T18:33:39.413Z] c41833b44d91: Download complete [2023-04-17T18:33:39.998Z] c41833b44d91: Pull complete [2023-04-17T18:33:39.998Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-17T18:33:39.998Z] Status: Downloaded newer image for alpine:3.17 [2023-04-17T18:33:39.998Z] ---> 51e60588ff2c [2023-04-17T18:33:39.998Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-17T18:33:39.998Z] ---> Running in 6a7334068ec1 [2023-04-17T18:33:40.268Z] Removing intermediate container 6a7334068ec1 [2023-04-17T18:33:40.268Z] ---> 918aaa9997f4 [2023-04-17T18:33:40.268Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-17T18:33:40.268Z] ---> Running in 0244fc8d1b59 [2023-04-17T18:33:41.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T18:33:41.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T18:33:43.376Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-17T18:33:43.376Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T18:33:43.376Z] OK: 8 MiB in 16 packages [2023-04-17T18:33:44.339Z] Removing intermediate container 0244fc8d1b59 [2023-04-17T18:33:44.339Z] ---> 61290195a5d4 [2023-04-17T18:33:44.339Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-17T18:33:45.750Z] ---> eb5ee6432187 [2023-04-17T18:33:45.750Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-17T18:33:46.018Z] ---> 8f63b02aca28 [2023-04-17T18:33:46.018Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-17T18:33:46.285Z] ---> 636835d2d7a1 [2023-04-17T18:33:46.285Z] Step 19/24 : EXPOSE 59982 [2023-04-17T18:33:46.556Z] ---> Running in 3acef630f956 [2023-04-17T18:33:46.824Z] Removing intermediate container 3acef630f956 [2023-04-17T18:33:46.824Z] ---> e863cc1da092 [2023-04-17T18:33:46.824Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-17T18:33:46.824Z] ---> Running in ab5c3584b1f8 [2023-04-17T18:33:47.090Z] Removing intermediate container ab5c3584b1f8 [2023-04-17T18:33:47.090Z] ---> 8ae0b39a8868 [2023-04-17T18:33:47.090Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-17T18:33:47.090Z] ---> Running in 6188edaea1c2 [2023-04-17T18:33:47.356Z] Removing intermediate container 6188edaea1c2 [2023-04-17T18:33:47.356Z] ---> c32d158a5f98 [2023-04-17T18:33:47.356Z] Step 22/24 : LABEL arch=arm64 [2023-04-17T18:33:47.621Z] ---> Running in fe1c04f2e7e3 [2023-04-17T18:33:47.888Z] Removing intermediate container fe1c04f2e7e3 [2023-04-17T18:33:47.888Z] ---> 6c7c308d147c [2023-04-17T18:33:47.888Z] Step 23/24 : LABEL git_sha=7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [2023-04-17T18:33:47.888Z] ---> Running in 1cd14dc9cfa2 [2023-04-17T18:33:48.154Z] Removing intermediate container 1cd14dc9cfa2 [2023-04-17T18:33:48.154Z] ---> 4f6349a5a926 [2023-04-17T18:33:48.154Z] Step 24/24 : LABEL version=0.0.0 [2023-04-17T18:33:48.154Z] ---> Running in a0d407f97d39 [2023-04-17T18:33:48.423Z] Removing intermediate container a0d407f97d39 [2023-04-17T18:33:48.423Z] ---> 6bc409a83f73 [2023-04-17T18:33:48.423Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-17T18:33:48.423Z] Successfully built 6bc409a83f73 [2023-04-17T18:33:48.423Z] 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-04-17T18:33:48.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:33:48.857Z] [2023-04-17T18:33:48.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:33:49.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:33:49.188Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T18:33:49.188Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T18:33:49.188Z] 04944245beec: Pulling fs layer [2023-04-17T18:33:49.188Z] 699f458cf7ca: Pulling fs layer [2023-04-17T18:33:49.188Z] 765212b225bb: Pulling fs layer [2023-04-17T18:33:49.188Z] f23df028b6ca: Pulling fs layer [2023-04-17T18:33:49.188Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T18:33:49.188Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T18:33:49.188Z] 765212b225bb: Waiting [2023-04-17T18:33:49.188Z] f23df028b6ca: Waiting [2023-04-17T18:33:49.188Z] d65c8cfc05b1: Waiting [2023-04-17T18:33:49.188Z] 2437ff75d9bd: Waiting [2023-04-17T18:33:49.460Z] 04944245beec: Verifying Checksum [2023-04-17T18:33:49.460Z] 04944245beec: Download complete [2023-04-17T18:33:49.460Z] 765212b225bb: Verifying Checksum [2023-04-17T18:33:49.460Z] 765212b225bb: Download complete [2023-04-17T18:33:49.460Z] f23df028b6ca: Verifying Checksum [2023-04-17T18:33:49.460Z] f23df028b6ca: Download complete [2023-04-17T18:33:49.460Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T18:33:49.460Z] d65c8cfc05b1: Download complete [2023-04-17T18:33:49.732Z] 699f458cf7ca: Verifying Checksum [2023-04-17T18:33:50.002Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T18:33:50.002Z] 8998bd30e6a1: Download complete [2023-04-17T18:33:51.953Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T18:33:51.953Z] 2437ff75d9bd: Download complete [2023-04-17T18:33:53.898Z] 8998bd30e6a1: Pull complete [2023-04-17T18:33:54.165Z] 04944245beec: Pull complete [2023-04-17T18:33:55.577Z] 699f458cf7ca: Pull complete [2023-04-17T18:33:55.847Z] 765212b225bb: Pull complete [2023-04-17T18:33:56.434Z] f23df028b6ca: Pull complete [2023-04-17T18:33:56.703Z] d65c8cfc05b1: Pull complete [2023-04-17T18:34:11.706Z] 2437ff75d9bd: Pull complete [2023-04-17T18:34:11.706Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T18:34:11.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T18:34:11.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:34:11.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-8760 does not seem to be running inside a container [2023-04-17T18:34:11.976Z] $ 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-04-17T18:34:14.827Z] $ docker top dc7dad39f4a24814f9fd151440b49375f12be5babe02bf3a7a4898d9fcb5cc23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:15.713Z] ---> job-cost.sh [2023-04-17T18:34:15.713Z] lf-activate-venv: SKIPPING [2023-04-17T18:34:15.713Z] INFO: No Stack... [2023-04-17T18:34:16.294Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T18:34:17.254Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T18:34:17.570Z] + cut+ -d, -f6 [2023-04-17T18:34:17.570Z] cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock [2023-04-17T18:34:17.640Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] [2023-04-17T18:34:17.646Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] did not exist. Created. [2023-04-17T18:34:17.646Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T18:34:17.983Z] /w/workspace/device-mqtt-go/2@tmp/durable-7358210f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T18:34:18.314Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T18:34:18.335Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T18:34:18.381Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T18:34:18.386Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-563-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T18:34:18.399Z] $ docker stop --time=1 dc7dad39f4a24814f9fd151440b49375f12be5babe02bf3a7a4898d9fcb5cc23 [2023-04-17T18:34:19.896Z] $ docker rm -f --volumes dc7dad39f4a24814f9fd151440b49375f12be5babe02bf3a7a4898d9fcb5cc23 [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-04-17T18:34:20.268Z] provisioning config files... [2023-04-17T18:34:20.275Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config3144753854206051638tmp [Pipeline] { [Pipeline] sh [2023-04-17T18:34:20.563Z] + set +x [2023-04-17T18:34:20.563Z] + + curl -s https://codecov.io/bash [2023-04-17T18:34:20.563Z] bash -s -- [2023-04-17T18:34:20.563Z] [2023-04-17T18:34:20.563Z] _____ _ [2023-04-17T18:34:20.563Z] / ____| | | [2023-04-17T18:34:20.563Z] | | ___ __| | ___ ___ _____ __ [2023-04-17T18:34:20.563Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-17T18:34:20.563Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-17T18:34:20.563Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-17T18:34:20.563Z] Bash-1.0.6 [2023-04-17T18:34:20.563Z] [2023-04-17T18:34:20.563Z] [2023-04-17T18:34:20.563Z] ==> git version 2.25.1 found [2023-04-17T18:34:20.563Z] ==> 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-04-17T18:34:20.563Z] Release-Date: 2020-01-08 [2023-04-17T18:34:20.563Z] 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-04-17T18:34:20.563Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-17T18:34:20.563Z] ==> Jenkins CI detected. [2023-04-17T18:34:20.563Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-563 [2023-04-17T18:34:20.563Z] project root: . [2023-04-17T18:34:20.563Z] --> token set from env [2023-04-17T18:34:20.563Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-17T18:34:20.563Z] ==> Running gcov in . (disable via -X gcov) [2023-04-17T18:34:20.563Z] ==> Python coveragepy not found [2023-04-17T18:34:20.563Z] ==> Searching for coverage reports in: [2023-04-17T18:34:20.563Z] + . [2023-04-17T18:34:20.563Z] -> Found 1 reports [2023-04-17T18:34:20.563Z] ==> Detecting git/mercurial file structure [2023-04-17T18:34:20.563Z] ==> Reading reports [2023-04-17T18:34:20.822Z] + ./coverage.out bytes=18376 [2023-04-17T18:34:20.822Z] ==> Appending adjustments [2023-04-17T18:34:20.822Z] https://docs.codecov.io/docs/fixing-reports [2023-04-17T18:34:20.822Z] + Found adjustments [2023-04-17T18:34:20.822Z] ==> Gzipping contents [2023-04-17T18:34:20.822Z] 4.0K /tmp/codecov.GHF8LF.gz [2023-04-17T18:34:20.822Z] ==> Uploading reports [2023-04-17T18:34:20.822Z] url: https://codecov.io [2023-04-17T18:34:20.823Z] query: branch=PR-563&commit=7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-563%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=563&job=&cmd_args= [2023-04-17T18:34:20.823Z] -> Pinging Codecov [2023-04-17T18:34:20.823Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-563&commit=7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-563%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=563&job=&cmd_args= [2023-04-17T18:34:20.823Z] -> Uploading to [2023-04-17T18:34:20.823Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-17/7D719EC7BBE17E464838252E33014C33/7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd/33695dea-f0ec-4f0b-8fbf-7a98c0bd5d1d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T183420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01eb85394081935898136f4b1e25f7b4b9a49b6304185c05efabbcca5ac1594e [2023-04-17T18:34:20.823Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T18:34:20.823Z] Dload Upload Total Spent Left Speed [2023-04-17T18:34:21.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 13769 --:--:-- --:--:-- --:--:-- 13769 [2023-04-17T18:34:21.082Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7e535bf7ff08fc2127c5f4a5e0ea70d8ba1652cd [Pipeline] } [2023-04-17T18:34:21.090Z] 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-04-17T18:34:21.767Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives ] [2023-04-17T18:34:21.767Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives [2023-04-17T18:34:21.767Z] total 16 [2023-04-17T18:34:21.767Z] drwxr-xr-x 3 root root 4096 Apr 17 18:23 . [2023-04-17T18:34:21.767Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:23 .. [2023-04-17T18:34:21.767Z] drwxr-xr-x 2 root root 4096 Apr 17 18:23 cost [2023-04-17T18:34:21.767Z] -rw-r--r-- 1 root root 86 Apr 17 18:23 cost.csv [2023-04-17T18:34:21.767Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives [2023-04-17T18:34:21.767Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives [2023-04-17T18:34:21.767Z] total 16 [2023-04-17T18:34:21.767Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 18:23 . [2023-04-17T18:34:21.767Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 17 18:23 .. [2023-04-17T18:34:21.767Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 18:23 cost [2023-04-17T18:34:21.767Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 17 18:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:22.054Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:22.923Z] ---> package-listing.sh [2023-04-17T18:34:22.923Z] ++ facter osfamily [2023-04-17T18:34:22.923Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T18:34:23.182Z] + OS_FAMILY=debian [2023-04-17T18:34:23.182Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-563 [2023-04-17T18:34:23.182Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T18:34:23.182Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T18:34:23.182Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T18:34:23.182Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T18:34:23.182Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-563 ']' [2023-04-17T18:34:23.182Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T18:34:23.182Z] + case "${OS_FAMILY}" in [2023-04-17T18:34:23.182Z] + dpkg -l [2023-04-17T18:34:23.182Z] + grep '^ii' [2023-04-17T18:34:23.182Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T18:34:23.182Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T18:34:23.182Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T18:34:23.182Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-563 ']' [2023-04-17T18:34:23.182Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives/ [2023-04-17T18:34:23.182Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-563/archives/ [Pipeline] echo [2023-04-17T18:34:23.194Z] 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-563/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T18:34:23.484Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T18:34:24.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T18:34:24.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T18:34:24.105Z] prd-ubuntu20.04-docker-8c-8g-8759 does not seem to be running inside a container [2023-04-17T18:34:24.132Z] $ 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-563/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-563 -v /w/workspace/gexfoundry_device-mqtt-go_PR-563:/w/workspace/gexfoundry_device-mqtt-go_PR-563:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-17T18:34:24.341Z] $ docker top dc2f1fdfbbfd0d2b775ddfb95d73bf19f27775cb39d3839cf845649f0bf7cdc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T18:34:24.685Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T18:34:24.971Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T18:34:25.261Z] + ls /var/log/sa-host [2023-04-17T18:34:25.262Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T18:34:25.407Z] provisioning config files... [2023-04-17T18:34:25.415Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-563@tmp/config8093500222969460687tmp [Pipeline] { [Pipeline] echo [2023-04-17T18:34:25.429Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:25.711Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T18:34:25.718Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:26.056Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T18:34:26.064Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:26.357Z] ---> sudo-logs.sh [2023-04-17T18:34:26.357Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T18:34:26.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:26.667Z] ---> job-cost.sh [2023-04-17T18:34:26.667Z] lf-activate-venv: SKIPPING [2023-04-17T18:34:26.667Z] DEBUG: total: 0.2199999988079071 [2023-04-17T18:34:26.667Z] INFO: Retrieving Stack Cost... [2023-04-17T18:34:27.235Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T18:34:27.494Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T18:34:27.505Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T18:34:27.791Z] ---> logs-deploy.sh [2023-04-17T18:34:27.791Z] lf-activate-venv: SKIPPING [2023-04-17T18:34:27.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-563/2 [2023-04-17T18:34:27.791Z] INFO: archiving workspace using pattern(s): [2023-04-17T18:34:28.729Z] Archives upload complete. [2023-04-17T18:34:28.990Z] INFO: archiving logs to Nexus