Pull request #397 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 2c395e916656ff011f59f73b4cbc9d122ab02d46 rather than 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 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-ssh4672367243506468086.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-ssh15870386884711902220.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-397/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9391278467516689014.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 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-ssh6418179557438810442.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-397/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15873042357696089090.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-16348 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 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 Merge succeeded, producing 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 Checking out Revision 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 (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 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 # 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 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 # timeout=10 Commit message: "refactor(snap): Remove unused snap/gitkeep" > git rev-list --no-walk 18bdc01fcc8ed26343b4b5335b146dcc0f8f5df0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T15:33:57.635Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T15:33:57.692Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T15:33:57.706Z] ========================================================= [2022-06-29T15:33:57.706Z] EdgeX Global Pipelines Version Info [2022-06-29T15:33:57.706Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:33:58.474Z] ------------------- [2022-06-29T15:33:58.474Z] stable info: [2022-06-29T15:33:58.474Z] ------------------- [2022-06-29T15:33:58.474Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T15:33:58.474Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:33:58.474Z] Message: update stable to v1.0.234 [2022-06-29T15:33:59.044Z] ------------------- [2022-06-29T15:33:59.044Z] experimental info: [2022-06-29T15:33:59.044Z] ------------------- [2022-06-29T15:33:59.044Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T15:33:59.044Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T15:33:59.044Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T15:33:59.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-29T15:33:59.318Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-29T15:33:59.328Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T15:33:59.339Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T15:33:59.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T15:33:59.363Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T15:33:59.377Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T15:33:59.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T15:33:59.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T15:33:59.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T15:33:59.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T15:33:59.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-29T15:33:59.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T15:33:59.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T15:33:59.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:33:59.460Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T15:33:59.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:33:59.477Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T15:33:59.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T15:33:59.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T15:33:59.504Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T15:33:59.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T15:33:59.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T15:33:59.531Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T15:33:59.540Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T15:33:59.548Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T15:33:59.557Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T15:33:59.566Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:33:59.575Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2022-06-29T15:33:59.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2022-06-29T15:33:59.600Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [Pipeline] echo [2022-06-29T15:33:59.614Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ff0976 [Pipeline] echo [2022-06-29T15:33:59.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:33:59.673Z] provisioning config files... [2022-06-29T15:33:59.685Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config9085169279201215144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:33:59.995Z] ---> docker-login.sh [2022-06-29T15:33:59.996Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:34:00.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:00.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:00.256Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:00.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:00.256Z] [2022-06-29T15:34:00.256Z] Login Succeeded [2022-06-29T15:34:00.256Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:34:00.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:00.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:00.518Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:00.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:00.518Z] [2022-06-29T15:34:00.518Z] Login Succeeded [2022-06-29T15:34:00.518Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:34:00.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:00.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:00.779Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:00.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:00.779Z] [2022-06-29T15:34:00.779Z] Login Succeeded [2022-06-29T15:34:00.779Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:34:00.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:00.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:00.779Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:00.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:00.779Z] [2022-06-29T15:34:00.779Z] Login Succeeded [2022-06-29T15:34:00.779Z] docker.io [2022-06-29T15:34:00.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:01.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:01.351Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:01.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:01.351Z] [2022-06-29T15:34:01.351Z] Login Succeeded [2022-06-29T15:34:01.351Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:34:01.360Z] 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:34:01.742Z] + git rev-list -1 --merges 3ff0976c410bf37b4cc9b24fe66b75d80dd93054~1..3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [Pipeline] echo [2022-06-29T15:34:01.777Z] -----------> git rev-list -1 --merges 3ff0976c410bf37b4cc9b24fe66b75d80dd93054~1..3ff0976c410bf37b4cc9b24fe66b75d80dd93054 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [false] [Pipeline] sh [2022-06-29T15:34:02.073Z] + git log --format=format:%s -1 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [Pipeline] echo [2022-06-29T15:34:02.091Z] ========================================================= [2022-06-29T15:34:02.091Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T15:34:02.091Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:34:02.431Z] + git log --format=format:%s -1 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [Pipeline] echo [2022-06-29T15:34:02.448Z] [semverPrep] GIT_COMMIT: 3ff0976c410bf37b4cc9b24fe66b75d80dd93054, Commit Message: refactor(snap): Remove unused snap/gitkeep [Pipeline] echo [2022-06-29T15:34:02.459Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T15:34:02.830Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T15:34:02.831Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T15:34:02.831Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T15:34:02.831Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T15:34:02.831Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-29T15:34:02.831Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-29T15:34:02.831Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:34:03.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:34:03.244Z] [2022-06-29T15:34:03.244Z] 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:34:03.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:34:03.552Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T15:34:03.552Z] 42c077c10790: Pulling fs layer [2022-06-29T15:34:03.552Z] f63e77b7563a: Pulling fs layer [2022-06-29T15:34:03.552Z] bd5fdadae976: Pulling fs layer [2022-06-29T15:34:03.552Z] 205491f53016: Pulling fs layer [2022-06-29T15:34:03.552Z] df18705c85c3: Pulling fs layer [2022-06-29T15:34:03.552Z] bdb3f477010e: Pulling fs layer [2022-06-29T15:34:03.552Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T15:34:03.552Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T15:34:03.552Z] bdb8f0575790: Pulling fs layer [2022-06-29T15:34:03.552Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T15:34:03.552Z] 2343380bae48: Pulling fs layer [2022-06-29T15:34:03.552Z] bdb3f477010e: Waiting [2022-06-29T15:34:03.552Z] c8a8fc8e1c8f: Waiting [2022-06-29T15:34:03.552Z] 205491f53016: Waiting [2022-06-29T15:34:03.552Z] 2c6e9b1d212d: Waiting [2022-06-29T15:34:03.552Z] df18705c85c3: Waiting [2022-06-29T15:34:03.552Z] 2343380bae48: Waiting [2022-06-29T15:34:03.552Z] f63e77b7563a: Download complete [2022-06-29T15:34:03.552Z] 205491f53016: Verifying Checksum [2022-06-29T15:34:03.552Z] 205491f53016: Download complete [2022-06-29T15:34:03.812Z] df18705c85c3: Verifying Checksum [2022-06-29T15:34:03.812Z] df18705c85c3: Download complete [2022-06-29T15:34:03.812Z] bd5fdadae976: Verifying Checksum [2022-06-29T15:34:03.812Z] bd5fdadae976: Download complete [2022-06-29T15:34:03.812Z] bdb3f477010e: Verifying Checksum [2022-06-29T15:34:03.812Z] bdb3f477010e: Download complete [2022-06-29T15:34:03.812Z] 2c6e9b1d212d: Verifying Checksum [2022-06-29T15:34:03.812Z] 2c6e9b1d212d: Download complete [2022-06-29T15:34:03.812Z] bdb8f0575790: Download complete [2022-06-29T15:34:03.812Z] 386e3cb2ff24: Download complete [2022-06-29T15:34:03.812Z] 2343380bae48: Verifying Checksum [2022-06-29T15:34:03.812Z] 2343380bae48: Download complete [2022-06-29T15:34:03.812Z] 42c077c10790: Verifying Checksum [2022-06-29T15:34:03.812Z] 42c077c10790: Download complete [2022-06-29T15:34:04.072Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T15:34:04.072Z] c8a8fc8e1c8f: Download complete [2022-06-29T15:34:05.463Z] 42c077c10790: Pull complete [2022-06-29T15:34:05.463Z] f63e77b7563a: Pull complete [2022-06-29T15:34:06.033Z] bd5fdadae976: Pull complete [2022-06-29T15:34:06.033Z] 205491f53016: Pull complete [2022-06-29T15:34:06.295Z] df18705c85c3: Pull complete [2022-06-29T15:34:06.556Z] bdb3f477010e: Pull complete [2022-06-29T15:34:08.471Z] c8a8fc8e1c8f: Pull complete [2022-06-29T15:34:08.471Z] 2c6e9b1d212d: Pull complete [2022-06-29T15:34:08.733Z] bdb8f0575790: Pull complete [2022-06-29T15:34:08.733Z] 386e3cb2ff24: Pull complete [2022-06-29T15:34:08.733Z] 2343380bae48: Pull complete [2022-06-29T15:34:08.994Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T15:34:08.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T15:34:08.994Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:34:09.106Z] prd-ubuntu20.04-docker-8c-8g-16348 does not seem to be running inside a container [2022-06-29T15:34:09.154Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T15:34:10.750Z] $ docker top 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 -eo pid,comm [2022-06-29T15:34:10.819Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-29T15:34:10.819Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T15:34:10.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:34:10.866Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:34:10.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:34:11.005Z] $ docker exec 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 ssh-agent [2022-06-29T15:34:11.133Z] SSH_AUTH_SOCK=/tmp/ssh-XCqz5D6fFO9H/agent.33 [2022-06-29T15:34:11.133Z] SSH_AGENT_PID=39 [2022-06-29T15:34:11.139Z] Running ssh-add (command line suppressed) [2022-06-29T15:34:11.264Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_7773731473800856837.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_7773731473800856837.key) [2022-06-29T15:34:11.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:34:11.569Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T15:34:11.588Z] $ docker exec --env ******** --env ******** 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 ssh-agent -k [2022-06-29T15:34:11.701Z] unset SSH_AUTH_SOCK; [2022-06-29T15:34:11.702Z] unset SSH_AGENT_PID; [2022-06-29T15:34:11.702Z] echo Agent pid 39 killed; [2022-06-29T15:34:11.711Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T15:34:11.743Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T15:34:11.743Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T15:34:11.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T15:34:11.877Z] $ docker exec 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 ssh-agent [2022-06-29T15:34:12.010Z] SSH_AUTH_SOCK=/tmp/ssh-fWNHXz51OYa5/agent.73 [2022-06-29T15:34:12.010Z] SSH_AGENT_PID=79 [2022-06-29T15:34:12.015Z] Running ssh-add (command line suppressed) [2022-06-29T15:34:12.149Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_6342487408965976767.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_6342487408965976767.key) [2022-06-29T15:34:12.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T15:34:12.457Z] + git semver init [2022-06-29T15:34:12.717Z] 2022-06-29 15:34:12,661 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T15:34:12.717Z] 2022-06-29 15:34:12,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T15:34:12.717Z] 2022-06-29 15:34:12,662 [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:34:12.717Z] 2022-06-29 15:34:12,663 [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:34:13.659Z] 2022-06-29 15:34:13,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.git/info/exclude [2022-06-29T15:34:13.659Z] 2022-06-29 15:34:13,368 [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:34:13.659Z] 2022-06-29 15:34:13,368 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:34:13.659Z] 2022-06-29 15:34:13,372 [execute] INFO git cat-file --batch-check [2022-06-29T15:34:13.659Z] 2022-06-29 15:34:13,373 [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:34:13.659Z] 2022-06-29 15:34:13,379 [execute] INFO git cat-file --batch [2022-06-29T15:34:13.659Z] 2022-06-29 15:34:13,380 [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:34:13.659Z] 2022-06-29 15:34:13,386 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T15:34:13.659Z] 0.0.0 [Pipeline] } [2022-06-29T15:34:13.674Z] $ docker exec --env ******** --env ******** 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 ssh-agent -k [2022-06-29T15:34:13.788Z] unset SSH_AUTH_SOCK; [2022-06-29T15:34:13.788Z] unset SSH_AGENT_PID; [2022-06-29T15:34:13.789Z] echo Agent pid 79 killed; [2022-06-29T15:34:13.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T15:34:14.097Z] + git semver [Pipeline] } [2022-06-29T15:34:14.380Z] $ docker stop --time=1 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 [2022-06-29T15:34:15.733Z] $ docker rm -f 325d35571ef6abfbd8252b3bdf4114cc706192621ea898414929e506ef71e3e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:34:16.088Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T15:34:16.335Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T15:34:16.338Z] [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:34:16.485Z] provisioning config files... [2022-06-29T15:34:16.494Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config8179248668263217767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:34:16.798Z] ---> docker-login.sh [2022-06-29T15:34:16.798Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:34:16.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:16.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:16.798Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:16.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:16.798Z] [2022-06-29T15:34:16.798Z] Login Succeeded [2022-06-29T15:34:16.798Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:34:16.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:17.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:17.058Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:17.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:17.058Z] [2022-06-29T15:34:17.058Z] Login Succeeded [2022-06-29T15:34:17.058Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:34:17.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:17.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:17.058Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:17.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:17.058Z] [2022-06-29T15:34:17.058Z] Login Succeeded [2022-06-29T15:34:17.058Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:34:17.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:17.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:17.317Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:17.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:17.317Z] [2022-06-29T15:34:17.317Z] Login Succeeded [2022-06-29T15:34:17.317Z] docker.io [2022-06-29T15:34:17.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:34:17.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:34:17.577Z] Configure a credential helper to remove this warning. See [2022-06-29T15:34:17.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:34:17.577Z] [2022-06-29T15:34:17.577Z] Login Succeeded [2022-06-29T15:34:17.577Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:34:17.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:34:17.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:34:17.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:34:17.677Z] ========================================================= [2022-06-29T15:34:17.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T15:34:17.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:34:17.998Z] + 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:34:17.999Z] Sending build context to Docker daemon 6.051MB [2022-06-29T15:34:17.999Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:34:17.999Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:34:17.999Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T15:34:17.999Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T15:34:17.999Z] 666ba61612fd: Pulling fs layer [2022-06-29T15:34:17.999Z] 8ed8ca486205: Pulling fs layer [2022-06-29T15:34:17.999Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T15:34:17.999Z] c516ae0d96e1: Pulling fs layer [2022-06-29T15:34:17.999Z] 684cea983483: Pulling fs layer [2022-06-29T15:34:17.999Z] dd3240ac7de5: Pulling fs layer [2022-06-29T15:34:17.999Z] b1e948a4e11c: Pulling fs layer [2022-06-29T15:34:17.999Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T15:34:17.999Z] 646ad004c059: Pulling fs layer [2022-06-29T15:34:17.999Z] b1e948a4e11c: Waiting [2022-06-29T15:34:17.999Z] a8fd76ee1af6: Waiting [2022-06-29T15:34:17.999Z] 646ad004c059: Waiting [2022-06-29T15:34:17.999Z] c516ae0d96e1: Waiting [2022-06-29T15:34:17.999Z] 684cea983483: Waiting [2022-06-29T15:34:17.999Z] dd3240ac7de5: Waiting [2022-06-29T15:34:17.999Z] cc1cd167ecdc: Waiting [2022-06-29T15:34:17.999Z] 8ed8ca486205: Verifying Checksum [2022-06-29T15:34:17.999Z] 8ed8ca486205: Download complete [2022-06-29T15:34:17.999Z] 666ba61612fd: Verifying Checksum [2022-06-29T15:34:17.999Z] 666ba61612fd: Download complete [2022-06-29T15:34:17.999Z] c516ae0d96e1: Verifying Checksum [2022-06-29T15:34:17.999Z] c516ae0d96e1: Download complete [2022-06-29T15:34:18.265Z] 684cea983483: Verifying Checksum [2022-06-29T15:34:18.265Z] 684cea983483: Download complete [2022-06-29T15:34:18.265Z] dd3240ac7de5: Verifying Checksum [2022-06-29T15:34:18.265Z] dd3240ac7de5: Download complete [2022-06-29T15:34:18.265Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T15:34:18.265Z] 59bf1c3509f3: Download complete [2022-06-29T15:34:18.265Z] b1e948a4e11c: Verifying Checksum [2022-06-29T15:34:18.265Z] b1e948a4e11c: Download complete [2022-06-29T15:34:18.265Z] 59bf1c3509f3: Pull complete [2022-06-29T15:34:18.529Z] 666ba61612fd: Pull complete [2022-06-29T15:34:18.529Z] 8ed8ca486205: Pull complete [2022-06-29T15:34:18.791Z] 646ad004c059: Verifying Checksum [2022-06-29T15:34:18.791Z] 646ad004c059: Download complete [2022-06-29T15:34:18.791Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T15:34:18.791Z] cc1cd167ecdc: Download complete [2022-06-29T15:34:18.791Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T15:34:18.791Z] a8fd76ee1af6: Download complete [2022-06-29T15:34:22.987Z] cc1cd167ecdc: Pull complete [2022-06-29T15:34:22.987Z] c516ae0d96e1: Pull complete [2022-06-29T15:34:22.987Z] 684cea983483: Pull complete [2022-06-29T15:34:23.247Z] dd3240ac7de5: Pull complete [2022-06-29T15:34:23.247Z] b1e948a4e11c: Pull complete [2022-06-29T15:34:25.790Z] a8fd76ee1af6: Pull complete [2022-06-29T15:34:26.363Z] 646ad004c059: Pull complete [2022-06-29T15:34:26.363Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T15:34:26.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T15:34:26.363Z] ---> 8f69c11f6b0c [2022-06-29T15:34:26.363Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:34:28.280Z] ---> Running in b507f06c930b [2022-06-29T15:34:28.280Z] Removing intermediate container b507f06c930b [2022-06-29T15:34:28.280Z] ---> a7978bc0574c [2022-06-29T15:34:28.280Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:34:28.280Z] ---> Running in 379f78a8d8ca [2022-06-29T15:34:28.280Z] Removing intermediate container 379f78a8d8ca [2022-06-29T15:34:28.280Z] ---> f254f28be78d [2022-06-29T15:34:28.280Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:34:28.280Z] ---> Running in 54ab16d01b1c [2022-06-29T15:34:29.220Z] Removing intermediate container 54ab16d01b1c [2022-06-29T15:34:29.220Z] ---> 96bcb73b2887 [2022-06-29T15:34:29.220Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:34:29.220Z] ---> Running in 8b5f5d33fb76 [2022-06-29T15:34:29.484Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:34:30.427Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:34:30.688Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:34:30.688Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:34:30.948Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:34:30.948Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:34:31.210Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:34:31.210Z] OK: 224 MiB in 56 packages [2022-06-29T15:34:31.444Z] Still waiting to schedule task [2022-06-29T15:34:31.444Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-29T15:34:31.469Z] Removing intermediate container 8b5f5d33fb76 [2022-06-29T15:34:31.469Z] ---> 312d79003cbb [2022-06-29T15:34:31.469Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:34:31.469Z] ---> Running in 37f7f77b4c3e [2022-06-29T15:34:31.729Z] Removing intermediate container 37f7f77b4c3e [2022-06-29T15:34:31.729Z] ---> 929257cc1b79 [2022-06-29T15:34:31.729Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:34:31.729Z] ---> 7fd2da037d76 [2022-06-29T15:34:31.729Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:34:31.729Z] ---> Running in 35c752422dd0 [2022-06-29T15:34:46.639Z] Removing intermediate container 35c752422dd0 [2022-06-29T15:34:46.639Z] ---> 5220c32aa637 [2022-06-29T15:34:46.639Z] Step 10/12 : COPY . . [2022-06-29T15:34:46.639Z] ---> 9d1a54d35389 [2022-06-29T15:34:46.639Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:34:46.639Z] ---> Running in c3b614fea919 [2022-06-29T15:34:46.639Z] Removing intermediate container c3b614fea919 [2022-06-29T15:34:46.639Z] ---> 8d289d893560 [2022-06-29T15:34:46.639Z] Step 12/12 : RUN $MAKE [2022-06-29T15:34:46.639Z] ---> Running in bf9eb8dccd46 [2022-06-29T15:34:46.639Z] noop [2022-06-29T15:34:46.639Z] Removing intermediate container bf9eb8dccd46 [2022-06-29T15:34:46.639Z] ---> ed8f81e64abd [2022-06-29T15:34:46.639Z] Successfully built ed8f81e64abd [2022-06-29T15:34:46.639Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:34:46.960Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:34:46.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:34:47.039Z] prd-ubuntu20.04-docker-8c-8g-16348 does not seem to be running inside a container [2022-06-29T15:34:47.074Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T15:34:47.486Z] $ docker top 8bdb987d0b3ae11cf736659db2b44d8f9ee653a55a05dc141a690a1887a21443 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:34:47.845Z] + go version [2022-06-29T15:34:47.845Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T15:34:47.861Z] $ docker stop --time=1 8bdb987d0b3ae11cf736659db2b44d8f9ee653a55a05dc141a690a1887a21443 [2022-06-29T15:34:49.151Z] $ docker rm -f 8bdb987d0b3ae11cf736659db2b44d8f9ee653a55a05dc141a690a1887a21443 [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:34:49.562Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T15:34:49.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:34:49.717Z] prd-ubuntu20.04-docker-8c-8g-16348 does not seem to be running inside a container [2022-06-29T15:34:49.769Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-29T15:34:50.190Z] $ docker top 4de93f7ec3c1ece7cacb9a30f525c6f226fdf389e384d063eff60a3425948314 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:34:50.559Z] + make test [2022-06-29T15:34:50.559Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:34:50.818Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:35:00.806Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:35:00.806Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-06-29T15:35:00.806Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:35:06.087Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:35:10.283Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:35:10.283Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:35:10.283Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:35:10.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:35:10.310Z] $ docker stop --time=1 4de93f7ec3c1ece7cacb9a30f525c6f226fdf389e384d063eff60a3425948314 [2022-06-29T15:35:12.160Z] $ docker rm -f 4de93f7ec3c1ece7cacb9a30f525c6f226fdf389e384d063eff60a3425948314 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:35:12.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:35:12.718Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T15:35:13.224Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:35:13.511Z] + ls -al . [2022-06-29T15:35:13.511Z] total 180 [2022-06-29T15:35:13.511Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 15:35 . [2022-06-29T15:35:13.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:33 .. [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:33 .dockerignore [2022-06-29T15:35:13.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:34 .git [2022-06-29T15:35:13.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:33 .github [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:33 .gitignore [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:33 .golangci.yml [2022-06-29T15:35:13.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:34 .semver [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:33 Attribution.txt [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:33 CHANGELOG.md [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:33 Dockerfile [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:33 GOVERNANCE.md [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:33 Jenkinsfile [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:33 LICENSE [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:33 Makefile [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:33 OWNERS.md [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:33 README.md [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:34 VERSION [2022-06-29T15:35:13.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:33 bin [2022-06-29T15:35:13.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:33 cmd [2022-06-29T15:35:13.511Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:34 coverage.out [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:33 go.mod [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:33 go.sum [2022-06-29T15:35:13.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:33 internal [2022-06-29T15:35:13.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:33 mock [2022-06-29T15:35:13.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:33 snap [2022-06-29T15:35:13.511Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:35:13.817Z] + 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=3ff0976c410bf37b4cc9b24fe66b75d80dd93054 --label arch=amd64 --label version=0.0.0 . [2022-06-29T15:35:13.817Z] Sending build context to Docker daemon 6.069MB [2022-06-29T15:35:13.817Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:35:13.817Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:35:13.817Z] ---> ed8f81e64abd [2022-06-29T15:35:13.817Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:35:13.817Z] ---> Running in 7ff9fcc19261 [2022-06-29T15:35:14.077Z] Removing intermediate container 7ff9fcc19261 [2022-06-29T15:35:14.077Z] ---> b29b7d7411ef [2022-06-29T15:35:14.077Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:35:14.077Z] ---> Running in 88e1d781a085 [2022-06-29T15:35:14.077Z] Removing intermediate container 88e1d781a085 [2022-06-29T15:35:14.077Z] ---> a1e10c91b2cd [2022-06-29T15:35:14.077Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:35:14.077Z] ---> Running in c1f3d8f8706e [2022-06-29T15:35:14.646Z] Removing intermediate container c1f3d8f8706e [2022-06-29T15:35:14.646Z] ---> cd68498e5ec2 [2022-06-29T15:35:14.646Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:35:14.905Z] ---> Running in 3dae38bd3f04 [2022-06-29T15:35:15.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:35:15.733Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:35:16.305Z] OK: 224 MiB in 56 packages [2022-06-29T15:35:16.564Z] Removing intermediate container 3dae38bd3f04 [2022-06-29T15:35:16.564Z] ---> 5a18032be7c3 [2022-06-29T15:35:16.564Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:35:16.564Z] ---> Running in 8183fffcabb5 [2022-06-29T15:35:16.564Z] Removing intermediate container 8183fffcabb5 [2022-06-29T15:35:16.564Z] ---> e41cfa5da11c [2022-06-29T15:35:16.564Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:35:16.824Z] ---> 70b998e250d4 [2022-06-29T15:35:16.824Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:35:16.824Z] ---> Running in a771d0589090 [2022-06-29T15:35:17.397Z] Removing intermediate container a771d0589090 [2022-06-29T15:35:17.397Z] ---> 38419574e5d1 [2022-06-29T15:35:17.397Z] Step 10/24 : COPY . . [2022-06-29T15:35:17.661Z] ---> ddd2e639142e [2022-06-29T15:35:17.661Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:35:17.661Z] ---> Running in b252eb6266bf [2022-06-29T15:35:17.661Z] Removing intermediate container b252eb6266bf [2022-06-29T15:35:17.661Z] ---> 84568fadd238 [2022-06-29T15:35:17.661Z] Step 12/24 : RUN $MAKE [2022-06-29T15:35:17.922Z] ---> Running in 59f8460f09d3 [2022-06-29T15:35:18.183Z] 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:35:40.147Z] Removing intermediate container 59f8460f09d3 [2022-06-29T15:35:40.147Z] ---> 6d411cd48508 [2022-06-29T15:35:40.147Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:35:40.147Z] 3.14: Pulling from library/alpine [2022-06-29T15:35:40.147Z] 8663204ce13b: Pulling fs layer [2022-06-29T15:35:40.147Z] 8663204ce13b: Verifying Checksum [2022-06-29T15:35:40.147Z] 8663204ce13b: Download complete [2022-06-29T15:35:40.147Z] 8663204ce13b: Pull complete [2022-06-29T15:35:40.147Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:35:40.147Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:35:40.147Z] ---> e04c818066af [2022-06-29T15:35:40.147Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:35:40.147Z] ---> Running in 802fa5f8109b [2022-06-29T15:35:40.147Z] Removing intermediate container 802fa5f8109b [2022-06-29T15:35:40.147Z] ---> 028c6b9b1899 [2022-06-29T15:35:40.147Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:35:40.147Z] ---> Running in 0b69844ee546 [2022-06-29T15:35:40.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T15:35:40.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T15:35:40.147Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:35:40.147Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:35:40.147Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:35:40.147Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:35:40.147Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:35:40.147Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:35:40.147Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:35:40.147Z] OK: 8 MiB in 20 packages [2022-06-29T15:35:40.147Z] Removing intermediate container 0b69844ee546 [2022-06-29T15:35:40.147Z] ---> f90b4bf249e8 [2022-06-29T15:35:40.147Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:35:40.147Z] ---> 612cba24ed4a [2022-06-29T15:35:40.147Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:35:40.147Z] ---> 9e15a2e64b17 [2022-06-29T15:35:40.147Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:35:40.407Z] ---> 10ffb606ee37 [2022-06-29T15:35:40.407Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:35:40.407Z] ---> Running in fe9fe3ec772a [2022-06-29T15:35:40.407Z] Removing intermediate container fe9fe3ec772a [2022-06-29T15:35:40.407Z] ---> 692368611693 [2022-06-29T15:35:40.407Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:35:40.407Z] ---> Running in 8cbefef215dc [2022-06-29T15:35:40.666Z] Removing intermediate container 8cbefef215dc [2022-06-29T15:35:40.666Z] ---> bbada7834fd4 [2022-06-29T15:35:40.666Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:35:40.666Z] ---> Running in 5b048af4b899 [2022-06-29T15:35:40.666Z] Removing intermediate container 5b048af4b899 [2022-06-29T15:35:40.666Z] ---> 8ba14ce86955 [2022-06-29T15:35:40.666Z] Step 22/24 : LABEL arch=amd64 [2022-06-29T15:35:40.666Z] ---> Running in f1d65831e8d7 [2022-06-29T15:35:40.925Z] Removing intermediate container f1d65831e8d7 [2022-06-29T15:35:40.925Z] ---> eb966d0b5864 [2022-06-29T15:35:40.925Z] Step 23/24 : LABEL git_sha=3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [2022-06-29T15:35:40.925Z] ---> Running in 2baa5aa411c0 [2022-06-29T15:35:40.925Z] Removing intermediate container 2baa5aa411c0 [2022-06-29T15:35:40.925Z] ---> 4d25b490b9d4 [2022-06-29T15:35:40.925Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:35:41.185Z] ---> Running in b88a8d3a9fd0 [2022-06-29T15:35:41.185Z] Removing intermediate container b88a8d3a9fd0 [2022-06-29T15:35:41.185Z] ---> 686aaea80b13 [2022-06-29T15:35:41.185Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:35:41.185Z] Successfully built 686aaea80b13 [2022-06-29T15:35:41.185Z] 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:35:41.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:35:41.608Z] [2022-06-29T15:35:41.609Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:35:41.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:35:41.905Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T15:35:41.905Z] 5eb5b503b376: Pulling fs layer [2022-06-29T15:35:41.905Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T15:35:41.905Z] ec43610c2a17: Pulling fs layer [2022-06-29T15:35:41.905Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T15:35:41.905Z] 33b1e0a273af: Pulling fs layer [2022-06-29T15:35:41.905Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T15:35:41.905Z] 2f39f015ded8: Pulling fs layer [2022-06-29T15:35:41.905Z] 33b1e0a273af: Waiting [2022-06-29T15:35:41.905Z] 5d3b04190fa2: Waiting [2022-06-29T15:35:41.905Z] 2f39f015ded8: Waiting [2022-06-29T15:35:41.905Z] 3a2ae6a8a46f: Waiting [2022-06-29T15:35:41.905Z] 5c69ac0246d0: Download complete [2022-06-29T15:35:41.905Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T15:35:41.905Z] 3a2ae6a8a46f: Download complete [2022-06-29T15:35:41.905Z] 33b1e0a273af: Verifying Checksum [2022-06-29T15:35:41.905Z] 33b1e0a273af: Download complete [2022-06-29T15:35:41.905Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T15:35:41.905Z] 5d3b04190fa2: Download complete [2022-06-29T15:35:41.905Z] ec43610c2a17: Verifying Checksum [2022-06-29T15:35:41.905Z] ec43610c2a17: Download complete [2022-06-29T15:35:42.165Z] 5eb5b503b376: Verifying Checksum [2022-06-29T15:35:42.165Z] 5eb5b503b376: Download complete [2022-06-29T15:35:42.733Z] 2f39f015ded8: Download complete [2022-06-29T15:35:43.302Z] 5eb5b503b376: Pull complete [2022-06-29T15:35:43.562Z] 5c69ac0246d0: Pull complete [2022-06-29T15:35:43.821Z] ec43610c2a17: Pull complete [2022-06-29T15:35:44.081Z] 3a2ae6a8a46f: Pull complete [2022-06-29T15:35:44.340Z] 33b1e0a273af: Pull complete [2022-06-29T15:35:44.340Z] 5d3b04190fa2: Pull complete [2022-06-29T15:35:48.533Z] 2f39f015ded8: Pull complete [2022-06-29T15:35:48.533Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T15:35:48.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:35:48.533Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:35:48.625Z] prd-ubuntu20.04-docker-8c-8g-16348 does not seem to be running inside a container [2022-06-29T15:35:48.663Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T15:35:50.717Z] $ docker top 0b3db487ac724622dbf08bf51196c065e3266d77fbba3b3b6b61db6519418691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:35:51.133Z] ---> job-cost.sh [2022-06-29T15:35:51.133Z] lf-activate-venv: SKIPPING [2022-06-29T15:35:51.133Z] INFO: No Stack... [2022-06-29T15:35:51.703Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:35:51.964Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:35:52.256Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/cost.csv [2022-06-29T15:35:52.256Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T15:35:52.270Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] [2022-06-29T15:35:52.276Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] did not exist. Created. [2022-06-29T15:35:52.276Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:35:52.580Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T15:35:52.604Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:35:52.611Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:35:52.635Z] $ docker stop --time=1 0b3db487ac724622dbf08bf51196c065e3266d77fbba3b3b6b61db6519418691 [2022-06-29T15:35:53.841Z] $ docker rm -f 0b3db487ac724622dbf08bf51196c065e3266d77fbba3b3b6b61db6519418691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T15:36:06.108Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16349 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [Pipeline] { [Pipeline] ws [2022-06-29T15:36:06.121Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-06-29T15:36:06.157Z] Selected Git installation does not exist. Using Default [2022-06-29T15:36:06.157Z] The recommended git tool is: NONE [2022-06-29T15:36:11.281Z] using credential edgex-jenkins-ssh [2022-06-29T15:36:11.299Z] Cloning the remote Git repository [2022-06-29T15:36:11.358Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:36:11.433Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-06-29T15:36:11.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:36:11.530Z] > git --version # timeout=10 [2022-06-29T15:36:11.548Z] > git --version # 'git version 2.25.1' [2022-06-29T15:36:11.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:36:11.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:36:13.299Z] Merging remotes/origin/main commit 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [2022-06-29T15:36:13.521Z] Merge succeeded, producing 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [2022-06-29T15:36:13.522Z] Checking out Revision 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 (PR-397) [2022-06-29T15:36:12.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:36:12.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T15:36:12.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T15:36:12.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T15:36:12.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:36:12.791Z] > 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:36:13.321Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:36:13.344Z] > git checkout -f 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 # timeout=10 [2022-06-29T15:36:13.428Z] > git remote # timeout=10 [2022-06-29T15:36:13.449Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T15:36:13.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T15:36:13.474Z] > git merge 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [2022-06-29T15:36:13.500Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T15:36:13.532Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T15:36:13.544Z] > git checkout -f 3ff0976c410bf37b4cc9b24fe66b75d80dd93054 # timeout=10 [2022-06-29T15:36:17.776Z] Commit message: "refactor(snap): Remove unused snap/gitkeep" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:36:18.833Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T15:36:18.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:36:18.833Z] Dload Upload Total Spent Left Speed [2022-06-29T15:36:18.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 88789 0 --:--:-- --:--:-- --:--:-- 88789 [Pipeline] sh [2022-06-29T15:36:19.514Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T15:36:19.892Z] + sudo tee /etc/docker/daemon.new [2022-06-29T15:36:19.893Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T15:36:19.893Z] { [2022-06-29T15:36:19.893Z] "registry-mirrors": [ [2022-06-29T15:36:19.893Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T15:36:19.893Z] ], [2022-06-29T15:36:19.893Z] "bip": "10.250.0.254/24", [2022-06-29T15:36:19.893Z] "hosts": [ [2022-06-29T15:36:19.893Z] "tcp://0.0.0.0:5555", [2022-06-29T15:36:19.893Z] "unix:///var/run/docker.sock" [2022-06-29T15:36:19.893Z] ], [2022-06-29T15:36:19.893Z] "mtu": 1458, [2022-06-29T15:36:19.893Z] "selinux-enabled": true, [2022-06-29T15:36:19.893Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T15:36:19.893Z] } [Pipeline] sh [2022-06-29T15:36:20.245Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T15:36:20.588Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:36:38.930Z] provisioning config files... [2022-06-29T15:36:38.952Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config7379113785069660227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:36:39.307Z] ---> docker-login.sh [2022-06-29T15:36:39.307Z] nexus3.edgexfoundry.org:10001 [2022-06-29T15:36:39.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:36:40.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:36:40.182Z] Configure a credential helper to remove this warning. See [2022-06-29T15:36:40.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:36:40.182Z] [2022-06-29T15:36:40.182Z] Login Succeeded [2022-06-29T15:36:40.182Z] nexus3.edgexfoundry.org:10002 [2022-06-29T15:36:40.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:36:40.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:36:40.730Z] Configure a credential helper to remove this warning. See [2022-06-29T15:36:40.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:36:40.730Z] [2022-06-29T15:36:40.730Z] Login Succeeded [2022-06-29T15:36:40.730Z] nexus3.edgexfoundry.org:10003 [2022-06-29T15:36:41.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:36:41.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:36:41.006Z] Configure a credential helper to remove this warning. See [2022-06-29T15:36:41.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:36:41.006Z] [2022-06-29T15:36:41.006Z] Login Succeeded [2022-06-29T15:36:41.006Z] nexus3.edgexfoundry.org:10004 [2022-06-29T15:36:41.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:36:41.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:36:41.609Z] Configure a credential helper to remove this warning. See [2022-06-29T15:36:41.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:36:41.609Z] [2022-06-29T15:36:41.609Z] Login Succeeded [2022-06-29T15:36:41.609Z] docker.io [2022-06-29T15:36:41.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T15:36:42.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T15:36:42.486Z] Configure a credential helper to remove this warning. See [2022-06-29T15:36:42.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T15:36:42.486Z] [2022-06-29T15:36:42.486Z] Login Succeeded [2022-06-29T15:36:42.486Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T15:36:42.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T15:36:43.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:36:43.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T15:36:43.071Z] ========================================================= [2022-06-29T15:36:43.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T15:36:43.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:36:43.444Z] + 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:36:43.718Z] Sending build context to Docker daemon 3.14MB [2022-06-29T15:36:43.718Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:36:43.718Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T15:36:43.997Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T15:36:43.997Z] 9b3977197b4f: Pulling fs layer [2022-06-29T15:36:43.997Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T15:36:43.997Z] 94645a83ff95: Pulling fs layer [2022-06-29T15:36:43.997Z] e6fb740bc735: Pulling fs layer [2022-06-29T15:36:43.997Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T15:36:43.997Z] 355e64cbe906: Pulling fs layer [2022-06-29T15:36:43.997Z] 63ab81a10011: Pulling fs layer [2022-06-29T15:36:43.997Z] 555d1d1c4555: Pulling fs layer [2022-06-29T15:36:43.997Z] 7d9057610161: Pulling fs layer [2022-06-29T15:36:43.997Z] 355e64cbe906: Waiting [2022-06-29T15:36:43.997Z] 63ab81a10011: Waiting [2022-06-29T15:36:43.997Z] 555d1d1c4555: Waiting [2022-06-29T15:36:43.997Z] e6fb740bc735: Waiting [2022-06-29T15:36:43.997Z] 3a77bd46dcc9: Waiting [2022-06-29T15:36:43.997Z] 94645a83ff95: Verifying Checksum [2022-06-29T15:36:43.997Z] 1a89e8eeedd5: Download complete [2022-06-29T15:36:43.997Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T15:36:43.997Z] 3a77bd46dcc9: Download complete [2022-06-29T15:36:43.997Z] 355e64cbe906: Verifying Checksum [2022-06-29T15:36:43.997Z] 355e64cbe906: Download complete [2022-06-29T15:36:43.997Z] 9b3977197b4f: Verifying Checksum [2022-06-29T15:36:43.997Z] 9b3977197b4f: Download complete [2022-06-29T15:36:44.272Z] 63ab81a10011: Verifying Checksum [2022-06-29T15:36:44.272Z] 63ab81a10011: Download complete [2022-06-29T15:36:45.267Z] 9b3977197b4f: Pull complete [2022-06-29T15:36:45.267Z] 7d9057610161: Verifying Checksum [2022-06-29T15:36:45.267Z] 7d9057610161: Download complete [2022-06-29T15:36:45.869Z] 1a89e8eeedd5: Pull complete [2022-06-29T15:36:46.144Z] 94645a83ff95: Pull complete [2022-06-29T15:36:46.422Z] 555d1d1c4555: Verifying Checksum [2022-06-29T15:36:46.422Z] 555d1d1c4555: Download complete [2022-06-29T15:36:47.022Z] e6fb740bc735: Verifying Checksum [2022-06-29T15:36:47.022Z] e6fb740bc735: Download complete [2022-06-29T15:36:59.434Z] e6fb740bc735: Pull complete [2022-06-29T15:36:59.707Z] 3a77bd46dcc9: Pull complete [2022-06-29T15:36:59.980Z] 355e64cbe906: Pull complete [2022-06-29T15:37:00.254Z] 63ab81a10011: Pull complete [2022-06-29T15:37:06.992Z] 555d1d1c4555: Pull complete [2022-06-29T15:37:08.973Z] 7d9057610161: Pull complete [2022-06-29T15:37:08.973Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T15:37:08.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T15:37:08.973Z] ---> 819e984ddca1 [2022-06-29T15:37:08.973Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:37:10.410Z] ---> Running in f8ae25b387de [2022-06-29T15:37:11.007Z] Removing intermediate container f8ae25b387de [2022-06-29T15:37:11.007Z] ---> da0c8a045a3c [2022-06-29T15:37:11.007Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:37:11.007Z] ---> Running in 6c412f931919 [2022-06-29T15:37:11.281Z] Removing intermediate container 6c412f931919 [2022-06-29T15:37:11.281Z] ---> 8cb895c50912 [2022-06-29T15:37:11.281Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:37:11.281Z] ---> Running in fc5a79bf7ca0 [2022-06-29T15:37:13.273Z] Removing intermediate container fc5a79bf7ca0 [2022-06-29T15:37:13.273Z] ---> d5bfdc53bb1e [2022-06-29T15:37:13.273Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:37:13.273Z] ---> Running in d49b2b8f12e5 [2022-06-29T15:37:14.256Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:37:15.232Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:37:15.826Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T15:37:16.098Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T15:37:16.098Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T15:37:16.371Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T15:37:16.371Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T15:37:16.646Z] OK: 224 MiB in 56 packages [2022-06-29T15:37:17.627Z] Removing intermediate container d49b2b8f12e5 [2022-06-29T15:37:17.627Z] ---> 311dec0dbf4d [2022-06-29T15:37:17.627Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T15:37:17.627Z] ---> Running in 62e45ec51575 [2022-06-29T15:37:17.904Z] Removing intermediate container 62e45ec51575 [2022-06-29T15:37:17.904Z] ---> 9e60d2a8583f [2022-06-29T15:37:17.904Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T15:37:18.513Z] ---> 19a4eb6f2b3e [2022-06-29T15:37:18.513Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:37:18.513Z] ---> Running in c5b22d6df722 [2022-06-29T15:38:05.516Z] Removing intermediate container c5b22d6df722 [2022-06-29T15:38:05.516Z] ---> 68c818f68c74 [2022-06-29T15:38:05.516Z] Step 10/12 : COPY . . [2022-06-29T15:38:05.516Z] ---> ae7ef667cfba [2022-06-29T15:38:05.516Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T15:38:05.516Z] ---> Running in f675f5ea6ecf [2022-06-29T15:38:05.516Z] Removing intermediate container f675f5ea6ecf [2022-06-29T15:38:05.516Z] ---> a76257857cfa [2022-06-29T15:38:05.516Z] Step 12/12 : RUN $MAKE [2022-06-29T15:38:05.516Z] ---> Running in c5575ac72fb4 [2022-06-29T15:38:05.516Z] noop [2022-06-29T15:38:05.791Z] Removing intermediate container c5575ac72fb4 [2022-06-29T15:38:05.791Z] ---> 89845278f81c [2022-06-29T15:38:05.791Z] Successfully built 89845278f81c [2022-06-29T15:38:05.791Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:38:06.162Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T15:38:06.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:38:06.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-16349 does not seem to be running inside a container [2022-06-29T15:38:06.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T15:38:07.738Z] $ docker top c6d2736c7a67b0395f95a27f2e58827946acc8d4c31d8c0d7ba2ad4cdc4678db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:38:08.628Z] + go version [2022-06-29T15:38:08.628Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T15:38:08.658Z] $ docker stop --time=1 c6d2736c7a67b0395f95a27f2e58827946acc8d4c31d8c0d7ba2ad4cdc4678db [2022-06-29T15:38:10.307Z] $ docker rm -f c6d2736c7a67b0395f95a27f2e58827946acc8d4c31d8c0d7ba2ad4cdc4678db [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:38:10.902Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T15:38:10.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:38:11.144Z] prd-ubuntu20.04-docker-arm64-4c-16g-16349 does not seem to be running inside a container [2022-06-29T15:38:11.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T15:38:12.678Z] $ docker top 1f2f1f11bfa513f7236cc1ed01bf206f0a59f8baa9fcd123f6a0179bbaa8d92a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T15:38:13.563Z] + make test [2022-06-29T15:38:13.563Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T15:38:15.421Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T15:39:37.281Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T15:39:37.281Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-06-29T15:39:37.281Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T15:39:37.281Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T15:39:37.281Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T15:40:04.108Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T15:40:04.108Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T15:40:04.108Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T15:40:04.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T15:40:04.150Z] $ docker stop --time=1 1f2f1f11bfa513f7236cc1ed01bf206f0a59f8baa9fcd123f6a0179bbaa8d92a [2022-06-29T15:40:05.927Z] $ docker rm -f 1f2f1f11bfa513f7236cc1ed01bf206f0a59f8baa9fcd123f6a0179bbaa8d92a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T15:40:06.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T15:40:06.870Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T15:40:07.424Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T15:40:07.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T15:40:08.183Z] + ls -al . [2022-06-29T15:40:08.183Z] total 176 [2022-06-29T15:40:08.183Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 15:40 . [2022-06-29T15:40:08.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:36 .. [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 15:36 .dockerignore [2022-06-29T15:40:08.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:36 .git [2022-06-29T15:40:08.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:36 .github [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 15:36 .gitignore [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 15:36 .golangci.yml [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 15:36 Attribution.txt [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 15:36 CHANGELOG.md [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:36 Dockerfile [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 15:36 GOVERNANCE.md [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 15:36 Jenkinsfile [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 15:36 LICENSE [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 15:36 Makefile [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 15:36 OWNERS.md [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 15:36 README.md [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 15:34 VERSION [2022-06-29T15:40:08.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:36 bin [2022-06-29T15:40:08.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:36 cmd [2022-06-29T15:40:08.183Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 15:39 coverage.out [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 15:36 go.mod [2022-06-29T15:40:08.183Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 15:36 go.sum [2022-06-29T15:40:08.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 15:36 internal [2022-06-29T15:40:08.183Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 15:36 mock [2022-06-29T15:40:08.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 15:36 snap [2022-06-29T15:40:08.184Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 15:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:40:08.563Z] + 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=3ff0976c410bf37b4cc9b24fe66b75d80dd93054 --label arch=arm64 --label version=0.0.0 . [2022-06-29T15:40:08.867Z] Sending build context to Docker daemon 3.159MB [2022-06-29T15:40:08.867Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T15:40:08.867Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T15:40:08.867Z] ---> 89845278f81c [2022-06-29T15:40:08.867Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T15:40:09.154Z] ---> Running in 59a458245446 [2022-06-29T15:40:09.434Z] Removing intermediate container 59a458245446 [2022-06-29T15:40:09.434Z] ---> 746e1accb286 [2022-06-29T15:40:09.434Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T15:40:09.434Z] ---> Running in 9aaa36e1a600 [2022-06-29T15:40:09.715Z] Removing intermediate container 9aaa36e1a600 [2022-06-29T15:40:09.715Z] ---> 6326f988146a [2022-06-29T15:40:09.715Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T15:40:10.003Z] ---> Running in bbf9dfb13e2c [2022-06-29T15:40:11.447Z] Removing intermediate container bbf9dfb13e2c [2022-06-29T15:40:11.447Z] ---> 6f7736eaaf1f [2022-06-29T15:40:11.447Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T15:40:11.733Z] ---> Running in a7204686e786 [2022-06-29T15:40:12.721Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:40:13.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:40:14.682Z] OK: 224 MiB in 56 packages [2022-06-29T15:40:15.283Z] Removing intermediate container a7204686e786 [2022-06-29T15:40:15.283Z] ---> d2cb3f21f90b [2022-06-29T15:40:15.283Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T15:40:15.283Z] ---> Running in ce90696e1b50 [2022-06-29T15:40:15.556Z] Removing intermediate container ce90696e1b50 [2022-06-29T15:40:15.556Z] ---> a6784073dd86 [2022-06-29T15:40:15.556Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T15:40:16.164Z] ---> 0ffa425da2b1 [2022-06-29T15:40:16.164Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T15:40:16.164Z] ---> Running in a56287c47fc7 [2022-06-29T15:40:18.149Z] Removing intermediate container a56287c47fc7 [2022-06-29T15:40:18.149Z] ---> b5302aa89adc [2022-06-29T15:40:18.149Z] Step 10/24 : COPY . . [2022-06-29T15:40:19.130Z] ---> da106f49871c [2022-06-29T15:40:19.130Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T15:40:19.130Z] ---> Running in 12fa767a2e3c [2022-06-29T15:40:19.407Z] Removing intermediate container 12fa767a2e3c [2022-06-29T15:40:19.407Z] ---> ab1084d5a4e6 [2022-06-29T15:40:19.407Z] Step 12/24 : RUN $MAKE [2022-06-29T15:40:19.407Z] ---> Running in 20644d757aca [2022-06-29T15:40:20.390Z] 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:42:27.290Z] Removing intermediate container 20644d757aca [2022-06-29T15:42:27.290Z] ---> 2ceb63fb7f5d [2022-06-29T15:42:27.290Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T15:42:27.290Z] 3.14: Pulling from library/alpine [2022-06-29T15:42:27.290Z] 455c02918c45: Pulling fs layer [2022-06-29T15:42:27.290Z] 455c02918c45: Verifying Checksum [2022-06-29T15:42:27.290Z] 455c02918c45: Download complete [2022-06-29T15:42:27.290Z] 455c02918c45: Pull complete [2022-06-29T15:42:27.290Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T15:42:27.290Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T15:42:27.290Z] ---> ac73e934f311 [2022-06-29T15:42:27.290Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T15:42:27.290Z] ---> Running in 8b13891f3264 [2022-06-29T15:42:27.290Z] Removing intermediate container 8b13891f3264 [2022-06-29T15:42:27.290Z] ---> b9fd45aac7f9 [2022-06-29T15:42:27.290Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T15:42:27.290Z] ---> Running in b5383e6d82f6 [2022-06-29T15:42:27.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T15:42:27.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T15:42:27.290Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T15:42:27.290Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T15:42:27.290Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T15:42:27.291Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T15:42:27.291Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T15:42:27.291Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T15:42:27.291Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T15:42:27.291Z] OK: 8 MiB in 20 packages [2022-06-29T15:42:27.890Z] Removing intermediate container b5383e6d82f6 [2022-06-29T15:42:27.890Z] ---> e6baa082a87f [2022-06-29T15:42:27.890Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T15:42:29.323Z] ---> 38d0f236993c [2022-06-29T15:42:29.323Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T15:42:29.920Z] ---> 2511bb3e099e [2022-06-29T15:42:29.920Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T15:42:30.519Z] ---> 18402e4d7751 [2022-06-29T15:42:30.519Z] Step 19/24 : EXPOSE 59982 [2022-06-29T15:42:30.519Z] ---> Running in 1e9e8ecad3e7 [2022-06-29T15:42:30.794Z] Removing intermediate container 1e9e8ecad3e7 [2022-06-29T15:42:30.794Z] ---> 7a86fefab5c5 [2022-06-29T15:42:30.794Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T15:42:30.794Z] ---> Running in 57c2b0e666f6 [2022-06-29T15:42:31.074Z] Removing intermediate container 57c2b0e666f6 [2022-06-29T15:42:31.074Z] ---> dbf3ec8e825d [2022-06-29T15:42:31.074Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T15:42:31.348Z] ---> Running in a302c301e75d [2022-06-29T15:42:31.620Z] Removing intermediate container a302c301e75d [2022-06-29T15:42:31.621Z] ---> 68df8c6ee639 [2022-06-29T15:42:31.621Z] Step 22/24 : LABEL arch=arm64 [2022-06-29T15:42:31.621Z] ---> Running in 2df451e8d072 [2022-06-29T15:42:31.899Z] Removing intermediate container 2df451e8d072 [2022-06-29T15:42:31.899Z] ---> ef5985cd794d [2022-06-29T15:42:31.899Z] Step 23/24 : LABEL git_sha=3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [2022-06-29T15:42:31.899Z] ---> Running in f56e2189be25 [2022-06-29T15:42:32.496Z] Removing intermediate container f56e2189be25 [2022-06-29T15:42:32.496Z] ---> 738df5a3acde [2022-06-29T15:42:32.496Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T15:42:32.496Z] ---> Running in 8a2401cb557b [2022-06-29T15:42:32.768Z] Removing intermediate container 8a2401cb557b [2022-06-29T15:42:32.768Z] ---> d20a3babc708 [2022-06-29T15:42:32.768Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T15:42:32.768Z] Successfully built d20a3babc708 [2022-06-29T15:42:32.768Z] 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:42:33.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:42:33.228Z] [2022-06-29T15:42:33.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:42:33.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:42:33.840Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T15:42:33.840Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T15:42:33.840Z] 04944245beec: Pulling fs layer [2022-06-29T15:42:33.840Z] 699f458cf7ca: Pulling fs layer [2022-06-29T15:42:33.840Z] 765212b225bb: Pulling fs layer [2022-06-29T15:42:33.840Z] f23df028b6ca: Pulling fs layer [2022-06-29T15:42:33.840Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T15:42:33.840Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T15:42:33.840Z] 765212b225bb: Waiting [2022-06-29T15:42:33.840Z] f23df028b6ca: Waiting [2022-06-29T15:42:33.840Z] d65c8cfc05b1: Waiting [2022-06-29T15:42:33.840Z] 2437ff75d9bd: Waiting [2022-06-29T15:42:33.840Z] 04944245beec: Verifying Checksum [2022-06-29T15:42:33.840Z] 04944245beec: Download complete [2022-06-29T15:42:33.840Z] 765212b225bb: Download complete [2022-06-29T15:42:33.840Z] f23df028b6ca: Verifying Checksum [2022-06-29T15:42:33.840Z] f23df028b6ca: Download complete [2022-06-29T15:42:33.840Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T15:42:33.840Z] d65c8cfc05b1: Download complete [2022-06-29T15:42:34.113Z] 699f458cf7ca: Verifying Checksum [2022-06-29T15:42:34.113Z] 699f458cf7ca: Download complete [2022-06-29T15:42:34.389Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T15:42:34.389Z] 8998bd30e6a1: Download complete [2022-06-29T15:42:37.019Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T15:42:37.019Z] 2437ff75d9bd: Download complete [2022-06-29T15:42:38.991Z] 8998bd30e6a1: Pull complete [2022-06-29T15:42:39.263Z] 04944245beec: Pull complete [2022-06-29T15:42:40.696Z] 699f458cf7ca: Pull complete [2022-06-29T15:42:40.969Z] 765212b225bb: Pull complete [2022-06-29T15:42:41.944Z] f23df028b6ca: Pull complete [2022-06-29T15:42:41.944Z] d65c8cfc05b1: Pull complete [2022-06-29T15:42:57.070Z] 2437ff75d9bd: Pull complete [2022-06-29T15:42:57.070Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T15:42:57.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T15:42:57.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:42:57.347Z] prd-ubuntu20.04-docker-arm64-4c-16g-16349 does not seem to be running inside a container [2022-06-29T15:42:57.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T15:43:00.014Z] $ docker top 34032e457891202d381b8c1b5458bfa648f299282e2cf59b53d5c25921695172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:00.968Z] ---> job-cost.sh [2022-06-29T15:43:00.969Z] lf-activate-venv: SKIPPING [2022-06-29T15:43:00.969Z] INFO: No Stack... [2022-06-29T15:43:01.562Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T15:43:02.155Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T15:43:02.818Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-06-29T15:43:02.818Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T15:43:02.879Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] [2022-06-29T15:43:02.885Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] did not exist. Created. [2022-06-29T15:43:02.885Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T15:43:03.566Z] /w/workspace/device-mqtt-go/2@tmp/durable-a289e1dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T15:43:04.241Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T15:43:04.261Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T15:43:04.300Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T15:43:04.310Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T15:43:04.332Z] $ docker stop --time=1 34032e457891202d381b8c1b5458bfa648f299282e2cf59b53d5c25921695172 [2022-06-29T15:43:05.833Z] $ docker rm -f 34032e457891202d381b8c1b5458bfa648f299282e2cf59b53d5c25921695172 [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:43:06.299Z] provisioning config files... [2022-06-29T15:43:06.310Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config1154021475257274418tmp [Pipeline] { [Pipeline] sh [2022-06-29T15:43:06.602Z] + set +x [2022-06-29T15:43:06.602Z] + curl -s https://codecov.io/bash [2022-06-29T15:43:06.602Z] + bash -s -- [2022-06-29T15:43:06.602Z] [2022-06-29T15:43:06.602Z] _____ _ [2022-06-29T15:43:06.602Z] / ____| | | [2022-06-29T15:43:06.602Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T15:43:06.602Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T15:43:06.602Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T15:43:06.602Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T15:43:06.602Z] Bash-1.0.6 [2022-06-29T15:43:06.602Z] [2022-06-29T15:43:06.602Z] [2022-06-29T15:43:06.602Z] ==> git version 2.25.1 found [2022-06-29T15:43:06.602Z] ==> 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:43:06.602Z] Release-Date: 2020-01-08 [2022-06-29T15:43:06.602Z] 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:43:06.602Z] 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:43:06.602Z] ==> Jenkins CI detected. [2022-06-29T15:43:06.602Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T15:43:06.602Z] project root: . [2022-06-29T15:43:06.602Z] --> token set from env [2022-06-29T15:43:06.602Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T15:43:06.602Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T15:43:06.602Z] ==> Python coveragepy not found [2022-06-29T15:43:06.602Z] ==> Searching for coverage reports in: [2022-06-29T15:43:06.602Z] + . [2022-06-29T15:43:06.602Z] -> Found 1 reports [2022-06-29T15:43:06.602Z] ==> Detecting git/mercurial file structure [2022-06-29T15:43:06.602Z] ==> Reading reports [2022-06-29T15:43:06.602Z] + ./coverage.out bytes=17887 [2022-06-29T15:43:06.862Z] ==> Appending adjustments [2022-06-29T15:43:06.863Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T15:43:06.863Z] + Found adjustments [2022-06-29T15:43:06.863Z] ==> Gzipping contents [2022-06-29T15:43:06.863Z] 4.0K /tmp/codecov.n2ljdv.gz [2022-06-29T15:43:06.863Z] ==> Uploading reports [2022-06-29T15:43:06.863Z] url: https://codecov.io [2022-06-29T15:43:06.863Z] query: branch=PR-397&commit=3ff0976c410bf37b4cc9b24fe66b75d80dd93054&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T15:43:06.863Z] -> Pinging Codecov [2022-06-29T15:43:06.863Z] 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=3ff0976c410bf37b4cc9b24fe66b75d80dd93054&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T15:43:07.124Z] -> Uploading to [2022-06-29T15:43:07.124Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7D719EC7BBE17E464838252E33014C33/3ff0976c410bf37b4cc9b24fe66b75d80dd93054/51d30a31-a094-4d1e-a4c3-d3314d33440b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T154306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ffee53d507f2648cf37e7939c39a122e3b55603213f66cb5fdcf646c71538bb [2022-06-29T15:43:07.124Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T15:43:07.124Z] Dload Upload Total Spent Left Speed [2022-06-29T15:43:07.386Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3210 0 0 100 3210 0 7945 --:--:-- --:--:-- --:--:-- 7945 [2022-06-29T15:43:07.386Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/3ff0976c410bf37b4cc9b24fe66b75d80dd93054 [Pipeline] } [2022-06-29T15:43:07.394Z] 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:43:08.083Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives ] [2022-06-29T15:43:08.083Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:43:08.083Z] total 16 [2022-06-29T15:43:08.083Z] drwxr-xr-x 3 root root 4096 Jun 29 15:35 . [2022-06-29T15:43:08.083Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:35 .. [2022-06-29T15:43:08.083Z] drwxr-xr-x 2 root root 4096 Jun 29 15:35 cost [2022-06-29T15:43:08.083Z] -rw-r--r-- 1 root root 85 Jun 29 15:35 cost.csv [2022-06-29T15:43:08.083Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:43:08.083Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T15:43:08.083Z] total 16 [2022-06-29T15:43:08.083Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:35 . [2022-06-29T15:43:08.083Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 15:35 .. [2022-06-29T15:43:08.083Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 15:35 cost [2022-06-29T15:43:08.083Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 15:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:08.379Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:09.237Z] ---> package-listing.sh [2022-06-29T15:43:09.237Z] ++ facter osfamily [2022-06-29T15:43:09.237Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T15:43:09.498Z] + OS_FAMILY=debian [2022-06-29T15:43:09.498Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T15:43:09.498Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T15:43:09.498Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T15:43:09.498Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T15:43:09.498Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T15:43:09.498Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T15:43:09.498Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T15:43:09.498Z] + case "${OS_FAMILY}" in [2022-06-29T15:43:09.498Z] + dpkg -l [2022-06-29T15:43:09.498Z] + grep '^ii' [2022-06-29T15:43:09.498Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T15:43:09.498Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T15:43:09.498Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T15:43:09.498Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T15:43:09.498Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [2022-06-29T15:43:09.498Z] + 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:43:09.510Z] 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:43:09.792Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T15:43:10.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T15:43:10.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T15:43:10.451Z] prd-ubuntu20.04-docker-8c-8g-16348 does not seem to be running inside a container [2022-06-29T15:43:10.490Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T15:43:11.034Z] $ docker top 4fb63555c13b7aa260e760b67931a41d72ef79c029e6be10a132896c524c1aae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T15:43:11.422Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T15:43:11.710Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T15:43:11.998Z] + ls /var/log/sa-host [2022-06-29T15:43:11.998Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T15:43:12.133Z] provisioning config files... [2022-06-29T15:43:12.144Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config6294698356544025992tmp [Pipeline] { [Pipeline] echo [2022-06-29T15:43:12.160Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:12.445Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T15:43:12.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:12.786Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T15:43:12.797Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:13.084Z] ---> sudo-logs.sh [2022-06-29T15:43:13.084Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T15:43:13.122Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:13.408Z] ---> job-cost.sh [2022-06-29T15:43:13.408Z] lf-activate-venv: SKIPPING [2022-06-29T15:43:13.408Z] DEBUG: total: 0.2199999988079071 [2022-06-29T15:43:13.408Z] INFO: Retrieving Stack Cost... [2022-06-29T15:43:13.669Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T15:43:14.238Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T15:43:14.250Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T15:43:14.537Z] ---> logs-deploy.sh [2022-06-29T15:43:14.537Z] lf-activate-venv: SKIPPING [2022-06-29T15:43:14.537Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-397/2 [2022-06-29T15:43:14.537Z] INFO: archiving workspace using pattern(s): [2022-06-29T15:43:15.922Z] Archives upload complete. [2022-06-29T15:43:15.922Z] INFO: archiving logs to Nexus [2022-06-29T15:43:16.495Z] ---> uname -a: [2022-06-29T15:43:16.495Z] Linux prd-ubuntu20-04-docker-8c-8g-16348 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-06-29T15:43:16.495Z] [2022-06-29T15:43:16.495Z]