Pull request #500 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6249b3aa7fe097cde3b4faa92932d5e2faf4045c+d895e333ff01e63b6fe1f723ceb6cf1859de49f5 (e2d8e5a70090b05bf07d3a0ab6289ca9ac0faa02) 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-ssh5561908441042350929.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-ssh10379550617577115862.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-500/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-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17552597534104756699.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-ssh16000306245866696651.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-500/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-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7651139624314802487.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9354 in /w/workspace/gexfoundry_device-mqtt-go_PR-500 [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-500 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit 6249b3aa7fe097cde3b4faa92932d5e2faf4045c > 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/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6249b3aa7fe097cde3b4faa92932d5e2faf4045c # timeout=10 Merge succeeded, producing 6249b3aa7fe097cde3b4faa92932d5e2faf4045c Checking out Revision 6249b3aa7fe097cde3b4faa92932d5e2faf4045c (PR-500) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T02:49:22.104Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T02:49:22.145Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T02:49:22.158Z] ========================================================= [2023-03-09T02:49:22.158Z] EdgeX Global Pipelines Version Info [2023-03-09T02:49:22.158Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6249b3aa7fe097cde3b4faa92932d5e2faf4045c # timeout=10 > git rev-list --no-walk 4f04e735536f66c1c3b8a19061b0acfbd4d6991a # timeout=10 [2023-03-09T02:49:22.880Z] ------------------- [2023-03-09T02:49:22.880Z] stable info: [2023-03-09T02:49:22.880Z] ------------------- [2023-03-09T02:49:22.880Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T02:49:22.880Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:49:22.880Z] Message: update stable to v1.0.244 [2023-03-09T02:49:23.452Z] ------------------- [2023-03-09T02:49:23.452Z] experimental info: [2023-03-09T02:49:23.452Z] ------------------- [2023-03-09T02:49:23.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T02:49:23.452Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T02:49:23.452Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T02:49:23.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-03-09T02:49:23.639Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-03-09T02:49:23.649Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T02:49:23.660Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T02:49:23.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T02:49:23.686Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T02:49:23.699Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T02:49:23.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-09T02:49:23.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T02:49:23.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T02:49:23.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T02:49:23.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-03-09T02:49:23.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T02:49:23.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T02:49:23.801Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:49:23.812Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T02:49:23.826Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:49:23.838Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T02:49:23.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T02:49:23.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T02:49:23.876Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-09T02:49:23.888Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-09T02:49:23.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T02:49:23.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T02:49:23.931Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T02:49:23.948Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T02:49:23.962Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T02:49:23.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2023-03-09T02:49:23.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2023-03-09T02:49:24.000Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2023-03-09T02:49:24.015Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6249b3aa7fe097cde3b4faa92932d5e2faf4045c [Pipeline] echo [2023-03-09T02:49:24.027Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6249b3a [Pipeline] echo [2023-03-09T02:49:24.040Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:49:24.087Z] provisioning config files... [2023-03-09T02:49:24.100Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config5862921860894150147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:49:24.404Z] ---> docker-login.sh [2023-03-09T02:49:24.404Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:49:24.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:24.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:24.944Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:24.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:24.944Z] [2023-03-09T02:49:24.944Z] Login Succeeded [2023-03-09T02:49:24.944Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:49:24.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:24.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:24.944Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:24.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:24.944Z] [2023-03-09T02:49:24.944Z] Login Succeeded [2023-03-09T02:49:24.944Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:49:24.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:25.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:25.205Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:25.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:25.205Z] [2023-03-09T02:49:25.205Z] Login Succeeded [2023-03-09T02:49:25.205Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:49:25.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:25.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:25.205Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:25.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:25.205Z] [2023-03-09T02:49:25.205Z] Login Succeeded [2023-03-09T02:49:25.205Z] docker.io [2023-03-09T02:49:25.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:25.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:25.464Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:25.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:25.464Z] [2023-03-09T02:49:25.464Z] Login Succeeded [2023-03-09T02:49:25.464Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:49:25.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T02:49:25.849Z] + git rev-list -1 --merges 6249b3aa7fe097cde3b4faa92932d5e2faf4045c~1..6249b3aa7fe097cde3b4faa92932d5e2faf4045c [Pipeline] echo [2023-03-09T02:49:25.900Z] -----------> git rev-list -1 --merges 6249b3aa7fe097cde3b4faa92932d5e2faf4045c~1..6249b3aa7fe097cde3b4faa92932d5e2faf4045c 6249b3aa7fe097cde3b4faa92932d5e2faf4045c [false] [Pipeline] sh [2023-03-09T02:49:26.190Z] + git log --format=format:%s -1 6249b3aa7fe097cde3b4faa92932d5e2faf4045c [Pipeline] echo [2023-03-09T02:49:26.207Z] ========================================================= [2023-03-09T02:49:26.207Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T02:49:26.207Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:49:26.538Z] + git log --format=format:%s -1 6249b3aa7fe097cde3b4faa92932d5e2faf4045c [Pipeline] echo [2023-03-09T02:49:26.551Z] [semverPrep] GIT_COMMIT: 6249b3aa7fe097cde3b4faa92932d5e2faf4045c, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [Pipeline] echo [2023-03-09T02:49:26.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T02:49:26.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T02:49:26.905Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T02:49:26.905Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T02:49:26.905Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T02:49:26.905Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T02:49:26.905Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T02:49:26.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:27.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:49:27.257Z] [2023-03-09T02:49:27.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:27.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:49:27.571Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T02:49:27.571Z] b85a868b505f: Pulling fs layer [2023-03-09T02:49:27.571Z] e2be974225ed: Pulling fs layer [2023-03-09T02:49:27.571Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T02:49:27.571Z] 988bab9f4d93: Pulling fs layer [2023-03-09T02:49:27.571Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T02:49:27.571Z] eaf3925da568: Pulling fs layer [2023-03-09T02:49:27.571Z] bab4dde63d76: Pulling fs layer [2023-03-09T02:49:27.571Z] bde34c3a00c8: Pulling fs layer [2023-03-09T02:49:27.571Z] b352a97aabf1: Pulling fs layer [2023-03-09T02:49:27.571Z] 988bab9f4d93: Waiting [2023-03-09T02:49:27.571Z] eaf3925da568: Waiting [2023-03-09T02:49:27.571Z] 1469e6f7b9e6: Waiting [2023-03-09T02:49:27.571Z] bde34c3a00c8: Waiting [2023-03-09T02:49:27.571Z] bab4dde63d76: Waiting [2023-03-09T02:49:27.571Z] 4872d77fe225: Pulling fs layer [2023-03-09T02:49:27.571Z] 5851b861e8e6: Pulling fs layer [2023-03-09T02:49:27.571Z] b352a97aabf1: Waiting [2023-03-09T02:49:27.571Z] 4872d77fe225: Waiting [2023-03-09T02:49:27.571Z] 5851b861e8e6: Waiting [2023-03-09T02:49:27.571Z] e2be974225ed: Verifying Checksum [2023-03-09T02:49:27.571Z] e2be974225ed: Download complete [2023-03-09T02:49:27.571Z] 988bab9f4d93: Verifying Checksum [2023-03-09T02:49:27.571Z] 988bab9f4d93: Download complete [2023-03-09T02:49:27.831Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T02:49:27.831Z] 1469e6f7b9e6: Download complete [2023-03-09T02:49:27.831Z] eaf3925da568: Verifying Checksum [2023-03-09T02:49:27.831Z] eaf3925da568: Download complete [2023-03-09T02:49:27.831Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T02:49:27.831Z] 339a4e72a1f5: Download complete [2023-03-09T02:49:27.831Z] bde34c3a00c8: Verifying Checksum [2023-03-09T02:49:27.831Z] bde34c3a00c8: Download complete [2023-03-09T02:49:27.831Z] b352a97aabf1: Verifying Checksum [2023-03-09T02:49:27.831Z] b352a97aabf1: Download complete [2023-03-09T02:49:27.831Z] 4872d77fe225: Verifying Checksum [2023-03-09T02:49:27.831Z] 4872d77fe225: Download complete [2023-03-09T02:49:27.831Z] 5851b861e8e6: Verifying Checksum [2023-03-09T02:49:27.831Z] 5851b861e8e6: Download complete [2023-03-09T02:49:28.088Z] b85a868b505f: Verifying Checksum [2023-03-09T02:49:28.088Z] b85a868b505f: Download complete [2023-03-09T02:49:28.347Z] bab4dde63d76: Verifying Checksum [2023-03-09T02:49:28.347Z] bab4dde63d76: Download complete [2023-03-09T02:49:29.283Z] b85a868b505f: Pull complete [2023-03-09T02:49:29.544Z] e2be974225ed: Pull complete [2023-03-09T02:49:30.111Z] 339a4e72a1f5: Pull complete [2023-03-09T02:49:30.370Z] 988bab9f4d93: Pull complete [2023-03-09T02:49:30.630Z] 1469e6f7b9e6: Pull complete [2023-03-09T02:49:30.889Z] eaf3925da568: Pull complete [2023-03-09T02:49:32.789Z] bab4dde63d76: Pull complete [2023-03-09T02:49:33.050Z] bde34c3a00c8: Pull complete [2023-03-09T02:49:33.050Z] b352a97aabf1: Pull complete [2023-03-09T02:49:33.310Z] 4872d77fe225: Pull complete [2023-03-09T02:49:33.310Z] 5851b861e8e6: Pull complete [2023-03-09T02:49:33.310Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T02:49:33.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T02:49:33.310Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:49:33.393Z] prd-ubuntu20.04-docker-8c-8g-9354 does not seem to be running inside a container [2023-03-09T02:49:33.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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-03-09T02:49:35.427Z] $ docker top 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e -eo pid,comm [2023-03-09T02:49:35.478Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-09T02:49:35.478Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T02:49:35.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:49:35.518Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:49:35.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:49:35.633Z] $ docker exec 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e ssh-agent [2023-03-09T02:49:35.734Z] SSH_AUTH_SOCK=/tmp/ssh-9zWKo98AeeAY/agent.32 [2023-03-09T02:49:35.734Z] SSH_AGENT_PID=38 [2023-03-09T02:49:35.741Z] Running ssh-add (command line suppressed) [2023-03-09T02:49:35.852Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_14846625338582037422.key (/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_14846625338582037422.key) [2023-03-09T02:49:35.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:49:36.154Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T02:49:36.170Z] $ docker exec --env ******** --env ******** 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e ssh-agent -k [2023-03-09T02:49:36.273Z] unset SSH_AUTH_SOCK; [2023-03-09T02:49:36.274Z] unset SSH_AGENT_PID; [2023-03-09T02:49:36.274Z] echo Agent pid 38 killed; [2023-03-09T02:49:36.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T02:49:36.300Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T02:49:36.300Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T02:49:36.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T02:49:36.430Z] $ docker exec 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e ssh-agent [2023-03-09T02:49:36.545Z] SSH_AUTH_SOCK=/tmp/ssh-rKezsvGBXUhj/agent.71 [2023-03-09T02:49:36.545Z] SSH_AGENT_PID=77 [2023-03-09T02:49:36.549Z] Running ssh-add (command line suppressed) [2023-03-09T02:49:36.658Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_6894092173207246374.key (/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/private_key_6894092173207246374.key) [2023-03-09T02:49:36.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T02:49:36.955Z] + git semver init [2023-03-09T02:49:37.215Z] 2023-03-09 02:49:37,150 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T02:49:37.215Z] 2023-03-09 02:49:37,151 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver [2023-03-09T02:49:37.215Z] 2023-03-09 02:49:37,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver [2023-03-09T02:49:37.215Z] 2023-03-09 02:49:37,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500, universal_newlines=False, shell=None, istream=None) [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,967 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.git/info/exclude [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,968 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 with force:False [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,968 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,973 [execute] INFO git cat-file --batch-check [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,980 [execute] INFO git cat-file --batch [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T02:49:38.152Z] 2023-03-09 02:49:37,988 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-500/.semver/PR-500 [2023-03-09T02:49:38.152Z] 0.0.0 [Pipeline] } [2023-03-09T02:49:38.166Z] $ docker exec --env ******** --env ******** 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e ssh-agent -k [2023-03-09T02:49:38.270Z] unset SSH_AUTH_SOCK; [2023-03-09T02:49:38.271Z] unset SSH_AGENT_PID; [2023-03-09T02:49:38.271Z] echo Agent pid 77 killed; [2023-03-09T02:49:38.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T02:49:38.582Z] + git semver [Pipeline] } [2023-03-09T02:49:38.858Z] $ docker stop --time=1 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e [2023-03-09T02:49:40.241Z] $ docker rm -f --volumes 793f13e014dc42ac3434bcd336abb166c92a04ec6b92b0ee481ce4ed23dcf94e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:49:40.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T02:49:40.896Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T02:49:40.899Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:49:41.035Z] provisioning config files... [2023-03-09T02:49:41.045Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config12487294742380284769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:49:41.344Z] ---> docker-login.sh [2023-03-09T02:49:41.344Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:49:41.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:41.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:41.344Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:41.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:41.344Z] [2023-03-09T02:49:41.344Z] Login Succeeded [2023-03-09T02:49:41.344Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:49:41.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:41.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:41.344Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:41.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:41.344Z] [2023-03-09T02:49:41.344Z] Login Succeeded [2023-03-09T02:49:41.344Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:49:41.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:41.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:41.604Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:41.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:41.604Z] [2023-03-09T02:49:41.604Z] Login Succeeded [2023-03-09T02:49:41.604Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:49:41.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:41.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:41.604Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:41.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:41.604Z] [2023-03-09T02:49:41.604Z] Login Succeeded [2023-03-09T02:49:41.604Z] docker.io [2023-03-09T02:49:41.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:49:41.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:49:41.864Z] Configure a credential helper to remove this warning. See [2023-03-09T02:49:41.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:49:41.864Z] [2023-03-09T02:49:41.864Z] Login Succeeded [2023-03-09T02:49:41.864Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:49:41.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:49:41.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:49:41.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:49:41.951Z] ========================================================= [2023-03-09T02:49:41.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T02:49:41.951Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:49:42.274Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T02:49:42.274Z] Sending build context to Docker daemon 6.34MB [2023-03-09T02:49:42.274Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:49:42.274Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:49:42.274Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T02:49:42.274Z] 213ec9aee27d: Pulling fs layer [2023-03-09T02:49:42.274Z] 4583459ba037: Pulling fs layer [2023-03-09T02:49:42.274Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T02:49:42.274Z] 53926ce57604: Pulling fs layer [2023-03-09T02:49:42.274Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T02:49:42.274Z] 22ff95d597cd: Pulling fs layer [2023-03-09T02:49:42.274Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T02:49:42.274Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T02:49:42.274Z] a7acece74701: Pulling fs layer [2023-03-09T02:49:42.274Z] 53926ce57604: Waiting [2023-03-09T02:49:42.274Z] 21b2b0c7a3f4: Waiting [2023-03-09T02:49:42.274Z] 22ff95d597cd: Waiting [2023-03-09T02:49:42.274Z] 96b7cbca73a9: Waiting [2023-03-09T02:49:42.543Z] 93c1e223e6f2: Verifying Checksum [2023-03-09T02:49:42.543Z] 93c1e223e6f2: Download complete [2023-03-09T02:49:42.543Z] 4583459ba037: Verifying Checksum [2023-03-09T02:49:42.543Z] 4583459ba037: Download complete [2023-03-09T02:49:42.543Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-09T02:49:42.543Z] 21b2b0c7a3f4: Download complete [2023-03-09T02:49:42.543Z] 22ff95d597cd: Verifying Checksum [2023-03-09T02:49:42.543Z] 22ff95d597cd: Download complete [2023-03-09T02:49:42.543Z] 213ec9aee27d: Verifying Checksum [2023-03-09T02:49:42.543Z] 213ec9aee27d: Download complete [2023-03-09T02:49:42.821Z] 12d6caf4c0d1: Verifying Checksum [2023-03-09T02:49:42.821Z] 12d6caf4c0d1: Download complete [2023-03-09T02:49:42.821Z] 213ec9aee27d: Pull complete [2023-03-09T02:49:42.821Z] 4583459ba037: Pull complete [2023-03-09T02:49:43.084Z] 93c1e223e6f2: Pull complete [2023-03-09T02:49:43.655Z] a7acece74701: Verifying Checksum [2023-03-09T02:49:43.655Z] a7acece74701: Download complete [2023-03-09T02:49:43.655Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T02:49:43.655Z] 96b7cbca73a9: Download complete [2023-03-09T02:49:43.655Z] 53926ce57604: Verifying Checksum [2023-03-09T02:49:43.655Z] 53926ce57604: Download complete [2023-03-09T02:49:47.844Z] 53926ce57604: Pull complete [2023-03-09T02:49:47.844Z] 21b2b0c7a3f4: Pull complete [2023-03-09T02:49:47.844Z] 22ff95d597cd: Pull complete [2023-03-09T02:49:48.111Z] 12d6caf4c0d1: Pull complete [2023-03-09T02:49:50.637Z] 96b7cbca73a9: Pull complete [2023-03-09T02:49:51.203Z] a7acece74701: Pull complete [2023-03-09T02:49:51.461Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T02:49:51.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T02:49:51.461Z] ---> db6d94c90886 [2023-03-09T02:49:51.461Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:49:53.994Z] ---> Running in 4d909d842b32 [2023-03-09T02:49:53.994Z] Removing intermediate container 4d909d842b32 [2023-03-09T02:49:53.994Z] ---> 17404d548e15 [2023-03-09T02:49:53.994Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:49:53.994Z] ---> Running in 1313750461e4 [2023-03-09T02:49:53.994Z] Removing intermediate container 1313750461e4 [2023-03-09T02:49:53.994Z] ---> 60394e04c9f8 [2023-03-09T02:49:53.994Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:49:53.994Z] ---> Running in 9ec23af30a66 [2023-03-09T02:49:54.253Z] Removing intermediate container 9ec23af30a66 [2023-03-09T02:49:54.253Z] ---> d20cc71d1d9b [2023-03-09T02:49:54.253Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:49:54.253Z] ---> Running in 0088670d9a4a [2023-03-09T02:49:54.253Z] Removing intermediate container 0088670d9a4a [2023-03-09T02:49:54.253Z] ---> f9f31e1789b9 [2023-03-09T02:49:54.253Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:49:54.512Z] ---> Running in b3cfea8b9ee9 [2023-03-09T02:49:54.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:49:54.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:49:55.032Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:49:55.032Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:49:55.032Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:49:55.032Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:49:55.291Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:49:55.291Z] OK: 216 MiB in 55 packages [2023-03-09T02:49:55.859Z] Removing intermediate container b3cfea8b9ee9 [2023-03-09T02:49:55.860Z] ---> b2b8446d937f [2023-03-09T02:49:55.860Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T02:49:55.860Z] ---> Running in b86080caee13 [2023-03-09T02:49:55.860Z] Removing intermediate container b86080caee13 [2023-03-09T02:49:55.860Z] ---> eef1be4a7ef5 [2023-03-09T02:49:55.860Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:49:55.989Z] Still waiting to schedule task [2023-03-09T02:49:55.990Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-09T02:49:56.120Z] ---> ad5ed80a60c1 [2023-03-09T02:49:56.120Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:49:56.120Z] ---> Running in 63e6c0683ce0 [2023-03-09T02:50:22.668Z] Removing intermediate container 63e6c0683ce0 [2023-03-09T02:50:22.668Z] ---> 29e392de3d17 [2023-03-09T02:50:22.668Z] Step 11/12 : COPY . . [2023-03-09T02:50:22.668Z] ---> 86c8ed808e4f [2023-03-09T02:50:22.668Z] Step 12/12 : RUN $MAKE [2023-03-09T02:50:22.668Z] ---> Running in e7af8f35898e [2023-03-09T02:50:22.668Z] noop [2023-03-09T02:50:22.926Z] Removing intermediate container e7af8f35898e [2023-03-09T02:50:22.926Z] ---> 47fa0074b876 [2023-03-09T02:50:22.926Z] Successfully built 47fa0074b876 [2023-03-09T02:50:22.926Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:23.245Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:50:23.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:23.315Z] prd-ubuntu20.04-docker-8c-8g-9354 does not seem to be running inside a container [2023-03-09T02:50:23.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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-03-09T02:50:23.754Z] $ docker top 0bb2d6e71c9bf444f75b261940c4c6585511a89edf9971ea536b67543d373ed9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:50:24.107Z] + go version [2023-03-09T02:50:24.107Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T02:50:24.121Z] $ docker stop --time=1 0bb2d6e71c9bf444f75b261940c4c6585511a89edf9971ea536b67543d373ed9 [2023-03-09T02:50:25.501Z] $ docker rm -f --volumes 0bb2d6e71c9bf444f75b261940c4c6585511a89edf9971ea536b67543d373ed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:25.884Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T02:50:25.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:50:25.953Z] prd-ubuntu20.04-docker-8c-8g-9354 does not seem to be running inside a container [2023-03-09T02:50:25.991Z] $ 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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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-03-09T02:50:26.356Z] $ docker top 2e466bec84082707d23bad97d3b23716040299f7a0312e0bf7f6873f721540e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:50:26.699Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:50:26.995Z] + make test [2023-03-09T02:50:26.996Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T02:50:27.256Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T02:50:37.217Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-09T02:50:37.217Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-03-09T02:50:37.217Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-09T02:50:43.771Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-09T02:50:43.771Z] go vet ./... [2023-03-09T02:50:47.060Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T02:50:47.060Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T02:50:47.060Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T02:50:47.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T02:50:47.086Z] $ docker stop --time=1 2e466bec84082707d23bad97d3b23716040299f7a0312e0bf7f6873f721540e9 [2023-03-09T02:50:49.060Z] $ docker rm -f --volumes 2e466bec84082707d23bad97d3b23716040299f7a0312e0bf7f6873f721540e9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:50:49.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T02:50:49.582Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T02:50:50.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T02:50:50.439Z] + ls -al . [2023-03-09T02:50:50.439Z] total 184 [2023-03-09T02:50:50.439Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:50 . [2023-03-09T02:50:50.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:49 .. [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 02:49 .dockerignore [2023-03-09T02:50:50.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:50 .git [2023-03-09T02:50:50.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:49 .github [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 02:49 .gitignore [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:49 .golangci.yml [2023-03-09T02:50:50.439Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:49 .semver [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 02:49 Attribution.txt [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 02:49 CHANGELOG.md [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 02:49 Dockerfile [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:49 GOVERNANCE.md [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 02:49 Jenkinsfile [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:49 LICENSE [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 02:49 Makefile [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:49 OWNERS.md [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 02:49 README.md [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:49 VERSION [2023-03-09T02:50:50.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:49 bin [2023-03-09T02:50:50.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:49 cmd [2023-03-09T02:50:50.439Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 9 02:50 coverage.out [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 9 02:49 go.mod [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 9 02:49 go.sum [2023-03-09T02:50:50.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:49 internal [2023-03-09T02:50:50.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:49 mock [2023-03-09T02:50:50.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:49 snap [2023-03-09T02:50:50.439Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 02:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:50:50.743Z] + 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=6249b3aa7fe097cde3b4faa92932d5e2faf4045c --label arch=amd64 --label version=0.0.0 . [2023-03-09T02:50:50.743Z] Sending build context to Docker daemon 6.359MB [2023-03-09T02:50:50.743Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:50:50.743Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T02:50:50.743Z] ---> 47fa0074b876 [2023-03-09T02:50:50.743Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:50:50.743Z] ---> Running in 056541e868ea [2023-03-09T02:50:51.003Z] Removing intermediate container 056541e868ea [2023-03-09T02:50:51.003Z] ---> 9a3eecc68c8c [2023-03-09T02:50:51.003Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:50:51.003Z] ---> Running in ea4a578d93b1 [2023-03-09T02:50:51.003Z] Removing intermediate container ea4a578d93b1 [2023-03-09T02:50:51.003Z] ---> 8241ad4360b3 [2023-03-09T02:50:51.003Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:50:51.271Z] ---> Running in 81150b2a7e10 [2023-03-09T02:50:51.271Z] Removing intermediate container 81150b2a7e10 [2023-03-09T02:50:51.271Z] ---> da268a914c5e [2023-03-09T02:50:51.271Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:50:51.271Z] ---> Running in ebbb87545c09 [2023-03-09T02:50:51.271Z] Removing intermediate container ebbb87545c09 [2023-03-09T02:50:51.271Z] ---> 9251320dd321 [2023-03-09T02:50:51.271Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:50:51.530Z] ---> Running in dc9cede01cff [2023-03-09T02:50:51.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:50:51.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:50:52.050Z] OK: 216 MiB in 55 packages [2023-03-09T02:50:52.310Z] Removing intermediate container dc9cede01cff [2023-03-09T02:50:52.310Z] ---> 225294568148 [2023-03-09T02:50:52.310Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-09T02:50:52.310Z] ---> Running in e7381a4ced37 [2023-03-09T02:50:52.569Z] Removing intermediate container e7381a4ced37 [2023-03-09T02:50:52.569Z] ---> d85e45526895 [2023-03-09T02:50:52.569Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T02:50:52.569Z] ---> d06e5198851f [2023-03-09T02:50:52.569Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:50:52.569Z] ---> Running in ba8cc72af00a [2023-03-09T02:50:53.503Z] Removing intermediate container ba8cc72af00a [2023-03-09T02:50:53.503Z] ---> 6b7aa0d3242b [2023-03-09T02:50:53.503Z] Step 11/24 : COPY . . [2023-03-09T02:50:54.071Z] ---> 23edf70e4572 [2023-03-09T02:50:54.071Z] Step 12/24 : RUN $MAKE [2023-03-09T02:50:54.071Z] ---> Running in a98c923c4d91 [2023-03-09T02:50:54.329Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-09T02:51:12.417Z] Removing intermediate container a98c923c4d91 [2023-03-09T02:51:12.417Z] ---> c4d31cebc727 [2023-03-09T02:51:12.417Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T02:51:12.677Z] 3.16: Pulling from library/alpine [2023-03-09T02:51:12.934Z] ef5531b6e74e: Pulling fs layer [2023-03-09T02:51:12.934Z] ef5531b6e74e: Download complete [2023-03-09T02:51:13.200Z] ef5531b6e74e: Pull complete [2023-03-09T02:51:13.200Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T02:51:13.200Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T02:51:13.200Z] ---> dfd21b5a31f5 [2023-03-09T02:51:13.200Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-09T02:51:13.200Z] ---> Running in aa91f7fac502 [2023-03-09T02:51:13.458Z] Removing intermediate container aa91f7fac502 [2023-03-09T02:51:13.458Z] ---> 824f6f89be6a [2023-03-09T02:51:13.458Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T02:51:13.458Z] ---> Running in c16f18e8a82b [2023-03-09T02:51:13.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T02:51:13.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T02:51:14.283Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T02:51:14.283Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:51:14.283Z] OK: 6 MiB in 15 packages [2023-03-09T02:51:14.542Z] Removing intermediate container c16f18e8a82b [2023-03-09T02:51:14.542Z] ---> 1e449a22f154 [2023-03-09T02:51:14.542Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-09T02:51:15.109Z] ---> a3dadd47d0eb [2023-03-09T02:51:15.109Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-09T02:51:15.367Z] ---> fc3aea9dfca1 [2023-03-09T02:51:15.367Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-09T02:51:15.367Z] ---> cb8e783bd006 [2023-03-09T02:51:15.367Z] Step 19/24 : EXPOSE 59982 [2023-03-09T02:51:15.367Z] ---> Running in d2d07a9f931c [2023-03-09T02:51:15.626Z] Removing intermediate container d2d07a9f931c [2023-03-09T02:51:15.626Z] ---> 71bb5bf63427 [2023-03-09T02:51:15.626Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-09T02:51:15.626Z] ---> Running in 3d2d28e8c12d [2023-03-09T02:51:15.626Z] Removing intermediate container 3d2d28e8c12d [2023-03-09T02:51:15.626Z] ---> 906579cccf4c [2023-03-09T02:51:15.626Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-09T02:51:15.626Z] ---> Running in b0f0f76a939a [2023-03-09T02:51:15.885Z] Removing intermediate container b0f0f76a939a [2023-03-09T02:51:15.885Z] ---> e10eb5a85a3e [2023-03-09T02:51:15.885Z] Step 22/24 : LABEL arch=amd64 [2023-03-09T02:51:15.885Z] ---> Running in 89c33d93a0cf [2023-03-09T02:51:15.885Z] Removing intermediate container 89c33d93a0cf [2023-03-09T02:51:15.885Z] ---> 13ce117f786d [2023-03-09T02:51:15.885Z] Step 23/24 : LABEL git_sha=6249b3aa7fe097cde3b4faa92932d5e2faf4045c [2023-03-09T02:51:15.885Z] ---> Running in 6da455539116 [2023-03-09T02:51:16.143Z] Removing intermediate container 6da455539116 [2023-03-09T02:51:16.143Z] ---> c8f9be4af2eb [2023-03-09T02:51:16.143Z] Step 24/24 : LABEL version=0.0.0 [2023-03-09T02:51:16.143Z] ---> Running in e6328112b507 [2023-03-09T02:51:16.143Z] Removing intermediate container e6328112b507 [2023-03-09T02:51:16.143Z] ---> ac1b044e83a5 [2023-03-09T02:51:16.143Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T02:51:16.143Z] Successfully built ac1b044e83a5 [2023-03-09T02:51:16.143Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:51:16.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:51:16.574Z] [2023-03-09T02:51:16.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:51:16.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:51:16.871Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T02:51:16.871Z] 5eb5b503b376: Pulling fs layer [2023-03-09T02:51:16.871Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T02:51:16.871Z] ec43610c2a17: Pulling fs layer [2023-03-09T02:51:16.871Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T02:51:16.871Z] 33b1e0a273af: Pulling fs layer [2023-03-09T02:51:16.871Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T02:51:16.871Z] 2f39f015ded8: Pulling fs layer [2023-03-09T02:51:16.871Z] 3a2ae6a8a46f: Waiting [2023-03-09T02:51:16.871Z] 33b1e0a273af: Waiting [2023-03-09T02:51:16.871Z] 5d3b04190fa2: Waiting [2023-03-09T02:51:16.871Z] 5c69ac0246d0: Verifying Checksum [2023-03-09T02:51:16.871Z] 5c69ac0246d0: Download complete [2023-03-09T02:51:16.871Z] 3a2ae6a8a46f: Download complete [2023-03-09T02:51:17.131Z] ec43610c2a17: Verifying Checksum [2023-03-09T02:51:17.131Z] ec43610c2a17: Download complete [2023-03-09T02:51:17.131Z] 33b1e0a273af: Verifying Checksum [2023-03-09T02:51:17.131Z] 33b1e0a273af: Download complete [2023-03-09T02:51:17.131Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T02:51:17.131Z] 5d3b04190fa2: Download complete [2023-03-09T02:51:17.131Z] 5eb5b503b376: Verifying Checksum [2023-03-09T02:51:17.131Z] 5eb5b503b376: Download complete [2023-03-09T02:51:17.697Z] 2f39f015ded8: Download complete [2023-03-09T02:51:18.262Z] 5eb5b503b376: Pull complete [2023-03-09T02:51:18.520Z] 5c69ac0246d0: Pull complete [2023-03-09T02:51:18.779Z] ec43610c2a17: Pull complete [2023-03-09T02:51:18.779Z] 3a2ae6a8a46f: Pull complete [2023-03-09T02:51:19.039Z] 33b1e0a273af: Pull complete [2023-03-09T02:51:19.296Z] 5d3b04190fa2: Pull complete [2023-03-09T02:51:23.480Z] 2f39f015ded8: Pull complete [2023-03-09T02:51:23.480Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T02:51:23.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T02:51:23.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:51:23.556Z] prd-ubuntu20.04-docker-8c-8g-9354 does not seem to be running inside a container [2023-03-09T02:51:23.585Z] $ 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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@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-03-09T02:51:26.285Z] $ docker top 347b9e14cd92aefb957c6b346dc227c890ed1d4d79f8849023548efac96d346e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:51:26.660Z] ---> job-cost.sh [2023-03-09T02:51:26.660Z] lf-activate-venv: SKIPPING [2023-03-09T02:51:26.660Z] INFO: No Stack... [2023-03-09T02:51:26.918Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T02:51:27.487Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T02:51:27.774Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/cost.csv [2023-03-09T02:51:27.774Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T02:51:27.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] [2023-03-09T02:51:27.795Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] did not exist. Created. [2023-03-09T02:51:27.795Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T02:51:28.089Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T02:51:28.107Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T02:51:28.113Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T02:51:28.130Z] $ docker stop --time=1 347b9e14cd92aefb957c6b346dc227c890ed1d4d79f8849023548efac96d346e [2023-03-09T02:51:29.304Z] $ docker rm -f --volumes 347b9e14cd92aefb957c6b346dc227c890ed1d4d79f8849023548efac96d346e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T02:54:03.638Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9361 in /w/workspace/gexfoundry_device-mqtt-go_PR-500 [Pipeline] { [Pipeline] ws [2023-03-09T02:54:03.652Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2023-03-09T02:54:03.699Z] Selected Git installation does not exist. Using Default [2023-03-09T02:54:03.699Z] The recommended git tool is: NONE [2023-03-09T02:54:13.916Z] using credential edgex-jenkins-ssh [2023-03-09T02:54:13.941Z] Cloning the remote Git repository [2023-03-09T02:54:14.064Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T02:54:14.247Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2023-03-09T02:54:14.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T02:54:14.728Z] > git --version # timeout=10 [2023-03-09T02:54:14.862Z] > git --version # 'git version 2.25.1' [2023-03-09T02:54:14.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:54:14.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:54:16.400Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T02:54:16.465Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T02:54:18.544Z] Merging remotes/origin/main commit d895e333ff01e63b6fe1f723ceb6cf1859de49f5 into PR head commit 6249b3aa7fe097cde3b4faa92932d5e2faf4045c [2023-03-09T02:54:17.825Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-03-09T02:54:17.911Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-03-09T02:54:17.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:54:17.934Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T02:54:18.573Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:54:18.625Z] > git checkout -f 6249b3aa7fe097cde3b4faa92932d5e2faf4045c # timeout=10 [2023-03-09T02:54:18.738Z] > git remote # timeout=10 [2023-03-09T02:54:18.772Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T02:54:18.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T02:54:18.838Z] > git merge d895e333ff01e63b6fe1f723ceb6cf1859de49f5 # timeout=10 [2023-03-09T02:54:18.916Z] Merge succeeded, producing 6249b3aa7fe097cde3b4faa92932d5e2faf4045c [2023-03-09T02:54:18.917Z] Checking out Revision 6249b3aa7fe097cde3b4faa92932d5e2faf4045c (PR-500) [2023-03-09T02:54:19.820Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:54:18.888Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T02:54:18.926Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T02:54:18.954Z] > git checkout -f 6249b3aa7fe097cde3b4faa92932d5e2faf4045c # timeout=10 [2023-03-09T02:54:20.790Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T02:54:20.790Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T02:54:20.790Z] Dload Upload Total Spent Left Speed [2023-03-09T02:54:20.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-03-09T02:54:21.673Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T02:54:24.627Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T02:54:24.627Z] + sudo tee /etc/docker/daemon.new [2023-03-09T02:54:24.627Z] { [2023-03-09T02:54:24.627Z] "registry-mirrors": [ [2023-03-09T02:54:24.627Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T02:54:24.627Z] ], [2023-03-09T02:54:24.627Z] "bip": "10.250.0.254/24", [2023-03-09T02:54:24.627Z] "hosts": [ [2023-03-09T02:54:24.627Z] "tcp://0.0.0.0:5555", [2023-03-09T02:54:24.627Z] "unix:///var/run/docker.sock" [2023-03-09T02:54:24.627Z] ], [2023-03-09T02:54:24.627Z] "mtu": 1458, [2023-03-09T02:54:24.627Z] "selinux-enabled": true, [2023-03-09T02:54:24.627Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T02:54:24.627Z] } [Pipeline] sh [2023-03-09T02:54:24.973Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T02:54:25.332Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T02:54:43.659Z] provisioning config files... [2023-03-09T02:54:43.696Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config11323918376426860592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T02:54:44.083Z] ---> docker-login.sh [2023-03-09T02:54:44.083Z] nexus3.edgexfoundry.org:10001 [2023-03-09T02:54:44.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:54:44.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:54:44.966Z] Configure a credential helper to remove this warning. See [2023-03-09T02:54:44.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:54:44.966Z] [2023-03-09T02:54:44.966Z] Login Succeeded [2023-03-09T02:54:44.966Z] nexus3.edgexfoundry.org:10002 [2023-03-09T02:54:45.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:54:45.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:54:45.241Z] Configure a credential helper to remove this warning. See [2023-03-09T02:54:45.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:54:45.241Z] [2023-03-09T02:54:45.241Z] Login Succeeded [2023-03-09T02:54:45.241Z] nexus3.edgexfoundry.org:10003 [2023-03-09T02:54:45.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:54:45.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:54:45.790Z] Configure a credential helper to remove this warning. See [2023-03-09T02:54:45.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:54:45.790Z] [2023-03-09T02:54:45.790Z] Login Succeeded [2023-03-09T02:54:45.790Z] nexus3.edgexfoundry.org:10004 [2023-03-09T02:54:46.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:54:46.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:54:46.344Z] Configure a credential helper to remove this warning. See [2023-03-09T02:54:46.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:54:46.344Z] [2023-03-09T02:54:46.344Z] Login Succeeded [2023-03-09T02:54:46.344Z] docker.io [2023-03-09T02:54:46.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T02:54:46.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T02:54:46.898Z] Configure a credential helper to remove this warning. See [2023-03-09T02:54:46.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T02:54:46.898Z] [2023-03-09T02:54:46.898Z] Login Succeeded [2023-03-09T02:54:46.898Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T02:54:46.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T02:54:47.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:54:47.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T02:54:47.307Z] ========================================================= [2023-03-09T02:54:47.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T02:54:47.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:54:47.679Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-09T02:54:47.950Z] Sending build context to Docker daemon 3.292MB [2023-03-09T02:54:48.227Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:54:48.227Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-09T02:54:48.505Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T02:54:48.505Z] 9b18e9b68314: Pulling fs layer [2023-03-09T02:54:48.505Z] 35d82f9e3411: Pulling fs layer [2023-03-09T02:54:48.505Z] e16973657156: Pulling fs layer [2023-03-09T02:54:48.505Z] fc693d55d65f: Pulling fs layer [2023-03-09T02:54:48.505Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T02:54:48.505Z] dda99020689f: Pulling fs layer [2023-03-09T02:54:48.505Z] db1c61fa0a46: Pulling fs layer [2023-03-09T02:54:48.505Z] 891c053d2c06: Pulling fs layer [2023-03-09T02:54:48.505Z] fc693d55d65f: Waiting [2023-03-09T02:54:48.505Z] 7e9fc2657dce: Waiting [2023-03-09T02:54:48.505Z] dda99020689f: Waiting [2023-03-09T02:54:48.505Z] db1c61fa0a46: Waiting [2023-03-09T02:54:48.505Z] 891c053d2c06: Waiting [2023-03-09T02:54:48.505Z] e16973657156: Verifying Checksum [2023-03-09T02:54:48.505Z] e16973657156: Download complete [2023-03-09T02:54:48.505Z] 35d82f9e3411: Verifying Checksum [2023-03-09T02:54:48.505Z] 35d82f9e3411: Download complete [2023-03-09T02:54:48.505Z] 7e9fc2657dce: Verifying Checksum [2023-03-09T02:54:48.506Z] 7e9fc2657dce: Download complete [2023-03-09T02:54:48.506Z] 9b18e9b68314: Verifying Checksum [2023-03-09T02:54:48.506Z] 9b18e9b68314: Download complete [2023-03-09T02:54:48.506Z] dda99020689f: Verifying Checksum [2023-03-09T02:54:48.506Z] dda99020689f: Download complete [2023-03-09T02:54:49.941Z] 9b18e9b68314: Pull complete [2023-03-09T02:54:49.942Z] 891c053d2c06: Verifying Checksum [2023-03-09T02:54:49.942Z] 891c053d2c06: Download complete [2023-03-09T02:54:50.215Z] 35d82f9e3411: Pull complete [2023-03-09T02:54:50.495Z] e16973657156: Pull complete [2023-03-09T02:54:51.220Z] db1c61fa0a46: Verifying Checksum [2023-03-09T02:54:51.220Z] db1c61fa0a46: Download complete [2023-03-09T02:54:51.812Z] fc693d55d65f: Verifying Checksum [2023-03-09T02:54:51.812Z] fc693d55d65f: Download complete [2023-03-09T02:55:06.909Z] fc693d55d65f: Pull complete [2023-03-09T02:55:06.909Z] 7e9fc2657dce: Pull complete [2023-03-09T02:55:06.909Z] dda99020689f: Pull complete [2023-03-09T02:55:12.318Z] db1c61fa0a46: Pull complete [2023-03-09T02:55:14.928Z] 891c053d2c06: Pull complete [2023-03-09T02:55:14.928Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T02:55:14.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T02:55:14.928Z] ---> f96f9c87975a [2023-03-09T02:55:14.928Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:55:16.895Z] ---> Running in e44b0684f515 [2023-03-09T02:55:17.168Z] Removing intermediate container e44b0684f515 [2023-03-09T02:55:17.168Z] ---> d020f18a663a [2023-03-09T02:55:17.168Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:55:17.168Z] ---> Running in e4df85e67185 [2023-03-09T02:55:17.441Z] Removing intermediate container e4df85e67185 [2023-03-09T02:55:17.441Z] ---> d33845325307 [2023-03-09T02:55:17.441Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:55:17.715Z] ---> Running in f123c3e881dc [2023-03-09T02:55:17.986Z] Removing intermediate container f123c3e881dc [2023-03-09T02:55:17.986Z] ---> f57ba2bd514b [2023-03-09T02:55:17.986Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:55:17.986Z] ---> Running in d17afa353dac [2023-03-09T02:55:18.258Z] Removing intermediate container d17afa353dac [2023-03-09T02:55:18.259Z] ---> 2ee298e81f69 [2023-03-09T02:55:18.259Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:55:18.529Z] ---> Running in 154441bee0d4 [2023-03-09T02:55:19.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:55:20.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:55:21.674Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-09T02:55:21.674Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-09T02:55:21.674Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-09T02:55:21.674Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-09T02:55:21.674Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T02:55:21.674Z] OK: 226 MiB in 55 packages [2023-03-09T02:55:23.101Z] Removing intermediate container 154441bee0d4 [2023-03-09T02:55:23.101Z] ---> a07407cfa093 [2023-03-09T02:55:23.101Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-03-09T02:55:23.101Z] ---> Running in f4f8116ed44f [2023-03-09T02:55:23.371Z] Removing intermediate container f4f8116ed44f [2023-03-09T02:55:23.371Z] ---> fc06a5940fd1 [2023-03-09T02:55:23.371Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-09T02:55:23.961Z] ---> a5fdc4231a65 [2023-03-09T02:55:23.961Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:55:23.961Z] ---> Running in 4949b453de7e [2023-03-09T02:56:31.933Z] Removing intermediate container 4949b453de7e [2023-03-09T02:56:31.933Z] ---> d64f144033ee [2023-03-09T02:56:31.933Z] Step 11/12 : COPY . . [2023-03-09T02:56:32.200Z] ---> 915c41f1d86a [2023-03-09T02:56:32.200Z] Step 12/12 : RUN $MAKE [2023-03-09T02:56:32.476Z] ---> Running in 4f3adf1a12f7 [2023-03-09T02:56:33.438Z] noop [2023-03-09T02:56:34.021Z] Removing intermediate container 4f3adf1a12f7 [2023-03-09T02:56:34.021Z] ---> 2bb8acdf2eac [2023-03-09T02:56:34.021Z] Successfully built 2bb8acdf2eac [2023-03-09T02:56:34.289Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:56:34.645Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:56:34.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:56:34.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-9361 does not seem to be running inside a container [2023-03-09T02:56:34.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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-03-09T02:56:37.334Z] $ docker top 78d45d05603c3ac513f651dbaed482ae88cb89a4898878027efe177676fe1115 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:56:38.205Z] + go version [2023-03-09T02:56:38.206Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T02:56:38.230Z] $ docker stop --time=1 78d45d05603c3ac513f651dbaed482ae88cb89a4898878027efe177676fe1115 [2023-03-09T02:56:39.896Z] $ docker rm -f --volumes 78d45d05603c3ac513f651dbaed482ae88cb89a4898878027efe177676fe1115 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:56:40.456Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T02:56:40.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T02:56:40.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-9361 does not seem to be running inside a container [2023-03-09T02:56:40.745Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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-03-09T02:56:42.141Z] $ docker top ef3b3524126a3333959d5d22e6c1f603aae209fc3567ea88dbae65ff7b5ce31b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T02:56:43.008Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh [2023-03-09T02:56:43.673Z] + make test [2023-03-09T02:56:43.673Z] go test ./... -coverprofile=coverage.out ./... [2023-03-09T02:56:45.089Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-03-09T02:58:21.757Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-03-09T02:58:21.757Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 21.8% of statements [2023-03-09T02:58:21.757Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-03-09T02:58:21.757Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T02:58:21.757Z] go vet ./... [2023-03-09T02:58:43.835Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T02:58:43.835Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T02:58:43.835Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T02:58:43.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T02:58:43.887Z] $ docker stop --time=1 ef3b3524126a3333959d5d22e6c1f603aae209fc3567ea88dbae65ff7b5ce31b [2023-03-09T02:58:45.730Z] $ docker rm -f --volumes ef3b3524126a3333959d5d22e6c1f603aae209fc3567ea88dbae65ff7b5ce31b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T02:58:46.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T02:58:46.725Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T02:58:47.297Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T02:58:47.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T02:58:48.000Z] + ls -al . [2023-03-09T02:58:48.000Z] total 180 [2023-03-09T02:58:48.000Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:56 . [2023-03-09T02:58:48.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:54 .. [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 02:54 .dockerignore [2023-03-09T02:58:48.000Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:54 .git [2023-03-09T02:58:48.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:54 .github [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 9 02:54 .gitignore [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:54 .golangci.yml [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 9407 Mar 9 02:54 Attribution.txt [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 13162 Mar 9 02:54 CHANGELOG.md [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 1689 Mar 9 02:54 Dockerfile [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:54 GOVERNANCE.md [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 9 02:54 Jenkinsfile [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:54 LICENSE [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 1697 Mar 9 02:54 Makefile [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 9 02:54 OWNERS.md [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 3165 Mar 9 02:54 README.md [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:49 VERSION [2023-03-09T02:58:48.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:54 bin [2023-03-09T02:58:48.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:54 cmd [2023-03-09T02:58:48.000Z] -rw-r--r-- 1 jenkins jenkins 17887 Mar 9 02:58 coverage.out [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 3376 Mar 9 02:54 go.mod [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 33279 Mar 9 02:54 go.sum [2023-03-09T02:58:48.000Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:54 internal [2023-03-09T02:58:48.000Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:54 mock [2023-03-09T02:58:48.000Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:54 snap [2023-03-09T02:58:48.000Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 9 02:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T02:58:48.348Z] + 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=6249b3aa7fe097cde3b4faa92932d5e2faf4045c --label arch=arm64 --label version=0.0.0 . [2023-03-09T02:58:48.616Z] Sending build context to Docker daemon 3.31MB [2023-03-09T02:58:48.616Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T02:58:48.616Z] Step 2/24 : FROM ${BASE} AS builder [2023-03-09T02:58:48.616Z] ---> 2bb8acdf2eac [2023-03-09T02:58:48.616Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-03-09T02:58:49.208Z] ---> Running in c74d2328ea22 [2023-03-09T02:58:49.805Z] Removing intermediate container c74d2328ea22 [2023-03-09T02:58:49.805Z] ---> c62ad08bbd2c [2023-03-09T02:58:49.805Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-09T02:58:49.805Z] ---> Running in cd6287a9904f [2023-03-09T02:58:50.086Z] Removing intermediate container cd6287a9904f [2023-03-09T02:58:50.086Z] ---> ed57fc06f2dd [2023-03-09T02:58:50.086Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-09T02:58:50.086Z] ---> Running in a2a2ae01eb02 [2023-03-09T02:58:50.682Z] Removing intermediate container a2a2ae01eb02 [2023-03-09T02:58:50.682Z] ---> 8355d11084ce [2023-03-09T02:58:50.682Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-03-09T02:58:50.682Z] ---> Running in 3e32b3cd8697 [2023-03-09T02:58:50.952Z] Removing intermediate container 3e32b3cd8697 [2023-03-09T02:58:50.952Z] ---> cf47a1a275a0 [2023-03-09T02:58:50.952Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-09T02:58:50.952Z] ---> Running in 5f1277c725ec [2023-03-09T02:58:52.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T02:58:52.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T02:58:53.810Z] OK: 226 MiB in 55 packages [2023-03-09T02:58:54.404Z] Removing intermediate container 5f1277c725ec [2023-03-09T02:58:54.404Z] ---> 2f4a84928411 [2023-03-09T02:58:54.404Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-03-09T02:58:54.675Z] ---> Running in 4f90c16df245 [2023-03-09T02:58:54.945Z] Removing intermediate container 4f90c16df245 [2023-03-09T02:58:54.945Z] ---> 163ef56982ab [2023-03-09T02:58:54.945Z] Step 9/24 : COPY go.mod vendor* ./ [2023-03-09T02:58:55.536Z] ---> 1c4be162a2a0 [2023-03-09T02:58:55.536Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T02:58:55.536Z] ---> Running in d3a7c3efb963 [2023-03-09T02:58:58.905Z] Removing intermediate container d3a7c3efb963 [2023-03-09T02:58:58.905Z] ---> b336093b1a16 [2023-03-09T02:58:58.905Z] Step 11/24 : COPY . . [2023-03-09T02:58:59.494Z] ---> bad50f33303f [2023-03-09T02:58:59.494Z] Step 12/24 : RUN $MAKE [2023-03-09T02:58:59.767Z] ---> Running in df110658e9d6 [2023-03-09T02:59:00.745Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-03-09T03:01:22.519Z] Removing intermediate container df110658e9d6 [2023-03-09T03:01:22.519Z] ---> ee9c12540309 [2023-03-09T03:01:22.519Z] Step 13/24 : FROM alpine:3.16 [2023-03-09T03:01:22.519Z] 3.16: Pulling from library/alpine [2023-03-09T03:01:22.519Z] 3760b48202b3: Pulling fs layer [2023-03-09T03:01:22.519Z] 3760b48202b3: Verifying Checksum [2023-03-09T03:01:22.519Z] 3760b48202b3: Download complete [2023-03-09T03:01:22.519Z] 3760b48202b3: Pull complete [2023-03-09T03:01:22.519Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T03:01:22.519Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T03:01:22.519Z] ---> 4c81e5bf8899 [2023-03-09T03:01:22.519Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-03-09T03:01:22.519Z] ---> Running in f84a804fa8a2 [2023-03-09T03:01:22.519Z] Removing intermediate container f84a804fa8a2 [2023-03-09T03:01:22.519Z] ---> 726720139d84 [2023-03-09T03:01:22.519Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-03-09T03:01:22.519Z] ---> Running in 40f39ca91eeb [2023-03-09T03:01:22.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:01:22.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:01:22.519Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-09T03:01:22.519Z] Executing busybox-1.35.0-r17.trigger [2023-03-09T03:01:22.519Z] OK: 5 MiB in 15 packages [2023-03-09T03:01:22.519Z] Removing intermediate container 40f39ca91eeb [2023-03-09T03:01:22.519Z] ---> a16c21ce2347 [2023-03-09T03:01:22.519Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-03-09T03:01:23.105Z] ---> 7ea2318e8a08 [2023-03-09T03:01:23.105Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-03-09T03:01:23.696Z] ---> d51e69824c5b [2023-03-09T03:01:23.696Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-03-09T03:01:23.966Z] ---> 6dbc98828de6 [2023-03-09T03:01:23.966Z] Step 19/24 : EXPOSE 59982 [2023-03-09T03:01:24.235Z] ---> Running in 7036cf2c3df8 [2023-03-09T03:01:24.502Z] Removing intermediate container 7036cf2c3df8 [2023-03-09T03:01:24.502Z] ---> 096f45ccd1d5 [2023-03-09T03:01:24.502Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-03-09T03:01:24.502Z] ---> Running in b747f911388e [2023-03-09T03:01:24.768Z] Removing intermediate container b747f911388e [2023-03-09T03:01:24.768Z] ---> cbe1292b7847 [2023-03-09T03:01:24.768Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-09T03:01:24.768Z] ---> Running in dd9a9b0c75eb [2023-03-09T03:01:25.363Z] Removing intermediate container dd9a9b0c75eb [2023-03-09T03:01:25.363Z] ---> 54562fb56569 [2023-03-09T03:01:25.363Z] Step 22/24 : LABEL arch=arm64 [2023-03-09T03:01:25.363Z] ---> Running in 785457cd8413 [2023-03-09T03:01:25.631Z] Removing intermediate container 785457cd8413 [2023-03-09T03:01:25.631Z] ---> a25ee8ea8f56 [2023-03-09T03:01:25.631Z] Step 23/24 : LABEL git_sha=6249b3aa7fe097cde3b4faa92932d5e2faf4045c [2023-03-09T03:01:25.631Z] ---> Running in 1d9ebf8f39ca [2023-03-09T03:01:25.901Z] Removing intermediate container 1d9ebf8f39ca [2023-03-09T03:01:25.901Z] ---> c88d47d528c3 [2023-03-09T03:01:25.901Z] Step 24/24 : LABEL version=0.0.0 [2023-03-09T03:01:26.171Z] ---> Running in 96d48beab3a9 [2023-03-09T03:01:26.439Z] Removing intermediate container 96d48beab3a9 [2023-03-09T03:01:26.439Z] ---> 1d5d0c7e0104 [2023-03-09T03:01:26.439Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T03:01:26.439Z] Successfully built 1d5d0c7e0104 [2023-03-09T03:01:26.439Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:01:26.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:01:26.915Z] [2023-03-09T03:01:26.915Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:01:27.258Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:01:27.258Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T03:01:27.258Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T03:01:27.258Z] 04944245beec: Pulling fs layer [2023-03-09T03:01:27.258Z] 699f458cf7ca: Pulling fs layer [2023-03-09T03:01:27.258Z] 765212b225bb: Pulling fs layer [2023-03-09T03:01:27.258Z] f23df028b6ca: Pulling fs layer [2023-03-09T03:01:27.258Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T03:01:27.258Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T03:01:27.258Z] f23df028b6ca: Waiting [2023-03-09T03:01:27.258Z] d65c8cfc05b1: Waiting [2023-03-09T03:01:27.258Z] 2437ff75d9bd: Waiting [2023-03-09T03:01:27.258Z] 765212b225bb: Waiting [2023-03-09T03:01:27.530Z] 04944245beec: Verifying Checksum [2023-03-09T03:01:27.530Z] 04944245beec: Download complete [2023-03-09T03:01:27.530Z] 765212b225bb: Download complete [2023-03-09T03:01:27.530Z] f23df028b6ca: Download complete [2023-03-09T03:01:27.800Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T03:01:27.800Z] d65c8cfc05b1: Download complete [2023-03-09T03:01:27.800Z] 699f458cf7ca: Verifying Checksum [2023-03-09T03:01:27.800Z] 699f458cf7ca: Download complete [2023-03-09T03:01:28.070Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T03:01:28.070Z] 8998bd30e6a1: Download complete [2023-03-09T03:01:30.665Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T03:01:30.665Z] 2437ff75d9bd: Download complete [2023-03-09T03:01:32.078Z] 8998bd30e6a1: Pull complete [2023-03-09T03:01:32.670Z] 04944245beec: Pull complete [2023-03-09T03:01:34.080Z] 699f458cf7ca: Pull complete [2023-03-09T03:01:34.080Z] 765212b225bb: Pull complete [2023-03-09T03:01:35.043Z] f23df028b6ca: Pull complete [2023-03-09T03:01:35.043Z] d65c8cfc05b1: Pull complete [2023-03-09T03:01:50.041Z] 2437ff75d9bd: Pull complete [2023-03-09T03:01:50.041Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T03:01:50.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:01:50.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:01:50.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-9361 does not seem to be running inside a container [2023-03-09T03:01:50.383Z] $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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-03-09T03:01:53.119Z] $ docker top 993206adaf953969299f8186078961e87841b93c072b11c55bb6f27e12ba1c25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:01:54.023Z] ---> job-cost.sh [2023-03-09T03:01:54.024Z] lf-activate-venv: SKIPPING [2023-03-09T03:01:54.024Z] INFO: No Stack... [2023-03-09T03:01:54.296Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T03:01:55.263Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T03:01:55.911Z] + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [2023-03-09T03:01:55.911Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T03:01:55.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] [2023-03-09T03:01:55.991Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] did not exist. Created. [2023-03-09T03:01:55.991Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T03:01:56.647Z] /w/workspace/device-mqtt-go/5@tmp/durable-67e25063/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T03:01:57.305Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T03:01:57.327Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T03:01:57.374Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T03:01:57.383Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-500-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T03:01:57.407Z] $ docker stop --time=1 993206adaf953969299f8186078961e87841b93c072b11c55bb6f27e12ba1c25 [2023-03-09T03:01:58.924Z] $ docker rm -f --volumes 993206adaf953969299f8186078961e87841b93c072b11c55bb6f27e12ba1c25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-09T03:01:59.262Z] provisioning config files... [2023-03-09T03:01:59.268Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config11970185719680402496tmp [Pipeline] { [Pipeline] sh [2023-03-09T03:01:59.558Z] + set +x [2023-03-09T03:01:59.558Z] + curl -s https://codecov.io/bash [2023-03-09T03:01:59.558Z] + bash -s -- [2023-03-09T03:01:59.558Z] [2023-03-09T03:01:59.558Z] _____ _ [2023-03-09T03:01:59.558Z] / ____| | | [2023-03-09T03:01:59.558Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T03:01:59.558Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T03:01:59.558Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T03:01:59.558Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T03:01:59.558Z] Bash-1.0.6 [2023-03-09T03:01:59.558Z] [2023-03-09T03:01:59.558Z] [2023-03-09T03:01:59.558Z] ==> git version 2.25.1 found [2023-03-09T03:01:59.558Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-09T03:01:59.558Z] Release-Date: 2020-01-08 [2023-03-09T03:01:59.558Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-09T03:01:59.558Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T03:01:59.558Z] ==> Jenkins CI detected. [2023-03-09T03:01:59.558Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-500 [2023-03-09T03:01:59.558Z] project root: . [2023-03-09T03:01:59.558Z] --> token set from env [2023-03-09T03:01:59.558Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T03:01:59.558Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T03:01:59.558Z] ==> Python coveragepy not found [2023-03-09T03:01:59.558Z] ==> Searching for coverage reports in: [2023-03-09T03:01:59.558Z] + . [2023-03-09T03:01:59.558Z] -> Found 1 reports [2023-03-09T03:01:59.558Z] ==> Detecting git/mercurial file structure [2023-03-09T03:01:59.558Z] ==> Reading reports [2023-03-09T03:01:59.817Z] + ./coverage.out bytes=17887 [2023-03-09T03:01:59.817Z] ==> Appending adjustments [2023-03-09T03:01:59.817Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T03:01:59.817Z] + Found adjustments [2023-03-09T03:01:59.817Z] ==> Gzipping contents [2023-03-09T03:01:59.817Z] 4.0K /tmp/codecov.S3wyRu.gz [2023-03-09T03:01:59.817Z] ==> Uploading reports [2023-03-09T03:01:59.817Z] url: https://codecov.io [2023-03-09T03:01:59.817Z] query: branch=PR-500&commit=6249b3aa7fe097cde3b4faa92932d5e2faf4045c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-500%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-03-09T03:01:59.817Z] -> Pinging Codecov [2023-03-09T03:01:59.817Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-500&commit=6249b3aa7fe097cde3b4faa92932d5e2faf4045c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-500%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=500&job=&cmd_args= [2023-03-09T03:02:26.382Z] upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [2023-03-09T03:02:26.382Z] 503 [2023-03-09T03:02:26.382Z] ==> Uploading to Codecov [2023-03-09T03:02:26.382Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T03:02:26.382Z] Dload Upload Total Spent Left Speed [2023-03-09T03:02:27.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 2631 0:00:01 0:00:01 --:--:-- 2631 100 3171 0 0 100 3171 0 1585 0:00:02 0:00:02 --:--:-- 1585 100 3171 0 0 100 3171 0 1056 0:00:03 0:00:03 --:--:-- 1056 100 3262 100 91 100 3171 29 1038 0:00:03 0:00:03 --:--:-- 1068 [2023-03-09T03:02:27.208Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries [2023-03-09T03:02:27.208Z] Warning: left. [2023-03-09T03:02:32.360Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 3164 0:00:01 0:00:01 --:--:-- 3164 100 3171 0 0 100 3171 0 1584 0:00:02 0:00:02 --:--:-- 1584 100 3171 0 0 100 3171 0 1055 0:00:03 0:00:03 --:--:-- 1056 100 3262 100 91 100 3171 29 1044 0:00:03 0:00:03 --:--:-- 1074 [2023-03-09T03:02:32.360Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries [2023-03-09T03:02:32.360Z] Warning: left. [2023-03-09T03:02:35.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 3164 0:00:01 0:00:01 --:--:-- 3164 100 3262 100 91 100 3171 59 2065 0:00:01 0:00:01 --:--:-- 2125 [2023-03-09T03:02:35.771Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries [2023-03-09T03:02:35.771Z] Warning: left. [2023-03-09T03:02:40.928Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 3167 0:00:01 0:00:01 --:--:-- 3167 100 3171 0 0 100 3171 0 1583 0:00:02 0:00:02 --:--:-- 1584 100 3171 0 0 100 3171 0 1055 0:00:03 0:00:03 --:--:-- 1055 100 3262 100 91 100 3171 29 1044 0:00:03 0:00:03 --:--:-- 1074 [2023-03-09T03:02:40.928Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries [2023-03-09T03:02:40.928Z] Warning: left. [2023-03-09T03:02:45.637Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3171 0 0 100 3171 0 3167 0:00:01 0:00:01 --:--:-- 3167 100 3171 0 0 100 3171 0 1584 0:00:02 0:00:02 --:--:-- 1584 100 3171 0 0 100 3171 0 1055 0:00:03 0:00:03 --:--:-- 1055 100 3262 100 91 100 3171 30 1045 0:00:03 0:00:03 --:--:-- 1076 [2023-03-09T03:02:45.637Z] Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries [2023-03-09T03:02:45.637Z] Warning: left. [2023-03-09T03:02:48.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3262 100 91 100 3171 2022 70466 --:--:-- --:--:-- --:--:-- 72488 [2023-03-09T03:02:48.169Z] upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [Pipeline] } [2023-03-09T03:02:48.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-09T03:02:48.802Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives ] [2023-03-09T03:02:48.802Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-03-09T03:02:48.802Z] total 16 [2023-03-09T03:02:48.802Z] drwxr-xr-x 3 root root 4096 Mar 9 02:51 . [2023-03-09T03:02:48.802Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 02:51 .. [2023-03-09T03:02:48.802Z] drwxr-xr-x 2 root root 4096 Mar 9 02:51 cost [2023-03-09T03:02:48.802Z] -rw-r--r-- 1 root root 86 Mar 9 02:51 cost.csv [2023-03-09T03:02:48.802Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-03-09T03:02:48.802Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives [2023-03-09T03:02:48.802Z] total 16 [2023-03-09T03:02:48.802Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:51 . [2023-03-09T03:02:48.802Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 02:51 .. [2023-03-09T03:02:48.802Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:51 cost [2023-03-09T03:02:48.802Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 9 02:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:49.088Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:49.946Z] ---> package-listing.sh [2023-03-09T03:02:49.946Z] ++ facter osfamily [2023-03-09T03:02:49.946Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T03:02:50.204Z] + OS_FAMILY=debian [2023-03-09T03:02:50.204Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-500 [2023-03-09T03:02:50.204Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T03:02:50.204Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T03:02:50.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T03:02:50.204Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T03:02:50.204Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-500 ']' [2023-03-09T03:02:50.204Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T03:02:50.204Z] + case "${OS_FAMILY}" in [2023-03-09T03:02:50.204Z] + dpkg -l [2023-03-09T03:02:50.204Z] + grep '^ii' [2023-03-09T03:02:50.204Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T03:02:50.204Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T03:02:50.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T03:02:50.204Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-500 ']' [2023-03-09T03:02:50.204Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/ [2023-03-09T03:02:50.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-500/archives/ [Pipeline] echo [2023-03-09T03:02:50.216Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T03:02:50.493Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:02:51.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:02:51.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:02:51.120Z] prd-ubuntu20.04-docker-8c-8g-9354 does not seem to be running inside a container [2023-03-09T03:02:51.149Z] $ 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-500/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-500 -v /w/workspace/gexfoundry_device-mqtt-go_PR-500:/w/workspace/gexfoundry_device-mqtt-go_PR-500:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T03:02:51.354Z] $ docker top 08917c2d8fe2b92b2c53d0636402ec58923e1afff24256fd9393b45cccc427ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:02:51.695Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T03:02:51.981Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T03:02:52.267Z] + ls /var/log/sa-host [2023-03-09T03:02:52.267Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:02:52.334Z] provisioning config files... [2023-03-09T03:02:52.342Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-500@tmp/config9240657150714118093tmp [Pipeline] { [Pipeline] echo [2023-03-09T03:02:52.357Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:52.651Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T03:02:52.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:52.979Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T03:02:52.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:53.273Z] ---> sudo-logs.sh [2023-03-09T03:02:53.273Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T03:02:53.302Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:53.582Z] ---> job-cost.sh [2023-03-09T03:02:53.582Z] lf-activate-venv: SKIPPING [2023-03-09T03:02:53.582Z] DEBUG: total: 0.2199999988079071 [2023-03-09T03:02:53.582Z] INFO: Retrieving Stack Cost... [2023-03-09T03:02:53.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T03:02:54.407Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T03:02:54.418Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:02:54.698Z] ---> logs-deploy.sh [2023-03-09T03:02:54.698Z] lf-activate-venv: SKIPPING [2023-03-09T03:02:54.698Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-500/5 [2023-03-09T03:02:54.698Z] INFO: archiving workspace using pattern(s): [2023-03-09T03:02:55.633Z] Archives upload complete. [2023-03-09T03:02:55.633Z] INFO: archiving logs to Nexus