Pull request #397 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 2c395e916656ff011f59f73b4cbc9d122ab02d46 rather than 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 Obtained Jenkinsfile from 2c395e916656ff011f59f73b4cbc9d122ab02d46 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-ssh3255562832653186528.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh7826351815010070680.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15298640973424267166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5162447167619038661.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh309260959596582657.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3938589524799420744.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16345 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [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-397 # 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 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 Merge succeeded, producing 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 Checking out Revision 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 (PR-397) > 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/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T15:17:07.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T15:17:07.906Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T15:17:07.994Z] ========================================================= [2022-06-29T15:17:07.994Z] EdgeX Global Pipelines Version Info [2022-06-29T15:17:07.994Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:17:08.794Z] ------------------- [2022-06-29T15:17:08.794Z] stable info: [2022-06-29T15:17:08.794Z] ------------------- [2022-06-29T15:17:08.794Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T15:17:08.794Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:17:08.794Z] Message: update stable to v1.0.234 [2022-06-29T15:17:09.370Z] ------------------- [2022-06-29T15:17:09.370Z] experimental info: [2022-06-29T15:17:09.370Z] ------------------- [2022-06-29T15:17:09.370Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T15:17:09.370Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:17:09.370Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T15:17:09.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-29T15:17:09.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-29T15:17:09.846Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T15:17:09.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T15:17:09.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T15:17:09.960Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T15:17:10.002Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T15:17:10.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T15:17:10.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T15:17:10.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T15:17:10.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T15:17:10.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-29T15:17:10.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T15:17:10.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T15:17:10.338Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:17:10.379Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:17:10.421Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:17:10.462Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:17:10.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T15:17:10.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T15:17:10.580Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T15:17:10.616Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T15:17:10.654Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T15:17:10.694Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T15:17:10.736Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T15:17:10.774Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T15:17:10.815Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T15:17:10.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:17:10.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:17:10.936Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2022-06-29T15:17:10.975Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [Pipeline] echo [2022-06-29T15:17:11.016Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18bdc01 [Pipeline] echo [2022-06-29T15:17:11.064Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:17:11.171Z] provisioning config files... [2022-06-29T15:17:11.187Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config7312588383305939143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:17:11.531Z] ---> docker-login.sh [2022-06-29T15:17:11.531Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:17:11.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:11.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:11.792Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:11.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:11.792Z] [2022-06-29T15:17:12.053Z] Login Succeeded [2022-06-29T15:17:12.053Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:17:12.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:12.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:12.053Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:12.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:12.053Z] [2022-06-29T15:17:12.053Z] Login Succeeded [2022-06-29T15:17:12.053Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:17:12.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:12.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:12.315Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:12.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:12.315Z] [2022-06-29T15:17:12.315Z] Login Succeeded [2022-06-29T15:17:12.315Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:17:12.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:12.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:12.315Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:12.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:12.315Z] [2022-06-29T15:17:12.315Z] Login Succeeded [2022-06-29T15:17:12.315Z] docker.io [2022-06-29T15:17:12.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:12.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:12.838Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:12.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:12.838Z] [2022-06-29T15:17:12.838Z] Login Succeeded [2022-06-29T15:17:12.838Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:17:12.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T15:17:13.514Z] + git rev-list -1 --merges 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0~1..18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [Pipeline] echo [2022-06-29T15:17:13.563Z] -----------> git rev-list -1 --merges 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0~1..18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [false] [Pipeline] sh [2022-06-29T15:17:13.877Z] + git log --format=format:%s -1 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [Pipeline] echo [2022-06-29T15:17:13.914Z] ========================================================= [2022-06-29T15:17:13.914Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T15:17:13.914Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:17:14.366Z] + git log --format=format:%s -1 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [Pipeline] echo [2022-06-29T15:17:14.399Z] [semverPrep] GIT_COMMIT: 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0, Commit Message: refactor(snap): edgex-snap-hooks related upgrade [Pipeline] echo [2022-06-29T15:17:14.433Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T15:17:14.848Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T15:17:14.848Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T15:17:14.848Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T15:17:14.848Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T15:17:14.848Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T15:17:14.848Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T15:17:14.848Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:17:15.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:17:15.361Z] [2022-06-29T15:17:15.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:17:15.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:17:15.762Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T15:17:15.762Z] 42c077c10790: Pulling fs layer [2022-06-29T15:17:15.762Z] f63e77b7563a: Pulling fs layer [2022-06-29T15:17:15.762Z] bd5fdadae976: Pulling fs layer [2022-06-29T15:17:15.762Z] 205491f53016: Pulling fs layer [2022-06-29T15:17:15.762Z] df18705c85c3: Pulling fs layer [2022-06-29T15:17:15.762Z] bdb3f477010e: Pulling fs layer [2022-06-29T15:17:15.762Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T15:17:15.762Z] df18705c85c3: Waiting [2022-06-29T15:17:15.762Z] 205491f53016: Waiting [2022-06-29T15:17:15.762Z] bdb3f477010e: Waiting [2022-06-29T15:17:15.762Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T15:17:15.762Z] bdb8f0575790: Pulling fs layer [2022-06-29T15:17:15.762Z] c8a8fc8e1c8f: Waiting [2022-06-29T15:17:15.762Z] 2c6e9b1d212d: Waiting [2022-06-29T15:17:15.762Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T15:17:15.762Z] 2343380bae48: Pulling fs layer [2022-06-29T15:17:15.762Z] 2343380bae48: Waiting [2022-06-29T15:17:15.762Z] bdb8f0575790: Waiting [2022-06-29T15:17:15.762Z] 386e3cb2ff24: Waiting [2022-06-29T15:17:15.762Z] f63e77b7563a: Verifying Checksum [2022-06-29T15:17:15.762Z] f63e77b7563a: Download complete [2022-06-29T15:17:15.762Z] 205491f53016: Download complete [2022-06-29T15:17:16.032Z] df18705c85c3: Verifying Checksum [2022-06-29T15:17:16.032Z] df18705c85c3: Download complete [2022-06-29T15:17:16.032Z] bdb3f477010e: Verifying Checksum [2022-06-29T15:17:16.032Z] bdb3f477010e: Download complete [2022-06-29T15:17:16.032Z] bd5fdadae976: Verifying Checksum [2022-06-29T15:17:16.032Z] bd5fdadae976: Download complete [2022-06-29T15:17:16.032Z] 2c6e9b1d212d: Download complete [2022-06-29T15:17:16.032Z] bdb8f0575790: Verifying Checksum [2022-06-29T15:17:16.032Z] bdb8f0575790: Download complete [2022-06-29T15:17:16.032Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T15:17:16.032Z] 386e3cb2ff24: Download complete [2022-06-29T15:17:16.032Z] 2343380bae48: Verifying Checksum [2022-06-29T15:17:16.032Z] 2343380bae48: Download complete [2022-06-29T15:17:16.032Z] 42c077c10790: Verifying Checksum [2022-06-29T15:17:16.032Z] 42c077c10790: Download complete [2022-06-29T15:17:16.292Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T15:17:16.292Z] c8a8fc8e1c8f: Download complete [2022-06-29T15:17:17.673Z] 42c077c10790: Pull complete [2022-06-29T15:17:17.673Z] f63e77b7563a: Pull complete [2022-06-29T15:17:18.245Z] bd5fdadae976: Pull complete [2022-06-29T15:17:18.245Z] 205491f53016: Pull complete [2022-06-29T15:17:18.505Z] df18705c85c3: Pull complete [2022-06-29T15:17:18.505Z] bdb3f477010e: Pull complete [2022-06-29T15:17:20.416Z] c8a8fc8e1c8f: Pull complete [2022-06-29T15:17:20.416Z] 2c6e9b1d212d: Pull complete [2022-06-29T15:17:20.678Z] bdb8f0575790: Pull complete [2022-06-29T15:17:20.678Z] 386e3cb2ff24: Pull complete [2022-06-29T15:17:20.678Z] 2343380bae48: Pull complete [2022-06-29T15:17:20.941Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T15:17:20.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:17:20.942Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:17:21.179Z] prd-ubuntu20.04-docker-8c-8g-16345 does not seem to be running inside a container [2022-06-29T15:17:21.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@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 [2022-06-29T15:17:22.681Z] $ docker top d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T15:17:22.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:17:22.878Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:17:23.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:17:23.006Z] $ docker exec d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d ssh-agent [2022-06-29T15:17:23.125Z] SSH_AUTH_SOCK=/tmp/ssh-MEAG6DdrKcUL/agent.33 [2022-06-29T15:17:23.125Z] SSH_AGENT_PID=40 [2022-06-29T15:17:23.130Z] Running ssh-add (command line suppressed) [2022-06-29T15:17:23.238Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_3215085671345411095.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_3215085671345411095.key) [2022-06-29T15:17:23.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:17:23.586Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T15:17:23.610Z] $ docker exec --env ******** --env ******** d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d ssh-agent -k [2022-06-29T15:17:23.720Z] unset SSH_AUTH_SOCK; [2022-06-29T15:17:23.721Z] unset SSH_AGENT_PID; [2022-06-29T15:17:23.721Z] echo Agent pid 40 killed; [2022-06-29T15:17:23.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T15:17:23.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:17:23.836Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:17:23.973Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:17:23.977Z] $ docker exec d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d ssh-agent [2022-06-29T15:17:24.115Z] SSH_AUTH_SOCK=/tmp/ssh-XJJDeuiqm7mh/agent.72 [2022-06-29T15:17:24.115Z] SSH_AGENT_PID=78 [2022-06-29T15:17:24.121Z] Running ssh-add (command line suppressed) [2022-06-29T15:17:24.256Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_5824290355777686681.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_5824290355777686681.key) [2022-06-29T15:17:24.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:17:24.603Z] + git semver init [2022-06-29T15:17:24.863Z] 2022-06-29 15:17:24,798 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T15:17:24.863Z] 2022-06-29 15:17:24,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T15:17:24.863Z] 2022-06-29 15:17:24,799 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T15:17:24.863Z] 2022-06-29 15:17:24,799 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-397, universal_newlines=False, shell=None, istream=None) [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,547 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.git/info/exclude [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,547 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 with force:False [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,547 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,552 [execute] INFO git cat-file --batch-check [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,558 [execute] INFO git cat-file --batch [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,558 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver, universal_newlines=False, shell=None, istream=) [2022-06-29T15:17:25.809Z] 2022-06-29 15:17:25,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:17:25.809Z] 0.0.0 [Pipeline] } [2022-06-29T15:17:25.832Z] $ docker exec --env ******** --env ******** d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d ssh-agent -k [2022-06-29T15:17:25.938Z] unset SSH_AUTH_SOCK; [2022-06-29T15:17:25.939Z] unset SSH_AGENT_PID; [2022-06-29T15:17:25.939Z] echo Agent pid 78 killed; [2022-06-29T15:17:25.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T15:17:26.375Z] + git semver [Pipeline] } [2022-06-29T15:17:26.665Z] $ docker stop --time=1 d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d [2022-06-29T15:17:27.999Z] $ docker rm -f d23c1afbcd4f79f3a26062022f9525133d70f609c2b474a05270a690a79d5b3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:17:28.429Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T15:17:28.734Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T15:17:28.752Z] [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 [2022-06-29T15:17:29.375Z] provisioning config files... [2022-06-29T15:17:29.391Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config2425649677331800301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:17:29.741Z] ---> docker-login.sh [2022-06-29T15:17:29.741Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:17:29.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:29.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:29.741Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:29.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:29.741Z] [2022-06-29T15:17:29.741Z] Login Succeeded [2022-06-29T15:17:29.741Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:17:29.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:30.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:30.003Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:30.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:30.003Z] [2022-06-29T15:17:30.003Z] Login Succeeded [2022-06-29T15:17:30.003Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:17:30.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:30.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:30.003Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:30.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:30.003Z] [2022-06-29T15:17:30.003Z] Login Succeeded [2022-06-29T15:17:30.003Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:17:30.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:30.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:30.265Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:30.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:30.265Z] [2022-06-29T15:17:30.265Z] Login Succeeded [2022-06-29T15:17:30.265Z] docker.io [2022-06-29T15:17:30.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:17:30.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:17:30.526Z] Configure a credential helper to remove this warning. See [2022-06-29T15:17:30.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:17:30.526Z] [2022-06-29T15:17:30.526Z] Login Succeeded [2022-06-29T15:17:30.526Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:17:30.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:17:30.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:17:30.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:17:30.826Z] ========================================================= [2022-06-29T15:17:30.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T15:17:30.826Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:17:31.291Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T15:17:31.291Z] Sending build context to Docker daemon 6.044MB [2022-06-29T15:17:31.291Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:17:31.291Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:17:31.291Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T15:17:31.291Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T15:17:31.291Z] 666ba61612fd: Pulling fs layer [2022-06-29T15:17:31.291Z] 8ed8ca486205: Pulling fs layer [2022-06-29T15:17:31.291Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T15:17:31.291Z] c516ae0d96e1: Pulling fs layer [2022-06-29T15:17:31.291Z] 684cea983483: Pulling fs layer [2022-06-29T15:17:31.291Z] dd3240ac7de5: Pulling fs layer [2022-06-29T15:17:31.291Z] b1e948a4e11c: Pulling fs layer [2022-06-29T15:17:31.291Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T15:17:31.291Z] 646ad004c059: Pulling fs layer [2022-06-29T15:17:31.291Z] cc1cd167ecdc: Waiting [2022-06-29T15:17:31.291Z] c516ae0d96e1: Waiting [2022-06-29T15:17:31.291Z] 684cea983483: Waiting [2022-06-29T15:17:31.291Z] dd3240ac7de5: Waiting [2022-06-29T15:17:31.291Z] b1e948a4e11c: Waiting [2022-06-29T15:17:31.291Z] a8fd76ee1af6: Waiting [2022-06-29T15:17:31.291Z] 646ad004c059: Waiting [2022-06-29T15:17:31.291Z] 8ed8ca486205: Verifying Checksum [2022-06-29T15:17:31.291Z] 8ed8ca486205: Download complete [2022-06-29T15:17:31.291Z] 666ba61612fd: Download complete [2022-06-29T15:17:31.291Z] c516ae0d96e1: Download complete [2022-06-29T15:17:31.291Z] 684cea983483: Verifying Checksum [2022-06-29T15:17:31.291Z] 684cea983483: Download complete [2022-06-29T15:17:31.553Z] 59bf1c3509f3: Download complete [2022-06-29T15:17:31.553Z] dd3240ac7de5: Verifying Checksum [2022-06-29T15:17:31.553Z] dd3240ac7de5: Download complete [2022-06-29T15:17:31.553Z] b1e948a4e11c: Verifying Checksum [2022-06-29T15:17:31.553Z] b1e948a4e11c: Download complete [2022-06-29T15:17:31.553Z] 59bf1c3509f3: Pull complete [2022-06-29T15:17:31.818Z] 666ba61612fd: Pull complete [2022-06-29T15:17:31.818Z] 8ed8ca486205: Pull complete [2022-06-29T15:17:32.086Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T15:17:32.086Z] a8fd76ee1af6: Download complete [2022-06-29T15:17:32.086Z] 646ad004c059: Verifying Checksum [2022-06-29T15:17:32.086Z] 646ad004c059: Download complete [2022-06-29T15:17:32.344Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T15:17:32.344Z] cc1cd167ecdc: Download complete [2022-06-29T15:17:35.633Z] cc1cd167ecdc: Pull complete [2022-06-29T15:17:35.894Z] c516ae0d96e1: Pull complete [2022-06-29T15:17:35.894Z] 684cea983483: Pull complete [2022-06-29T15:17:35.894Z] dd3240ac7de5: Pull complete [2022-06-29T15:17:36.154Z] b1e948a4e11c: Pull complete [2022-06-29T15:17:38.059Z] a8fd76ee1af6: Pull complete [2022-06-29T15:17:38.634Z] 646ad004c059: Pull complete [2022-06-29T15:17:38.634Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T15:17:38.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T15:17:38.895Z] ---> 8f69c11f6b0c [2022-06-29T15:17:38.895Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:17:40.804Z] ---> Running in 03f7f6e1889e [2022-06-29T15:17:40.804Z] Removing intermediate container 03f7f6e1889e [2022-06-29T15:17:40.804Z] ---> ec6ca5da61e4 [2022-06-29T15:17:40.804Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:17:40.804Z] ---> Running in 2ec16ddde2e9 [2022-06-29T15:17:40.804Z] Removing intermediate container 2ec16ddde2e9 [2022-06-29T15:17:40.804Z] ---> 2155992ac117 [2022-06-29T15:17:40.804Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:17:40.804Z] ---> Running in d20e25b240f5 [2022-06-29T15:17:41.377Z] Removing intermediate container d20e25b240f5 [2022-06-29T15:17:41.377Z] ---> 6b611f6e7b2e [2022-06-29T15:17:41.377Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:17:41.377Z] ---> Running in 02585f09d4d4 [2022-06-29T15:17:41.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:17:42.581Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:17:43.153Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:17:43.415Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:17:43.415Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:17:43.676Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:17:43.676Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:17:43.676Z] OK: 224 MiB in 56 packages [2022-06-29T15:17:44.176Z] Still waiting to schedule task [2022-06-29T15:17:44.177Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T15:17:44.247Z] Removing intermediate container 02585f09d4d4 [2022-06-29T15:17:44.247Z] ---> 401183b0b5a3 [2022-06-29T15:17:44.247Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:17:44.247Z] ---> Running in e4b846615390 [2022-06-29T15:17:44.247Z] Removing intermediate container e4b846615390 [2022-06-29T15:17:44.247Z] ---> ded39c3e1ee4 [2022-06-29T15:17:44.247Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:17:44.507Z] ---> 58b9b9cf9edc [2022-06-29T15:17:44.507Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:17:44.507Z] ---> Running in 998d99304265 [2022-06-29T15:17:59.411Z] Removing intermediate container 998d99304265 [2022-06-29T15:17:59.411Z] ---> c094b0c0b07d [2022-06-29T15:17:59.411Z] Step 10/12 : COPY . . [2022-06-29T15:17:59.411Z] ---> 2b905c850fee [2022-06-29T15:17:59.411Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:17:59.411Z] ---> Running in 3a2dfdc0b2ee [2022-06-29T15:17:59.411Z] Removing intermediate container 3a2dfdc0b2ee [2022-06-29T15:17:59.411Z] ---> 76b3c7a3c33e [2022-06-29T15:17:59.411Z] Step 12/12 : RUN $MAKE [2022-06-29T15:17:59.411Z] ---> Running in 173344bf9926 [2022-06-29T15:17:59.411Z] noop [2022-06-29T15:17:59.411Z] Removing intermediate container 173344bf9926 [2022-06-29T15:17:59.411Z] ---> 0bf494c3854e [2022-06-29T15:17:59.411Z] Successfully built 0bf494c3854e [2022-06-29T15:17:59.411Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:17:59.865Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:17:59.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:18:00.019Z] prd-ubuntu20.04-docker-8c-8g-16345 does not seem to be running inside a container [2022-06-29T15:18:00.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@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 [2022-06-29T15:18:00.449Z] $ docker top 48f7e34531436477aa8f3389559e018be47de8f96214879cbe87a03d029e2feb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:18:00.866Z] + go version [2022-06-29T15:18:00.866Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T15:18:00.894Z] $ docker stop --time=1 48f7e34531436477aa8f3389559e018be47de8f96214879cbe87a03d029e2feb [2022-06-29T15:18:02.184Z] $ docker rm -f 48f7e34531436477aa8f3389559e018be47de8f96214879cbe87a03d029e2feb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:18:02.885Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:18:02.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:18:03.081Z] prd-ubuntu20.04-docker-8c-8g-16345 does not seem to be running inside a container [2022-06-29T15:18:03.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@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 [2022-06-29T15:18:03.564Z] $ docker top eb71c8f67345d9035f3f47ece2a9894cbc5bc5b350eb55e701bde4c0507c2bbc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:18:04.031Z] + make test [2022-06-29T15:18:04.031Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:18:04.296Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:18:14.282Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:18:14.282Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-06-29T15:18:14.282Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:18:19.561Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:18:23.756Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:18:23.756Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:18:23.756Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:18:24.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:18:24.068Z] $ docker stop --time=1 eb71c8f67345d9035f3f47ece2a9894cbc5bc5b350eb55e701bde4c0507c2bbc [2022-06-29T15:18:25.978Z] $ docker rm -f eb71c8f67345d9035f3f47ece2a9894cbc5bc5b350eb55e701bde4c0507c2bbc [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:18:26.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:18:26.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T15:18:27.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:18:27.510Z] + ls -al . [2022-06-29T15:18:27.511Z] total 180 [2022-06-29T15:18:27.511Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 15:18 . [2022-06-29T15:18:27.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:17 .. [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:17 .dockerignore [2022-06-29T15:18:27.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:17 .git [2022-06-29T15:18:27.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:17 .github [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:17 .gitignore [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:17 .golangci.yml [2022-06-29T15:18:27.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:17 .semver [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:17 Attribution.txt [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:17 CHANGELOG.md [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:17 Dockerfile [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:17 GOVERNANCE.md [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:17 Jenkinsfile [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:17 LICENSE [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:17 Makefile [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:17 OWNERS.md [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:17 README.md [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:17 VERSION [2022-06-29T15:18:27.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:17 bin [2022-06-29T15:18:27.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:17 cmd [2022-06-29T15:18:27.511Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:18 coverage.out [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:17 go.mod [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:17 go.sum [2022-06-29T15:18:27.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:17 internal [2022-06-29T15:18:27.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:17 mock [2022-06-29T15:18:27.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:17 snap [2022-06-29T15:18:27.511Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:18:27.904Z] + 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=18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 --label arch=amd64 --label version=0.0.0 . [2022-06-29T15:18:27.904Z] Sending build context to Docker daemon 6.063MB [2022-06-29T15:18:27.904Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:18:27.904Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:18:27.904Z] ---> 0bf494c3854e [2022-06-29T15:18:27.904Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:18:27.904Z] ---> Running in 1ff19854cb87 [2022-06-29T15:18:28.166Z] Removing intermediate container 1ff19854cb87 [2022-06-29T15:18:28.166Z] ---> c5b16e4cfba7 [2022-06-29T15:18:28.166Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:18:28.166Z] ---> Running in 4894c29ff944 [2022-06-29T15:18:28.166Z] Removing intermediate container 4894c29ff944 [2022-06-29T15:18:28.166Z] ---> 2159739fe180 [2022-06-29T15:18:28.166Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:18:28.166Z] ---> Running in ca5aedf9cc48 [2022-06-29T15:18:28.740Z] Removing intermediate container ca5aedf9cc48 [2022-06-29T15:18:28.740Z] ---> ea8f9f3e18ef [2022-06-29T15:18:28.740Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:18:28.740Z] ---> Running in 2bfecf65dfcc [2022-06-29T15:18:29.311Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:18:29.882Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:18:30.143Z] OK: 224 MiB in 56 packages [2022-06-29T15:18:30.715Z] Removing intermediate container 2bfecf65dfcc [2022-06-29T15:18:30.715Z] ---> 340bbe97cbd9 [2022-06-29T15:18:30.715Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:18:30.715Z] ---> Running in 8086f5f80422 [2022-06-29T15:18:30.715Z] Removing intermediate container 8086f5f80422 [2022-06-29T15:18:30.715Z] ---> d24c963ba981 [2022-06-29T15:18:30.715Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:18:30.715Z] ---> 86d6b1044eaf [2022-06-29T15:18:30.715Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:18:30.975Z] ---> Running in 61378c6e97e7 [2022-06-29T15:18:31.620Z] Removing intermediate container 61378c6e97e7 [2022-06-29T15:18:31.620Z] ---> a4031a5bcc76 [2022-06-29T15:18:31.620Z] Step 10/24 : COPY . . [2022-06-29T15:18:31.880Z] ---> d7c47f6f341c [2022-06-29T15:18:31.880Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:18:31.880Z] ---> Running in d4bd8bbb53bb [2022-06-29T15:18:31.880Z] Removing intermediate container d4bd8bbb53bb [2022-06-29T15:18:31.880Z] ---> 189f7eb566d7 [2022-06-29T15:18:31.880Z] Step 12/24 : RUN $MAKE [2022-06-29T15:18:31.880Z] ---> Running in ce5677945e88 [2022-06-29T15:18:32.139Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-29T15:18:54.106Z] Removing intermediate container ce5677945e88 [2022-06-29T15:18:54.106Z] ---> 0c49ecbf1004 [2022-06-29T15:18:54.106Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:18:54.106Z] 3.14: Pulling from library/alpine [2022-06-29T15:18:54.106Z] 8663204ce13b: Pulling fs layer [2022-06-29T15:18:54.106Z] 8663204ce13b: Verifying Checksum [2022-06-29T15:18:54.106Z] 8663204ce13b: Download complete [2022-06-29T15:18:54.106Z] 8663204ce13b: Pull complete [2022-06-29T15:18:54.106Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:18:54.106Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:18:54.106Z] ---> e04c818066af [2022-06-29T15:18:54.106Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:18:54.106Z] ---> Running in e98ed1ee9b0f [2022-06-29T15:18:54.106Z] Removing intermediate container e98ed1ee9b0f [2022-06-29T15:18:54.106Z] ---> 37726da5a879 [2022-06-29T15:18:54.106Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:18:54.107Z] ---> Running in d94d46f00468 [2022-06-29T15:18:54.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:18:54.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:18:54.107Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:18:54.107Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:18:54.107Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:18:54.107Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:18:54.107Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:18:54.107Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:18:54.107Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:18:54.107Z] OK: 8 MiB in 20 packages [2022-06-29T15:18:54.107Z] Removing intermediate container d94d46f00468 [2022-06-29T15:18:54.107Z] ---> 8a2cbc1c7551 [2022-06-29T15:18:54.107Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:18:54.107Z] ---> 210e391323e2 [2022-06-29T15:18:54.107Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:18:54.107Z] ---> 72dff6f22010 [2022-06-29T15:18:54.107Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:18:54.107Z] ---> 08bddad63b06 [2022-06-29T15:18:54.107Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:18:54.107Z] ---> Running in b0d6022587e1 [2022-06-29T15:18:54.107Z] Removing intermediate container b0d6022587e1 [2022-06-29T15:18:54.107Z] ---> f5498e3bd77f [2022-06-29T15:18:54.107Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:18:54.367Z] ---> Running in 9607eeb6a6c8 [2022-06-29T15:18:54.367Z] Removing intermediate container 9607eeb6a6c8 [2022-06-29T15:18:54.367Z] ---> 4ae06b4def22 [2022-06-29T15:18:54.367Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:18:54.367Z] ---> Running in 73d2977d2440 [2022-06-29T15:18:54.367Z] Removing intermediate container 73d2977d2440 [2022-06-29T15:18:54.367Z] ---> 92d399801f77 [2022-06-29T15:18:54.367Z] Step 22/24 : LABEL arch=amd64 [2022-06-29T15:18:54.626Z] ---> Running in 5a959c7b5a58 [2022-06-29T15:18:54.626Z] Removing intermediate container 5a959c7b5a58 [2022-06-29T15:18:54.626Z] ---> 87f590198797 [2022-06-29T15:18:54.626Z] Step 23/24 : LABEL git_sha=18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [2022-06-29T15:18:54.626Z] ---> Running in 6ab00894722c [2022-06-29T15:18:54.626Z] Removing intermediate container 6ab00894722c [2022-06-29T15:18:54.626Z] ---> c5728a562bd7 [2022-06-29T15:18:54.626Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:18:54.886Z] ---> Running in 79eb8a10ca48 [2022-06-29T15:18:54.886Z] Removing intermediate container 79eb8a10ca48 [2022-06-29T15:18:54.886Z] ---> 8e6de9fcbc35 [2022-06-29T15:18:54.886Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:18:54.886Z] Successfully built 8e6de9fcbc35 [2022-06-29T15:18:54.886Z] 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 [2022-06-29T15:18:55.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:18:55.731Z] [2022-06-29T15:18:55.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:18:56.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:18:56.106Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T15:18:56.106Z] 5eb5b503b376: Pulling fs layer [2022-06-29T15:18:56.106Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T15:18:56.106Z] ec43610c2a17: Pulling fs layer [2022-06-29T15:18:56.106Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T15:18:56.106Z] 33b1e0a273af: Pulling fs layer [2022-06-29T15:18:56.106Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T15:18:56.106Z] 2f39f015ded8: Pulling fs layer [2022-06-29T15:18:56.106Z] 33b1e0a273af: Waiting [2022-06-29T15:18:56.106Z] 5d3b04190fa2: Waiting [2022-06-29T15:18:56.106Z] 2f39f015ded8: Waiting [2022-06-29T15:18:56.106Z] 3a2ae6a8a46f: Waiting [2022-06-29T15:18:56.106Z] 5c69ac0246d0: Verifying Checksum [2022-06-29T15:18:56.106Z] 5c69ac0246d0: Download complete [2022-06-29T15:18:56.106Z] 3a2ae6a8a46f: Download complete [2022-06-29T15:18:56.106Z] ec43610c2a17: Verifying Checksum [2022-06-29T15:18:56.106Z] ec43610c2a17: Download complete [2022-06-29T15:18:56.373Z] 33b1e0a273af: Verifying Checksum [2022-06-29T15:18:56.373Z] 33b1e0a273af: Download complete [2022-06-29T15:18:56.373Z] 5eb5b503b376: Verifying Checksum [2022-06-29T15:18:56.373Z] 5eb5b503b376: Download complete [2022-06-29T15:18:56.947Z] 2f39f015ded8: Download complete [2022-06-29T15:18:57.514Z] 5eb5b503b376: Pull complete [2022-06-29T15:18:57.778Z] 5c69ac0246d0: Pull complete [2022-06-29T15:18:58.350Z] ec43610c2a17: Pull complete [2022-06-29T15:18:58.350Z] 3a2ae6a8a46f: Pull complete [2022-06-29T15:18:58.350Z] 33b1e0a273af: Pull complete [2022-06-29T15:18:58.610Z] 5d3b04190fa2: Pull complete [2022-06-29T15:19:02.826Z] 2f39f015ded8: Pull complete [2022-06-29T15:19:02.826Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T15:19:02.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:19:02.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:19:03.057Z] prd-ubuntu20.04-docker-8c-8g-16345 does not seem to be running inside a container [2022-06-29T15:19:03.091Z] $ 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-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@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 [2022-06-29T15:19:04.768Z] $ docker top 8152cd0c22cce981b3abbafb3bf36bae339a84b14d2c59f7399dd1e0fcf98e3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:19:05.235Z] ---> job-cost.sh [2022-06-29T15:19:05.235Z] lf-activate-venv: SKIPPING [2022-06-29T15:19:05.235Z] INFO: No Stack... [2022-06-29T15:19:05.496Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:19:06.068Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:19:06.388Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/cost.csv [2022-06-29T15:19:06.388Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T15:19:06.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] [2022-06-29T15:19:06.431Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] did not exist. Created. [2022-06-29T15:19:06.431Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:19:06.825Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T15:19:06.876Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:19:06.899Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:19:06.974Z] $ docker stop --time=1 8152cd0c22cce981b3abbafb3bf36bae339a84b14d2c59f7399dd1e0fcf98e3a [2022-06-29T15:19:08.152Z] $ docker rm -f 8152cd0c22cce981b3abbafb3bf36bae339a84b14d2c59f7399dd1e0fcf98e3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T15:19:17.499Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16346 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [Pipeline] { [Pipeline] ws [2022-06-29T15:19:17.540Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-06-29T15:19:17.626Z] Selected Git installation does not exist. Using Default [2022-06-29T15:19:17.626Z] The recommended git tool is: NONE [2022-06-29T15:19:25.156Z] using credential edgex-jenkins-ssh [2022-06-29T15:19:25.174Z] Cloning the remote Git repository [2022-06-29T15:19:25.238Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:19:25.328Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-06-29T15:19:25.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:19:25.442Z] > git --version # timeout=10 [2022-06-29T15:19:25.471Z] > git --version # 'git version 2.25.1' [2022-06-29T15:19:25.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:19:25.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:19:26.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:19:26.863Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:19:26.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:19:26.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:19:26.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:19:26.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/397/head:refs/remotes/origin/PR-397 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-29T15:19:27.620Z] Merging remotes/origin/main commit 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [2022-06-29T15:19:27.903Z] Merge succeeded, producing 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [2022-06-29T15:19:27.904Z] Checking out Revision 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 (PR-397) [2022-06-29T15:19:27.641Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:19:27.681Z] > git checkout -f 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 # timeout=10 [2022-06-29T15:19:27.772Z] > git remote # timeout=10 [2022-06-29T15:19:27.797Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T15:19:27.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:19:27.850Z] > git merge 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [2022-06-29T15:19:27.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T15:19:27.912Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:19:27.931Z] > git checkout -f 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 # timeout=10 [2022-06-29T15:19:32.149Z] Commit message: "refactor(snap): edgex-snap-hooks related upgrade" [2022-06-29T15:19:32.209Z] > git --version # timeout=10 [2022-06-29T15:19:32.221Z] > git --version # 'git version 2.25.1' [2022-06-29T15:19:32.235Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:19:33.327Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T15:19:33.327Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:19:33.327Z] Dload Upload Total Spent Left Speed [2022-06-29T15:19:33.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92127 0 --:--:-- --:--:-- --:--:-- 92127 [Pipeline] sh [2022-06-29T15:19:34.089Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T15:19:34.509Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T15:19:34.509Z] + sudo tee /etc/docker/daemon.new [2022-06-29T15:19:34.509Z] { [2022-06-29T15:19:34.509Z] "registry-mirrors": [ [2022-06-29T15:19:34.509Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T15:19:34.509Z] ], [2022-06-29T15:19:34.509Z] "bip": "10.250.0.254/24", [2022-06-29T15:19:34.509Z] "hosts": [ [2022-06-29T15:19:34.509Z] "tcp://0.0.0.0:5555", [2022-06-29T15:19:34.509Z] "unix:///var/run/docker.sock" [2022-06-29T15:19:34.509Z] ], [2022-06-29T15:19:34.509Z] "mtu": 1458, [2022-06-29T15:19:34.509Z] "selinux-enabled": true, [2022-06-29T15:19:34.509Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T15:19:34.509Z] } [Pipeline] sh [2022-06-29T15:19:34.857Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T15:19:35.215Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:19:53.778Z] provisioning config files... [2022-06-29T15:19:53.802Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8569065904317080167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:19:54.197Z] ---> docker-login.sh [2022-06-29T15:19:54.197Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:19:54.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:19:55.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:19:55.072Z] Configure a credential helper to remove this warning. See [2022-06-29T15:19:55.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:19:55.072Z] [2022-06-29T15:19:55.072Z] Login Succeeded [2022-06-29T15:19:55.072Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:19:55.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:19:55.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:19:55.620Z] Configure a credential helper to remove this warning. See [2022-06-29T15:19:55.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:19:55.620Z] [2022-06-29T15:19:55.620Z] Login Succeeded [2022-06-29T15:19:55.620Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:19:55.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:19:55.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:19:55.897Z] Configure a credential helper to remove this warning. See [2022-06-29T15:19:55.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:19:55.897Z] [2022-06-29T15:19:55.897Z] Login Succeeded [2022-06-29T15:19:55.897Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:19:56.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:19:56.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:19:56.493Z] Configure a credential helper to remove this warning. See [2022-06-29T15:19:56.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:19:56.493Z] [2022-06-29T15:19:56.493Z] Login Succeeded [2022-06-29T15:19:56.493Z] docker.io [2022-06-29T15:19:56.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:19:57.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:19:57.038Z] Configure a credential helper to remove this warning. See [2022-06-29T15:19:57.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:19:57.038Z] [2022-06-29T15:19:57.312Z] Login Succeeded [2022-06-29T15:19:57.312Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:19:57.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:19:57.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:19:57.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:19:57.774Z] ========================================================= [2022-06-29T15:19:57.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T15:19:57.774Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:19:58.274Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-29T15:19:58.548Z] Sending build context to Docker daemon 3.133MB [2022-06-29T15:19:58.548Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:19:58.548Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:19:58.830Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T15:19:58.830Z] 9b3977197b4f: Pulling fs layer [2022-06-29T15:19:58.830Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T15:19:58.830Z] 94645a83ff95: Pulling fs layer [2022-06-29T15:19:58.830Z] e6fb740bc735: Pulling fs layer [2022-06-29T15:19:58.830Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T15:19:58.830Z] 355e64cbe906: Pulling fs layer [2022-06-29T15:19:58.830Z] 63ab81a10011: Pulling fs layer [2022-06-29T15:19:58.830Z] 555d1d1c4555: Pulling fs layer [2022-06-29T15:19:58.830Z] 7d9057610161: Pulling fs layer [2022-06-29T15:19:58.830Z] e6fb740bc735: Waiting [2022-06-29T15:19:58.830Z] 3a77bd46dcc9: Waiting [2022-06-29T15:19:58.830Z] 355e64cbe906: Waiting [2022-06-29T15:19:58.830Z] 63ab81a10011: Waiting [2022-06-29T15:19:58.830Z] 555d1d1c4555: Waiting [2022-06-29T15:19:58.830Z] 7d9057610161: Waiting [2022-06-29T15:19:58.830Z] 94645a83ff95: Download complete [2022-06-29T15:19:58.830Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T15:19:58.830Z] 1a89e8eeedd5: Download complete [2022-06-29T15:19:58.830Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T15:19:58.830Z] 3a77bd46dcc9: Download complete [2022-06-29T15:19:58.830Z] 355e64cbe906: Verifying Checksum [2022-06-29T15:19:58.830Z] 355e64cbe906: Download complete [2022-06-29T15:19:58.830Z] 9b3977197b4f: Verifying Checksum [2022-06-29T15:19:58.830Z] 9b3977197b4f: Download complete [2022-06-29T15:19:58.830Z] 63ab81a10011: Verifying Checksum [2022-06-29T15:19:58.830Z] 63ab81a10011: Download complete [2022-06-29T15:19:59.830Z] 9b3977197b4f: Pull complete [2022-06-29T15:20:00.108Z] 7d9057610161: Verifying Checksum [2022-06-29T15:20:00.108Z] 7d9057610161: Download complete [2022-06-29T15:20:00.386Z] 1a89e8eeedd5: Pull complete [2022-06-29T15:20:00.665Z] 94645a83ff95: Pull complete [2022-06-29T15:20:01.264Z] 555d1d1c4555: Verifying Checksum [2022-06-29T15:20:01.264Z] 555d1d1c4555: Download complete [2022-06-29T15:20:01.537Z] e6fb740bc735: Download complete [2022-06-29T15:20:13.951Z] e6fb740bc735: Pull complete [2022-06-29T15:20:13.951Z] 3a77bd46dcc9: Pull complete [2022-06-29T15:20:13.951Z] 355e64cbe906: Pull complete [2022-06-29T15:20:14.227Z] 63ab81a10011: Pull complete [2022-06-29T15:20:20.942Z] 555d1d1c4555: Pull complete [2022-06-29T15:20:22.922Z] 7d9057610161: Pull complete [2022-06-29T15:20:22.922Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T15:20:22.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T15:20:22.922Z] ---> 819e984ddca1 [2022-06-29T15:20:22.922Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:20:23.517Z] ---> Running in 1237bab4ce0b [2022-06-29T15:20:23.791Z] Removing intermediate container 1237bab4ce0b [2022-06-29T15:20:23.791Z] ---> 967b785f6d94 [2022-06-29T15:20:23.791Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:20:24.065Z] ---> Running in cf7ef410c82c [2022-06-29T15:20:24.337Z] Removing intermediate container cf7ef410c82c [2022-06-29T15:20:24.337Z] ---> 5547e2eb68bb [2022-06-29T15:20:24.337Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:20:24.337Z] ---> Running in 8f1605b91945 [2022-06-29T15:20:26.313Z] Removing intermediate container 8f1605b91945 [2022-06-29T15:20:26.313Z] ---> 97703bd01488 [2022-06-29T15:20:26.313Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:20:26.313Z] ---> Running in e0a2a6c71509 [2022-06-29T15:20:27.291Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:20:28.263Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:20:28.867Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:20:29.137Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:20:29.137Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:20:29.417Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:20:29.417Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:20:29.417Z] OK: 224 MiB in 56 packages [2022-06-29T15:20:30.419Z] Removing intermediate container e0a2a6c71509 [2022-06-29T15:20:30.419Z] ---> 694186f14c3c [2022-06-29T15:20:30.419Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:20:30.692Z] ---> Running in d07ff4ea7ee2 [2022-06-29T15:20:30.964Z] Removing intermediate container d07ff4ea7ee2 [2022-06-29T15:20:30.964Z] ---> eb06b062b80f [2022-06-29T15:20:30.964Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:20:31.561Z] ---> 9d7925cbf722 [2022-06-29T15:20:31.561Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:20:31.561Z] ---> Running in a630b1bc9a52 [2022-06-29T15:21:18.547Z] Removing intermediate container a630b1bc9a52 [2022-06-29T15:21:18.547Z] ---> f7fe2a597f2b [2022-06-29T15:21:18.547Z] Step 10/12 : COPY . . [2022-06-29T15:21:18.547Z] ---> dac8968a6222 [2022-06-29T15:21:18.547Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:21:18.547Z] ---> Running in c50b22aa6262 [2022-06-29T15:21:18.547Z] Removing intermediate container c50b22aa6262 [2022-06-29T15:21:18.547Z] ---> a3eedd461380 [2022-06-29T15:21:18.547Z] Step 12/12 : RUN $MAKE [2022-06-29T15:21:18.547Z] ---> Running in 4203109b53ee [2022-06-29T15:21:18.547Z] noop [2022-06-29T15:21:18.547Z] Removing intermediate container 4203109b53ee [2022-06-29T15:21:18.547Z] ---> 8c8920737592 [2022-06-29T15:21:18.547Z] Successfully built 8c8920737592 [2022-06-29T15:21:18.547Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:21:19.028Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T15:21:19.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:21:19.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-16346 does not seem to be running inside a container [2022-06-29T15:21:19.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 [2022-06-29T15:21:20.673Z] $ docker top 393ed4806ae79f0fd959c304fcada3fa49401766455caee168f7c610d508b158 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:21:21.601Z] + go version [2022-06-29T15:21:21.601Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T15:21:21.636Z] $ docker stop --time=1 393ed4806ae79f0fd959c304fcada3fa49401766455caee168f7c610d508b158 [2022-06-29T15:21:23.291Z] $ docker rm -f 393ed4806ae79f0fd959c304fcada3fa49401766455caee168f7c610d508b158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:21:24.204Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T15:21:24.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:21:24.502Z] prd-ubuntu20.04-docker-arm64-4c-16g-16346 does not seem to be running inside a container [2022-06-29T15:21:24.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 [2022-06-29T15:21:25.821Z] $ docker top 2f38efefd9af34bcf2e9b004f4667ae4014a0f43e70fc58c54ced708a41fcd25 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:21:26.837Z] + make test [2022-06-29T15:21:26.837Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:21:28.824Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:22:50.661Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:22:50.661Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 21.8% of statements [2022-06-29T15:22:50.661Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:22:50.661Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T15:22:50.661Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:23:12.857Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:23:12.857Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:23:12.857Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:23:14.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:23:14.356Z] $ docker stop --time=1 2f38efefd9af34bcf2e9b004f4667ae4014a0f43e70fc58c54ced708a41fcd25 [2022-06-29T15:23:16.115Z] $ docker rm -f 2f38efefd9af34bcf2e9b004f4667ae4014a0f43e70fc58c54ced708a41fcd25 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:23:17.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:23:17.145Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T15:23:17.627Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:23:18.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:23:18.549Z] + ls -al . [2022-06-29T15:23:18.549Z] total 176 [2022-06-29T15:23:18.549Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 15:23 . [2022-06-29T15:23:18.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:19 .. [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:19 .dockerignore [2022-06-29T15:23:18.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:19 .git [2022-06-29T15:23:18.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:19 .github [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:19 .gitignore [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:19 .golangci.yml [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:19 Attribution.txt [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:19 CHANGELOG.md [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:19 Dockerfile [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:19 GOVERNANCE.md [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:19 Jenkinsfile [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:19 LICENSE [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:19 Makefile [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:19 OWNERS.md [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:19 README.md [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:17 VERSION [2022-06-29T15:23:18.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:19 bin [2022-06-29T15:23:18.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:19 cmd [2022-06-29T15:23:18.549Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:22 coverage.out [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:19 go.mod [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:19 go.sum [2022-06-29T15:23:18.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:19 internal [2022-06-29T15:23:18.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:19 mock [2022-06-29T15:23:18.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:19 snap [2022-06-29T15:23:18.549Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:23:18.971Z] + 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=18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 --label arch=arm64 --label version=0.0.0 . [2022-06-29T15:23:19.244Z] Sending build context to Docker daemon 3.151MB [2022-06-29T15:23:19.244Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:23:19.244Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:23:19.244Z] ---> 8c8920737592 [2022-06-29T15:23:19.244Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:23:19.519Z] ---> Running in f342be38ec37 [2022-06-29T15:23:19.792Z] Removing intermediate container f342be38ec37 [2022-06-29T15:23:19.792Z] ---> 9e17f32042ee [2022-06-29T15:23:19.792Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:23:19.792Z] ---> Running in 3a442d2542de [2022-06-29T15:23:20.076Z] Removing intermediate container 3a442d2542de [2022-06-29T15:23:20.076Z] ---> 9facd3ccdd3b [2022-06-29T15:23:20.076Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:23:20.076Z] ---> Running in aba920634422 [2022-06-29T15:23:22.055Z] Removing intermediate container aba920634422 [2022-06-29T15:23:22.055Z] ---> 49007312dd3c [2022-06-29T15:23:22.055Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:23:22.055Z] ---> Running in 14e7c0bd4b93 [2022-06-29T15:23:23.037Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:23:23.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:23:24.622Z] OK: 224 MiB in 56 packages [2022-06-29T15:23:25.226Z] Removing intermediate container 14e7c0bd4b93 [2022-06-29T15:23:25.226Z] ---> 71f46822d330 [2022-06-29T15:23:25.226Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:23:25.226Z] ---> Running in 1c86ffca9d70 [2022-06-29T15:23:25.825Z] Removing intermediate container 1c86ffca9d70 [2022-06-29T15:23:25.825Z] ---> 2049916b5187 [2022-06-29T15:23:25.825Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:23:26.100Z] ---> 7922d459d322 [2022-06-29T15:23:26.100Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:23:26.377Z] ---> Running in 1b12a92696db [2022-06-29T15:23:28.353Z] Removing intermediate container 1b12a92696db [2022-06-29T15:23:28.353Z] ---> e2c60f2d229b [2022-06-29T15:23:28.353Z] Step 10/24 : COPY . . [2022-06-29T15:23:28.953Z] ---> 45745a5f0c88 [2022-06-29T15:23:28.953Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:23:28.953Z] ---> Running in 322beccf7331 [2022-06-29T15:23:29.549Z] Removing intermediate container 322beccf7331 [2022-06-29T15:23:29.549Z] ---> f78327451f42 [2022-06-29T15:23:29.549Z] Step 12/24 : RUN $MAKE [2022-06-29T15:23:29.549Z] ---> Running in 476b084328a1 [2022-06-29T15:23:30.535Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-29T15:25:37.423Z] Removing intermediate container 476b084328a1 [2022-06-29T15:25:37.423Z] ---> 6820cff02c7f [2022-06-29T15:25:37.423Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:25:37.423Z] 3.14: Pulling from library/alpine [2022-06-29T15:25:37.423Z] 455c02918c45: Pulling fs layer [2022-06-29T15:25:37.423Z] 455c02918c45: Verifying Checksum [2022-06-29T15:25:37.423Z] 455c02918c45: Download complete [2022-06-29T15:25:37.423Z] 455c02918c45: Pull complete [2022-06-29T15:25:37.423Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:25:37.423Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:25:37.423Z] ---> ac73e934f311 [2022-06-29T15:25:37.423Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:25:37.423Z] ---> Running in e26612435604 [2022-06-29T15:25:37.423Z] Removing intermediate container e26612435604 [2022-06-29T15:25:37.423Z] ---> 54cda240aa80 [2022-06-29T15:25:37.423Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:25:37.423Z] ---> Running in 7c4a70c0538c [2022-06-29T15:25:37.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:25:37.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:25:37.423Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:25:37.423Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:25:37.423Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:25:37.423Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:25:37.423Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:25:37.423Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:25:37.423Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:25:37.423Z] OK: 8 MiB in 20 packages [2022-06-29T15:25:37.423Z] Removing intermediate container 7c4a70c0538c [2022-06-29T15:25:37.423Z] ---> 9fe1e383c0bc [2022-06-29T15:25:37.423Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:25:37.423Z] ---> 561670e16198 [2022-06-29T15:25:37.423Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:25:37.423Z] ---> 4ee43857e587 [2022-06-29T15:25:37.423Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:25:37.423Z] ---> 08a6be64dfb5 [2022-06-29T15:25:37.423Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:25:37.423Z] ---> Running in bb93c163133d [2022-06-29T15:25:37.423Z] Removing intermediate container bb93c163133d [2022-06-29T15:25:37.423Z] ---> 9a08ecf72539 [2022-06-29T15:25:37.423Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:25:37.423Z] ---> Running in e45f0a1dc505 [2022-06-29T15:25:37.423Z] Removing intermediate container e45f0a1dc505 [2022-06-29T15:25:37.423Z] ---> be90a8a446eb [2022-06-29T15:25:37.423Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:25:37.423Z] ---> Running in e012c7a0b08a [2022-06-29T15:25:37.423Z] Removing intermediate container e012c7a0b08a [2022-06-29T15:25:37.423Z] ---> 06bec597613f [2022-06-29T15:25:37.423Z] Step 22/24 : LABEL arch=arm64 [2022-06-29T15:25:37.423Z] ---> Running in 9f99c8fb1a49 [2022-06-29T15:25:37.423Z] Removing intermediate container 9f99c8fb1a49 [2022-06-29T15:25:37.423Z] ---> e3f0300f5bd8 [2022-06-29T15:25:37.423Z] Step 23/24 : LABEL git_sha=18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [2022-06-29T15:25:37.423Z] ---> Running in 7a989cdcf445 [2022-06-29T15:25:37.423Z] Removing intermediate container 7a989cdcf445 [2022-06-29T15:25:37.423Z] ---> 4fa52c81365f [2022-06-29T15:25:37.423Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:25:37.423Z] ---> Running in ca5bec4cdfc0 [2022-06-29T15:25:37.423Z] Removing intermediate container ca5bec4cdfc0 [2022-06-29T15:25:37.423Z] ---> 0d775f1ba531 [2022-06-29T15:25:37.423Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:25:37.423Z] Successfully built 0d775f1ba531 [2022-06-29T15:25:37.423Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:25:38.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:25:38.184Z] [2022-06-29T15:25:38.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:25:38.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:25:38.597Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T15:25:38.597Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T15:25:38.597Z] 04944245beec: Pulling fs layer [2022-06-29T15:25:38.597Z] 699f458cf7ca: Pulling fs layer [2022-06-29T15:25:38.597Z] 765212b225bb: Pulling fs layer [2022-06-29T15:25:38.597Z] f23df028b6ca: Pulling fs layer [2022-06-29T15:25:38.597Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T15:25:38.597Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T15:25:38.597Z] 765212b225bb: Waiting [2022-06-29T15:25:38.597Z] f23df028b6ca: Waiting [2022-06-29T15:25:38.597Z] d65c8cfc05b1: Waiting [2022-06-29T15:25:38.597Z] 2437ff75d9bd: Waiting [2022-06-29T15:25:38.872Z] 04944245beec: Verifying Checksum [2022-06-29T15:25:38.872Z] 04944245beec: Download complete [2022-06-29T15:25:38.872Z] 765212b225bb: Verifying Checksum [2022-06-29T15:25:38.872Z] 765212b225bb: Download complete [2022-06-29T15:25:38.872Z] f23df028b6ca: Verifying Checksum [2022-06-29T15:25:38.872Z] f23df028b6ca: Download complete [2022-06-29T15:25:38.872Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T15:25:38.872Z] d65c8cfc05b1: Download complete [2022-06-29T15:25:39.152Z] 699f458cf7ca: Verifying Checksum [2022-06-29T15:25:39.153Z] 699f458cf7ca: Download complete [2022-06-29T15:25:39.432Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T15:25:39.432Z] 8998bd30e6a1: Download complete [2022-06-29T15:25:42.059Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T15:25:42.059Z] 2437ff75d9bd: Download complete [2022-06-29T15:25:43.506Z] 8998bd30e6a1: Pull complete [2022-06-29T15:25:44.105Z] 04944245beec: Pull complete [2022-06-29T15:25:45.553Z] 699f458cf7ca: Pull complete [2022-06-29T15:25:45.831Z] 765212b225bb: Pull complete [2022-06-29T15:25:46.815Z] f23df028b6ca: Pull complete [2022-06-29T15:25:46.815Z] d65c8cfc05b1: Pull complete [2022-06-29T15:26:01.933Z] 2437ff75d9bd: Pull complete [2022-06-29T15:26:01.933Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T15:26:01.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:26:01.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:26:02.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-16346 does not seem to be running inside a container [2022-06-29T15:26:02.405Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 [2022-06-29T15:26:04.922Z] $ docker top 9b13c302183d744b2d980d6be1eea500c834bbaa4737b5a9803863798ecae309 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:05.905Z] ---> job-cost.sh [2022-06-29T15:26:05.906Z] lf-activate-venv: SKIPPING [2022-06-29T15:26:05.906Z] INFO: No Stack... [2022-06-29T15:26:06.499Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T15:26:07.476Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:26:08.148Z] + cut -d, -f6 [2022-06-29T15:26:08.149Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-06-29T15:26:08.227Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] [2022-06-29T15:26:08.233Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] did not exist. Created. [2022-06-29T15:26:08.233Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:26:08.985Z] /w/workspace/device-mqtt-go/1@tmp/durable-afa0b6aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T15:26:09.671Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T15:26:09.708Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T15:26:09.749Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:26:09.765Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:26:09.851Z] $ docker stop --time=1 9b13c302183d744b2d980d6be1eea500c834bbaa4737b5a9803863798ecae309 [2022-06-29T15:26:11.322Z] $ docker rm -f 9b13c302183d744b2d980d6be1eea500c834bbaa4737b5a9803863798ecae309 [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 [2022-06-29T15:26:12.360Z] provisioning config files... [2022-06-29T15:26:12.392Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config1379809828904418568tmp [Pipeline] { [Pipeline] sh [2022-06-29T15:26:12.733Z] + set +x [2022-06-29T15:26:12.733Z] + bash -s -- [2022-06-29T15:26:12.733Z] + curl -s https://codecov.io/bash [2022-06-29T15:26:12.733Z] [2022-06-29T15:26:12.733Z] _____ _ [2022-06-29T15:26:12.733Z] / ____| | | [2022-06-29T15:26:12.733Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T15:26:12.733Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T15:26:12.733Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T15:26:12.733Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T15:26:12.733Z] Bash-1.0.6 [2022-06-29T15:26:12.733Z] [2022-06-29T15:26:12.733Z] [2022-06-29T15:26:12.733Z] ==> git version 2.25.1 found [2022-06-29T15:26:12.733Z] ==> 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 [2022-06-29T15:26:12.733Z] Release-Date: 2020-01-08 [2022-06-29T15:26:12.733Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-29T15:26:12.733Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T15:26:12.733Z] ==> Jenkins CI detected. [2022-06-29T15:26:12.733Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T15:26:12.733Z] project root: . [2022-06-29T15:26:12.733Z] --> token set from env [2022-06-29T15:26:12.733Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T15:26:12.733Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T15:26:12.733Z] ==> Python coveragepy not found [2022-06-29T15:26:12.733Z] ==> Searching for coverage reports in: [2022-06-29T15:26:12.733Z] + . [2022-06-29T15:26:12.994Z] -> Found 1 reports [2022-06-29T15:26:12.994Z] ==> Detecting git/mercurial file structure [2022-06-29T15:26:12.994Z] ==> Reading reports [2022-06-29T15:26:12.994Z] + ./coverage.out bytes=17887 [2022-06-29T15:26:12.994Z] ==> Appending adjustments [2022-06-29T15:26:12.994Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T15:26:12.994Z] + Found adjustments [2022-06-29T15:26:12.994Z] ==> Gzipping contents [2022-06-29T15:26:12.994Z] 4.0K /tmp/codecov.6iDJQm.gz [2022-06-29T15:26:12.994Z] ==> Uploading reports [2022-06-29T15:26:12.994Z] url: https://codecov.io [2022-06-29T15:26:12.994Z] query: branch=PR-397&commit=18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T15:26:12.994Z] -> Pinging Codecov [2022-06-29T15:26:12.994Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-397&commit=18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T15:26:13.253Z] -> Uploading to [2022-06-29T15:26:13.253Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7D719EC7BBE17E464838252E33014C33/18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0/45e063e0-d319-4ce6-afaf-ed46765f12ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T152613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=186ba5043fd9882477cd1c624efcca777a1fca62ef585a5b318d9775416874b2 [2022-06-29T15:26:13.253Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:26:13.253Z] Dload Upload Total Spent Left Speed [2022-06-29T15:26:13.513Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3236 0 0 100 3236 0 12790 --:--:-- --:--:-- --:--:-- 12790 [2022-06-29T15:26:13.513Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 [Pipeline] } [2022-06-29T15:26:13.541Z] 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 [2022-06-29T15:26:15.326Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives ] [2022-06-29T15:26:15.326Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:26:15.326Z] total 16 [2022-06-29T15:26:15.326Z] drwxr-xr-x 3 root root 4096 Jun 29 15:19 . [2022-06-29T15:26:15.326Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:19 .. [2022-06-29T15:26:15.326Z] drwxr-xr-x 2 root root 4096 Jun 29 15:19 cost [2022-06-29T15:26:15.326Z] -rw-r--r-- 1 root root 85 Jun 29 15:19 cost.csv [2022-06-29T15:26:15.326Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:26:15.326Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:26:15.326Z] total 16 [2022-06-29T15:26:15.326Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:19 . [2022-06-29T15:26:15.326Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:19 .. [2022-06-29T15:26:15.326Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 15:19 cost [2022-06-29T15:26:15.326Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 15:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:15.656Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:16.556Z] ---> package-listing.sh [2022-06-29T15:26:16.556Z] ++ facter osfamily [2022-06-29T15:26:16.556Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T15:26:16.817Z] + OS_FAMILY=debian [2022-06-29T15:26:16.817Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T15:26:16.817Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T15:26:16.817Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T15:26:16.817Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T15:26:16.817Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T15:26:16.817Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T15:26:16.817Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T15:26:16.817Z] + case "${OS_FAMILY}" in [2022-06-29T15:26:16.817Z] + dpkg -l [2022-06-29T15:26:16.817Z] + grep '^ii' [2022-06-29T15:26:16.817Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T15:26:16.817Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T15:26:16.817Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T15:26:16.817Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T15:26:16.817Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [2022-06-29T15:26:16.817Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [Pipeline] echo [2022-06-29T15:26:16.852Z] 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-397/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-29T15:26:17.143Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:26:17.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:26:17.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:26:17.919Z] prd-ubuntu20.04-docker-8c-8g-16345 does not seem to be running inside a container [2022-06-29T15:26:17.947Z] $ 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-397/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-397 -v /w/workspace/gexfoundry_device-mqtt-go_PR-397:/w/workspace/gexfoundry_device-mqtt-go_PR-397:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-397@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 [2022-06-29T15:26:18.219Z] $ docker top 8c80ad108c71171a7e8790d222c932f772fc9e2f81b4c620d3443d955aef124f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:26:18.624Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T15:26:18.946Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T15:26:19.257Z] + ls /var/log/sa-host [2022-06-29T15:26:19.257Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:26:19.451Z] provisioning config files... [2022-06-29T15:26:19.461Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config5246680408534019355tmp [Pipeline] { [Pipeline] echo [2022-06-29T15:26:19.511Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:19.824Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T15:26:19.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:20.260Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T15:26:20.292Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:20.614Z] ---> sudo-logs.sh [2022-06-29T15:26:20.614Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T15:26:20.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:21.008Z] ---> job-cost.sh [2022-06-29T15:26:21.008Z] lf-activate-venv: SKIPPING [2022-06-29T15:26:21.008Z] DEBUG: total: 0.2199999988079071 [2022-06-29T15:26:21.008Z] INFO: Retrieving Stack Cost... [2022-06-29T15:26:21.579Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:26:22.151Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T15:26:22.183Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:26:22.496Z] ---> logs-deploy.sh [2022-06-29T15:26:22.497Z] lf-activate-venv: SKIPPING [2022-06-29T15:26:22.497Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-397/1 [2022-06-29T15:26:22.497Z] INFO: archiving workspace using pattern(s): [2022-06-29T15:26:23.434Z] Archives upload complete. [2022-06-29T15:26:23.434Z] INFO: archiving logs to Nexus