Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (20513b6afbc710f645e7d71bd7dc8cb59a446d26) 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-ssh6447511063712144380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7555699915585249641.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15462018376569868653.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1061303148834440587.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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14303371863646324544.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1987 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 2c20566117211fad19a7b137cd5318ac2866fcb3 Checking out Revision 2c20566117211fad19a7b137cd5318ac2866fcb3 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c20566117211fad19a7b137cd5318ac2866fcb3 # timeout=10 Commit message: "Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 50d420a57018e78eb1c016c33d80009d72c0a09b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T23:18:24.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T23:18:24.288Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T23:18:24.311Z] ========================================================= [2023-01-11T23:18:24.311Z] EdgeX Global Pipelines Version Info [2023-01-11T23:18:24.311Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:18:25.036Z] ------------------- [2023-01-11T23:18:25.036Z] stable info: [2023-01-11T23:18:25.036Z] ------------------- [2023-01-11T23:18:25.036Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T23:18:25.037Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T23:18:25.037Z] Message: update stable to v1.0.244 [2023-01-11T23:18:25.607Z] ------------------- [2023-01-11T23:18:25.607Z] experimental info: [2023-01-11T23:18:25.607Z] ------------------- [2023-01-11T23:18:25.607Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T23:18:25.607Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T23:18:25.607Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T23:18:25.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-11T23:18:25.781Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-11T23:18:25.789Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T23:18:25.798Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T23:18:25.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T23:18:25.814Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T23:18:25.830Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T23:18:25.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T23:18:25.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T23:18:25.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T23:18:25.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T23:18:25.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-11T23:18:25.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T23:18:25.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T23:18:25.928Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T23:18:25.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T23:18:25.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T23:18:25.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T23:18:25.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T23:18:25.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T23:18:26.000Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T23:18:26.014Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T23:18:26.024Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T23:18:26.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T23:18:26.049Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T23:18:26.061Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T23:18:26.070Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T23:18:26.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2023-01-11T23:18:26.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2023-01-11T23:18:26.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2023-01-11T23:18:26.118Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo [2023-01-11T23:18:26.128Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c20566 [Pipeline] echo [2023-01-11T23:18:26.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:18:26.184Z] provisioning config files... [2023-01-11T23:18:26.196Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config4050279918350563100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:18:26.508Z] ---> docker-login.sh [2023-01-11T23:18:26.508Z] nexus3.edgexfoundry.org:10001 [2023-01-11T23:18:26.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:26.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:26.771Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:26.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:26.771Z] [2023-01-11T23:18:26.771Z] Login Succeeded [2023-01-11T23:18:26.771Z] nexus3.edgexfoundry.org:10002 [2023-01-11T23:18:26.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:27.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:27.032Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:27.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:27.032Z] [2023-01-11T23:18:27.032Z] Login Succeeded [2023-01-11T23:18:27.032Z] nexus3.edgexfoundry.org:10003 [2023-01-11T23:18:27.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:27.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:27.032Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:27.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:27.032Z] [2023-01-11T23:18:27.032Z] Login Succeeded [2023-01-11T23:18:27.032Z] nexus3.edgexfoundry.org:10004 [2023-01-11T23:18:27.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:27.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:27.291Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:27.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:27.291Z] [2023-01-11T23:18:27.291Z] Login Succeeded [2023-01-11T23:18:27.291Z] docker.io [2023-01-11T23:18:27.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:27.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:27.551Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:27.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:27.551Z] [2023-01-11T23:18:27.551Z] Login Succeeded [2023-01-11T23:18:27.551Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T23:18:27.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T23:18:27.919Z] + git rev-list -1 --merges 2c20566117211fad19a7b137cd5318ac2866fcb3~1..2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo [2023-01-11T23:18:27.966Z] -----------> git rev-list -1 --merges 2c20566117211fad19a7b137cd5318ac2866fcb3~1..2c20566117211fad19a7b137cd5318ac2866fcb3 2c20566117211fad19a7b137cd5318ac2866fcb3 [2023-01-11T23:18:27.966Z] 2c20566117211fad19a7b137cd5318ac2866fcb3 [false] [Pipeline] sh [2023-01-11T23:18:28.253Z] + git log --format=format:%s -1 2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo [2023-01-11T23:18:28.269Z] ========================================================= [2023-01-11T23:18:28.269Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T23:18:28.269Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T23:18:28.583Z] + git log --format=format:%s -1 2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] echo [2023-01-11T23:18:28.594Z] [semverPrep] GIT_COMMIT: 2c20566117211fad19a7b137cd5318ac2866fcb3, Commit Message: Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD [Pipeline] echo [2023-01-11T23:18:28.603Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T23:18:28.934Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T23:18:28.934Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T23:18:28.934Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T23:18:28.934Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T23:18:28.934Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T23:18:28.934Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T23:18:28.934Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:18:29.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T23:18:29.302Z] [2023-01-11T23:18:29.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:18:29.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T23:18:29.614Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T23:18:29.614Z] b85a868b505f: Pulling fs layer [2023-01-11T23:18:29.614Z] e2be974225ed: Pulling fs layer [2023-01-11T23:18:29.614Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T23:18:29.614Z] 988bab9f4d93: Pulling fs layer [2023-01-11T23:18:29.614Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T23:18:29.614Z] eaf3925da568: Pulling fs layer [2023-01-11T23:18:29.614Z] bab4dde63d76: Pulling fs layer [2023-01-11T23:18:29.614Z] bde34c3a00c8: Pulling fs layer [2023-01-11T23:18:29.614Z] b352a97aabf1: Pulling fs layer [2023-01-11T23:18:29.614Z] 4872d77fe225: Pulling fs layer [2023-01-11T23:18:29.614Z] 5851b861e8e6: Pulling fs layer [2023-01-11T23:18:29.614Z] 988bab9f4d93: Waiting [2023-01-11T23:18:29.614Z] 1469e6f7b9e6: Waiting [2023-01-11T23:18:29.614Z] eaf3925da568: Waiting [2023-01-11T23:18:29.614Z] bab4dde63d76: Waiting [2023-01-11T23:18:29.614Z] bde34c3a00c8: Waiting [2023-01-11T23:18:29.614Z] b352a97aabf1: Waiting [2023-01-11T23:18:29.614Z] 4872d77fe225: Waiting [2023-01-11T23:18:29.614Z] 5851b861e8e6: Waiting [2023-01-11T23:18:29.614Z] e2be974225ed: Verifying Checksum [2023-01-11T23:18:29.614Z] e2be974225ed: Download complete [2023-01-11T23:18:29.614Z] 988bab9f4d93: Verifying Checksum [2023-01-11T23:18:29.614Z] 988bab9f4d93: Download complete [2023-01-11T23:18:29.874Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T23:18:29.874Z] 1469e6f7b9e6: Download complete [2023-01-11T23:18:29.874Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T23:18:29.874Z] 339a4e72a1f5: Download complete [2023-01-11T23:18:29.874Z] eaf3925da568: Verifying Checksum [2023-01-11T23:18:29.874Z] eaf3925da568: Download complete [2023-01-11T23:18:29.874Z] bde34c3a00c8: Verifying Checksum [2023-01-11T23:18:29.874Z] bde34c3a00c8: Download complete [2023-01-11T23:18:29.874Z] b352a97aabf1: Download complete [2023-01-11T23:18:29.874Z] 4872d77fe225: Verifying Checksum [2023-01-11T23:18:29.874Z] 4872d77fe225: Download complete [2023-01-11T23:18:29.874Z] 5851b861e8e6: Verifying Checksum [2023-01-11T23:18:29.874Z] 5851b861e8e6: Download complete [2023-01-11T23:18:29.874Z] b85a868b505f: Verifying Checksum [2023-01-11T23:18:29.874Z] b85a868b505f: Download complete [2023-01-11T23:18:30.454Z] bab4dde63d76: Verifying Checksum [2023-01-11T23:18:30.454Z] bab4dde63d76: Download complete [2023-01-11T23:18:31.396Z] b85a868b505f: Pull complete [2023-01-11T23:18:31.396Z] e2be974225ed: Pull complete [2023-01-11T23:18:31.965Z] 339a4e72a1f5: Pull complete [2023-01-11T23:18:31.965Z] 988bab9f4d93: Pull complete [2023-01-11T23:18:32.225Z] 1469e6f7b9e6: Pull complete [2023-01-11T23:18:32.484Z] eaf3925da568: Pull complete [2023-01-11T23:18:34.390Z] bab4dde63d76: Pull complete [2023-01-11T23:18:34.390Z] bde34c3a00c8: Pull complete [2023-01-11T23:18:34.390Z] b352a97aabf1: Pull complete [2023-01-11T23:18:34.651Z] 4872d77fe225: Pull complete [2023-01-11T23:18:34.651Z] 5851b861e8e6: Pull complete [2023-01-11T23:18:34.651Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T23:18:34.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T23:18:34.651Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:18:34.738Z] prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container [2023-01-11T23:18:34.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T23:18:37.907Z] $ docker top 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 -eo pid,comm [2023-01-11T23:18:37.967Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T23:18:37.967Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T23:18:38.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T23:18:38.006Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T23:18:38.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T23:18:38.134Z] $ docker exec 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent [2023-01-11T23:18:38.250Z] SSH_AUTH_SOCK=/tmp/ssh-65xvnpkCeNCT/agent.33 [2023-01-11T23:18:38.250Z] SSH_AGENT_PID=39 [2023-01-11T23:18:38.260Z] Running ssh-add (command line suppressed) [2023-01-11T23:18:38.365Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8782286629339733539.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8782286629339733539.key) [2023-01-11T23:18:38.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T23:18:38.677Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T23:18:38.697Z] $ docker exec --env ******** --env ******** 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent -k [2023-01-11T23:18:38.806Z] unset SSH_AUTH_SOCK; [2023-01-11T23:18:38.806Z] unset SSH_AGENT_PID; [2023-01-11T23:18:38.807Z] echo Agent pid 39 killed; [2023-01-11T23:18:38.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T23:18:38.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T23:18:38.842Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T23:18:38.975Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T23:18:38.978Z] $ docker exec 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent [2023-01-11T23:18:39.100Z] SSH_AUTH_SOCK=/tmp/ssh-paNiXtRc5jke/agent.71 [2023-01-11T23:18:39.100Z] SSH_AGENT_PID=77 [2023-01-11T23:18:39.106Z] Running ssh-add (command line suppressed) [2023-01-11T23:18:39.241Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1304155312656864048.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1304155312656864048.key) [2023-01-11T23:18:39.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T23:18:39.554Z] + git semver init [2023-01-11T23:18:39.813Z] 2023-01-11 23:18:39,751 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T23:18:39.813Z] 2023-01-11 23:18:39,753 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2023-01-11T23:18:39.813Z] 2023-01-11 23:18:39,753 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2023-01-11T23:18:39.813Z] 2023-01-11 23:18:39,753 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,607 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,608 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,608 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,612 [execute] INFO git cat-file --batch-check [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,619 [execute] INFO git cat-file --batch [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T23:18:40.754Z] 2023-01-11 23:18:40,625 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2023-01-11T23:18:40.754Z] 0.0.0 [Pipeline] } [2023-01-11T23:18:40.766Z] $ docker exec --env ******** --env ******** 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 ssh-agent -k [2023-01-11T23:18:40.881Z] unset SSH_AUTH_SOCK; [2023-01-11T23:18:40.882Z] unset SSH_AGENT_PID; [2023-01-11T23:18:40.882Z] echo Agent pid 77 killed; [2023-01-11T23:18:40.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T23:18:41.195Z] + git semver [Pipeline] } [2023-01-11T23:18:41.474Z] $ docker stop --time=1 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 [2023-01-11T23:18:42.771Z] $ docker rm -f --volumes 520067308ad114c2a634def34a18ca223a1f56c70242bc152637a747cf1f0248 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T23:18:43.120Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T23:18:43.331Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T23:18:43.334Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:18:43.435Z] provisioning config files... [2023-01-11T23:18:43.443Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config10996787852788292670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:18:43.739Z] ---> docker-login.sh [2023-01-11T23:18:43.739Z] nexus3.edgexfoundry.org:10001 [2023-01-11T23:18:43.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:43.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:43.739Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:43.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:43.739Z] [2023-01-11T23:18:43.739Z] Login Succeeded [2023-01-11T23:18:43.739Z] nexus3.edgexfoundry.org:10002 [2023-01-11T23:18:43.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:43.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:43.739Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:43.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:43.739Z] [2023-01-11T23:18:43.740Z] Login Succeeded [2023-01-11T23:18:43.740Z] nexus3.edgexfoundry.org:10003 [2023-01-11T23:18:43.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:43.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:43.999Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:43.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:43.999Z] [2023-01-11T23:18:43.999Z] Login Succeeded [2023-01-11T23:18:43.999Z] nexus3.edgexfoundry.org:10004 [2023-01-11T23:18:43.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:43.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:43.999Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:43.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:43.999Z] [2023-01-11T23:18:43.999Z] Login Succeeded [2023-01-11T23:18:43.999Z] docker.io [2023-01-11T23:18:44.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:18:44.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:18:44.259Z] Configure a credential helper to remove this warning. See [2023-01-11T23:18:44.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:18:44.259Z] [2023-01-11T23:18:44.259Z] Login Succeeded [2023-01-11T23:18:44.259Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T23:18:44.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T23:18:44.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:18:44.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:18:44.367Z] ========================================================= [2023-01-11T23:18:44.367Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T23:18:44.367Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:18:44.702Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T23:18:44.702Z] Sending build context to Docker daemon 6.343MB [2023-01-11T23:18:44.702Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:18:44.702Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T23:18:44.702Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T23:18:44.702Z] 213ec9aee27d: Pulling fs layer [2023-01-11T23:18:44.702Z] 4583459ba037: Pulling fs layer [2023-01-11T23:18:44.702Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T23:18:44.702Z] 53926ce57604: Pulling fs layer [2023-01-11T23:18:44.702Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T23:18:44.702Z] 22ff95d597cd: Pulling fs layer [2023-01-11T23:18:44.702Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T23:18:44.702Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T23:18:44.702Z] a7acece74701: Pulling fs layer [2023-01-11T23:18:44.702Z] 22ff95d597cd: Waiting [2023-01-11T23:18:44.702Z] 12d6caf4c0d1: Waiting [2023-01-11T23:18:44.702Z] 96b7cbca73a9: Waiting [2023-01-11T23:18:44.702Z] a7acece74701: Waiting [2023-01-11T23:18:44.702Z] 53926ce57604: Waiting [2023-01-11T23:18:44.702Z] 21b2b0c7a3f4: Waiting [2023-01-11T23:18:44.702Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T23:18:44.702Z] 93c1e223e6f2: Download complete [2023-01-11T23:18:44.702Z] 4583459ba037: Verifying Checksum [2023-01-11T23:18:44.702Z] 4583459ba037: Download complete [2023-01-11T23:18:44.702Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T23:18:44.702Z] 21b2b0c7a3f4: Download complete [2023-01-11T23:18:44.963Z] 22ff95d597cd: Download complete [2023-01-11T23:18:44.963Z] 213ec9aee27d: Verifying Checksum [2023-01-11T23:18:44.963Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T23:18:44.963Z] 12d6caf4c0d1: Download complete [2023-01-11T23:18:44.963Z] 213ec9aee27d: Pull complete [2023-01-11T23:18:45.227Z] 4583459ba037: Pull complete [2023-01-11T23:18:45.227Z] 93c1e223e6f2: Pull complete [2023-01-11T23:18:45.488Z] a7acece74701: Verifying Checksum [2023-01-11T23:18:45.488Z] a7acece74701: Download complete [2023-01-11T23:18:45.748Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T23:18:45.748Z] 96b7cbca73a9: Download complete [2023-01-11T23:18:45.748Z] 53926ce57604: Verifying Checksum [2023-01-11T23:18:45.748Z] 53926ce57604: Download complete [2023-01-11T23:18:49.934Z] 53926ce57604: Pull complete [2023-01-11T23:18:49.934Z] 21b2b0c7a3f4: Pull complete [2023-01-11T23:18:49.934Z] 22ff95d597cd: Pull complete [2023-01-11T23:18:49.934Z] 12d6caf4c0d1: Pull complete [2023-01-11T23:18:51.846Z] 96b7cbca73a9: Pull complete [2023-01-11T23:18:52.782Z] a7acece74701: Pull complete [2023-01-11T23:18:52.782Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T23:18:52.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T23:18:52.782Z] ---> db6d94c90886 [2023-01-11T23:18:52.782Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:18:58.088Z] ---> Running in ddcb57d6c6e7 [2023-01-11T23:18:58.088Z] Removing intermediate container ddcb57d6c6e7 [2023-01-11T23:18:58.088Z] ---> 4a37c7800783 [2023-01-11T23:18:58.088Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:18:58.088Z] ---> Running in 54c79dd4244e [2023-01-11T23:18:58.088Z] Removing intermediate container 54c79dd4244e [2023-01-11T23:18:58.088Z] ---> b87818a4a721 [2023-01-11T23:18:58.088Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:18:58.088Z] ---> Running in 1c210bc281ee [2023-01-11T23:18:58.088Z] Removing intermediate container 1c210bc281ee [2023-01-11T23:18:58.088Z] ---> e4b26ba44942 [2023-01-11T23:18:58.088Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:18:58.088Z] ---> Running in 966c7074f418 [2023-01-11T23:18:58.349Z] Removing intermediate container 966c7074f418 [2023-01-11T23:18:58.349Z] ---> 9020ad7d3133 [2023-01-11T23:18:58.349Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:18:58.349Z] ---> Running in e18f7f8545e2 [2023-01-11T23:18:58.406Z] Still waiting to schedule task [2023-01-11T23:18:58.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1988’ is offline [2023-01-11T23:18:58.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T23:18:58.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T23:18:58.868Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T23:18:58.868Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T23:18:58.868Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T23:18:59.127Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T23:18:59.127Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:18:59.127Z] OK: 216 MiB in 55 packages [2023-01-11T23:18:59.697Z] Removing intermediate container e18f7f8545e2 [2023-01-11T23:18:59.697Z] ---> fbf777a87230 [2023-01-11T23:18:59.697Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T23:18:59.697Z] ---> Running in 21c21732e68e [2023-01-11T23:18:59.697Z] Removing intermediate container 21c21732e68e [2023-01-11T23:18:59.697Z] ---> 07555dd2b4ec [2023-01-11T23:18:59.697Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T23:18:59.955Z] ---> 2fc54fb88f14 [2023-01-11T23:18:59.955Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:18:59.955Z] ---> Running in 7953f80cc986 [2023-01-11T23:19:26.547Z] Removing intermediate container 7953f80cc986 [2023-01-11T23:19:26.547Z] ---> 354da39b11e2 [2023-01-11T23:19:26.547Z] Step 11/12 : COPY . . [2023-01-11T23:19:26.547Z] ---> 9a46533ae02d [2023-01-11T23:19:26.547Z] Step 12/12 : RUN $MAKE [2023-01-11T23:19:26.547Z] ---> Running in 8619c36ba8a9 [2023-01-11T23:19:26.547Z] noop [2023-01-11T23:19:26.547Z] Removing intermediate container 8619c36ba8a9 [2023-01-11T23:19:26.547Z] ---> 6af33c27ccbc [2023-01-11T23:19:26.547Z] Successfully built 6af33c27ccbc [2023-01-11T23:19:26.547Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:19:26.874Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T23:19:26.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:19:26.947Z] prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container [2023-01-11T23:19:26.982Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat [2023-01-11T23:19:27.302Z] $ docker top 2f715d285018280d5d480aefe67d3d616e2a370e4b5cdc76d85d7e9fd07ba155 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:19:27.654Z] + go version [2023-01-11T23:19:27.654Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T23:19:27.665Z] $ docker stop --time=1 2f715d285018280d5d480aefe67d3d616e2a370e4b5cdc76d85d7e9fd07ba155 [2023-01-11T23:19:28.929Z] $ docker rm -f --volumes 2f715d285018280d5d480aefe67d3d616e2a370e4b5cdc76d85d7e9fd07ba155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:19:29.374Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T23:19:29.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:19:29.491Z] prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container [2023-01-11T23:19:29.512Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat [2023-01-11T23:19:29.839Z] $ docker top ab1156018fb0b7480cc1b076d2633b8e18252cd48db7252d2261146595830dd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:19:30.176Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2023-01-11T23:19:30.475Z] + make test [2023-01-11T23:19:30.475Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T23:19:30.734Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T23:19:40.748Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T23:19:40.748Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2023-01-11T23:19:40.748Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T23:19:46.007Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T23:19:46.007Z] go vet ./... [2023-01-11T23:19:50.185Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T23:19:50.185Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T23:19:50.185Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T23:19:50.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T23:19:50.211Z] $ docker stop --time=1 ab1156018fb0b7480cc1b076d2633b8e18252cd48db7252d2261146595830dd0 [2023-01-11T23:19:52.806Z] $ docker rm -f --volumes ab1156018fb0b7480cc1b076d2633b8e18252cd48db7252d2261146595830dd0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T23:19:53.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T23:19:53.298Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T23:19:53.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T23:19:54.018Z] + ls -al . [2023-01-11T23:19:54.018Z] total 192 [2023-01-11T23:19:54.018Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 23:19 . [2023-01-11T23:19:54.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:18 .. [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 23:18 .dockerignore [2023-01-11T23:19:54.018Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 23:19 .git [2023-01-11T23:19:54.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:18 .github [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 23:18 .gitignore [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 23:18 .golangci.yml [2023-01-11T23:19:54.018Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 23:18 .semver [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 23:18 Attribution.txt [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 23:18 CHANGELOG.md [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 23:18 Dockerfile [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 23:18 GOVERNANCE.md [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 23:18 Jenkinsfile [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 23:18 LICENSE [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 23:18 Makefile [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 23:18 OWNERS.md [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 23:18 README.md [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 23:18 VERSION [2023-01-11T23:19:54.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:18 bin [2023-01-11T23:19:54.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:18 cmd [2023-01-11T23:19:54.018Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 23:19 coverage.out [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 23:18 go.mod [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 23:18 go.sum [2023-01-11T23:19:54.018Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:18 internal [2023-01-11T23:19:54.018Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:18 mock [2023-01-11T23:19:54.018Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:18 snap [2023-01-11T23:19:54.018Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:19:54.320Z] + 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=2c20566117211fad19a7b137cd5318ac2866fcb3 --label arch=amd64 --label version=0.0.0 . [2023-01-11T23:19:54.320Z] Sending build context to Docker daemon 6.362MB [2023-01-11T23:19:54.320Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:19:54.320Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T23:19:54.320Z] ---> 6af33c27ccbc [2023-01-11T23:19:54.320Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:19:54.320Z] ---> Running in 9e79e5901c47 [2023-01-11T23:19:54.579Z] Removing intermediate container 9e79e5901c47 [2023-01-11T23:19:54.579Z] ---> d470f1178843 [2023-01-11T23:19:54.579Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:19:54.579Z] ---> Running in 855e142c9b5f [2023-01-11T23:19:54.579Z] Removing intermediate container 855e142c9b5f [2023-01-11T23:19:54.579Z] ---> 896b26997625 [2023-01-11T23:19:54.579Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:19:54.579Z] ---> Running in c45d08041771 [2023-01-11T23:19:54.579Z] Removing intermediate container c45d08041771 [2023-01-11T23:19:54.579Z] ---> 7e643b7503ab [2023-01-11T23:19:54.579Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:19:54.838Z] ---> Running in 2c5fcb1994c0 [2023-01-11T23:19:54.838Z] Removing intermediate container 2c5fcb1994c0 [2023-01-11T23:19:54.838Z] ---> e2b7cfc30278 [2023-01-11T23:19:54.838Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:19:54.838Z] ---> Running in 71e621b0e40c [2023-01-11T23:19:55.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T23:19:55.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T23:19:55.618Z] OK: 216 MiB in 55 packages [2023-01-11T23:19:55.877Z] Removing intermediate container 71e621b0e40c [2023-01-11T23:19:55.877Z] ---> c44f5ca6f0f7 [2023-01-11T23:19:55.877Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T23:19:55.877Z] ---> Running in b57af492bc3e [2023-01-11T23:19:55.877Z] Removing intermediate container b57af492bc3e [2023-01-11T23:19:55.877Z] ---> d63b3b9559b3 [2023-01-11T23:19:55.877Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T23:19:56.135Z] ---> fa6b8b16342c [2023-01-11T23:19:56.135Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:19:56.135Z] ---> Running in 43b0f6bdc79f [2023-01-11T23:19:56.704Z] Removing intermediate container 43b0f6bdc79f [2023-01-11T23:19:56.704Z] ---> 23305ed7aae8 [2023-01-11T23:19:56.704Z] Step 11/24 : COPY . . [2023-01-11T23:19:56.963Z] ---> 47694a49e231 [2023-01-11T23:19:56.963Z] Step 12/24 : RUN $MAKE [2023-01-11T23:19:56.963Z] ---> Running in 485e51811480 [2023-01-11T23:19:57.221Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-11T23:20:19.156Z] Removing intermediate container 485e51811480 [2023-01-11T23:20:19.156Z] ---> 23375b5df160 [2023-01-11T23:20:19.156Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T23:20:19.156Z] 3.16: Pulling from library/alpine [2023-01-11T23:20:19.156Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T23:20:19.156Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T23:20:19.156Z] ca7dd9ec2225: Download complete [2023-01-11T23:20:19.156Z] ca7dd9ec2225: Pull complete [2023-01-11T23:20:19.156Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T23:20:19.156Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T23:20:19.156Z] ---> bfe296a52501 [2023-01-11T23:20:19.156Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T23:20:19.156Z] ---> Running in d3b4fc30a711 [2023-01-11T23:20:19.156Z] Removing intermediate container d3b4fc30a711 [2023-01-11T23:20:19.156Z] ---> d147194cfd7b [2023-01-11T23:20:19.156Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T23:20:19.156Z] ---> Running in e461be7a7649 [2023-01-11T23:20:19.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T23:20:19.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T23:20:19.156Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T23:20:19.156Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:20:19.156Z] OK: 6 MiB in 15 packages [2023-01-11T23:20:19.156Z] Removing intermediate container e461be7a7649 [2023-01-11T23:20:19.156Z] ---> 44573cc90009 [2023-01-11T23:20:19.156Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T23:20:19.721Z] ---> 8d6127d11643 [2023-01-11T23:20:19.721Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T23:20:19.721Z] ---> 37053cbabb2d [2023-01-11T23:20:19.721Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T23:20:19.979Z] ---> 91a5507e6b01 [2023-01-11T23:20:19.979Z] Step 19/24 : EXPOSE 59982 [2023-01-11T23:20:19.979Z] ---> Running in d187f1f5ec68 [2023-01-11T23:20:19.979Z] Removing intermediate container d187f1f5ec68 [2023-01-11T23:20:19.979Z] ---> fbcaa4fa5e3d [2023-01-11T23:20:19.979Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T23:20:19.979Z] ---> Running in 87063fead6f2 [2023-01-11T23:20:19.979Z] Removing intermediate container 87063fead6f2 [2023-01-11T23:20:19.979Z] ---> 14b036d9dbce [2023-01-11T23:20:19.979Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T23:20:19.979Z] ---> Running in 291d2a266cad [2023-01-11T23:20:20.238Z] Removing intermediate container 291d2a266cad [2023-01-11T23:20:20.238Z] ---> 6a4af40126b8 [2023-01-11T23:20:20.238Z] Step 22/24 : LABEL arch=amd64 [2023-01-11T23:20:20.238Z] ---> Running in 0e8cee9de4fe [2023-01-11T23:20:20.238Z] Removing intermediate container 0e8cee9de4fe [2023-01-11T23:20:20.238Z] ---> 917360a4de59 [2023-01-11T23:20:20.238Z] Step 23/24 : LABEL git_sha=2c20566117211fad19a7b137cd5318ac2866fcb3 [2023-01-11T23:20:20.238Z] ---> Running in 89d5fdbadf54 [2023-01-11T23:20:20.238Z] Removing intermediate container 89d5fdbadf54 [2023-01-11T23:20:20.238Z] ---> 094151f3825f [2023-01-11T23:20:20.238Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T23:20:20.498Z] ---> Running in fd18ae423e92 [2023-01-11T23:20:20.498Z] Removing intermediate container fd18ae423e92 [2023-01-11T23:20:20.498Z] ---> f6b5c1d0c9c3 [2023-01-11T23:20:20.498Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T23:20:20.498Z] Successfully built f6b5c1d0c9c3 [2023-01-11T23:20:20.498Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:20:20.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:20:20.988Z] [2023-01-11T23:20:20.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:20:21.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:20:21.287Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T23:20:21.287Z] 5eb5b503b376: Pulling fs layer [2023-01-11T23:20:21.287Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T23:20:21.287Z] ec43610c2a17: Pulling fs layer [2023-01-11T23:20:21.287Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T23:20:21.287Z] 33b1e0a273af: Pulling fs layer [2023-01-11T23:20:21.287Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T23:20:21.287Z] 2f39f015ded8: Pulling fs layer [2023-01-11T23:20:21.287Z] 3a2ae6a8a46f: Waiting [2023-01-11T23:20:21.287Z] 33b1e0a273af: Waiting [2023-01-11T23:20:21.287Z] 5d3b04190fa2: Waiting [2023-01-11T23:20:21.287Z] 2f39f015ded8: Waiting [2023-01-11T23:20:21.287Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T23:20:21.287Z] 5c69ac0246d0: Download complete [2023-01-11T23:20:21.287Z] 3a2ae6a8a46f: Download complete [2023-01-11T23:20:21.287Z] 33b1e0a273af: Verifying Checksum [2023-01-11T23:20:21.287Z] 33b1e0a273af: Download complete [2023-01-11T23:20:21.548Z] 5d3b04190fa2: Download complete [2023-01-11T23:20:21.548Z] ec43610c2a17: Download complete [2023-01-11T23:20:21.548Z] 5eb5b503b376: Verifying Checksum [2023-01-11T23:20:21.548Z] 5eb5b503b376: Download complete [2023-01-11T23:20:22.116Z] 2f39f015ded8: Download complete [2023-01-11T23:20:22.682Z] 5eb5b503b376: Pull complete [2023-01-11T23:20:22.940Z] 5c69ac0246d0: Pull complete [2023-01-11T23:20:23.509Z] ec43610c2a17: Pull complete [2023-01-11T23:20:23.509Z] 3a2ae6a8a46f: Pull complete [2023-01-11T23:20:23.509Z] 33b1e0a273af: Pull complete [2023-01-11T23:20:23.767Z] 5d3b04190fa2: Pull complete [2023-01-11T23:20:27.953Z] 2f39f015ded8: Pull complete [2023-01-11T23:20:27.953Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T23:20:27.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:20:27.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:20:28.299Z] prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container [2023-01-11T23:20:28.328Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T23:20:31.450Z] $ docker top 43d36a95ec2de94646b266903025befd6d5c9233de2b301a79f667b3b5c58b28 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:20:31.810Z] ---> job-cost.sh [2023-01-11T23:20:31.810Z] lf-activate-venv: SKIPPING [2023-01-11T23:20:31.810Z] INFO: No Stack... [2023-01-11T23:20:32.377Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T23:20:32.636Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T23:20:32.923Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2023-01-11T23:20:32.923Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T23:20:32.938Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [2023-01-11T23:20:32.947Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] did not exist. Created. [2023-01-11T23:20:32.947Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T23:20:33.242Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T23:20:33.273Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T23:20:33.279Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T23:20:33.298Z] $ docker stop --time=1 43d36a95ec2de94646b266903025befd6d5c9233de2b301a79f667b3b5c58b28 [2023-01-11T23:20:34.455Z] $ docker rm -f --volumes 43d36a95ec2de94646b266903025befd6d5c9233de2b301a79f667b3b5c58b28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T23:21:27.786Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1989 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2023-01-11T23:21:27.800Z] Running in /w/workspace/device-mqtt-go/10 [Pipeline] { [Pipeline] checkout [2023-01-11T23:21:27.835Z] Selected Git installation does not exist. Using Default [2023-01-11T23:21:27.835Z] The recommended git tool is: NONE [2023-01-11T23:21:33.790Z] using credential edgex-jenkins-ssh [2023-01-11T23:21:33.809Z] Cloning the remote Git repository [2023-01-11T23:21:33.848Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T23:21:33.927Z] > git init /w/workspace/device-mqtt-go/10 # timeout=10 [2023-01-11T23:21:34.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T23:21:34.095Z] > git --version # timeout=10 [2023-01-11T23:21:34.117Z] > git --version # 'git version 2.25.1' [2023-01-11T23:21:34.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T23:21:34.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T23:21:35.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T23:21:35.262Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T23:21:36.113Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T23:21:36.153Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T23:21:36.154Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T23:21:36.171Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T23:21:36.659Z] Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2023-01-11T23:21:36.939Z] Merge succeeded, producing 63e1f520a81e698fffa9969692564bc58affcc9c [2023-01-11T23:21:36.939Z] Checking out Revision 63e1f520a81e698fffa9969692564bc58affcc9c (PR-429) [2023-01-11T23:21:36.669Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T23:21:36.690Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2023-01-11T23:21:36.777Z] > git remote # timeout=10 [2023-01-11T23:21:36.796Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T23:21:36.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T23:21:36.839Z] > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 [2023-01-11T23:21:36.911Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T23:21:36.941Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T23:21:36.959Z] > git checkout -f 63e1f520a81e698fffa9969692564bc58affcc9c # timeout=10 [2023-01-11T23:21:40.457Z] Commit message: "Merge commit 'c9f2a0543715ca35ad5b34b71a578c78c2f9cecd' into HEAD" [2023-01-11T23:21:40.484Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T23:21:40.461Z] > git rev-list --no-walk 50d420a57018e78eb1c016c33d80009d72c0a09b # timeout=10 [2023-01-11T23:21:41.344Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T23:21:41.344Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T23:21:41.344Z] Dload Upload Total Spent Left Speed [2023-01-11T23:21:41.344Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-01-11T23:21:42.035Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T23:21:42.375Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T23:21:42.375Z] + sudo tee /etc/docker/daemon.new [2023-01-11T23:21:42.375Z] { [2023-01-11T23:21:42.375Z] "registry-mirrors": [ [2023-01-11T23:21:42.375Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T23:21:42.375Z] ], [2023-01-11T23:21:42.375Z] "bip": "10.250.0.254/24", [2023-01-11T23:21:42.375Z] "hosts": [ [2023-01-11T23:21:42.375Z] "tcp://0.0.0.0:5555", [2023-01-11T23:21:42.375Z] "unix:///var/run/docker.sock" [2023-01-11T23:21:42.375Z] ], [2023-01-11T23:21:42.375Z] "mtu": 1458, [2023-01-11T23:21:42.375Z] "selinux-enabled": true, [2023-01-11T23:21:42.375Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T23:21:42.375Z] } [Pipeline] sh [2023-01-11T23:21:42.718Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T23:21:43.046Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:22:01.339Z] provisioning config files... [2023-01-11T23:22:01.367Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config15518400066874230523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:22:01.726Z] ---> docker-login.sh [2023-01-11T23:22:01.726Z] nexus3.edgexfoundry.org:10001 [2023-01-11T23:22:02.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:22:02.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:22:02.321Z] Configure a credential helper to remove this warning. See [2023-01-11T23:22:02.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:22:02.321Z] [2023-01-11T23:22:02.321Z] Login Succeeded [2023-01-11T23:22:02.321Z] nexus3.edgexfoundry.org:10002 [2023-01-11T23:22:02.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:22:02.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:22:02.865Z] Configure a credential helper to remove this warning. See [2023-01-11T23:22:02.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:22:02.865Z] [2023-01-11T23:22:02.865Z] Login Succeeded [2023-01-11T23:22:02.865Z] nexus3.edgexfoundry.org:10003 [2023-01-11T23:22:02.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:22:03.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:22:03.136Z] Configure a credential helper to remove this warning. See [2023-01-11T23:22:03.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:22:03.136Z] [2023-01-11T23:22:03.136Z] Login Succeeded [2023-01-11T23:22:03.136Z] nexus3.edgexfoundry.org:10004 [2023-01-11T23:22:03.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:22:03.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:22:03.406Z] Configure a credential helper to remove this warning. See [2023-01-11T23:22:03.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:22:03.406Z] [2023-01-11T23:22:03.406Z] Login Succeeded [2023-01-11T23:22:03.406Z] docker.io [2023-01-11T23:22:03.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T23:22:03.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T23:22:03.948Z] Configure a credential helper to remove this warning. See [2023-01-11T23:22:03.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T23:22:03.948Z] [2023-01-11T23:22:03.948Z] Login Succeeded [2023-01-11T23:22:03.948Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T23:22:03.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T23:22:04.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:22:04.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T23:22:04.287Z] ========================================================= [2023-01-11T23:22:04.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T23:22:04.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:22:04.647Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T23:22:04.918Z] Sending build context to Docker daemon 3.295MB [2023-01-11T23:22:04.918Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:22:04.918Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T23:22:05.196Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T23:22:05.196Z] 9b18e9b68314: Pulling fs layer [2023-01-11T23:22:05.196Z] 35d82f9e3411: Pulling fs layer [2023-01-11T23:22:05.196Z] e16973657156: Pulling fs layer [2023-01-11T23:22:05.196Z] fc693d55d65f: Pulling fs layer [2023-01-11T23:22:05.196Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T23:22:05.196Z] dda99020689f: Pulling fs layer [2023-01-11T23:22:05.196Z] db1c61fa0a46: Pulling fs layer [2023-01-11T23:22:05.196Z] 891c053d2c06: Pulling fs layer [2023-01-11T23:22:05.196Z] fc693d55d65f: Waiting [2023-01-11T23:22:05.196Z] 7e9fc2657dce: Waiting [2023-01-11T23:22:05.196Z] dda99020689f: Waiting [2023-01-11T23:22:05.196Z] 891c053d2c06: Waiting [2023-01-11T23:22:05.196Z] db1c61fa0a46: Waiting [2023-01-11T23:22:05.196Z] e16973657156: Verifying Checksum [2023-01-11T23:22:05.196Z] e16973657156: Download complete [2023-01-11T23:22:05.196Z] 35d82f9e3411: Verifying Checksum [2023-01-11T23:22:05.196Z] 35d82f9e3411: Download complete [2023-01-11T23:22:05.196Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T23:22:05.196Z] 7e9fc2657dce: Download complete [2023-01-11T23:22:05.196Z] dda99020689f: Verifying Checksum [2023-01-11T23:22:05.196Z] dda99020689f: Download complete [2023-01-11T23:22:05.196Z] 9b18e9b68314: Verifying Checksum [2023-01-11T23:22:05.196Z] 9b18e9b68314: Download complete [2023-01-11T23:22:06.183Z] 9b18e9b68314: Pull complete [2023-01-11T23:22:06.457Z] 891c053d2c06: Verifying Checksum [2023-01-11T23:22:06.457Z] 891c053d2c06: Download complete [2023-01-11T23:22:06.730Z] 35d82f9e3411: Pull complete [2023-01-11T23:22:07.005Z] e16973657156: Pull complete [2023-01-11T23:22:07.608Z] db1c61fa0a46: Verifying Checksum [2023-01-11T23:22:07.608Z] db1c61fa0a46: Download complete [2023-01-11T23:22:08.204Z] fc693d55d65f: Verifying Checksum [2023-01-11T23:22:08.204Z] fc693d55d65f: Download complete [2023-01-11T23:22:20.589Z] fc693d55d65f: Pull complete [2023-01-11T23:22:21.567Z] 7e9fc2657dce: Pull complete [2023-01-11T23:22:21.567Z] dda99020689f: Pull complete [2023-01-11T23:22:28.261Z] db1c61fa0a46: Pull complete [2023-01-11T23:22:30.226Z] 891c053d2c06: Pull complete [2023-01-11T23:22:30.226Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T23:22:30.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T23:22:30.226Z] ---> f96f9c87975a [2023-01-11T23:22:30.226Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:22:31.642Z] ---> Running in ce337643ebc7 [2023-01-11T23:22:31.912Z] Removing intermediate container ce337643ebc7 [2023-01-11T23:22:31.912Z] ---> 04f76aa4d0b1 [2023-01-11T23:22:31.912Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:22:32.182Z] ---> Running in d9ffc111c815 [2023-01-11T23:22:32.451Z] Removing intermediate container d9ffc111c815 [2023-01-11T23:22:32.451Z] ---> 67044b0b1f5d [2023-01-11T23:22:32.451Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:22:32.451Z] ---> Running in fe7004dd9468 [2023-01-11T23:22:32.721Z] Removing intermediate container fe7004dd9468 [2023-01-11T23:22:32.721Z] ---> 4a08e312fed4 [2023-01-11T23:22:32.721Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:22:32.990Z] ---> Running in d5445502ff88 [2023-01-11T23:22:33.267Z] Removing intermediate container d5445502ff88 [2023-01-11T23:22:33.267Z] ---> 5dc392b04c2b [2023-01-11T23:22:33.267Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:22:33.267Z] ---> Running in df7587448d0e [2023-01-11T23:22:34.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T23:22:34.696Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T23:22:36.113Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T23:22:36.113Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T23:22:36.113Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T23:22:36.114Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T23:22:36.114Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:22:36.114Z] OK: 226 MiB in 55 packages [2023-01-11T23:22:37.083Z] Removing intermediate container df7587448d0e [2023-01-11T23:22:37.083Z] ---> 4d13a623b62b [2023-01-11T23:22:37.083Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T23:22:37.351Z] ---> Running in e131ce86ef23 [2023-01-11T23:22:37.620Z] Removing intermediate container e131ce86ef23 [2023-01-11T23:22:37.620Z] ---> f6e053b7b729 [2023-01-11T23:22:37.620Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T23:22:38.206Z] ---> 2c073033dc61 [2023-01-11T23:22:38.206Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:22:38.206Z] ---> Running in cee3605e1aaf [2023-01-11T23:23:34.649Z] Removing intermediate container cee3605e1aaf [2023-01-11T23:23:34.649Z] ---> 00de543c2ed5 [2023-01-11T23:23:34.649Z] Step 11/12 : COPY . . [2023-01-11T23:23:34.920Z] ---> 5fb0cc4e6161 [2023-01-11T23:23:34.920Z] Step 12/12 : RUN $MAKE [2023-01-11T23:23:35.190Z] ---> Running in 4df7ab232dfb [2023-01-11T23:23:36.159Z] noop [2023-01-11T23:23:36.746Z] Removing intermediate container 4df7ab232dfb [2023-01-11T23:23:36.746Z] ---> 96ef0294273f [2023-01-11T23:23:36.746Z] Successfully built 96ef0294273f [2023-01-11T23:23:36.746Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:23:37.096Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T23:23:37.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:23:37.302Z] prd-ubuntu20.04-docker-arm64-4c-16g-1989 does not seem to be running inside a container [2023-01-11T23:23:37.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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 ******** ci-base-image-arm64 cat [2023-01-11T23:23:39.655Z] $ docker top 7f28134256fea386159aaf881aa26d67e8ca3d05475e0cf5cf56344bd17f81dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:23:40.502Z] + go version [2023-01-11T23:23:40.502Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T23:23:40.528Z] $ docker stop --time=1 7f28134256fea386159aaf881aa26d67e8ca3d05475e0cf5cf56344bd17f81dc [2023-01-11T23:23:42.134Z] $ docker rm -f --volumes 7f28134256fea386159aaf881aa26d67e8ca3d05475e0cf5cf56344bd17f81dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:23:42.692Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T23:23:42.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:23:42.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-1989 does not seem to be running inside a container [2023-01-11T23:23:42.949Z] $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@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 ******** ci-base-image-arm64 cat [2023-01-11T23:23:44.181Z] $ docker top 5f412bc033e4fd71862893c3572f82eedaa9b07ec51d3e0b7346401607a9b6c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:23:44.703Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/10 [Pipeline] fileExists [Pipeline] sh [2023-01-11T23:23:45.305Z] + make test [2023-01-11T23:23:45.572Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T23:23:46.991Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T23:25:08.682Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T23:25:08.682Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 21.8% of statements [2023-01-11T23:25:08.682Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T23:25:09.263Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T23:25:09.263Z] go vet ./... [2023-01-11T23:25:31.326Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T23:25:31.326Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T23:25:31.326Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T23:25:31.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T23:25:31.371Z] $ docker stop --time=1 5f412bc033e4fd71862893c3572f82eedaa9b07ec51d3e0b7346401607a9b6c4 [2023-01-11T23:25:33.527Z] $ docker rm -f --volumes 5f412bc033e4fd71862893c3572f82eedaa9b07ec51d3e0b7346401607a9b6c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T23:25:34.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T23:25:34.458Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T23:25:34.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T23:25:35.323Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T23:25:35.640Z] + ls -al . [2023-01-11T23:25:35.640Z] total 188 [2023-01-11T23:25:35.640Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 23:23 . [2023-01-11T23:25:35.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:21 .. [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 23:21 .dockerignore [2023-01-11T23:25:35.640Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 23:21 .git [2023-01-11T23:25:35.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:21 .github [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 23:21 .gitignore [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 23:21 .golangci.yml [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 23:21 Attribution.txt [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 23:21 CHANGELOG.md [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 23:21 Dockerfile [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 23:21 GOVERNANCE.md [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 23:21 Jenkinsfile [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 23:21 LICENSE [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 23:21 Makefile [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 23:21 OWNERS.md [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 23:21 README.md [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 23:18 VERSION [2023-01-11T23:25:35.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:21 bin [2023-01-11T23:25:35.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:21 cmd [2023-01-11T23:25:35.640Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 23:25 coverage.out [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 11 23:21 go.mod [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 11 23:21 go.sum [2023-01-11T23:25:35.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 23:21 internal [2023-01-11T23:25:35.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 23:21 mock [2023-01-11T23:25:35.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 23:21 snap [2023-01-11T23:25:35.640Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:25:35.991Z] + 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=63e1f520a81e698fffa9969692564bc58affcc9c --label arch=arm64 --label version=0.0.0 . [2023-01-11T23:25:36.260Z] Sending build context to Docker daemon 3.314MB [2023-01-11T23:25:36.260Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T23:25:36.261Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T23:25:36.261Z] ---> 96ef0294273f [2023-01-11T23:25:36.261Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T23:25:36.528Z] ---> Running in fe8aed840d1e [2023-01-11T23:25:36.800Z] Removing intermediate container fe8aed840d1e [2023-01-11T23:25:36.800Z] ---> de641c54f88f [2023-01-11T23:25:36.800Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T23:25:36.800Z] ---> Running in c9f914254ad4 [2023-01-11T23:25:37.069Z] Removing intermediate container c9f914254ad4 [2023-01-11T23:25:37.069Z] ---> 9ab5e06b8a82 [2023-01-11T23:25:37.069Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T23:25:37.069Z] ---> Running in 49f5e7348348 [2023-01-11T23:25:37.343Z] Removing intermediate container 49f5e7348348 [2023-01-11T23:25:37.343Z] ---> f7f43f58a083 [2023-01-11T23:25:37.343Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T23:25:37.611Z] ---> Running in aa135ac6e0d8 [2023-01-11T23:25:37.879Z] Removing intermediate container aa135ac6e0d8 [2023-01-11T23:25:37.879Z] ---> f4775ecb7cd2 [2023-01-11T23:25:37.879Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T23:25:37.879Z] ---> Running in 71abdd5ece5d [2023-01-11T23:25:38.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T23:25:39.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T23:25:40.070Z] OK: 226 MiB in 55 packages [2023-01-11T23:25:41.033Z] Removing intermediate container 71abdd5ece5d [2023-01-11T23:25:41.033Z] ---> 902669150ee4 [2023-01-11T23:25:41.033Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T23:25:41.033Z] ---> Running in 37adf38bc6be [2023-01-11T23:25:41.301Z] Removing intermediate container 37adf38bc6be [2023-01-11T23:25:41.301Z] ---> 0ab4e85e9b14 [2023-01-11T23:25:41.301Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T23:25:41.887Z] ---> d3b55cd3cf99 [2023-01-11T23:25:41.887Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T23:25:41.887Z] ---> Running in 3bf1be4a5a21 [2023-01-11T23:25:44.475Z] Removing intermediate container 3bf1be4a5a21 [2023-01-11T23:25:44.475Z] ---> cbc14f3c4518 [2023-01-11T23:25:44.475Z] Step 11/24 : COPY . . [2023-01-11T23:25:47.066Z] ---> f5ac006aaad4 [2023-01-11T23:25:47.066Z] Step 12/24 : RUN $MAKE [2023-01-11T23:25:47.066Z] ---> Running in ee0fede0775f [2023-01-11T23:25:48.036Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-11T23:28:10.068Z] Removing intermediate container ee0fede0775f [2023-01-11T23:28:10.068Z] ---> 8945d7d79c92 [2023-01-11T23:28:10.068Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T23:28:10.068Z] 3.16: Pulling from library/alpine [2023-01-11T23:28:10.068Z] 6875df1f5354: Pulling fs layer [2023-01-11T23:28:10.068Z] 6875df1f5354: Verifying Checksum [2023-01-11T23:28:10.068Z] 6875df1f5354: Download complete [2023-01-11T23:28:10.068Z] 6875df1f5354: Pull complete [2023-01-11T23:28:10.068Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T23:28:10.068Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T23:28:10.068Z] ---> 2b4661558fb8 [2023-01-11T23:28:10.068Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T23:28:10.068Z] ---> Running in 2a52c5b272a6 [2023-01-11T23:28:10.068Z] Removing intermediate container 2a52c5b272a6 [2023-01-11T23:28:10.068Z] ---> 58f1979585bd [2023-01-11T23:28:10.068Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T23:28:10.068Z] ---> Running in c8b61d3e4fe2 [2023-01-11T23:28:10.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T23:28:10.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T23:28:11.882Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T23:28:11.882Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T23:28:11.882Z] OK: 5 MiB in 15 packages [2023-01-11T23:28:12.846Z] Removing intermediate container c8b61d3e4fe2 [2023-01-11T23:28:12.846Z] ---> 2991d5f0824e [2023-01-11T23:28:12.846Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T23:28:14.252Z] ---> 989e05e1abba [2023-01-11T23:28:14.252Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T23:28:14.519Z] ---> 0f550011e6c9 [2023-01-11T23:28:14.519Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T23:28:15.103Z] ---> 5dbd79ece405 [2023-01-11T23:28:15.103Z] Step 19/24 : EXPOSE 59982 [2023-01-11T23:28:15.103Z] ---> Running in 5405134421ad [2023-01-11T23:28:15.372Z] Removing intermediate container 5405134421ad [2023-01-11T23:28:15.372Z] ---> 1e2185c6bb99 [2023-01-11T23:28:15.372Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T23:28:15.372Z] ---> Running in f4d20be08ef9 [2023-01-11T23:28:15.640Z] Removing intermediate container f4d20be08ef9 [2023-01-11T23:28:15.640Z] ---> aec36886084e [2023-01-11T23:28:15.640Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T23:28:15.640Z] ---> Running in 4af7bcfa164c [2023-01-11T23:28:15.920Z] Removing intermediate container 4af7bcfa164c [2023-01-11T23:28:15.920Z] ---> 0973eec1d4b9 [2023-01-11T23:28:15.920Z] Step 22/24 : LABEL arch=arm64 [2023-01-11T23:28:16.189Z] ---> Running in 48a7a568a000 [2023-01-11T23:28:16.457Z] Removing intermediate container 48a7a568a000 [2023-01-11T23:28:16.457Z] ---> 9c4bcde0ba7d [2023-01-11T23:28:16.457Z] Step 23/24 : LABEL git_sha=63e1f520a81e698fffa9969692564bc58affcc9c [2023-01-11T23:28:16.457Z] ---> Running in fc60e2461259 [2023-01-11T23:28:16.725Z] Removing intermediate container fc60e2461259 [2023-01-11T23:28:16.725Z] ---> 0ffd339d1c26 [2023-01-11T23:28:16.725Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T23:28:16.725Z] ---> Running in a2e8a0ce5e15 [2023-01-11T23:28:16.992Z] Removing intermediate container a2e8a0ce5e15 [2023-01-11T23:28:16.992Z] ---> d634885585e9 [2023-01-11T23:28:16.992Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T23:28:16.993Z] Successfully built d634885585e9 [2023-01-11T23:28:16.993Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:28:17.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T23:28:17.441Z] [2023-01-11T23:28:17.441Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:28:17.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T23:28:17.765Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T23:28:17.765Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T23:28:17.765Z] 04944245beec: Pulling fs layer [2023-01-11T23:28:17.765Z] 699f458cf7ca: Pulling fs layer [2023-01-11T23:28:17.765Z] 765212b225bb: Pulling fs layer [2023-01-11T23:28:17.765Z] f23df028b6ca: Pulling fs layer [2023-01-11T23:28:17.765Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T23:28:17.765Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T23:28:17.765Z] 765212b225bb: Waiting [2023-01-11T23:28:17.765Z] f23df028b6ca: Waiting [2023-01-11T23:28:17.765Z] d65c8cfc05b1: Waiting [2023-01-11T23:28:17.765Z] 2437ff75d9bd: Waiting [2023-01-11T23:28:18.038Z] 04944245beec: Verifying Checksum [2023-01-11T23:28:18.038Z] 04944245beec: Download complete [2023-01-11T23:28:18.038Z] 765212b225bb: Verifying Checksum [2023-01-11T23:28:18.038Z] 765212b225bb: Download complete [2023-01-11T23:28:18.038Z] f23df028b6ca: Download complete [2023-01-11T23:28:18.038Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T23:28:18.038Z] d65c8cfc05b1: Download complete [2023-01-11T23:28:18.305Z] 699f458cf7ca: Verifying Checksum [2023-01-11T23:28:18.305Z] 699f458cf7ca: Download complete [2023-01-11T23:28:18.574Z] 8998bd30e6a1: Download complete [2023-01-11T23:28:21.158Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T23:28:21.158Z] 2437ff75d9bd: Download complete [2023-01-11T23:28:22.574Z] 8998bd30e6a1: Pull complete [2023-01-11T23:28:22.842Z] 04944245beec: Pull complete [2023-01-11T23:28:24.254Z] 699f458cf7ca: Pull complete [2023-01-11T23:28:24.522Z] 765212b225bb: Pull complete [2023-01-11T23:28:25.117Z] f23df028b6ca: Pull complete [2023-01-11T23:28:25.384Z] d65c8cfc05b1: Pull complete [2023-01-11T23:28:40.386Z] 2437ff75d9bd: Pull complete [2023-01-11T23:28:40.386Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T23:28:40.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T23:28:40.386Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:28:40.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-1989 does not seem to be running inside a container [2023-01-11T23:28:40.662Z] $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T23:28:43.200Z] $ docker top 153bc496f9f98ffc878acfb0b20027cfe764432ff19b9791f4dcd25d372218bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:44.014Z] ---> job-cost.sh [2023-01-11T23:28:44.014Z] lf-activate-venv: SKIPPING [2023-01-11T23:28:44.014Z] INFO: No Stack... [2023-01-11T23:28:44.281Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T23:28:45.237Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T23:28:45.556Z] + cut -d, -f6 [2023-01-11T23:28:45.556Z] + cat /w/workspace/device-mqtt-go/10/archives/cost.csv [Pipeline] lock [2023-01-11T23:28:45.621Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [2023-01-11T23:28:45.627Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] did not exist. Created. [2023-01-11T23:28:45.627Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T23:28:46.282Z] /w/workspace/device-mqtt-go/10@tmp/durable-51193571/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T23:28:46.611Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T23:28:46.630Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T23:28:46.674Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T23:28:46.684Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T23:28:46.718Z] $ docker stop --time=1 153bc496f9f98ffc878acfb0b20027cfe764432ff19b9791f4dcd25d372218bf [2023-01-11T23:28:48.167Z] $ docker rm -f --volumes 153bc496f9f98ffc878acfb0b20027cfe764432ff19b9791f4dcd25d372218bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-11T23:28:48.480Z] provisioning config files... [2023-01-11T23:28:48.487Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config10802063470985087347tmp [Pipeline] { [Pipeline] sh [2023-01-11T23:28:48.775Z] + set +x [2023-01-11T23:28:48.775Z] + curl -s https://codecov.io/bash [2023-01-11T23:28:48.775Z] + bash -s -- [2023-01-11T23:28:48.775Z] [2023-01-11T23:28:48.775Z] _____ _ [2023-01-11T23:28:48.775Z] / ____| | | [2023-01-11T23:28:48.775Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T23:28:48.776Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T23:28:48.776Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T23:28:48.776Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T23:28:48.776Z] Bash-1.0.6 [2023-01-11T23:28:48.776Z] [2023-01-11T23:28:48.776Z] [2023-01-11T23:28:48.776Z] ==> git version 2.25.1 found [2023-01-11T23:28:48.776Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-11T23:28:48.776Z] Release-Date: 2020-01-08 [2023-01-11T23:28:48.776Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T23:28:48.776Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T23:28:48.776Z] ==> Jenkins CI detected. [2023-01-11T23:28:48.776Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2023-01-11T23:28:48.776Z] project root: . [2023-01-11T23:28:48.776Z] --> token set from env [2023-01-11T23:28:48.776Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T23:28:48.776Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T23:28:48.776Z] ==> Python coveragepy not found [2023-01-11T23:28:48.776Z] ==> Searching for coverage reports in: [2023-01-11T23:28:48.776Z] + . [2023-01-11T23:28:48.776Z] -> Found 1 reports [2023-01-11T23:28:48.776Z] ==> Detecting git/mercurial file structure [2023-01-11T23:28:48.776Z] ==> Reading reports [2023-01-11T23:28:48.776Z] + ./coverage.out bytes=17887 [2023-01-11T23:28:48.776Z] ==> Appending adjustments [2023-01-11T23:28:48.776Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T23:28:49.035Z] + Found adjustments [2023-01-11T23:28:49.035Z] ==> Gzipping contents [2023-01-11T23:28:49.035Z] 4.0K /tmp/codecov.uq69ar.gz [2023-01-11T23:28:49.035Z] ==> Uploading reports [2023-01-11T23:28:49.035Z] url: https://codecov.io [2023-01-11T23:28:49.035Z] query: branch=PR-429&commit=2c20566117211fad19a7b137cd5318ac2866fcb3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2023-01-11T23:28:49.035Z] -> Pinging Codecov [2023-01-11T23:28:49.035Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=2c20566117211fad19a7b137cd5318ac2866fcb3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2023-01-11T23:28:49.294Z] -> Uploading to [2023-01-11T23:28:49.294Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7D719EC7BBE17E464838252E33014C33/2c20566117211fad19a7b137cd5318ac2866fcb3/e547489c-e583-43d3-b0d6-904167e593cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T232849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9676ee0f90aa1466bd95441a09d80c51aedea3473bd7e15214c98135d6b61301 [2023-01-11T23:28:49.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T23:28:49.294Z] Dload Upload Total Spent Left Speed [2023-01-11T23:28:49.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14967 --:--:-- --:--:-- --:--:-- 14967 [2023-01-11T23:28:49.554Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2c20566117211fad19a7b137cd5318ac2866fcb3 [Pipeline] } [2023-01-11T23:28:49.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T23:28:50.260Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2023-01-11T23:28:50.260Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2023-01-11T23:28:50.260Z] total 16 [2023-01-11T23:28:50.260Z] drwxr-xr-x 3 root root 4096 Jan 11 23:20 . [2023-01-11T23:28:50.260Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 23:20 .. [2023-01-11T23:28:50.260Z] drwxr-xr-x 2 root root 4096 Jan 11 23:20 cost [2023-01-11T23:28:50.260Z] -rw-r--r-- 1 root root 87 Jan 11 23:20 cost.csv [2023-01-11T23:28:50.260Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2023-01-11T23:28:50.260Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2023-01-11T23:28:50.260Z] total 16 [2023-01-11T23:28:50.260Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 23:20 . [2023-01-11T23:28:50.260Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 23:20 .. [2023-01-11T23:28:50.260Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 23:20 cost [2023-01-11T23:28:50.260Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 11 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:50.549Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:51.410Z] ---> package-listing.sh [2023-01-11T23:28:51.410Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T23:28:51.410Z] ++ facter osfamily [2023-01-11T23:28:51.669Z] + OS_FAMILY=debian [2023-01-11T23:28:51.669Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2023-01-11T23:28:51.669Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T23:28:51.669Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T23:28:51.669Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T23:28:51.669Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T23:28:51.669Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2023-01-11T23:28:51.669Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T23:28:51.669Z] + case "${OS_FAMILY}" in [2023-01-11T23:28:51.669Z] + dpkg -l [2023-01-11T23:28:51.669Z] + grep '^ii' [2023-01-11T23:28:51.669Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T23:28:51.669Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T23:28:51.669Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T23:28:51.669Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2023-01-11T23:28:51.669Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2023-01-11T23:28:51.669Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo [2023-01-11T23:28:51.680Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T23:28:51.960Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T23:28:52.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T23:28:52.524Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T23:28:52.598Z] prd-ubuntu20.04-docker-8c-8g-1987 does not seem to be running inside a container [2023-01-11T23:28:52.626Z] $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T23:28:52.807Z] $ docker top d2ac7718322511106b9a68823bae6b4b18574d87d772d557500fb6b6e11d8564 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T23:28:53.145Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T23:28:53.429Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T23:28:53.717Z] + ls /var/log/sa-host [2023-01-11T23:28:53.717Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T23:28:53.780Z] provisioning config files... [2023-01-11T23:28:53.789Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config2958516736877731037tmp [Pipeline] { [Pipeline] echo [2023-01-11T23:28:53.800Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:54.084Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T23:28:54.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:54.418Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T23:28:54.427Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:54.712Z] ---> sudo-logs.sh [2023-01-11T23:28:54.712Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T23:28:54.736Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:55.020Z] ---> job-cost.sh [2023-01-11T23:28:55.020Z] lf-activate-venv: SKIPPING [2023-01-11T23:28:55.020Z] DEBUG: total: 0.2199999988079071 [2023-01-11T23:28:55.020Z] INFO: Retrieving Stack Cost... [2023-01-11T23:28:55.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T23:28:56.155Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T23:28:56.168Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T23:28:56.449Z] ---> logs-deploy.sh [2023-01-11T23:28:56.449Z] lf-activate-venv: SKIPPING [2023-01-11T23:28:56.449Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/10 [2023-01-11T23:28:56.449Z] INFO: archiving workspace using pattern(s): [2023-01-11T23:28:57.386Z] Archives upload complete. [2023-01-11T23:28:57.386Z] INFO: archiving logs to Nexus