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 ed848c3d28dee954008c5b6fc70f7e77a7c60981 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-ssh13004982712199694686.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-ssh11088431923708013363.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-ssh1496571965343074157.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-ssh16900396384154032915.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-ssh16890800759173445851.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16359 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 ed848c3d28dee954008c5b6fc70f7e77a7c60981 Merge succeeded, producing ed848c3d28dee954008c5b6fc70f7e77a7c60981 Checking out Revision ed848c3d28dee954008c5b6fc70f7e77a7c60981 (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 ed848c3d28dee954008c5b6fc70f7e77a7c60981 # 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 ed848c3d28dee954008c5b6fc70f7e77a7c60981 # timeout=10 Commit message: "refactor(snap): Mark ConfToEnv variable as `Deprecated`" > git rev-list --no-walk 93cd00cd501c2eca969735f1113b792320d4638c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-29T16:10:32.401Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-29T16:10:32.543Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-29T16:10:32.561Z] ========================================================= [2022-06-29T16:10:32.561Z] EdgeX Global Pipelines Version Info [2022-06-29T16:10:32.561Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:10:33.333Z] ------------------- [2022-06-29T16:10:33.333Z] stable info: [2022-06-29T16:10:33.333Z] ------------------- [2022-06-29T16:10:33.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-29T16:10:33.333Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:10:33.333Z] Message: update stable to v1.0.234 [2022-06-29T16:10:33.909Z] ------------------- [2022-06-29T16:10:33.909Z] experimental info: [2022-06-29T16:10:33.909Z] ------------------- [2022-06-29T16:10:33.909Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-29T16:10:33.909Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-29T16:10:33.909Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-29T16:10:34.093Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-29T16:10:34.101Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-29T16:10:34.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-29T16:10:34.117Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-29T16:10:34.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-29T16:10:34.135Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-29T16:10:34.143Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-29T16:10:34.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-29T16:10:34.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-29T16:10:34.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-29T16:10:34.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-29T16:10:34.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-29T16:10:34.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-29T16:10:34.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-29T16:10:34.216Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:10:34.224Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-29T16:10:34.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:10:34.240Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-29T16:10:34.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-29T16:10:34.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-29T16:10:34.264Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-29T16:10:34.273Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-29T16:10:34.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-29T16:10:34.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-29T16:10:34.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-29T16:10:34.306Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-29T16:10:34.316Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-29T16:10:34.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-397 [Pipeline] echo [2022-06-29T16:10:34.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-397 [Pipeline] echo [2022-06-29T16:10:34.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-397 [Pipeline] echo [2022-06-29T16:10:34.351Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed848c3d28dee954008c5b6fc70f7e77a7c60981 [Pipeline] echo [2022-06-29T16:10:34.360Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed848c3 [Pipeline] echo [2022-06-29T16:10:34.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:10:34.402Z] provisioning config files... [2022-06-29T16:10:34.420Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config3180831718997388494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:10:34.821Z] ---> docker-login.sh [2022-06-29T16:10:34.821Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:10:35.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:35.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:35.095Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:35.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:35.095Z] [2022-06-29T16:10:35.095Z] Login Succeeded [2022-06-29T16:10:35.095Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:10:35.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:35.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:35.356Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:35.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:35.356Z] [2022-06-29T16:10:35.356Z] Login Succeeded [2022-06-29T16:10:35.356Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:10:35.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:35.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:35.356Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:35.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:35.356Z] [2022-06-29T16:10:35.356Z] Login Succeeded [2022-06-29T16:10:35.356Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:10:35.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:35.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:35.617Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:35.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:35.617Z] [2022-06-29T16:10:35.617Z] Login Succeeded [2022-06-29T16:10:35.617Z] docker.io [2022-06-29T16:10:35.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:36.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:36.190Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:36.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:36.190Z] [2022-06-29T16:10:36.190Z] Login Succeeded [2022-06-29T16:10:36.190Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:10:36.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-29T16:10:36.576Z] + git rev-list -1 --merges ed848c3d28dee954008c5b6fc70f7e77a7c60981~1..ed848c3d28dee954008c5b6fc70f7e77a7c60981 [Pipeline] echo [2022-06-29T16:10:36.612Z] -----------> git rev-list -1 --merges ed848c3d28dee954008c5b6fc70f7e77a7c60981~1..ed848c3d28dee954008c5b6fc70f7e77a7c60981 ed848c3d28dee954008c5b6fc70f7e77a7c60981 [false] [Pipeline] sh [2022-06-29T16:10:36.905Z] + git log --format=format:%s -1 ed848c3d28dee954008c5b6fc70f7e77a7c60981 [Pipeline] echo [2022-06-29T16:10:36.921Z] ========================================================= [2022-06-29T16:10:36.921Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-29T16:10:36.921Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:10:37.253Z] + git log --format=format:%s -1 ed848c3d28dee954008c5b6fc70f7e77a7c60981 [Pipeline] echo [2022-06-29T16:10:37.265Z] [semverPrep] GIT_COMMIT: ed848c3d28dee954008c5b6fc70f7e77a7c60981, Commit Message: refactor(snap): Mark ConfToEnv variable as `Deprecated` [Pipeline] echo [2022-06-29T16:10:37.275Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-29T16:10:37.627Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-29T16:10:37.627Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-29T16:10:37.627Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-29T16:10:37.627Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-29T16:10:37.628Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-06-29T16:10:37.628Z] -a /etc/ssh/ssh_known_hosts [2022-06-29T16:10:37.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:10:37.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:10:37.984Z] [2022-06-29T16:10:37.984Z] 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-29T16:10:38.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:10:38.296Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-29T16:10:38.296Z] 42c077c10790: Pulling fs layer [2022-06-29T16:10:38.296Z] f63e77b7563a: Pulling fs layer [2022-06-29T16:10:38.296Z] bd5fdadae976: Pulling fs layer [2022-06-29T16:10:38.296Z] 205491f53016: Pulling fs layer [2022-06-29T16:10:38.296Z] df18705c85c3: Pulling fs layer [2022-06-29T16:10:38.296Z] bdb3f477010e: Pulling fs layer [2022-06-29T16:10:38.296Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-29T16:10:38.296Z] 2c6e9b1d212d: Pulling fs layer [2022-06-29T16:10:38.296Z] bdb8f0575790: Pulling fs layer [2022-06-29T16:10:38.296Z] 386e3cb2ff24: Pulling fs layer [2022-06-29T16:10:38.296Z] 2343380bae48: Pulling fs layer [2022-06-29T16:10:38.296Z] 205491f53016: Waiting [2022-06-29T16:10:38.296Z] df18705c85c3: Waiting [2022-06-29T16:10:38.296Z] bdb3f477010e: Waiting [2022-06-29T16:10:38.296Z] c8a8fc8e1c8f: Waiting [2022-06-29T16:10:38.296Z] 2c6e9b1d212d: Waiting [2022-06-29T16:10:38.296Z] bdb8f0575790: Waiting [2022-06-29T16:10:38.296Z] 386e3cb2ff24: Waiting [2022-06-29T16:10:38.296Z] 2343380bae48: Waiting [2022-06-29T16:10:38.296Z] f63e77b7563a: Verifying Checksum [2022-06-29T16:10:38.296Z] f63e77b7563a: Download complete [2022-06-29T16:10:38.296Z] 205491f53016: Verifying Checksum [2022-06-29T16:10:38.296Z] 205491f53016: Download complete [2022-06-29T16:10:38.557Z] df18705c85c3: Verifying Checksum [2022-06-29T16:10:38.557Z] df18705c85c3: Download complete [2022-06-29T16:10:38.557Z] bdb3f477010e: Verifying Checksum [2022-06-29T16:10:38.557Z] bdb3f477010e: Download complete [2022-06-29T16:10:38.557Z] bd5fdadae976: Verifying Checksum [2022-06-29T16:10:38.557Z] bd5fdadae976: Download complete [2022-06-29T16:10:38.557Z] 2c6e9b1d212d: Download complete [2022-06-29T16:10:38.557Z] bdb8f0575790: Download complete [2022-06-29T16:10:38.557Z] 386e3cb2ff24: Verifying Checksum [2022-06-29T16:10:38.557Z] 386e3cb2ff24: Download complete [2022-06-29T16:10:38.557Z] 2343380bae48: Verifying Checksum [2022-06-29T16:10:38.557Z] 2343380bae48: Download complete [2022-06-29T16:10:38.557Z] 42c077c10790: Download complete [2022-06-29T16:10:38.818Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-29T16:10:38.818Z] c8a8fc8e1c8f: Download complete [2022-06-29T16:10:40.200Z] 42c077c10790: Pull complete [2022-06-29T16:10:40.200Z] f63e77b7563a: Pull complete [2022-06-29T16:10:40.769Z] bd5fdadae976: Pull complete [2022-06-29T16:10:40.769Z] 205491f53016: Pull complete [2022-06-29T16:10:41.028Z] df18705c85c3: Pull complete [2022-06-29T16:10:41.290Z] bdb3f477010e: Pull complete [2022-06-29T16:10:43.205Z] c8a8fc8e1c8f: Pull complete [2022-06-29T16:10:43.468Z] 2c6e9b1d212d: Pull complete [2022-06-29T16:10:43.468Z] bdb8f0575790: Pull complete [2022-06-29T16:10:43.730Z] 386e3cb2ff24: Pull complete [2022-06-29T16:10:43.730Z] 2343380bae48: Pull complete [2022-06-29T16:10:43.730Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-29T16:10:43.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-29T16:10:43.730Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:10:43.827Z] prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container [2022-06-29T16:10:43.859Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-29T16:10:45.431Z] $ docker top ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 -eo pid,comm [2022-06-29T16:10:45.504Z] 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-29T16:10:45.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-29T16:10:45.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:10:45.539Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:10:45.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:10:45.675Z] $ docker exec ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 ssh-agent [2022-06-29T16:10:45.822Z] SSH_AUTH_SOCK=/tmp/ssh-ZbBx9zcZUGBc/agent.33 [2022-06-29T16:10:45.822Z] SSH_AGENT_PID=39 [2022-06-29T16:10:45.829Z] Running ssh-add (command line suppressed) [2022-06-29T16:10:45.948Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_9128141803135273217.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_9128141803135273217.key) [2022-06-29T16:10:45.968Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:10:46.259Z] + git tag --points-at HEAD [Pipeline] } [2022-06-29T16:10:46.269Z] $ docker exec --env ******** --env ******** ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 ssh-agent -k [2022-06-29T16:10:46.382Z] unset SSH_AUTH_SOCK; [2022-06-29T16:10:46.382Z] unset SSH_AGENT_PID; [2022-06-29T16:10:46.382Z] echo Agent pid 39 killed; [2022-06-29T16:10:46.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-29T16:10:46.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-29T16:10:46.423Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-29T16:10:46.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-29T16:10:46.549Z] $ docker exec ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 ssh-agent [2022-06-29T16:10:46.682Z] SSH_AUTH_SOCK=/tmp/ssh-1sj11nGwSWze/agent.72 [2022-06-29T16:10:46.682Z] SSH_AGENT_PID=78 [2022-06-29T16:10:46.687Z] Running ssh-add (command line suppressed) [2022-06-29T16:10:46.805Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_6731237299533448491.key (/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/private_key_6731237299533448491.key) [2022-06-29T16:10:46.823Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-29T16:10:47.114Z] + git semver init [2022-06-29T16:10:47.374Z] 2022-06-29 16:10:47,330 [run_init] DEBUG init version:0.0.0 force:False [2022-06-29T16:10:47.374Z] 2022-06-29 16:10:47,331 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver [2022-06-29T16:10:47.374Z] 2022-06-29 16:10:47,331 [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-29T16:10:47.374Z] 2022-06-29 16:10:47,331 [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-29T16:10:48.317Z] 2022-06-29 16:10:48,066 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.git/info/exclude [2022-06-29T16:10:48.317Z] 2022-06-29 16:10:48,067 [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-29T16:10:48.317Z] 2022-06-29 16:10:48,067 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T16:10:48.317Z] 2022-06-29 16:10:48,071 [execute] INFO git cat-file --batch-check [2022-06-29T16:10:48.317Z] 2022-06-29 16:10:48,072 [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-29T16:10:48.317Z] 2022-06-29 16:10:48,079 [execute] INFO git cat-file --batch [2022-06-29T16:10:48.317Z] 2022-06-29 16:10:48,079 [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-29T16:10:48.317Z] 2022-06-29 16:10:48,085 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-397/.semver/PR-397 [2022-06-29T16:10:48.317Z] 0.0.0 [Pipeline] } [2022-06-29T16:10:48.327Z] $ docker exec --env ******** --env ******** ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 ssh-agent -k [2022-06-29T16:10:48.451Z] unset SSH_AUTH_SOCK; [2022-06-29T16:10:48.451Z] unset SSH_AGENT_PID; [2022-06-29T16:10:48.451Z] echo Agent pid 78 killed; [2022-06-29T16:10:48.467Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-29T16:10:48.767Z] + git semver [Pipeline] } [2022-06-29T16:10:49.038Z] $ docker stop --time=1 ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 [2022-06-29T16:10:50.453Z] $ docker rm -f ddafb497c2d1a67cdc9b09ea8002dbf9dcff3ff88318d9e3bdc486132fe118c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:10:50.807Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-29T16:10:51.076Z] Stashed 1 file(s) [Pipeline] echo [2022-06-29T16:10:51.079Z] [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-29T16:10:51.255Z] provisioning config files... [2022-06-29T16:10:51.266Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config4450681383801356286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:10:51.565Z] ---> docker-login.sh [2022-06-29T16:10:51.565Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:10:51.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:51.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:51.565Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:51.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:51.565Z] [2022-06-29T16:10:51.565Z] Login Succeeded [2022-06-29T16:10:51.565Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:10:51.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:51.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:51.826Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:51.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:51.826Z] [2022-06-29T16:10:51.826Z] Login Succeeded [2022-06-29T16:10:51.826Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:10:51.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:51.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:51.826Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:51.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:51.826Z] [2022-06-29T16:10:51.826Z] Login Succeeded [2022-06-29T16:10:51.826Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:10:52.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:52.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:52.087Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:52.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:52.087Z] [2022-06-29T16:10:52.087Z] Login Succeeded [2022-06-29T16:10:52.087Z] docker.io [2022-06-29T16:10:52.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:10:52.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:10:52.347Z] Configure a credential helper to remove this warning. See [2022-06-29T16:10:52.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:10:52.347Z] [2022-06-29T16:10:52.347Z] Login Succeeded [2022-06-29T16:10:52.347Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:10:52.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:10:52.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:10:52.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:10:52.435Z] ========================================================= [2022-06-29T16:10:52.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-29T16:10:52.435Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:10:52.750Z] + 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-29T16:10:52.750Z] Sending build context to Docker daemon 6.07MB [2022-06-29T16:10:52.750Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:10:52.750Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:10:52.750Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-29T16:10:52.750Z] 59bf1c3509f3: Pulling fs layer [2022-06-29T16:10:52.750Z] 666ba61612fd: Pulling fs layer [2022-06-29T16:10:52.750Z] 8ed8ca486205: Pulling fs layer [2022-06-29T16:10:52.750Z] cc1cd167ecdc: Pulling fs layer [2022-06-29T16:10:52.750Z] c516ae0d96e1: Pulling fs layer [2022-06-29T16:10:52.750Z] 684cea983483: Pulling fs layer [2022-06-29T16:10:52.750Z] dd3240ac7de5: Pulling fs layer [2022-06-29T16:10:52.750Z] b1e948a4e11c: Pulling fs layer [2022-06-29T16:10:52.750Z] a8fd76ee1af6: Pulling fs layer [2022-06-29T16:10:52.750Z] 646ad004c059: Pulling fs layer [2022-06-29T16:10:52.750Z] cc1cd167ecdc: Waiting [2022-06-29T16:10:52.750Z] c516ae0d96e1: Waiting [2022-06-29T16:10:52.750Z] dd3240ac7de5: Waiting [2022-06-29T16:10:52.750Z] b1e948a4e11c: Waiting [2022-06-29T16:10:52.750Z] a8fd76ee1af6: Waiting [2022-06-29T16:10:52.750Z] 684cea983483: Waiting [2022-06-29T16:10:53.011Z] 8ed8ca486205: Verifying Checksum [2022-06-29T16:10:53.011Z] 8ed8ca486205: Download complete [2022-06-29T16:10:53.011Z] 666ba61612fd: Download complete [2022-06-29T16:10:53.011Z] c516ae0d96e1: Download complete [2022-06-29T16:10:53.011Z] 684cea983483: Verifying Checksum [2022-06-29T16:10:53.011Z] 684cea983483: Download complete [2022-06-29T16:10:53.011Z] 59bf1c3509f3: Verifying Checksum [2022-06-29T16:10:53.011Z] 59bf1c3509f3: Download complete [2022-06-29T16:10:53.011Z] dd3240ac7de5: Verifying Checksum [2022-06-29T16:10:53.011Z] dd3240ac7de5: Download complete [2022-06-29T16:10:53.011Z] b1e948a4e11c: Verifying Checksum [2022-06-29T16:10:53.011Z] b1e948a4e11c: Download complete [2022-06-29T16:10:53.011Z] 59bf1c3509f3: Pull complete [2022-06-29T16:10:53.271Z] 666ba61612fd: Pull complete [2022-06-29T16:10:53.271Z] 8ed8ca486205: Pull complete [2022-06-29T16:10:53.530Z] 646ad004c059: Verifying Checksum [2022-06-29T16:10:53.530Z] 646ad004c059: Download complete [2022-06-29T16:10:53.530Z] a8fd76ee1af6: Verifying Checksum [2022-06-29T16:10:53.530Z] a8fd76ee1af6: Download complete [2022-06-29T16:10:53.789Z] cc1cd167ecdc: Verifying Checksum [2022-06-29T16:10:53.789Z] cc1cd167ecdc: Download complete [2022-06-29T16:10:57.982Z] cc1cd167ecdc: Pull complete [2022-06-29T16:10:57.983Z] c516ae0d96e1: Pull complete [2022-06-29T16:10:57.983Z] 684cea983483: Pull complete [2022-06-29T16:10:58.243Z] dd3240ac7de5: Pull complete [2022-06-29T16:10:58.243Z] b1e948a4e11c: Pull complete [2022-06-29T16:11:00.786Z] a8fd76ee1af6: Pull complete [2022-06-29T16:11:01.358Z] 646ad004c059: Pull complete [2022-06-29T16:11:01.358Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-29T16:11:01.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-29T16:11:01.358Z] ---> 8f69c11f6b0c [2022-06-29T16:11:01.358Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:11:03.277Z] ---> Running in 9589612535eb [2022-06-29T16:11:03.539Z] Removing intermediate container 9589612535eb [2022-06-29T16:11:03.539Z] ---> 92f2b4ef917f [2022-06-29T16:11:03.539Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:11:03.539Z] ---> Running in f3361a8e4c4f [2022-06-29T16:11:03.539Z] Removing intermediate container f3361a8e4c4f [2022-06-29T16:11:03.539Z] ---> d375d2ec8202 [2022-06-29T16:11:03.539Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:11:03.798Z] ---> Running in 2b333472dc45 [2022-06-29T16:11:04.374Z] Removing intermediate container 2b333472dc45 [2022-06-29T16:11:04.374Z] ---> f04b51e1ba22 [2022-06-29T16:11:04.374Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:11:04.374Z] ---> Running in 14dc7c800a0a [2022-06-29T16:11:04.636Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:11:06.018Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:11:06.220Z] Still waiting to schedule task [2022-06-29T16:11:06.221Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-29T16:11:06.589Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T16:11:06.850Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T16:11:06.850Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T16:11:07.109Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T16:11:07.368Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:11:07.368Z] OK: 224 MiB in 56 packages [2022-06-29T16:11:07.951Z] Removing intermediate container 14dc7c800a0a [2022-06-29T16:11:07.951Z] ---> 42eaf637e2b9 [2022-06-29T16:11:07.951Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T16:11:07.951Z] ---> Running in 3223e5ae970b [2022-06-29T16:11:07.951Z] Removing intermediate container 3223e5ae970b [2022-06-29T16:11:07.951Z] ---> 83a9ac7b0b80 [2022-06-29T16:11:07.951Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T16:11:08.211Z] ---> bedae473a984 [2022-06-29T16:11:08.211Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:11:08.211Z] ---> Running in 5341414a5034 [2022-06-29T16:11:30.206Z] Removing intermediate container 5341414a5034 [2022-06-29T16:11:30.206Z] ---> 85a00ec379c1 [2022-06-29T16:11:30.206Z] Step 10/12 : COPY . . [2022-06-29T16:11:30.206Z] ---> 3dce8bc7bfe6 [2022-06-29T16:11:30.206Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T16:11:30.206Z] ---> Running in 591f64d70f7f [2022-06-29T16:11:30.206Z] Removing intermediate container 591f64d70f7f [2022-06-29T16:11:30.206Z] ---> 6a9f71bb9130 [2022-06-29T16:11:30.206Z] Step 12/12 : RUN $MAKE [2022-06-29T16:11:30.206Z] ---> Running in 27bcd82523ed [2022-06-29T16:11:30.206Z] noop [2022-06-29T16:11:30.206Z] Removing intermediate container 27bcd82523ed [2022-06-29T16:11:30.206Z] ---> 4dea143ac9e5 [2022-06-29T16:11:30.206Z] Successfully built 4dea143ac9e5 [2022-06-29T16:11:30.206Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:11:30.536Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:11:30.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:11:30.632Z] prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container [2022-06-29T16:11:30.796Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-29T16:11:31.212Z] $ docker top 41a8a58f979a30ea8e5507cab9dbb5011add841795bfbdc4e64d5bdc598b7cca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:11:31.576Z] + go version [2022-06-29T16:11:31.576Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-29T16:11:31.595Z] $ docker stop --time=1 41a8a58f979a30ea8e5507cab9dbb5011add841795bfbdc4e64d5bdc598b7cca [2022-06-29T16:11:32.897Z] $ docker rm -f 41a8a58f979a30ea8e5507cab9dbb5011add841795bfbdc4e64d5bdc598b7cca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:11:33.324Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-29T16:11:33.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:11:33.419Z] prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container [2022-06-29T16:11:33.463Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-29T16:11:33.888Z] $ docker top f0fe9f67e0822dc7fa55225370f56dbe7e41716cef8674f328d46bb83951d467 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:11:34.243Z] + make test [2022-06-29T16:11:34.243Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:11:34.811Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T16:11:44.792Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T16:11:44.792Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-06-29T16:11:44.792Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T16:11:52.921Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:11:56.219Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:11:56.219Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:11:56.219Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:11:56.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:11:56.826Z] $ docker stop --time=1 f0fe9f67e0822dc7fa55225370f56dbe7e41716cef8674f328d46bb83951d467 [2022-06-29T16:11:58.824Z] $ docker rm -f f0fe9f67e0822dc7fa55225370f56dbe7e41716cef8674f328d46bb83951d467 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:11:59.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:11:59.307Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-29T16:11:59.740Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:12:00.029Z] + ls -al . [2022-06-29T16:12:00.029Z] total 180 [2022-06-29T16:12:00.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 16:11 . [2022-06-29T16:12:00.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:10 .. [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:10 .dockerignore [2022-06-29T16:12:00.029Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:10 .git [2022-06-29T16:12:00.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:10 .github [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 16:10 .gitignore [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 16:10 .golangci.yml [2022-06-29T16:12:00.029Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:10 .semver [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 16:10 Attribution.txt [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 16:10 CHANGELOG.md [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 16:10 Dockerfile [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 16:10 GOVERNANCE.md [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:10 Jenkinsfile [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 16:10 LICENSE [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 16:10 Makefile [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 16:10 OWNERS.md [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 16:10 README.md [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:10 VERSION [2022-06-29T16:12:00.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:10 bin [2022-06-29T16:12:00.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:10 cmd [2022-06-29T16:12:00.029Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 16:11 coverage.out [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 16:10 go.mod [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 16:10 go.sum [2022-06-29T16:12:00.029Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:10 internal [2022-06-29T16:12:00.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:10 mock [2022-06-29T16:12:00.029Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:10 snap [2022-06-29T16:12:00.029Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 16:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:12:00.347Z] + 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=ed848c3d28dee954008c5b6fc70f7e77a7c60981 --label arch=amd64 --label version=0.0.0 . [2022-06-29T16:12:00.347Z] Sending build context to Docker daemon 6.088MB [2022-06-29T16:12:00.347Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:12:00.347Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T16:12:00.347Z] ---> 4dea143ac9e5 [2022-06-29T16:12:00.347Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:12:00.347Z] ---> Running in d3e067e94ed7 [2022-06-29T16:12:00.621Z] Removing intermediate container d3e067e94ed7 [2022-06-29T16:12:00.621Z] ---> bd25817934af [2022-06-29T16:12:00.621Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:12:00.621Z] ---> Running in 9c05d92fadcb [2022-06-29T16:12:00.621Z] Removing intermediate container 9c05d92fadcb [2022-06-29T16:12:00.621Z] ---> e549cecfad97 [2022-06-29T16:12:00.621Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:12:00.882Z] ---> Running in e4df3640e914 [2022-06-29T16:12:01.453Z] Removing intermediate container e4df3640e914 [2022-06-29T16:12:01.453Z] ---> db636bc62133 [2022-06-29T16:12:01.453Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:12:01.453Z] ---> Running in 7ca1bbb5730e [2022-06-29T16:12:01.713Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:12:02.669Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:12:02.927Z] OK: 224 MiB in 56 packages [2022-06-29T16:12:03.186Z] Removing intermediate container 7ca1bbb5730e [2022-06-29T16:12:03.186Z] ---> a54da0c28c66 [2022-06-29T16:12:03.186Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T16:12:03.459Z] ---> Running in 59f369a4bd2a [2022-06-29T16:12:03.460Z] Removing intermediate container 59f369a4bd2a [2022-06-29T16:12:03.460Z] ---> 2060d727cddd [2022-06-29T16:12:03.460Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T16:12:03.460Z] ---> 7fffe0c89f99 [2022-06-29T16:12:03.460Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:12:03.719Z] ---> Running in e639b4fd63a3 [2022-06-29T16:12:04.287Z] Removing intermediate container e639b4fd63a3 [2022-06-29T16:12:04.287Z] ---> 8d54ea319afa [2022-06-29T16:12:04.287Z] Step 10/24 : COPY . . [2022-06-29T16:12:04.548Z] ---> f74572c46aa2 [2022-06-29T16:12:04.548Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T16:12:04.548Z] ---> Running in ec7a4417f649 [2022-06-29T16:12:04.808Z] Removing intermediate container ec7a4417f649 [2022-06-29T16:12:04.808Z] ---> 76529aa5948d [2022-06-29T16:12:04.808Z] Step 12/24 : RUN $MAKE [2022-06-29T16:12:04.808Z] ---> Running in 2d95ad23de14 [2022-06-29T16:12:05.066Z] 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-29T16:12:27.013Z] Removing intermediate container 2d95ad23de14 [2022-06-29T16:12:27.013Z] ---> e7255b2492a7 [2022-06-29T16:12:27.013Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T16:12:27.013Z] 3.14: Pulling from library/alpine [2022-06-29T16:12:27.274Z] 8663204ce13b: Pulling fs layer [2022-06-29T16:12:27.550Z] 8663204ce13b: Verifying Checksum [2022-06-29T16:12:27.550Z] 8663204ce13b: Download complete [2022-06-29T16:12:27.550Z] 8663204ce13b: Pull complete [2022-06-29T16:12:27.550Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T16:12:27.550Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T16:12:27.550Z] ---> e04c818066af [2022-06-29T16:12:27.550Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T16:12:27.810Z] ---> Running in 5814ee0075bf [2022-06-29T16:12:27.811Z] Removing intermediate container 5814ee0075bf [2022-06-29T16:12:27.811Z] ---> 9a2ccaae0e11 [2022-06-29T16:12:27.811Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:12:27.811Z] ---> Running in 22988925c807 [2022-06-29T16:12:28.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-29T16:12:28.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-29T16:12:28.646Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:12:28.646Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T16:12:28.646Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:12:28.647Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T16:12:28.647Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:12:28.647Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:12:28.647Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T16:12:28.647Z] OK: 8 MiB in 20 packages [2022-06-29T16:12:29.217Z] Removing intermediate container 22988925c807 [2022-06-29T16:12:29.217Z] ---> c9303da0a226 [2022-06-29T16:12:29.217Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T16:12:29.790Z] ---> 3911045aedb8 [2022-06-29T16:12:29.790Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T16:12:29.790Z] ---> c2a2391cbec2 [2022-06-29T16:12:29.790Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T16:12:30.057Z] ---> 4152b11d2663 [2022-06-29T16:12:30.057Z] Step 19/24 : EXPOSE 59982 [2022-06-29T16:12:30.057Z] ---> Running in b32c9edc19de [2022-06-29T16:12:30.057Z] Removing intermediate container b32c9edc19de [2022-06-29T16:12:30.057Z] ---> 053eb02cf61d [2022-06-29T16:12:30.057Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T16:12:30.316Z] ---> Running in e23b2da6e2c7 [2022-06-29T16:12:30.316Z] Removing intermediate container e23b2da6e2c7 [2022-06-29T16:12:30.316Z] ---> c89e18039374 [2022-06-29T16:12:30.316Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T16:12:30.316Z] ---> Running in 58a36665a3af [2022-06-29T16:12:30.316Z] Removing intermediate container 58a36665a3af [2022-06-29T16:12:30.316Z] ---> 7970c8440c58 [2022-06-29T16:12:30.316Z] Step 22/24 : LABEL arch=amd64 [2022-06-29T16:12:30.587Z] ---> Running in 1287a79f4db9 [2022-06-29T16:12:30.587Z] Removing intermediate container 1287a79f4db9 [2022-06-29T16:12:30.587Z] ---> e19a8779572f [2022-06-29T16:12:30.587Z] Step 23/24 : LABEL git_sha=ed848c3d28dee954008c5b6fc70f7e77a7c60981 [2022-06-29T16:12:30.587Z] ---> Running in a48657798fb2 [2022-06-29T16:12:30.847Z] Removing intermediate container a48657798fb2 [2022-06-29T16:12:30.847Z] ---> 0c221c3943bb [2022-06-29T16:12:30.847Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T16:12:30.847Z] ---> Running in ae2a0d550903 [2022-06-29T16:12:30.847Z] Removing intermediate container ae2a0d550903 [2022-06-29T16:12:30.847Z] ---> 54d3fd7f8481 [2022-06-29T16:12:30.847Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:12:30.847Z] Successfully built 54d3fd7f8481 [2022-06-29T16:12:30.847Z] 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-29T16:12:31.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:12:31.286Z] [2022-06-29T16:12:31.286Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:12:31.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:12:31.611Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-29T16:12:31.611Z] 5eb5b503b376: Pulling fs layer [2022-06-29T16:12:31.611Z] 5c69ac0246d0: Pulling fs layer [2022-06-29T16:12:31.611Z] ec43610c2a17: Pulling fs layer [2022-06-29T16:12:31.611Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-29T16:12:31.611Z] 33b1e0a273af: Pulling fs layer [2022-06-29T16:12:31.611Z] 5d3b04190fa2: Pulling fs layer [2022-06-29T16:12:31.611Z] 2f39f015ded8: Pulling fs layer [2022-06-29T16:12:31.611Z] 3a2ae6a8a46f: Waiting [2022-06-29T16:12:31.611Z] 5d3b04190fa2: Waiting [2022-06-29T16:12:31.611Z] 33b1e0a273af: Waiting [2022-06-29T16:12:31.611Z] 5c69ac0246d0: Download complete [2022-06-29T16:12:31.611Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-29T16:12:31.611Z] 3a2ae6a8a46f: Download complete [2022-06-29T16:12:31.611Z] 33b1e0a273af: Verifying Checksum [2022-06-29T16:12:31.611Z] 33b1e0a273af: Download complete [2022-06-29T16:12:31.611Z] ec43610c2a17: Verifying Checksum [2022-06-29T16:12:31.611Z] ec43610c2a17: Download complete [2022-06-29T16:12:31.611Z] 5d3b04190fa2: Verifying Checksum [2022-06-29T16:12:31.611Z] 5d3b04190fa2: Download complete [2022-06-29T16:12:31.869Z] 5eb5b503b376: Verifying Checksum [2022-06-29T16:12:31.869Z] 5eb5b503b376: Download complete [2022-06-29T16:12:32.441Z] 2f39f015ded8: Download complete [2022-06-29T16:12:33.011Z] 5eb5b503b376: Pull complete [2022-06-29T16:12:33.271Z] 5c69ac0246d0: Pull complete [2022-06-29T16:12:33.838Z] ec43610c2a17: Pull complete [2022-06-29T16:12:33.838Z] 3a2ae6a8a46f: Pull complete [2022-06-29T16:12:34.098Z] 33b1e0a273af: Pull complete [2022-06-29T16:12:34.098Z] 5d3b04190fa2: Pull complete [2022-06-29T16:12:39.384Z] 2f39f015ded8: Pull complete [2022-06-29T16:12:39.384Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-29T16:12:39.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:12:39.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:12:39.474Z] prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container [2022-06-29T16:12:39.517Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T16:12:41.405Z] $ docker top d4f977cb9f808907e7695bd9e1a20d86d9336d301ef2f7f535c6be0cf3945e66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:12:41.776Z] ---> job-cost.sh [2022-06-29T16:12:41.776Z] lf-activate-venv: SKIPPING [2022-06-29T16:12:41.776Z] INFO: No Stack... [2022-06-29T16:12:42.037Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:12:42.609Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:12:42.935Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/cost.csv [2022-06-29T16:12:42.935Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:12:42.964Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] [2022-06-29T16:12:42.969Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] did not exist. Created. [2022-06-29T16:12:42.969Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:12:43.308Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-29T16:12:43.346Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:12:43.352Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:12:43.381Z] $ docker stop --time=1 d4f977cb9f808907e7695bd9e1a20d86d9336d301ef2f7f535c6be0cf3945e66 [2022-06-29T16:12:44.552Z] $ docker rm -f d4f977cb9f808907e7695bd9e1a20d86d9336d301ef2f7f535c6be0cf3945e66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-29T16:14:27.596Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16360 in /w/workspace/gexfoundry_device-mqtt-go_PR-397 [Pipeline] { [Pipeline] ws [2022-06-29T16:14:27.608Z] Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout [2022-06-29T16:14:27.655Z] Selected Git installation does not exist. Using Default [2022-06-29T16:14:27.655Z] The recommended git tool is: NONE [2022-06-29T16:14:34.232Z] using credential edgex-jenkins-ssh [2022-06-29T16:14:34.251Z] Cloning the remote Git repository [2022-06-29T16:14:34.308Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T16:14:34.382Z] > git init /w/workspace/device-mqtt-go/5 # timeout=10 [2022-06-29T16:14:34.573Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T16:14:34.574Z] > git --version # timeout=10 [2022-06-29T16:14:34.610Z] > git --version # 'git version 2.25.1' [2022-06-29T16:14:34.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:14:34.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:14:36.499Z] Merging remotes/origin/main commit 2c395e916656ff011f59f73b4cbc9d122ab02d46 into PR head commit ed848c3d28dee954008c5b6fc70f7e77a7c60981 [2022-06-29T16:14:36.691Z] Merge succeeded, producing ed848c3d28dee954008c5b6fc70f7e77a7c60981 [2022-06-29T16:14:36.692Z] Checking out Revision ed848c3d28dee954008c5b6fc70f7e77a7c60981 (PR-397) [2022-06-29T16:14:35.868Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T16:14:35.888Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-29T16:14:35.917Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-29T16:14:35.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-29T16:14:35.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:14:35.980Z] > 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-29T16:14:36.520Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:14:36.537Z] > git checkout -f ed848c3d28dee954008c5b6fc70f7e77a7c60981 # timeout=10 [2022-06-29T16:14:36.617Z] > git remote # timeout=10 [2022-06-29T16:14:36.635Z] > git config --get remote.origin.url # timeout=10 [2022-06-29T16:14:36.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-29T16:14:36.658Z] > git merge 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [2022-06-29T16:14:36.681Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-29T16:14:36.702Z] > git config core.sparsecheckout # timeout=10 [2022-06-29T16:14:36.722Z] > git checkout -f ed848c3d28dee954008c5b6fc70f7e77a7c60981 # timeout=10 [2022-06-29T16:14:40.812Z] Commit message: "refactor(snap): Mark ConfToEnv variable as `Deprecated`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:14:41.626Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-29T16:14:41.626Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:14:41.626Z] Dload Upload Total Spent Left Speed [2022-06-29T16:14:41.626Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90762 0 --:--:-- --:--:-- --:--:-- 91440 [Pipeline] sh [2022-06-29T16:14:42.371Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-29T16:14:42.712Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-29T16:14:42.712Z] + sudo tee /etc/docker/daemon.new [2022-06-29T16:14:42.712Z] { [2022-06-29T16:14:42.712Z] "registry-mirrors": [ [2022-06-29T16:14:42.712Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-29T16:14:42.712Z] ], [2022-06-29T16:14:42.712Z] "bip": "10.250.0.254/24", [2022-06-29T16:14:42.712Z] "hosts": [ [2022-06-29T16:14:42.712Z] "tcp://0.0.0.0:5555", [2022-06-29T16:14:42.712Z] "unix:///var/run/docker.sock" [2022-06-29T16:14:42.712Z] ], [2022-06-29T16:14:42.712Z] "mtu": 1458, [2022-06-29T16:14:42.712Z] "selinux-enabled": true, [2022-06-29T16:14:42.712Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-29T16:14:42.712Z] } [Pipeline] sh [2022-06-29T16:14:43.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-29T16:14:43.419Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:15:01.769Z] provisioning config files... [2022-06-29T16:15:01.793Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config5881996149937251583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:15:02.147Z] ---> docker-login.sh [2022-06-29T16:15:02.147Z] nexus3.edgexfoundry.org:10001 [2022-06-29T16:15:02.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:03.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:03.007Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:03.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:03.007Z] [2022-06-29T16:15:03.007Z] Login Succeeded [2022-06-29T16:15:03.007Z] nexus3.edgexfoundry.org:10002 [2022-06-29T16:15:03.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:03.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:03.278Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:03.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:03.278Z] [2022-06-29T16:15:03.278Z] Login Succeeded [2022-06-29T16:15:03.550Z] nexus3.edgexfoundry.org:10003 [2022-06-29T16:15:04.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:04.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:04.013Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:04.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:04.013Z] [2022-06-29T16:15:04.013Z] Login Succeeded [2022-06-29T16:15:04.013Z] nexus3.edgexfoundry.org:10004 [2022-06-29T16:15:04.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:04.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:04.575Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:04.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:04.575Z] [2022-06-29T16:15:04.575Z] Login Succeeded [2022-06-29T16:15:04.575Z] docker.io [2022-06-29T16:15:04.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-29T16:15:05.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-29T16:15:05.450Z] Configure a credential helper to remove this warning. See [2022-06-29T16:15:05.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-29T16:15:05.450Z] [2022-06-29T16:15:05.450Z] Login Succeeded [2022-06-29T16:15:05.450Z] ---> docker-login.sh ends [Pipeline] } [2022-06-29T16:15:05.468Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-29T16:15:05.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:15:05.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-29T16:15:05.775Z] ========================================================= [2022-06-29T16:15:05.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-29T16:15:05.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:15:06.157Z] + 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-29T16:15:06.431Z] Sending build context to Docker daemon 3.162MB [2022-06-29T16:15:06.431Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:15:06.431Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-29T16:15:06.707Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-29T16:15:06.707Z] 9b3977197b4f: Pulling fs layer [2022-06-29T16:15:06.707Z] 1a89e8eeedd5: Pulling fs layer [2022-06-29T16:15:06.707Z] 94645a83ff95: Pulling fs layer [2022-06-29T16:15:06.707Z] e6fb740bc735: Pulling fs layer [2022-06-29T16:15:06.707Z] 3a77bd46dcc9: Pulling fs layer [2022-06-29T16:15:06.707Z] 355e64cbe906: Pulling fs layer [2022-06-29T16:15:06.707Z] 63ab81a10011: Pulling fs layer [2022-06-29T16:15:06.707Z] 555d1d1c4555: Pulling fs layer [2022-06-29T16:15:06.707Z] 7d9057610161: Pulling fs layer [2022-06-29T16:15:06.707Z] e6fb740bc735: Waiting [2022-06-29T16:15:06.707Z] 3a77bd46dcc9: Waiting [2022-06-29T16:15:06.707Z] 63ab81a10011: Waiting [2022-06-29T16:15:06.707Z] 555d1d1c4555: Waiting [2022-06-29T16:15:06.707Z] 7d9057610161: Waiting [2022-06-29T16:15:06.707Z] 355e64cbe906: Waiting [2022-06-29T16:15:06.707Z] 94645a83ff95: Download complete [2022-06-29T16:15:06.707Z] 1a89e8eeedd5: Verifying Checksum [2022-06-29T16:15:06.707Z] 1a89e8eeedd5: Download complete [2022-06-29T16:15:06.707Z] 3a77bd46dcc9: Verifying Checksum [2022-06-29T16:15:06.707Z] 3a77bd46dcc9: Download complete [2022-06-29T16:15:06.707Z] 355e64cbe906: Verifying Checksum [2022-06-29T16:15:06.707Z] 355e64cbe906: Download complete [2022-06-29T16:15:06.707Z] 9b3977197b4f: Verifying Checksum [2022-06-29T16:15:06.707Z] 9b3977197b4f: Download complete [2022-06-29T16:15:06.707Z] 63ab81a10011: Verifying Checksum [2022-06-29T16:15:06.707Z] 63ab81a10011: Download complete [2022-06-29T16:15:07.712Z] 9b3977197b4f: Pull complete [2022-06-29T16:15:07.988Z] 7d9057610161: Verifying Checksum [2022-06-29T16:15:07.988Z] 7d9057610161: Download complete [2022-06-29T16:15:08.590Z] 1a89e8eeedd5: Pull complete [2022-06-29T16:15:08.869Z] 94645a83ff95: Pull complete [2022-06-29T16:15:09.144Z] 555d1d1c4555: Verifying Checksum [2022-06-29T16:15:09.144Z] 555d1d1c4555: Download complete [2022-06-29T16:15:09.745Z] e6fb740bc735: Verifying Checksum [2022-06-29T16:15:09.745Z] e6fb740bc735: Download complete [2022-06-29T16:15:22.150Z] e6fb740bc735: Pull complete [2022-06-29T16:15:22.150Z] 3a77bd46dcc9: Pull complete [2022-06-29T16:15:22.150Z] 355e64cbe906: Pull complete [2022-06-29T16:15:22.150Z] 63ab81a10011: Pull complete [2022-06-29T16:15:28.867Z] 555d1d1c4555: Pull complete [2022-06-29T16:15:30.316Z] 7d9057610161: Pull complete [2022-06-29T16:15:30.316Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-29T16:15:30.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-29T16:15:30.316Z] ---> 819e984ddca1 [2022-06-29T16:15:30.316Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:15:32.299Z] ---> Running in ef0e420abcf1 [2022-06-29T16:15:32.299Z] Removing intermediate container ef0e420abcf1 [2022-06-29T16:15:32.299Z] ---> 8f2c5569f550 [2022-06-29T16:15:32.299Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:15:32.575Z] ---> Running in 6d59be3d7736 [2022-06-29T16:15:32.848Z] Removing intermediate container 6d59be3d7736 [2022-06-29T16:15:32.848Z] ---> 77089f99625c [2022-06-29T16:15:32.848Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:15:32.848Z] ---> Running in 705a2cfaaa69 [2022-06-29T16:15:34.839Z] Removing intermediate container 705a2cfaaa69 [2022-06-29T16:15:34.839Z] ---> 860083ac2790 [2022-06-29T16:15:34.839Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:15:34.839Z] ---> Running in 92479eb3170c [2022-06-29T16:15:37.473Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:15:38.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:15:39.049Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-29T16:15:39.049Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-29T16:15:39.049Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-29T16:15:39.325Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-29T16:15:39.325Z] Executing busybox-1.34.1-r3.trigger [2022-06-29T16:15:39.325Z] OK: 224 MiB in 56 packages [2022-06-29T16:15:40.314Z] Removing intermediate container 92479eb3170c [2022-06-29T16:15:40.314Z] ---> 257032402a96 [2022-06-29T16:15:40.314Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-29T16:15:40.593Z] ---> Running in e988805c46cf [2022-06-29T16:15:40.866Z] Removing intermediate container e988805c46cf [2022-06-29T16:15:40.866Z] ---> 6ba2e0b122d9 [2022-06-29T16:15:40.866Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-29T16:15:41.460Z] ---> 91d2251f83f0 [2022-06-29T16:15:41.460Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:15:41.460Z] ---> Running in fbc94d734794 [2022-06-29T16:16:28.407Z] Removing intermediate container fbc94d734794 [2022-06-29T16:16:28.407Z] ---> 2acf4f1fe22d [2022-06-29T16:16:28.407Z] Step 10/12 : COPY . . [2022-06-29T16:16:28.407Z] ---> bee89fcccb53 [2022-06-29T16:16:28.407Z] Step 11/12 : ARG MAKE='make build' [2022-06-29T16:16:28.407Z] ---> Running in e0945d313b5a [2022-06-29T16:16:28.407Z] Removing intermediate container e0945d313b5a [2022-06-29T16:16:28.407Z] ---> a4563625ee37 [2022-06-29T16:16:28.407Z] Step 12/12 : RUN $MAKE [2022-06-29T16:16:28.407Z] ---> Running in c0c9742ee8de [2022-06-29T16:16:28.680Z] noop [2022-06-29T16:16:29.280Z] Removing intermediate container c0c9742ee8de [2022-06-29T16:16:29.280Z] ---> 7a09c0978143 [2022-06-29T16:16:29.280Z] Successfully built 7a09c0978143 [2022-06-29T16:16:29.555Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:16:29.930Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:16:29.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:16:30.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-16360 does not seem to be running inside a container [2022-06-29T16:16:30.281Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T16:16:31.657Z] $ docker top c8dca35996fb87e84a2ba904426d497c0f85014ccb603cd8231c55440c516dad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:16:32.599Z] + go version [2022-06-29T16:16:32.599Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-29T16:16:32.625Z] $ docker stop --time=1 c8dca35996fb87e84a2ba904426d497c0f85014ccb603cd8231c55440c516dad [2022-06-29T16:16:34.321Z] $ docker rm -f c8dca35996fb87e84a2ba904426d497c0f85014ccb603cd8231c55440c516dad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:16:34.950Z] + docker inspect -f . ci-base-image-arm64 [2022-06-29T16:16:34.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:16:35.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-16360 does not seem to be running inside a container [2022-06-29T16:16:35.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-29T16:16:36.716Z] $ docker top c9feecdce9f7766f263d026a99f9db8a1c6ca569ed5ce229e31ad2784760ba86 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-29T16:16:37.641Z] + make test [2022-06-29T16:16:37.641Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-29T16:16:39.205Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-29T16:18:16.328Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-29T16:18:16.328Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements [2022-06-29T16:18:16.328Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-29T16:18:16.329Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-29T16:18:16.329Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-29T16:18:34.678Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-29T16:18:34.678Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-29T16:18:34.678Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-29T16:18:35.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-29T16:18:35.319Z] $ docker stop --time=1 c9feecdce9f7766f263d026a99f9db8a1c6ca569ed5ce229e31ad2784760ba86 [2022-06-29T16:18:37.192Z] $ docker rm -f c9feecdce9f7766f263d026a99f9db8a1c6ca569ed5ce229e31ad2784760ba86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-29T16:18:38.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-29T16:18:38.245Z] Warning: overwriting stash ‘coverage-report’ [2022-06-29T16:18:38.791Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-29T16:18:39.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-29T16:18:39.550Z] + ls -al . [2022-06-29T16:18:39.550Z] total 176 [2022-06-29T16:18:39.550Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 16:18 . [2022-06-29T16:18:39.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:14 .. [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 16:14 .dockerignore [2022-06-29T16:18:39.550Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 16:14 .git [2022-06-29T16:18:39.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:14 .github [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 29 16:14 .gitignore [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 29 16:14 .golangci.yml [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 29 16:14 Attribution.txt [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 29 16:14 CHANGELOG.md [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 16:14 Dockerfile [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 16:14 GOVERNANCE.md [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 29 16:14 Jenkinsfile [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 29 16:14 LICENSE [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 29 16:14 Makefile [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 29 16:14 OWNERS.md [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 29 16:14 README.md [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 16:10 VERSION [2022-06-29T16:18:39.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:14 bin [2022-06-29T16:18:39.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:14 cmd [2022-06-29T16:18:39.550Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 29 16:18 coverage.out [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 29 16:14 go.mod [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 29 16:14 go.sum [2022-06-29T16:18:39.550Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 16:14 internal [2022-06-29T16:18:39.550Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 16:14 mock [2022-06-29T16:18:39.550Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 16:14 snap [2022-06-29T16:18:39.550Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 29 16:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:18:39.916Z] + 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=ed848c3d28dee954008c5b6fc70f7e77a7c60981 --label arch=arm64 --label version=0.0.0 . [2022-06-29T16:18:40.190Z] Sending build context to Docker daemon 3.181MB [2022-06-29T16:18:40.464Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-29T16:18:40.464Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-29T16:18:40.464Z] ---> 7a09c0978143 [2022-06-29T16:18:40.464Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-29T16:18:40.464Z] ---> Running in 78363c0ffb23 [2022-06-29T16:18:40.738Z] Removing intermediate container 78363c0ffb23 [2022-06-29T16:18:40.738Z] ---> ee30337caa0b [2022-06-29T16:18:40.738Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-29T16:18:41.016Z] ---> Running in e55d4b4056b6 [2022-06-29T16:18:41.291Z] Removing intermediate container e55d4b4056b6 [2022-06-29T16:18:41.291Z] ---> 17038b719e2b [2022-06-29T16:18:41.291Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-29T16:18:41.291Z] ---> Running in fc998a6a54b8 [2022-06-29T16:18:43.275Z] Removing intermediate container fc998a6a54b8 [2022-06-29T16:18:43.275Z] ---> 475d9561c9a1 [2022-06-29T16:18:43.275Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-29T16:18:43.275Z] ---> Running in d67cdc8b7198 [2022-06-29T16:18:44.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:18:45.743Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:18:47.723Z] OK: 224 MiB in 56 packages [2022-06-29T16:18:48.330Z] Removing intermediate container d67cdc8b7198 [2022-06-29T16:18:48.330Z] ---> a21925fb8d0d [2022-06-29T16:18:48.330Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-29T16:18:48.330Z] ---> Running in 3afb978fa45b [2022-06-29T16:18:48.607Z] Removing intermediate container 3afb978fa45b [2022-06-29T16:18:48.607Z] ---> 6fc1b56b6191 [2022-06-29T16:18:48.607Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-29T16:18:49.208Z] ---> 08886469fe8d [2022-06-29T16:18:49.209Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-29T16:18:49.494Z] ---> Running in 45f44cc2bb2d [2022-06-29T16:18:51.487Z] Removing intermediate container 45f44cc2bb2d [2022-06-29T16:18:51.487Z] ---> fa4d128d704f [2022-06-29T16:18:51.487Z] Step 10/24 : COPY . . [2022-06-29T16:18:52.472Z] ---> e88478fc8a73 [2022-06-29T16:18:52.472Z] Step 11/24 : ARG MAKE='make build' [2022-06-29T16:18:52.472Z] ---> Running in 0fffa4acd005 [2022-06-29T16:18:52.747Z] Removing intermediate container 0fffa4acd005 [2022-06-29T16:18:52.747Z] ---> c1dfe14685ff [2022-06-29T16:18:52.747Z] Step 12/24 : RUN $MAKE [2022-06-29T16:18:52.747Z] ---> Running in cf09e9a9f376 [2022-06-29T16:18:53.734Z] 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-29T16:21:00.637Z] Removing intermediate container cf09e9a9f376 [2022-06-29T16:21:00.637Z] ---> 751bb2f9c920 [2022-06-29T16:21:00.637Z] Step 13/24 : FROM alpine:3.14 [2022-06-29T16:21:00.637Z] 3.14: Pulling from library/alpine [2022-06-29T16:21:00.637Z] 455c02918c45: Pulling fs layer [2022-06-29T16:21:00.637Z] 455c02918c45: Verifying Checksum [2022-06-29T16:21:00.637Z] 455c02918c45: Download complete [2022-06-29T16:21:00.637Z] 455c02918c45: Pull complete [2022-06-29T16:21:00.637Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-29T16:21:00.637Z] Status: Downloaded newer image for alpine:3.14 [2022-06-29T16:21:00.637Z] ---> ac73e934f311 [2022-06-29T16:21:00.637Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-29T16:21:00.637Z] ---> Running in 0bbffdf930a2 [2022-06-29T16:21:00.637Z] Removing intermediate container 0bbffdf930a2 [2022-06-29T16:21:00.637Z] ---> 73b6f00468c5 [2022-06-29T16:21:00.637Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-29T16:21:00.637Z] ---> Running in 69efc0e335b7 [2022-06-29T16:21:01.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-29T16:21:01.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-29T16:21:02.494Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-29T16:21:02.494Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-29T16:21:02.494Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-29T16:21:02.495Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-29T16:21:02.495Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-29T16:21:02.495Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-29T16:21:02.495Z] Executing busybox-1.33.1-r7.trigger [2022-06-29T16:21:02.495Z] OK: 8 MiB in 20 packages [2022-06-29T16:21:03.492Z] Removing intermediate container 69efc0e335b7 [2022-06-29T16:21:03.492Z] ---> 85e09d3d6f8e [2022-06-29T16:21:03.492Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-29T16:21:04.930Z] ---> eba277d34ce1 [2022-06-29T16:21:04.930Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-29T16:21:05.526Z] ---> 30688c6d70b8 [2022-06-29T16:21:05.526Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-29T16:21:06.123Z] ---> 18901239af0d [2022-06-29T16:21:06.123Z] Step 19/24 : EXPOSE 59982 [2022-06-29T16:21:06.401Z] ---> Running in 7efdaa538875 [2022-06-29T16:21:06.675Z] Removing intermediate container 7efdaa538875 [2022-06-29T16:21:06.675Z] ---> 392265ee14d8 [2022-06-29T16:21:06.675Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-29T16:21:06.675Z] ---> Running in d5eb623289c8 [2022-06-29T16:21:06.947Z] Removing intermediate container d5eb623289c8 [2022-06-29T16:21:06.947Z] ---> b68877e1f6fe [2022-06-29T16:21:06.947Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-29T16:21:06.947Z] ---> Running in f8c0641af661 [2022-06-29T16:21:07.552Z] Removing intermediate container f8c0641af661 [2022-06-29T16:21:07.552Z] ---> 44cbfe489ac6 [2022-06-29T16:21:07.552Z] Step 22/24 : LABEL arch=arm64 [2022-06-29T16:21:07.552Z] ---> Running in d95e3bb58e0f [2022-06-29T16:21:07.827Z] Removing intermediate container d95e3bb58e0f [2022-06-29T16:21:07.827Z] ---> 25456d64c807 [2022-06-29T16:21:07.827Z] Step 23/24 : LABEL git_sha=ed848c3d28dee954008c5b6fc70f7e77a7c60981 [2022-06-29T16:21:07.827Z] ---> Running in d724f3909d36 [2022-06-29T16:21:08.111Z] Removing intermediate container d724f3909d36 [2022-06-29T16:21:08.111Z] ---> a80aef38616b [2022-06-29T16:21:08.111Z] Step 24/24 : LABEL version=0.0.0 [2022-06-29T16:21:08.388Z] ---> Running in 92dfe62499b1 [2022-06-29T16:21:08.663Z] Removing intermediate container 92dfe62499b1 [2022-06-29T16:21:08.663Z] ---> 75907c986237 [2022-06-29T16:21:08.663Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-29T16:21:08.663Z] Successfully built 75907c986237 [2022-06-29T16:21:08.663Z] 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-29T16:21:09.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:21:09.134Z] [2022-06-29T16:21:09.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:21:09.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:21:09.763Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-29T16:21:09.763Z] 8998bd30e6a1: Pulling fs layer [2022-06-29T16:21:09.763Z] 04944245beec: Pulling fs layer [2022-06-29T16:21:09.763Z] 699f458cf7ca: Pulling fs layer [2022-06-29T16:21:09.763Z] 765212b225bb: Pulling fs layer [2022-06-29T16:21:09.763Z] f23df028b6ca: Pulling fs layer [2022-06-29T16:21:09.763Z] d65c8cfc05b1: Pulling fs layer [2022-06-29T16:21:09.763Z] 2437ff75d9bd: Pulling fs layer [2022-06-29T16:21:09.763Z] f23df028b6ca: Waiting [2022-06-29T16:21:09.763Z] d65c8cfc05b1: Waiting [2022-06-29T16:21:09.763Z] 2437ff75d9bd: Waiting [2022-06-29T16:21:09.763Z] 765212b225bb: Waiting [2022-06-29T16:21:09.763Z] 04944245beec: Verifying Checksum [2022-06-29T16:21:09.763Z] 04944245beec: Download complete [2022-06-29T16:21:09.763Z] 765212b225bb: Verifying Checksum [2022-06-29T16:21:09.763Z] 765212b225bb: Download complete [2022-06-29T16:21:09.763Z] f23df028b6ca: Verifying Checksum [2022-06-29T16:21:09.763Z] f23df028b6ca: Download complete [2022-06-29T16:21:09.763Z] d65c8cfc05b1: Verifying Checksum [2022-06-29T16:21:09.763Z] d65c8cfc05b1: Download complete [2022-06-29T16:21:10.041Z] 699f458cf7ca: Verifying Checksum [2022-06-29T16:21:10.041Z] 699f458cf7ca: Download complete [2022-06-29T16:21:10.318Z] 8998bd30e6a1: Verifying Checksum [2022-06-29T16:21:10.318Z] 8998bd30e6a1: Download complete [2022-06-29T16:21:12.950Z] 2437ff75d9bd: Verifying Checksum [2022-06-29T16:21:12.950Z] 2437ff75d9bd: Download complete [2022-06-29T16:21:14.926Z] 8998bd30e6a1: Pull complete [2022-06-29T16:21:15.201Z] 04944245beec: Pull complete [2022-06-29T16:21:16.665Z] 699f458cf7ca: Pull complete [2022-06-29T16:21:16.942Z] 765212b225bb: Pull complete [2022-06-29T16:21:17.938Z] f23df028b6ca: Pull complete [2022-06-29T16:21:17.938Z] d65c8cfc05b1: Pull complete [2022-06-29T16:21:33.035Z] 2437ff75d9bd: Pull complete [2022-06-29T16:21:33.035Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-29T16:21:33.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-29T16:21:33.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:21:33.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-16360 does not seem to be running inside a container [2022-06-29T16:21:33.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-29T16:21:35.972Z] $ docker top 9bed57f18fc51218c48d74cbcc58749dff1bac0e494aa48984266a68bc2fffb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:36.917Z] ---> job-cost.sh [2022-06-29T16:21:36.917Z] lf-activate-venv: SKIPPING [2022-06-29T16:21:36.917Z] INFO: No Stack... [2022-06-29T16:21:37.516Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-29T16:21:38.116Z] INFO: Archiving Costs [Pipeline] sh [2022-06-29T16:21:39.061Z] + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [2022-06-29T16:21:39.061Z] + cut -d, -f6 [Pipeline] lock [2022-06-29T16:21:39.124Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] [2022-06-29T16:21:39.130Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] did not exist. Created. [2022-06-29T16:21:39.130Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-29T16:21:39.806Z] /w/workspace/device-mqtt-go/5@tmp/durable-f1900500/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-29T16:21:40.498Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-29T16:21:40.519Z] Warning: overwriting stash ‘stack-cost’ [2022-06-29T16:21:40.575Z] Stashed 1 file(s) [Pipeline] } [2022-06-29T16:21:40.584Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-397-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-29T16:21:40.607Z] $ docker stop --time=1 9bed57f18fc51218c48d74cbcc58749dff1bac0e494aa48984266a68bc2fffb1 [2022-06-29T16:21:42.134Z] $ docker rm -f 9bed57f18fc51218c48d74cbcc58749dff1bac0e494aa48984266a68bc2fffb1 [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-29T16:21:42.605Z] provisioning config files... [2022-06-29T16:21:42.613Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config3709291866346208804tmp [Pipeline] { [Pipeline] sh [2022-06-29T16:21:42.905Z] + set +x [2022-06-29T16:21:42.905Z] + curl -s https://codecov.io/bash [2022-06-29T16:21:42.905Z] + bash -s -- [2022-06-29T16:21:42.905Z] [2022-06-29T16:21:42.905Z] _____ _ [2022-06-29T16:21:42.905Z] / ____| | | [2022-06-29T16:21:42.905Z] | | ___ __| | ___ ___ _____ __ [2022-06-29T16:21:42.905Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-29T16:21:42.905Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-29T16:21:42.905Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-29T16:21:42.905Z] Bash-1.0.6 [2022-06-29T16:21:42.905Z] [2022-06-29T16:21:42.905Z] [2022-06-29T16:21:42.905Z] ==> git version 2.25.1 found [2022-06-29T16:21:42.905Z] ==> 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-29T16:21:42.905Z] Release-Date: 2020-01-08 [2022-06-29T16:21:42.905Z] 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-29T16:21:42.905Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-29T16:21:42.905Z] ==> Jenkins CI detected. [2022-06-29T16:21:42.905Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T16:21:42.905Z] project root: . [2022-06-29T16:21:42.905Z] --> token set from env [2022-06-29T16:21:42.905Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-29T16:21:42.905Z] ==> Running gcov in . (disable via -X gcov) [2022-06-29T16:21:42.905Z] ==> Python coveragepy not found [2022-06-29T16:21:42.905Z] ==> Searching for coverage reports in: [2022-06-29T16:21:42.905Z] + . [2022-06-29T16:21:42.905Z] -> Found 1 reports [2022-06-29T16:21:42.905Z] ==> Detecting git/mercurial file structure [2022-06-29T16:21:42.905Z] ==> Reading reports [2022-06-29T16:21:42.905Z] + ./coverage.out bytes=17887 [2022-06-29T16:21:42.905Z] ==> Appending adjustments [2022-06-29T16:21:42.905Z] https://docs.codecov.io/docs/fixing-reports [2022-06-29T16:21:43.166Z] + Found adjustments [2022-06-29T16:21:43.166Z] ==> Gzipping contents [2022-06-29T16:21:43.166Z] 4.0K /tmp/codecov.6PyskX.gz [2022-06-29T16:21:43.166Z] ==> Uploading reports [2022-06-29T16:21:43.166Z] url: https://codecov.io [2022-06-29T16:21:43.166Z] query: branch=PR-397&commit=ed848c3d28dee954008c5b6fc70f7e77a7c60981&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T16:21:43.166Z] -> Pinging Codecov [2022-06-29T16:21:43.166Z] 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=ed848c3d28dee954008c5b6fc70f7e77a7c60981&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-397%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=397&job=&cmd_args= [2022-06-29T16:21:43.425Z] -> Uploading to [2022-06-29T16:21:43.425Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7D719EC7BBE17E464838252E33014C33/ed848c3d28dee954008c5b6fc70f7e77a7c60981/d553c580-0668-4f66-abff-bc3e1464e2ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T162143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cce072fd5f38f51a958e3ddd7d2bafd922be8a2817572309f5f42acf61fa1cdc [2022-06-29T16:21:43.425Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-29T16:21:43.425Z] Dload Upload Total Spent Left Speed [2022-06-29T16:21:43.686Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3198 0 0 100 3198 0 14470 --:--:-- --:--:-- --:--:-- 14405 100 3198 0 0 100 3198 0 14026 --:--:-- --:--:-- --:--:-- 13965 [2022-06-29T16:21:43.686Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/ed848c3d28dee954008c5b6fc70f7e77a7c60981 [Pipeline] } [2022-06-29T16:21:43.694Z] 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-29T16:21:44.337Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives ] [2022-06-29T16:21:44.337Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T16:21:44.337Z] total 16 [2022-06-29T16:21:44.337Z] drwxr-xr-x 3 root root 4096 Jun 29 16:12 . [2022-06-29T16:21:44.337Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:12 .. [2022-06-29T16:21:44.337Z] drwxr-xr-x 2 root root 4096 Jun 29 16:12 cost [2022-06-29T16:21:44.337Z] -rw-r--r-- 1 root root 85 Jun 29 16:12 cost.csv [2022-06-29T16:21:44.337Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T16:21:44.337Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives [2022-06-29T16:21:44.337Z] total 16 [2022-06-29T16:21:44.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 16:12 . [2022-06-29T16:21:44.337Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 16:12 .. [2022-06-29T16:21:44.337Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 16:12 cost [2022-06-29T16:21:44.337Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 29 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:44.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:45.497Z] ---> package-listing.sh [2022-06-29T16:21:45.497Z] ++ facter osfamily [2022-06-29T16:21:45.497Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-29T16:21:45.758Z] + OS_FAMILY=debian [2022-06-29T16:21:45.758Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-397 [2022-06-29T16:21:45.758Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-29T16:21:45.758Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-29T16:21:45.758Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-29T16:21:45.758Z] + PACKAGES=/tmp/packages_start.txt [2022-06-29T16:21:45.758Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T16:21:45.758Z] + PACKAGES=/tmp/packages_end.txt [2022-06-29T16:21:45.758Z] + case "${OS_FAMILY}" in [2022-06-29T16:21:45.758Z] + dpkg -l [2022-06-29T16:21:45.758Z] + grep '^ii' [2022-06-29T16:21:45.758Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-29T16:21:45.758Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-29T16:21:45.758Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-29T16:21:45.758Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-397 ']' [2022-06-29T16:21:45.758Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-397/archives/ [2022-06-29T16:21:45.758Z] + 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-29T16:21:45.769Z] 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-29T16:21:46.049Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-29T16:21:46.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-29T16:21:46.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-29T16:21:46.694Z] prd-ubuntu20.04-docker-8c-8g-16359 does not seem to be running inside a container [2022-06-29T16:21:46.740Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-29T16:21:46.980Z] $ docker top 587ba7dae06f5fbd07f20f88ac0ea8163197d1028a2b3b4ad9d31d2450c39b41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-29T16:21:47.316Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-29T16:21:47.604Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-29T16:21:47.899Z] + ls /var/log/sa-host [2022-06-29T16:21:47.899Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-29T16:21:48.020Z] provisioning config files... [2022-06-29T16:21:48.028Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-397@tmp/config8963080436510792349tmp [Pipeline] { [Pipeline] echo [2022-06-29T16:21:48.040Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:48.326Z] ---> create-netrc.sh [Pipeline] } [2022-06-29T16:21:48.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:48.666Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-29T16:21:48.674Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:48.961Z] ---> sudo-logs.sh [2022-06-29T16:21:48.961Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-29T16:21:48.983Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:49.265Z] ---> job-cost.sh [2022-06-29T16:21:49.265Z] lf-activate-venv: SKIPPING [2022-06-29T16:21:49.265Z] DEBUG: total: 0.2199999988079071 [2022-06-29T16:21:49.265Z] INFO: Retrieving Stack Cost... [2022-06-29T16:21:49.836Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-29T16:21:50.405Z] INFO: Archiving Costs [Pipeline] echo [2022-06-29T16:21:50.417Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-29T16:21:50.700Z] ---> logs-deploy.sh [2022-06-29T16:21:50.700Z] lf-activate-venv: SKIPPING [2022-06-29T16:21:50.700Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-397/5 [2022-06-29T16:21:50.700Z] INFO: archiving workspace using pattern(s): [2022-06-29T16:21:51.642Z] Archives upload complete. [2022-06-29T16:21:51.642Z] INFO: archiving logs to Nexus