Pull request #452 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 140078661ec70bd824aff41150442121660685ae+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (e4309b507f18f54b3781f0d8fae405b9819e89c1) 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-ssh11936537803478462721.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5275280276130132670.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16782981319055844877.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9094625442506743869.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10254095722930107104.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9814316777702451763.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1956’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1959 in /w/workspace/gexfoundry_device-mqtt-go_PR-452 [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-452 # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 140078661ec70bd824aff41150442121660685ae Merge succeeded, producing 140078661ec70bd824aff41150442121660685ae Checking out Revision 140078661ec70bd824aff41150442121660685ae (PR-452) > 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/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 140078661ec70bd824aff41150442121660685ae # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 140078661ec70bd824aff41150442121660685ae # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T21:52:00.369Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T21:52:00.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T21:52:00.633Z] ========================================================= [2023-01-11T21:52:00.634Z] EdgeX Global Pipelines Version Info [2023-01-11T21:52:00.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:01.364Z] ------------------- [2023-01-11T21:52:01.364Z] stable info: [2023-01-11T21:52:01.364Z] ------------------- [2023-01-11T21:52:01.364Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T21:52:01.364Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:52:01.364Z] Message: update stable to v1.0.244 [2023-01-11T21:52:01.956Z] ------------------- [2023-01-11T21:52:01.956Z] experimental info: [2023-01-11T21:52:01.956Z] ------------------- [2023-01-11T21:52:01.956Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T21:52:01.956Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:52:01.956Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T21:52:02.250Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-11T21:52:02.289Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-11T21:52:02.334Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T21:52:02.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T21:52:02.415Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T21:52:02.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T21:52:02.496Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T21:52:02.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T21:52:02.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T21:52:02.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T21:52:02.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T21:52:02.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-11T21:52:02.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T21:52:02.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T21:52:02.826Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T21:52:02.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T21:52:02.912Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T21:52:02.955Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T21:52:02.993Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T21:52:03.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T21:52:03.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T21:52:03.106Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T21:52:03.146Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T21:52:03.184Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T21:52:03.223Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T21:52:03.265Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T21:52:03.306Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T21:52:03.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo [2023-01-11T21:52:03.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo [2023-01-11T21:52:03.424Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo [2023-01-11T21:52:03.462Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 140078661ec70bd824aff41150442121660685ae [Pipeline] echo [2023-01-11T21:52:03.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1400786 [Pipeline] echo [2023-01-11T21:52:03.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:52:03.663Z] provisioning config files... [2023-01-11T21:52:03.677Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/config1092781989666725705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:04.027Z] ---> docker-login.sh [2023-01-11T21:52:04.027Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:52:04.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:04.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:04.285Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:04.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:04.285Z] [2023-01-11T21:52:04.285Z] Login Succeeded [2023-01-11T21:52:04.285Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:52:04.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:04.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:04.285Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:04.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:04.285Z] [2023-01-11T21:52:04.285Z] Login Succeeded [2023-01-11T21:52:04.285Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:52:04.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:04.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:04.545Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:04.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:04.545Z] [2023-01-11T21:52:04.545Z] Login Succeeded [2023-01-11T21:52:04.545Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:52:04.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:04.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:04.545Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:04.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:04.545Z] [2023-01-11T21:52:04.545Z] Login Succeeded [2023-01-11T21:52:04.545Z] docker.io [2023-01-11T21:52:04.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:04.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:04.804Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:04.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:04.804Z] [2023-01-11T21:52:04.804Z] Login Succeeded [2023-01-11T21:52:04.804Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:52:04.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T21:52:05.437Z] + git rev-list -1 --merges 140078661ec70bd824aff41150442121660685ae~1..140078661ec70bd824aff41150442121660685ae [Pipeline] echo [2023-01-11T21:52:05.507Z] -----------> git rev-list -1 --merges 140078661ec70bd824aff41150442121660685ae~1..140078661ec70bd824aff41150442121660685ae 140078661ec70bd824aff41150442121660685ae [false] [Pipeline] sh [2023-01-11T21:52:05.818Z] + git log --format=format:%s -1 140078661ec70bd824aff41150442121660685ae [Pipeline] echo [2023-01-11T21:52:05.849Z] ========================================================= [2023-01-11T21:52:05.849Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T21:52:05.849Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:52:06.266Z] + git log --format=format:%s -1 140078661ec70bd824aff41150442121660685ae [Pipeline] echo [2023-01-11T21:52:06.296Z] [semverPrep] GIT_COMMIT: 140078661ec70bd824aff41150442121660685ae, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-11T21:52:06.323Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T21:52:06.698Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T21:52:06.698Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T21:52:06.698Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T21:52:06.698Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T21:52:06.698Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T21:52:06.698Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T21:52:06.698Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:07.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:52:07.118Z] [2023-01-11T21:52:07.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:07.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:52:07.489Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T21:52:07.489Z] b85a868b505f: Pulling fs layer [2023-01-11T21:52:07.489Z] e2be974225ed: Pulling fs layer [2023-01-11T21:52:07.489Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T21:52:07.489Z] 988bab9f4d93: Pulling fs layer [2023-01-11T21:52:07.489Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T21:52:07.489Z] eaf3925da568: Pulling fs layer [2023-01-11T21:52:07.489Z] bab4dde63d76: Pulling fs layer [2023-01-11T21:52:07.489Z] bde34c3a00c8: Pulling fs layer [2023-01-11T21:52:07.489Z] b352a97aabf1: Pulling fs layer [2023-01-11T21:52:07.489Z] 4872d77fe225: Pulling fs layer [2023-01-11T21:52:07.489Z] 5851b861e8e6: Pulling fs layer [2023-01-11T21:52:07.489Z] b352a97aabf1: Waiting [2023-01-11T21:52:07.489Z] bab4dde63d76: Waiting [2023-01-11T21:52:07.489Z] bde34c3a00c8: Waiting [2023-01-11T21:52:07.489Z] 4872d77fe225: Waiting [2023-01-11T21:52:07.489Z] 5851b861e8e6: Waiting [2023-01-11T21:52:07.489Z] 988bab9f4d93: Waiting [2023-01-11T21:52:07.489Z] 1469e6f7b9e6: Waiting [2023-01-11T21:52:07.489Z] eaf3925da568: Waiting [2023-01-11T21:52:07.489Z] e2be974225ed: Verifying Checksum [2023-01-11T21:52:07.489Z] e2be974225ed: Download complete [2023-01-11T21:52:07.489Z] 988bab9f4d93: Verifying Checksum [2023-01-11T21:52:07.489Z] 988bab9f4d93: Download complete [2023-01-11T21:52:07.750Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T21:52:07.750Z] 1469e6f7b9e6: Download complete [2023-01-11T21:52:07.750Z] eaf3925da568: Verifying Checksum [2023-01-11T21:52:07.750Z] eaf3925da568: Download complete [2023-01-11T21:52:07.750Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T21:52:07.750Z] 339a4e72a1f5: Download complete [2023-01-11T21:52:07.750Z] bde34c3a00c8: Verifying Checksum [2023-01-11T21:52:07.750Z] bde34c3a00c8: Download complete [2023-01-11T21:52:07.750Z] b352a97aabf1: Download complete [2023-01-11T21:52:07.750Z] 4872d77fe225: Download complete [2023-01-11T21:52:07.750Z] 5851b861e8e6: Download complete [2023-01-11T21:52:07.750Z] b85a868b505f: Download complete [2023-01-11T21:52:08.318Z] bab4dde63d76: Verifying Checksum [2023-01-11T21:52:08.318Z] bab4dde63d76: Download complete [2023-01-11T21:52:08.890Z] b85a868b505f: Pull complete [2023-01-11T21:52:09.149Z] e2be974225ed: Pull complete [2023-01-11T21:52:09.411Z] 339a4e72a1f5: Pull complete [2023-01-11T21:52:09.674Z] 988bab9f4d93: Pull complete [2023-01-11T21:52:09.934Z] 1469e6f7b9e6: Pull complete [2023-01-11T21:52:09.934Z] eaf3925da568: Pull complete [2023-01-11T21:52:11.833Z] bab4dde63d76: Pull complete [2023-01-11T21:52:11.833Z] bde34c3a00c8: Pull complete [2023-01-11T21:52:12.092Z] b352a97aabf1: Pull complete [2023-01-11T21:52:12.352Z] 4872d77fe225: Pull complete [2023-01-11T21:52:12.616Z] 5851b861e8e6: Pull complete [2023-01-11T21:52:12.616Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T21:52:12.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T21:52:12.877Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:52:13.091Z] prd-ubuntu20.04-docker-8c-8g-1959 does not seem to be running inside a container [2023-01-11T21:52:13.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-452 -v /w/workspace/gexfoundry_device-mqtt-go_PR-452:/w/workspace/gexfoundry_device-mqtt-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-452@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T21:52:16.135Z] $ docker top 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf -eo pid,comm [2023-01-11T21:52:16.195Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-11T21:52:16.195Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T21:52:16.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T21:52:16.315Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T21:52:16.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T21:52:16.428Z] $ docker exec 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf ssh-agent [2023-01-11T21:52:16.551Z] SSH_AUTH_SOCK=/tmp/ssh-12GDHZBNSnbj/agent.31 [2023-01-11T21:52:16.551Z] SSH_AGENT_PID=37 [2023-01-11T21:52:16.558Z] Running ssh-add (command line suppressed) [2023-01-11T21:52:16.658Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/private_key_6033460991911065055.key (/w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/private_key_6033460991911065055.key) [2023-01-11T21:52:16.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T21:52:17.006Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T21:52:17.030Z] $ docker exec --env ******** --env ******** 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf ssh-agent -k [2023-01-11T21:52:17.130Z] unset SSH_AUTH_SOCK; [2023-01-11T21:52:17.131Z] unset SSH_AGENT_PID; [2023-01-11T21:52:17.131Z] echo Agent pid 37 killed; [2023-01-11T21:52:17.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T21:52:17.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T21:52:17.236Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T21:52:17.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T21:52:17.347Z] $ docker exec 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf ssh-agent [2023-01-11T21:52:17.471Z] SSH_AUTH_SOCK=/tmp/ssh-bfKTzIxuQX0h/agent.69 [2023-01-11T21:52:17.471Z] SSH_AGENT_PID=75 [2023-01-11T21:52:17.475Z] Running ssh-add (command line suppressed) [2023-01-11T21:52:17.582Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/private_key_16988614816368461282.key (/w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/private_key_16988614816368461282.key) [2023-01-11T21:52:17.599Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T21:52:17.928Z] + git semver init [2023-01-11T21:52:18.191Z] 2023-01-11 21:52:18,099 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T21:52:18.191Z] 2023-01-11 21:52:18,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver [2023-01-11T21:52:18.191Z] 2023-01-11 21:52:18,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver [2023-01-11T21:52:18.191Z] 2023-01-11 21:52:18,101 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-452, universal_newlines=False, shell=None, istream=None) [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,098 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-452/.git/info/exclude [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver/PR-452 with force:False [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,099 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver/PR-452 [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,105 [execute] INFO git cat-file --batch-check [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,112 [execute] INFO git cat-file --batch [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,113 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T21:52:19.131Z] 2023-01-11 21:52:19,121 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-452/.semver/PR-452 [2023-01-11T21:52:19.131Z] 0.0.0 [Pipeline] } [2023-01-11T21:52:19.402Z] $ docker exec --env ******** --env ******** 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf ssh-agent -k [2023-01-11T21:52:19.514Z] unset SSH_AUTH_SOCK; [2023-01-11T21:52:19.515Z] unset SSH_AGENT_PID; [2023-01-11T21:52:19.515Z] echo Agent pid 75 killed; [2023-01-11T21:52:19.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T21:52:19.949Z] + git semver [Pipeline] } [2023-01-11T21:52:20.228Z] $ docker stop --time=1 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf [2023-01-11T21:52:21.517Z] $ docker rm -f --volumes 783d272b6f22954d711fb70c58133d12cdbdb51c36ae2fc8d54572895ff725bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:52:21.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T21:52:22.178Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T21:52:22.197Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:52:22.762Z] provisioning config files... [2023-01-11T21:52:22.770Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/config13232673357165948872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:52:23.108Z] ---> docker-login.sh [2023-01-11T21:52:23.108Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:52:23.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:23.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:23.108Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:23.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:23.108Z] [2023-01-11T21:52:23.108Z] Login Succeeded [2023-01-11T21:52:23.108Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:52:23.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:23.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:23.108Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:23.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:23.108Z] [2023-01-11T21:52:23.108Z] Login Succeeded [2023-01-11T21:52:23.108Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:52:23.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:23.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:23.367Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:23.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:23.367Z] [2023-01-11T21:52:23.367Z] Login Succeeded [2023-01-11T21:52:23.367Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:52:23.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:23.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:23.367Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:23.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:23.367Z] [2023-01-11T21:52:23.367Z] Login Succeeded [2023-01-11T21:52:23.367Z] docker.io [2023-01-11T21:52:23.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:52:23.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:52:23.628Z] Configure a credential helper to remove this warning. See [2023-01-11T21:52:23.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:52:23.628Z] [2023-01-11T21:52:23.628Z] Login Succeeded [2023-01-11T21:52:23.628Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:52:23.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T21:52:23.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:52:23.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:52:23.911Z] ========================================================= [2023-01-11T21:52:23.911Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T21:52:23.911Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:52:24.393Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T21:52:24.393Z] Sending build context to Docker daemon 6.338MB [2023-01-11T21:52:24.393Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:52:24.393Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T21:52:24.393Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T21:52:24.393Z] 213ec9aee27d: Pulling fs layer [2023-01-11T21:52:24.393Z] 4583459ba037: Pulling fs layer [2023-01-11T21:52:24.393Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T21:52:24.393Z] 53926ce57604: Pulling fs layer [2023-01-11T21:52:24.393Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T21:52:24.393Z] 22ff95d597cd: Pulling fs layer [2023-01-11T21:52:24.393Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T21:52:24.393Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T21:52:24.393Z] a7acece74701: Pulling fs layer [2023-01-11T21:52:24.393Z] 53926ce57604: Waiting [2023-01-11T21:52:24.393Z] 21b2b0c7a3f4: Waiting [2023-01-11T21:52:24.393Z] 22ff95d597cd: Waiting [2023-01-11T21:52:24.393Z] 12d6caf4c0d1: Waiting [2023-01-11T21:52:24.393Z] 96b7cbca73a9: Waiting [2023-01-11T21:52:24.393Z] a7acece74701: Waiting [2023-01-11T21:52:24.393Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T21:52:24.393Z] 93c1e223e6f2: Download complete [2023-01-11T21:52:24.653Z] 4583459ba037: Verifying Checksum [2023-01-11T21:52:24.653Z] 4583459ba037: Download complete [2023-01-11T21:52:24.653Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T21:52:24.653Z] 21b2b0c7a3f4: Download complete [2023-01-11T21:52:24.653Z] 22ff95d597cd: Verifying Checksum [2023-01-11T21:52:24.653Z] 22ff95d597cd: Download complete [2023-01-11T21:52:24.653Z] 213ec9aee27d: Download complete [2023-01-11T21:52:24.653Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T21:52:24.653Z] 12d6caf4c0d1: Download complete [2023-01-11T21:52:24.653Z] 213ec9aee27d: Pull complete [2023-01-11T21:52:24.923Z] 4583459ba037: Pull complete [2023-01-11T21:52:24.923Z] 93c1e223e6f2: Pull complete [2023-01-11T21:52:25.899Z] a7acece74701: Verifying Checksum [2023-01-11T21:52:25.899Z] a7acece74701: Download complete [2023-01-11T21:52:25.899Z] 53926ce57604: Verifying Checksum [2023-01-11T21:52:25.899Z] 53926ce57604: Download complete [2023-01-11T21:52:25.899Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T21:52:25.899Z] 96b7cbca73a9: Download complete [2023-01-11T21:52:29.186Z] 53926ce57604: Pull complete [2023-01-11T21:52:29.444Z] 21b2b0c7a3f4: Pull complete [2023-01-11T21:52:29.707Z] 22ff95d597cd: Pull complete [2023-01-11T21:52:29.965Z] 12d6caf4c0d1: Pull complete [2023-01-11T21:52:32.492Z] 96b7cbca73a9: Pull complete [2023-01-11T21:52:33.425Z] a7acece74701: Pull complete [2023-01-11T21:52:33.425Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T21:52:33.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T21:52:33.425Z] ---> db6d94c90886 [2023-01-11T21:52:33.425Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:52:37.591Z] Still waiting to schedule task [2023-01-11T21:52:37.591Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-11T21:52:38.698Z] ---> Running in 54a7a1368cbe [2023-01-11T21:52:38.698Z] Removing intermediate container 54a7a1368cbe [2023-01-11T21:52:38.698Z] ---> a77722e9bfe3 [2023-01-11T21:52:38.698Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:52:38.698Z] ---> Running in c90b59354047 [2023-01-11T21:52:38.698Z] Removing intermediate container c90b59354047 [2023-01-11T21:52:38.698Z] ---> 91ae72ffa15e [2023-01-11T21:52:38.698Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:52:38.698Z] ---> Running in 2f701993a03f [2023-01-11T21:52:38.698Z] Removing intermediate container 2f701993a03f [2023-01-11T21:52:38.698Z] ---> c60e4757bd66 [2023-01-11T21:52:38.698Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:52:38.698Z] ---> Running in 336d8287495c [2023-01-11T21:52:38.698Z] Removing intermediate container 336d8287495c [2023-01-11T21:52:38.698Z] ---> b206c2c95d6b [2023-01-11T21:52:38.698Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:52:38.698Z] ---> Running in 79cb074caae9 [2023-01-11T21:52:38.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:52:38.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:52:38.955Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T21:52:38.955Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T21:52:38.955Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T21:52:38.955Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T21:52:38.955Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:52:39.232Z] OK: 216 MiB in 55 packages [2023-01-11T21:52:39.491Z] Removing intermediate container 79cb074caae9 [2023-01-11T21:52:39.491Z] ---> 364ec8602e15 [2023-01-11T21:52:39.491Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T21:52:39.491Z] ---> Running in fa456a8f508e [2023-01-11T21:52:39.750Z] Removing intermediate container fa456a8f508e [2023-01-11T21:52:39.750Z] ---> fa3a48886b41 [2023-01-11T21:52:39.750Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T21:52:39.750Z] ---> 8ca0d41a729d [2023-01-11T21:52:39.750Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:52:39.750Z] ---> Running in df4f1f4a3a36 [2023-01-11T21:53:18.480Z] Removing intermediate container df4f1f4a3a36 [2023-01-11T21:53:18.480Z] ---> 78836fe30f1a [2023-01-11T21:53:18.480Z] Step 11/12 : COPY . . [2023-01-11T21:53:18.480Z] ---> 451e712f0957 [2023-01-11T21:53:18.480Z] Step 12/12 : RUN $MAKE [2023-01-11T21:53:18.480Z] ---> Running in 9fdc86c68c2c [2023-01-11T21:53:18.480Z] noop [2023-01-11T21:53:18.480Z] Removing intermediate container 9fdc86c68c2c [2023-01-11T21:53:18.480Z] ---> 876049bc85c0 [2023-01-11T21:53:18.480Z] Successfully built 876049bc85c0 [2023-01-11T21:53:18.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:53:18.917Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T21:53:18.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:53:19.087Z] prd-ubuntu20.04-docker-8c-8g-1959 does not seem to be running inside a container [2023-01-11T21:53:19.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-452 -v /w/workspace/gexfoundry_device-mqtt-go_PR-452:/w/workspace/gexfoundry_device-mqtt-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-452@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 ******** ci-base-image-x86_64 cat [2023-01-11T21:53:19.454Z] $ docker top 622c41e83d33a30d75555f13d543fcbc968f75f594b472b700942dd03856ac5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:53:19.828Z] + go version [2023-01-11T21:53:19.828Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T21:53:19.862Z] $ docker stop --time=1 622c41e83d33a30d75555f13d543fcbc968f75f594b472b700942dd03856ac5f [2023-01-11T21:53:21.118Z] $ docker rm -f --volumes 622c41e83d33a30d75555f13d543fcbc968f75f594b472b700942dd03856ac5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:53:21.829Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T21:53:21.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:53:21.991Z] prd-ubuntu20.04-docker-8c-8g-1959 does not seem to be running inside a container [2023-01-11T21:53:22.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-452 -v /w/workspace/gexfoundry_device-mqtt-go_PR-452:/w/workspace/gexfoundry_device-mqtt-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-452@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 ******** ci-base-image-x86_64 cat [2023-01-11T21:53:22.359Z] $ docker top 16c07c3edb5d2de0d3e31b61e53112423a21fa63d2fdd3c48123c80365510481 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:53:22.744Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-452 [Pipeline] fileExists [Pipeline] sh [2023-01-11T21:53:23.105Z] + make test [2023-01-11T21:53:23.105Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T21:53:23.364Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T21:53:33.327Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T21:53:33.327Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements [2023-01-11T21:53:33.327Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T21:53:39.878Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-11T21:53:39.878Z] go vet ./... [2023-01-11T21:53:42.407Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T21:53:42.407Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T21:53:42.407Z] ./bin/test-attribution-txt.sh [2023-01-11T21:53:42.665Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-11T21:53:42.665Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-11T21:53:42.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T21:53:42.731Z] $ docker stop --time=1 16c07c3edb5d2de0d3e31b61e53112423a21fa63d2fdd3c48123c80365510481 [2023-01-11T21:53:45.003Z] $ docker rm -f --volumes 16c07c3edb5d2de0d3e31b61e53112423a21fa63d2fdd3c48123c80365510481 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T21:53:45.561Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T21:53:45.637Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T21:53:46.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T21:53:46.536Z] + ls -al . [2023-01-11T21:53:46.536Z] total 184 [2023-01-11T21:53:46.536Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 21:53 . [2023-01-11T21:53:46.536Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:51 .. [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 21:51 .dockerignore [2023-01-11T21:53:46.536Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:53 .git [2023-01-11T21:53:46.536Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:51 .github [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 21:51 .gitignore [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:51 .golangci.yml [2023-01-11T21:53:46.536Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:52 .semver [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 21:51 Attribution.txt [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 21:51 CHANGELOG.md [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 21:51 Dockerfile [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:51 GOVERNANCE.md [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 21:51 Jenkinsfile [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:51 LICENSE [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 21:51 Makefile [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 21:51 OWNERS.md [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 21:51 README.md [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:52 VERSION [2023-01-11T21:53:46.536Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:51 bin [2023-01-11T21:53:46.536Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:51 cmd [2023-01-11T21:53:46.536Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 21:53 coverage.out [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 3428 Jan 11 21:51 go.mod [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 34852 Jan 11 21:51 go.sum [2023-01-11T21:53:46.536Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:51 internal [2023-01-11T21:53:46.536Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:51 mock [2023-01-11T21:53:46.536Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:51 snap [2023-01-11T21:53:46.536Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 21:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:53:46.924Z] + 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=140078661ec70bd824aff41150442121660685ae --label arch=amd64 --label version=0.0.0 . [2023-01-11T21:53:46.924Z] Sending build context to Docker daemon 6.356MB [2023-01-11T21:53:46.924Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:53:46.924Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T21:53:46.924Z] ---> 876049bc85c0 [2023-01-11T21:53:46.924Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:53:46.924Z] ---> Running in 98552ebdbc23 [2023-01-11T21:53:47.184Z] Removing intermediate container 98552ebdbc23 [2023-01-11T21:53:47.184Z] ---> 3ea73bf03150 [2023-01-11T21:53:47.184Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:53:47.184Z] ---> Running in 1f86da69337b [2023-01-11T21:53:47.184Z] Removing intermediate container 1f86da69337b [2023-01-11T21:53:47.184Z] ---> 8efe179aee5d [2023-01-11T21:53:47.184Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:53:47.184Z] ---> Running in 6edc48e44541 [2023-01-11T21:53:47.184Z] Removing intermediate container 6edc48e44541 [2023-01-11T21:53:47.184Z] ---> ff8153111b2d [2023-01-11T21:53:47.184Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:53:47.184Z] ---> Running in 988953e773a2 [2023-01-11T21:53:47.444Z] Removing intermediate container 988953e773a2 [2023-01-11T21:53:47.444Z] ---> 61a258592b3a [2023-01-11T21:53:47.444Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:53:47.444Z] ---> Running in 9b21ae4ed104 [2023-01-11T21:53:47.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:53:47.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:53:47.960Z] OK: 216 MiB in 55 packages [2023-01-11T21:53:48.527Z] Removing intermediate container 9b21ae4ed104 [2023-01-11T21:53:48.527Z] ---> 0ef6818801a9 [2023-01-11T21:53:48.527Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T21:53:48.527Z] ---> Running in cbed4ff1b71c [2023-01-11T21:53:48.527Z] Removing intermediate container cbed4ff1b71c [2023-01-11T21:53:48.527Z] ---> ab3d3d6d8335 [2023-01-11T21:53:48.527Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T21:53:48.527Z] ---> ca6fa23d62bd [2023-01-11T21:53:48.527Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:53:48.527Z] ---> Running in e0eaf97faf75 [2023-01-11T21:53:49.607Z] Removing intermediate container e0eaf97faf75 [2023-01-11T21:53:49.607Z] ---> a1ad5d8655d7 [2023-01-11T21:53:49.607Z] Step 11/24 : COPY . . [2023-01-11T21:53:49.865Z] ---> 0d89f98eec5a [2023-01-11T21:53:49.865Z] Step 12/24 : RUN $MAKE [2023-01-11T21:53:49.865Z] ---> Running in 2b5b4f292c40 [2023-01-11T21:53:50.122Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-11T21:54:12.045Z] Removing intermediate container 2b5b4f292c40 [2023-01-11T21:54:12.045Z] ---> b9550d325a82 [2023-01-11T21:54:12.045Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T21:54:12.045Z] 3.16: Pulling from library/alpine [2023-01-11T21:54:12.045Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T21:54:12.045Z] ca7dd9ec2225: Download complete [2023-01-11T21:54:12.045Z] ca7dd9ec2225: Pull complete [2023-01-11T21:54:12.045Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T21:54:12.045Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T21:54:12.045Z] ---> bfe296a52501 [2023-01-11T21:54:12.045Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T21:54:12.045Z] ---> Running in 69e8a83835a4 [2023-01-11T21:54:12.045Z] Removing intermediate container 69e8a83835a4 [2023-01-11T21:54:12.045Z] ---> 5f184b04c97a [2023-01-11T21:54:12.045Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T21:54:12.045Z] ---> Running in 7c1d22e71621 [2023-01-11T21:54:12.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T21:54:12.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T21:54:12.045Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T21:54:12.045Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:54:12.045Z] OK: 6 MiB in 15 packages [2023-01-11T21:54:12.045Z] Removing intermediate container 7c1d22e71621 [2023-01-11T21:54:12.045Z] ---> dccdeacf8da7 [2023-01-11T21:54:12.045Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T21:54:12.612Z] ---> f4a352b14820 [2023-01-11T21:54:12.612Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T21:54:12.612Z] ---> b4105c147ec8 [2023-01-11T21:54:12.612Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T21:54:12.612Z] ---> 837a6067e144 [2023-01-11T21:54:12.612Z] Step 19/24 : EXPOSE 59982 [2023-01-11T21:54:12.612Z] ---> Running in d5ce486048b6 [2023-01-11T21:54:12.872Z] Removing intermediate container d5ce486048b6 [2023-01-11T21:54:12.872Z] ---> 4296bb65ee45 [2023-01-11T21:54:12.872Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T21:54:12.872Z] ---> Running in f7ef93ea0a33 [2023-01-11T21:54:12.872Z] Removing intermediate container f7ef93ea0a33 [2023-01-11T21:54:12.872Z] ---> 9833b684bb94 [2023-01-11T21:54:12.872Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T21:54:12.872Z] ---> Running in 83b6d88cc4d3 [2023-01-11T21:54:12.872Z] Removing intermediate container 83b6d88cc4d3 [2023-01-11T21:54:12.872Z] ---> 0ebbc3d38693 [2023-01-11T21:54:12.872Z] Step 22/24 : LABEL arch=amd64 [2023-01-11T21:54:12.872Z] ---> Running in d5e9da5db720 [2023-01-11T21:54:13.130Z] Removing intermediate container d5e9da5db720 [2023-01-11T21:54:13.130Z] ---> a2ead1bf71f7 [2023-01-11T21:54:13.130Z] Step 23/24 : LABEL git_sha=140078661ec70bd824aff41150442121660685ae [2023-01-11T21:54:13.130Z] ---> Running in 51a037d443df [2023-01-11T21:54:13.130Z] Removing intermediate container 51a037d443df [2023-01-11T21:54:13.130Z] ---> 134dfa1848bc [2023-01-11T21:54:13.130Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T21:54:13.130Z] ---> Running in 6340b282c8e9 [2023-01-11T21:54:13.130Z] Removing intermediate container 6340b282c8e9 [2023-01-11T21:54:13.130Z] ---> 033d9048fa25 [2023-01-11T21:54:13.130Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T21:54:13.130Z] Successfully built 033d9048fa25 [2023-01-11T21:54:13.130Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:54:14.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:54:14.022Z] [2023-01-11T21:54:14.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:54:14.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:54:14.389Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T21:54:14.389Z] 5eb5b503b376: Pulling fs layer [2023-01-11T21:54:14.389Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T21:54:14.389Z] ec43610c2a17: Pulling fs layer [2023-01-11T21:54:14.389Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T21:54:14.389Z] 33b1e0a273af: Pulling fs layer [2023-01-11T21:54:14.389Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T21:54:14.389Z] 3a2ae6a8a46f: Waiting [2023-01-11T21:54:14.389Z] 33b1e0a273af: Waiting [2023-01-11T21:54:14.389Z] 2f39f015ded8: Pulling fs layer [2023-01-11T21:54:14.389Z] 2f39f015ded8: Waiting [2023-01-11T21:54:14.389Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T21:54:14.389Z] 5c69ac0246d0: Download complete [2023-01-11T21:54:14.389Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T21:54:14.389Z] 3a2ae6a8a46f: Download complete [2023-01-11T21:54:14.647Z] 33b1e0a273af: Verifying Checksum [2023-01-11T21:54:14.647Z] 33b1e0a273af: Download complete [2023-01-11T21:54:14.647Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T21:54:14.647Z] 5d3b04190fa2: Download complete [2023-01-11T21:54:14.647Z] ec43610c2a17: Verifying Checksum [2023-01-11T21:54:14.647Z] ec43610c2a17: Download complete [2023-01-11T21:54:14.647Z] 5eb5b503b376: Verifying Checksum [2023-01-11T21:54:14.647Z] 5eb5b503b376: Download complete [2023-01-11T21:54:15.213Z] 2f39f015ded8: Download complete [2023-01-11T21:54:15.777Z] 5eb5b503b376: Pull complete [2023-01-11T21:54:16.035Z] 5c69ac0246d0: Pull complete [2023-01-11T21:54:16.295Z] ec43610c2a17: Pull complete [2023-01-11T21:54:16.554Z] 3a2ae6a8a46f: Pull complete [2023-01-11T21:54:16.554Z] 33b1e0a273af: Pull complete [2023-01-11T21:54:16.812Z] 5d3b04190fa2: Pull complete [2023-01-11T21:54:21.086Z] 2f39f015ded8: Pull complete [2023-01-11T21:54:21.086Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T21:54:21.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T21:54:21.086Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:54:21.304Z] prd-ubuntu20.04-docker-8c-8g-1959 does not seem to be running inside a container [2023-01-11T21:54:21.334Z] $ 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-452 -v /w/workspace/gexfoundry_device-mqtt-go_PR-452:/w/workspace/gexfoundry_device-mqtt-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-452@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T21:54:25.838Z] $ docker top 8be521b97b4d3ed05c3262ebaadf37236d684a2f53ec4e906d426f74327071a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:54:26.268Z] ---> job-cost.sh [2023-01-11T21:54:26.268Z] lf-activate-venv: SKIPPING [2023-01-11T21:54:26.268Z] INFO: No Stack... [2023-01-11T21:54:27.643Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T21:54:27.902Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T21:54:28.214Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives/cost.csv [2023-01-11T21:54:28.214Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T21:54:28.258Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] [2023-01-11T21:54:28.263Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] did not exist. Created. [2023-01-11T21:54:28.263Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T21:54:28.647Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T21:54:28.703Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T21:54:28.734Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T21:54:28.809Z] $ docker stop --time=1 8be521b97b4d3ed05c3262ebaadf37236d684a2f53ec4e906d426f74327071a9 [2023-01-11T21:54:29.958Z] $ docker rm -f --volumes 8be521b97b4d3ed05c3262ebaadf37236d684a2f53ec4e906d426f74327071a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T21:54:57.522Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1969 in /w/workspace/gexfoundry_device-mqtt-go_PR-452 [Pipeline] { [Pipeline] ws [2023-01-11T21:54:57.569Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-11T21:54:57.645Z] Selected Git installation does not exist. Using Default [2023-01-11T21:54:57.646Z] The recommended git tool is: NONE [2023-01-11T21:55:04.198Z] using credential edgex-jenkins-ssh [2023-01-11T21:55:04.217Z] Cloning the remote Git repository [2023-01-11T21:55:04.283Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T21:55:04.382Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-11T21:55:04.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T21:55:04.577Z] > git --version # timeout=10 [2023-01-11T21:55:04.604Z] > git --version # 'git version 2.25.1' [2023-01-11T21:55:04.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T21:55:04.691Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T21:55:06.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T21:55:06.580Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T21:55:07.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-11T21:55:07.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-11T21:55:07.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T21:55:07.725Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T21:55:08.294Z] Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 140078661ec70bd824aff41150442121660685ae [2023-01-11T21:55:08.571Z] Merge succeeded, producing 140078661ec70bd824aff41150442121660685ae [2023-01-11T21:55:08.572Z] Checking out Revision 140078661ec70bd824aff41150442121660685ae (PR-452) [2023-01-11T21:55:09.179Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-11T21:55:09.249Z] > git --version # timeout=10 [2023-01-11T21:55:09.263Z] > git --version # 'git version 2.25.1' [2023-01-11T21:55:09.292Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T21:55:08.320Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T21:55:08.342Z] > git checkout -f 140078661ec70bd824aff41150442121660685ae # timeout=10 [2023-01-11T21:55:08.448Z] > git remote # timeout=10 [2023-01-11T21:55:08.474Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T21:55:08.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T21:55:08.520Z] > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 [2023-01-11T21:55:08.552Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T21:55:08.581Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T21:55:08.609Z] > git checkout -f 140078661ec70bd824aff41150442121660685ae # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T21:55:10.367Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T21:55:10.367Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T21:55:10.367Z] Dload Upload Total Spent Left Speed [2023-01-11T21:55:10.367Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-01-11T21:55:11.019Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T21:55:11.381Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-01-11T21:55:11.381Z] sudo tee /etc/docker/daemon.new [2023-01-11T21:55:11.381Z] { [2023-01-11T21:55:11.381Z] "registry-mirrors": [ [2023-01-11T21:55:11.381Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T21:55:11.381Z] ], [2023-01-11T21:55:11.381Z] "bip": "10.250.0.254/24", [2023-01-11T21:55:11.381Z] "hosts": [ [2023-01-11T21:55:11.381Z] "tcp://0.0.0.0:5555", [2023-01-11T21:55:11.381Z] "unix:///var/run/docker.sock" [2023-01-11T21:55:11.381Z] ], [2023-01-11T21:55:11.381Z] "mtu": 1458, [2023-01-11T21:55:11.381Z] "selinux-enabled": true, [2023-01-11T21:55:11.381Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T21:55:11.381Z] } [Pipeline] sh [2023-01-11T21:55:11.739Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T21:55:12.106Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T21:55:30.472Z] provisioning config files... [2023-01-11T21:55:30.505Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16207203657393680677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T21:55:30.898Z] ---> docker-login.sh [2023-01-11T21:55:30.898Z] nexus3.edgexfoundry.org:10001 [2023-01-11T21:55:31.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:55:31.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:55:31.773Z] Configure a credential helper to remove this warning. See [2023-01-11T21:55:31.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:55:31.773Z] [2023-01-11T21:55:31.773Z] Login Succeeded [2023-01-11T21:55:31.773Z] nexus3.edgexfoundry.org:10002 [2023-01-11T21:55:32.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:55:32.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:55:32.052Z] Configure a credential helper to remove this warning. See [2023-01-11T21:55:32.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:55:32.052Z] [2023-01-11T21:55:32.052Z] Login Succeeded [2023-01-11T21:55:32.052Z] nexus3.edgexfoundry.org:10003 [2023-01-11T21:55:32.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:55:32.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:55:32.609Z] Configure a credential helper to remove this warning. See [2023-01-11T21:55:32.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:55:32.609Z] [2023-01-11T21:55:32.609Z] Login Succeeded [2023-01-11T21:55:32.609Z] nexus3.edgexfoundry.org:10004 [2023-01-11T21:55:32.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:55:32.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:55:32.885Z] Configure a credential helper to remove this warning. See [2023-01-11T21:55:32.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:55:32.885Z] [2023-01-11T21:55:32.885Z] Login Succeeded [2023-01-11T21:55:33.159Z] docker.io [2023-01-11T21:55:33.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T21:55:33.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T21:55:33.708Z] Configure a credential helper to remove this warning. See [2023-01-11T21:55:33.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T21:55:33.708Z] [2023-01-11T21:55:33.708Z] Login Succeeded [2023-01-11T21:55:33.708Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T21:55:33.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T21:55:34.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:55:34.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T21:55:34.315Z] ========================================================= [2023-01-11T21:55:34.315Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T21:55:34.315Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:55:34.846Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T21:55:35.119Z] Sending build context to Docker daemon 3.299MB [2023-01-11T21:55:35.119Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T21:55:35.119Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T21:55:35.393Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T21:55:35.393Z] 9b18e9b68314: Pulling fs layer [2023-01-11T21:55:35.394Z] 35d82f9e3411: Pulling fs layer [2023-01-11T21:55:35.394Z] e16973657156: Pulling fs layer [2023-01-11T21:55:35.394Z] fc693d55d65f: Pulling fs layer [2023-01-11T21:55:35.394Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T21:55:35.394Z] dda99020689f: Pulling fs layer [2023-01-11T21:55:35.394Z] db1c61fa0a46: Pulling fs layer [2023-01-11T21:55:35.394Z] 891c053d2c06: Pulling fs layer [2023-01-11T21:55:35.394Z] fc693d55d65f: Waiting [2023-01-11T21:55:35.394Z] 7e9fc2657dce: Waiting [2023-01-11T21:55:35.394Z] dda99020689f: Waiting [2023-01-11T21:55:35.394Z] db1c61fa0a46: Waiting [2023-01-11T21:55:35.394Z] e16973657156: Verifying Checksum [2023-01-11T21:55:35.394Z] e16973657156: Download complete [2023-01-11T21:55:35.394Z] 35d82f9e3411: Verifying Checksum [2023-01-11T21:55:35.394Z] 35d82f9e3411: Download complete [2023-01-11T21:55:35.394Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T21:55:35.394Z] 7e9fc2657dce: Download complete [2023-01-11T21:55:35.394Z] dda99020689f: Verifying Checksum [2023-01-11T21:55:35.394Z] dda99020689f: Download complete [2023-01-11T21:55:35.394Z] 9b18e9b68314: Verifying Checksum [2023-01-11T21:55:35.394Z] 9b18e9b68314: Download complete [2023-01-11T21:55:36.399Z] 9b18e9b68314: Pull complete [2023-01-11T21:55:36.680Z] 891c053d2c06: Verifying Checksum [2023-01-11T21:55:36.680Z] 891c053d2c06: Download complete [2023-01-11T21:55:36.957Z] 35d82f9e3411: Pull complete [2023-01-11T21:55:37.236Z] e16973657156: Pull complete [2023-01-11T21:55:38.229Z] db1c61fa0a46: Verifying Checksum [2023-01-11T21:55:38.229Z] db1c61fa0a46: Download complete [2023-01-11T21:55:38.822Z] fc693d55d65f: Verifying Checksum [2023-01-11T21:55:38.822Z] fc693d55d65f: Download complete [2023-01-11T21:55:51.344Z] fc693d55d65f: Pull complete [2023-01-11T21:55:51.344Z] 7e9fc2657dce: Pull complete [2023-01-11T21:55:51.344Z] dda99020689f: Pull complete [2023-01-11T21:55:58.062Z] db1c61fa0a46: Pull complete [2023-01-11T21:55:58.650Z] 891c053d2c06: Pull complete [2023-01-11T21:55:58.921Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T21:55:58.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T21:55:58.921Z] ---> f96f9c87975a [2023-01-11T21:55:58.921Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T21:55:59.903Z] ---> Running in 4cba37656644 [2023-01-11T21:56:00.173Z] Removing intermediate container 4cba37656644 [2023-01-11T21:56:00.173Z] ---> 4810636a6922 [2023-01-11T21:56:00.173Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T21:56:00.173Z] ---> Running in ccb750c1f6d5 [2023-01-11T21:56:00.445Z] Removing intermediate container ccb750c1f6d5 [2023-01-11T21:56:00.445Z] ---> cf65cb1061e8 [2023-01-11T21:56:00.445Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T21:56:00.716Z] ---> Running in 11a440cea0fc [2023-01-11T21:56:00.987Z] Removing intermediate container 11a440cea0fc [2023-01-11T21:56:00.987Z] ---> c86637f46fe9 [2023-01-11T21:56:00.987Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T21:56:00.987Z] ---> Running in fa07948daa67 [2023-01-11T21:56:01.584Z] Removing intermediate container fa07948daa67 [2023-01-11T21:56:01.584Z] ---> 50bcd9840958 [2023-01-11T21:56:01.584Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T21:56:01.584Z] ---> Running in 22aba5384506 [2023-01-11T21:56:03.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T21:56:03.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T21:56:04.259Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T21:56:04.536Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T21:56:04.536Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T21:56:04.536Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T21:56:04.536Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T21:56:04.536Z] OK: 226 MiB in 55 packages [2023-01-11T21:56:05.961Z] Removing intermediate container 22aba5384506 [2023-01-11T21:56:05.961Z] ---> 50510a06d184 [2023-01-11T21:56:05.961Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-11T21:56:05.961Z] ---> Running in ebc1a5cf81bb [2023-01-11T21:56:06.234Z] Removing intermediate container ebc1a5cf81bb [2023-01-11T21:56:06.234Z] ---> 337f4ee5d052 [2023-01-11T21:56:06.234Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T21:56:06.830Z] ---> 938fe0f4782e [2023-01-11T21:56:06.830Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T21:56:06.830Z] ---> Running in 364de8d9c07e [2023-01-11T21:57:28.559Z] Removing intermediate container 364de8d9c07e [2023-01-11T21:57:28.559Z] ---> 4621e853ba19 [2023-01-11T21:57:28.559Z] Step 11/12 : COPY . . [2023-01-11T21:57:28.559Z] ---> df4b691e0a94 [2023-01-11T21:57:28.559Z] Step 12/12 : RUN $MAKE [2023-01-11T21:57:28.559Z] ---> Running in 30264c1cbbee [2023-01-11T21:57:28.559Z] noop [2023-01-11T21:57:28.559Z] Removing intermediate container 30264c1cbbee [2023-01-11T21:57:28.559Z] ---> d1f5618adf30 [2023-01-11T21:57:28.559Z] Successfully built d1f5618adf30 [2023-01-11T21:57:28.559Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:57:29.049Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T21:57:29.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:57:29.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-1969 does not seem to be running inside a container [2023-01-11T21:57:29.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T21:57:30.891Z] $ docker top 8e88e016f3a1c25a2789557eff049f67c48fa96ab262f441332b1fa62e825505 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:57:31.831Z] + go version [2023-01-11T21:57:31.831Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T21:57:31.878Z] $ docker stop --time=1 8e88e016f3a1c25a2789557eff049f67c48fa96ab262f441332b1fa62e825505 [2023-01-11T21:57:33.636Z] $ docker rm -f --volumes 8e88e016f3a1c25a2789557eff049f67c48fa96ab262f441332b1fa62e825505 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T21:57:34.500Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T21:57:34.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T21:57:34.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-1969 does not seem to be running inside a container [2023-01-11T21:57:34.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T21:57:36.210Z] $ docker top 7a1cc6780dcdf080c727d32bd5e75fa1d896f9ec385d2c36921dc8c5ad65aff3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T21:57:37.137Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-11T21:57:37.865Z] + make test [2023-01-11T21:57:37.865Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T21:57:39.828Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-11T21:59:31.595Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-11T21:59:31.595Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements [2023-01-11T21:59:31.595Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-11T21:59:31.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T21:59:31.595Z] go vet ./... [2023-01-11T22:00:10.592Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T22:00:10.592Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T22:00:10.592Z] ./bin/test-attribution-txt.sh [2023-01-11T22:00:10.592Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-11T22:00:10.592Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-11T22:00:10.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T22:00:10.674Z] $ docker stop --time=1 7a1cc6780dcdf080c727d32bd5e75fa1d896f9ec385d2c36921dc8c5ad65aff3 [2023-01-11T22:00:12.763Z] $ docker rm -f --volumes 7a1cc6780dcdf080c727d32bd5e75fa1d896f9ec385d2c36921dc8c5ad65aff3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T22:00:13.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T22:00:14.031Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T22:00:14.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T22:00:15.444Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T22:00:15.808Z] + ls -al . [2023-01-11T22:00:15.808Z] total 180 [2023-01-11T22:00:15.808Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 21:57 . [2023-01-11T22:00:15.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:55 .. [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 21:55 .dockerignore [2023-01-11T22:00:15.808Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 21:55 .git [2023-01-11T22:00:15.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:55 .github [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 11 21:55 .gitignore [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 11 21:55 .golangci.yml [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 11 21:55 Attribution.txt [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 11 21:55 CHANGELOG.md [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 11 21:55 Dockerfile [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 21:55 GOVERNANCE.md [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 11 21:55 Jenkinsfile [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 21:55 LICENSE [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 11 21:55 Makefile [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 11 21:55 OWNERS.md [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 11 21:55 README.md [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 21:52 VERSION [2023-01-11T22:00:15.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:55 bin [2023-01-11T22:00:15.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:55 cmd [2023-01-11T22:00:15.808Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 11 21:59 coverage.out [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 3428 Jan 11 21:55 go.mod [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 34852 Jan 11 21:55 go.sum [2023-01-11T22:00:15.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 21:55 internal [2023-01-11T22:00:15.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 21:55 mock [2023-01-11T22:00:15.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 21:55 snap [2023-01-11T22:00:15.808Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 11 21:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:00:16.242Z] + 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=140078661ec70bd824aff41150442121660685ae --label arch=arm64 --label version=0.0.0 . [2023-01-11T22:00:17.214Z] Sending build context to Docker daemon 3.318MB [2023-01-11T22:00:17.214Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T22:00:17.214Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-11T22:00:17.214Z] ---> d1f5618adf30 [2023-01-11T22:00:17.214Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-11T22:00:17.214Z] ---> Running in e420682fe05a [2023-01-11T22:00:17.806Z] Removing intermediate container e420682fe05a [2023-01-11T22:00:17.806Z] ---> ef9b709a10ee [2023-01-11T22:00:17.806Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T22:00:17.806Z] ---> Running in cf595232027d [2023-01-11T22:00:19.768Z] Removing intermediate container cf595232027d [2023-01-11T22:00:19.768Z] ---> b5a6f309b181 [2023-01-11T22:00:19.768Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T22:00:19.768Z] ---> Running in 23347d31e111 [2023-01-11T22:00:20.379Z] Removing intermediate container 23347d31e111 [2023-01-11T22:00:20.379Z] ---> 715fab8f4a75 [2023-01-11T22:00:20.379Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T22:00:20.379Z] ---> Running in 0cb5ddb0ee3d [2023-01-11T22:00:22.345Z] Removing intermediate container 0cb5ddb0ee3d [2023-01-11T22:00:22.345Z] ---> c8315fc90754 [2023-01-11T22:00:22.345Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T22:00:22.345Z] ---> Running in a5c4de9d6e66 [2023-01-11T22:00:23.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T22:00:23.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T22:00:25.209Z] OK: 226 MiB in 55 packages [2023-01-11T22:00:26.190Z] Removing intermediate container a5c4de9d6e66 [2023-01-11T22:00:26.190Z] ---> c1425a684043 [2023-01-11T22:00:26.190Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-11T22:00:26.190Z] ---> Running in af063fd217e6 [2023-01-11T22:00:26.792Z] Removing intermediate container af063fd217e6 [2023-01-11T22:00:26.792Z] ---> 6268a961fa94 [2023-01-11T22:00:26.792Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-11T22:00:27.393Z] ---> e364df303a5d [2023-01-11T22:00:27.393Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T22:00:27.393Z] ---> Running in c9ba2662da39 [2023-01-11T22:00:31.690Z] Removing intermediate container c9ba2662da39 [2023-01-11T22:00:31.690Z] ---> cfbac7392bd0 [2023-01-11T22:00:31.690Z] Step 11/24 : COPY . . [2023-01-11T22:00:32.284Z] ---> 4d6926e66759 [2023-01-11T22:00:32.284Z] Step 12/24 : RUN $MAKE [2023-01-11T22:00:32.554Z] ---> Running in d5819bb15b71 [2023-01-11T22:00:33.527Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-11T22:02:55.298Z] Removing intermediate container d5819bb15b71 [2023-01-11T22:02:55.298Z] ---> 25bf549f029d [2023-01-11T22:02:55.298Z] Step 13/24 : FROM alpine:3.16 [2023-01-11T22:02:55.298Z] 3.16: Pulling from library/alpine [2023-01-11T22:02:55.298Z] 6875df1f5354: Pulling fs layer [2023-01-11T22:02:55.298Z] 6875df1f5354: Verifying Checksum [2023-01-11T22:02:55.298Z] 6875df1f5354: Download complete [2023-01-11T22:02:55.298Z] 6875df1f5354: Pull complete [2023-01-11T22:02:55.298Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T22:02:55.298Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T22:02:55.298Z] ---> 2b4661558fb8 [2023-01-11T22:02:55.298Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-11T22:02:55.298Z] ---> Running in 265f16b53320 [2023-01-11T22:02:55.298Z] Removing intermediate container 265f16b53320 [2023-01-11T22:02:55.298Z] ---> bad831834d14 [2023-01-11T22:02:55.298Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-11T22:02:55.298Z] ---> Running in 37f2689da6bb [2023-01-11T22:02:55.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T22:02:55.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T22:02:55.885Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-11T22:02:55.885Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T22:02:55.885Z] OK: 5 MiB in 15 packages [2023-01-11T22:02:56.851Z] Removing intermediate container 37f2689da6bb [2023-01-11T22:02:56.851Z] ---> 1692d26df3c0 [2023-01-11T22:02:56.851Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-11T22:02:58.268Z] ---> 52d93a6d7600 [2023-01-11T22:02:58.268Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-11T22:02:58.853Z] ---> 579e410fe4c0 [2023-01-11T22:02:58.853Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-11T22:02:59.441Z] ---> 2f97a1821540 [2023-01-11T22:02:59.441Z] Step 19/24 : EXPOSE 59982 [2023-01-11T22:02:59.441Z] ---> Running in c27340798aad [2023-01-11T22:02:59.711Z] Removing intermediate container c27340798aad [2023-01-11T22:02:59.711Z] ---> 8525c0c1bce9 [2023-01-11T22:02:59.711Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-11T22:02:59.983Z] ---> Running in 31e361fe1df3 [2023-01-11T22:03:00.250Z] Removing intermediate container 31e361fe1df3 [2023-01-11T22:03:00.250Z] ---> d8fe64da7794 [2023-01-11T22:03:00.250Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-11T22:03:00.250Z] ---> Running in bd5f16f78ea6 [2023-01-11T22:03:00.520Z] Removing intermediate container bd5f16f78ea6 [2023-01-11T22:03:00.520Z] ---> 954e425846ad [2023-01-11T22:03:00.520Z] Step 22/24 : LABEL arch=arm64 [2023-01-11T22:03:00.791Z] ---> Running in 875cccd7af85 [2023-01-11T22:03:01.061Z] Removing intermediate container 875cccd7af85 [2023-01-11T22:03:01.061Z] ---> 7aa60a73d9cf [2023-01-11T22:03:01.061Z] Step 23/24 : LABEL git_sha=140078661ec70bd824aff41150442121660685ae [2023-01-11T22:03:01.061Z] ---> Running in c0bdb155569b [2023-01-11T22:03:01.333Z] Removing intermediate container c0bdb155569b [2023-01-11T22:03:01.333Z] ---> fbdae79c506e [2023-01-11T22:03:01.333Z] Step 24/24 : LABEL version=0.0.0 [2023-01-11T22:03:01.602Z] ---> Running in 7e0cee83eb19 [2023-01-11T22:03:01.871Z] Removing intermediate container 7e0cee83eb19 [2023-01-11T22:03:01.871Z] ---> ebd61a835c15 [2023-01-11T22:03:01.871Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T22:03:01.871Z] Successfully built ebd61a835c15 [2023-01-11T22:03:01.871Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:03:02.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:03:02.673Z] [2023-01-11T22:03:02.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:03:03.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:03:03.088Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T22:03:03.088Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T22:03:03.088Z] 04944245beec: Pulling fs layer [2023-01-11T22:03:03.088Z] 699f458cf7ca: Pulling fs layer [2023-01-11T22:03:03.088Z] 765212b225bb: Pulling fs layer [2023-01-11T22:03:03.088Z] f23df028b6ca: Pulling fs layer [2023-01-11T22:03:03.088Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T22:03:03.088Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T22:03:03.088Z] f23df028b6ca: Waiting [2023-01-11T22:03:03.088Z] d65c8cfc05b1: Waiting [2023-01-11T22:03:03.088Z] 2437ff75d9bd: Waiting [2023-01-11T22:03:03.088Z] 765212b225bb: Waiting [2023-01-11T22:03:03.357Z] 04944245beec: Verifying Checksum [2023-01-11T22:03:03.357Z] 04944245beec: Download complete [2023-01-11T22:03:03.357Z] 765212b225bb: Verifying Checksum [2023-01-11T22:03:03.357Z] 765212b225bb: Download complete [2023-01-11T22:03:03.628Z] f23df028b6ca: Verifying Checksum [2023-01-11T22:03:03.628Z] f23df028b6ca: Download complete [2023-01-11T22:03:03.628Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T22:03:03.628Z] d65c8cfc05b1: Download complete [2023-01-11T22:03:03.628Z] 699f458cf7ca: Verifying Checksum [2023-01-11T22:03:03.628Z] 699f458cf7ca: Download complete [2023-01-11T22:03:03.902Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T22:03:03.902Z] 8998bd30e6a1: Download complete [2023-01-11T22:03:06.578Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T22:03:06.578Z] 2437ff75d9bd: Download complete [2023-01-11T22:03:08.571Z] 8998bd30e6a1: Pull complete [2023-01-11T22:03:08.571Z] 04944245beec: Pull complete [2023-01-11T22:03:10.025Z] 699f458cf7ca: Pull complete [2023-01-11T22:03:10.291Z] 765212b225bb: Pull complete [2023-01-11T22:03:11.255Z] f23df028b6ca: Pull complete [2023-01-11T22:03:11.524Z] d65c8cfc05b1: Pull complete [2023-01-11T22:03:26.528Z] 2437ff75d9bd: Pull complete [2023-01-11T22:03:26.528Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T22:03:26.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T22:03:26.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:03:26.855Z] prd-ubuntu20.04-docker-arm64-4c-16g-1969 does not seem to be running inside a container [2023-01-11T22:03:26.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T22:03:29.887Z] $ docker top e982856ccf82bbd1e7a1639f32b065edcb608ea59d796abd704429aa74e0fe67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:30.828Z] ---> job-cost.sh [2023-01-11T22:03:30.828Z] lf-activate-venv: SKIPPING [2023-01-11T22:03:30.828Z] INFO: No Stack... [2023-01-11T22:03:31.097Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T22:03:32.065Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T22:03:32.730Z] + cat+ /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-11T22:03:32.730Z] cut -d, -f6 [Pipeline] lock [2023-01-11T22:03:32.817Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] [2023-01-11T22:03:32.821Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] did not exist. Created. [2023-01-11T22:03:32.821Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T22:03:33.549Z] /w/workspace/device-mqtt-go/1@tmp/durable-7446bac6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T22:03:34.233Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T22:03:34.269Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T22:03:34.328Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T22:03:34.342Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-452-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T22:03:34.435Z] $ docker stop --time=1 e982856ccf82bbd1e7a1639f32b065edcb608ea59d796abd704429aa74e0fe67 [2023-01-11T22:03:35.969Z] $ docker rm -f --volumes e982856ccf82bbd1e7a1639f32b065edcb608ea59d796abd704429aa74e0fe67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-11T22:03:36.946Z] provisioning config files... [2023-01-11T22:03:36.955Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/config13202615634901006051tmp [Pipeline] { [Pipeline] sh [2023-01-11T22:03:37.294Z] + set +x [2023-01-11T22:03:37.294Z] + curl -s https://codecov.io/bash [2023-01-11T22:03:37.294Z] + bash -s -- [2023-01-11T22:03:37.294Z] [2023-01-11T22:03:37.294Z] _____ _ [2023-01-11T22:03:37.294Z] / ____| | | [2023-01-11T22:03:37.294Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T22:03:37.294Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T22:03:37.294Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T22:03:37.294Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T22:03:37.294Z] Bash-1.0.6 [2023-01-11T22:03:37.294Z] [2023-01-11T22:03:37.294Z] [2023-01-11T22:03:37.294Z] ==> git version 2.25.1 found [2023-01-11T22:03:37.294Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-11T22:03:37.294Z] Release-Date: 2020-01-08 [2023-01-11T22:03:37.294Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-11T22:03:37.294Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T22:03:37.294Z] ==> Jenkins CI detected. [2023-01-11T22:03:37.294Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-452 [2023-01-11T22:03:37.294Z] project root: . [2023-01-11T22:03:37.294Z] --> token set from env [2023-01-11T22:03:37.294Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T22:03:37.294Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T22:03:37.294Z] ==> Python coveragepy not found [2023-01-11T22:03:37.294Z] ==> Searching for coverage reports in: [2023-01-11T22:03:37.294Z] + . [2023-01-11T22:03:37.294Z] -> Found 1 reports [2023-01-11T22:03:37.294Z] ==> Detecting git/mercurial file structure [2023-01-11T22:03:37.294Z] ==> Reading reports [2023-01-11T22:03:37.294Z] + ./coverage.out bytes=17887 [2023-01-11T22:03:37.294Z] ==> Appending adjustments [2023-01-11T22:03:37.294Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T22:03:37.553Z] + Found adjustments [2023-01-11T22:03:37.553Z] ==> Gzipping contents [2023-01-11T22:03:37.553Z] 4.0K /tmp/codecov.WYSVbQ.gz [2023-01-11T22:03:37.553Z] ==> Uploading reports [2023-01-11T22:03:37.553Z] url: https://codecov.io [2023-01-11T22:03:37.553Z] query: branch=PR-452&commit=140078661ec70bd824aff41150442121660685ae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=452&job=&cmd_args= [2023-01-11T22:03:37.553Z] -> Pinging Codecov [2023-01-11T22:03:37.553Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-452&commit=140078661ec70bd824aff41150442121660685ae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-452%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=452&job=&cmd_args= [2023-01-11T22:03:37.811Z] -> Uploading to [2023-01-11T22:03:37.811Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7D719EC7BBE17E464838252E33014C33/140078661ec70bd824aff41150442121660685ae/9c7b7b14-2fed-48c5-ae25-9fe5240dffb4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T220337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f97439220187ad63bcf72121afffdae6409849ffe3ad663f40ab01a7a523f709 [2023-01-11T22:03:37.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T22:03:37.811Z] Dload Upload Total Spent Left Speed [2023-01-11T22:03:38.069Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14463 --:--:-- --:--:-- --:--:-- 14463 [2023-01-11T22:03:38.069Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/140078661ec70bd824aff41150442121660685ae [Pipeline] } [2023-01-11T22:03:38.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T22:03:39.776Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives ] [2023-01-11T22:03:39.776Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives [2023-01-11T22:03:39.776Z] total 16 [2023-01-11T22:03:39.776Z] drwxr-xr-x 3 root root 4096 Jan 11 21:54 . [2023-01-11T22:03:39.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 21:54 .. [2023-01-11T22:03:39.776Z] drwxr-xr-x 2 root root 4096 Jan 11 21:54 cost [2023-01-11T22:03:39.776Z] -rw-r--r-- 1 root root 86 Jan 11 21:54 cost.csv [2023-01-11T22:03:39.776Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives [2023-01-11T22:03:39.776Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives [2023-01-11T22:03:39.776Z] total 16 [2023-01-11T22:03:39.776Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 21:54 . [2023-01-11T22:03:39.776Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 21:54 .. [2023-01-11T22:03:39.776Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 21:54 cost [2023-01-11T22:03:39.776Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 21:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:40.100Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:40.982Z] ---> package-listing.sh [2023-01-11T22:03:40.982Z] ++ facter osfamily [2023-01-11T22:03:40.982Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T22:03:41.240Z] + OS_FAMILY=debian [2023-01-11T22:03:41.240Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-452 [2023-01-11T22:03:41.240Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T22:03:41.240Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T22:03:41.240Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T22:03:41.240Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T22:03:41.240Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-452 ']' [2023-01-11T22:03:41.240Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T22:03:41.240Z] + case "${OS_FAMILY}" in [2023-01-11T22:03:41.240Z] + dpkg -l [2023-01-11T22:03:41.240Z] + grep '^ii' [2023-01-11T22:03:41.240Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T22:03:41.240Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T22:03:41.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T22:03:41.240Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-452 ']' [2023-01-11T22:03:41.240Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives/ [2023-01-11T22:03:41.240Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-452/archives/ [Pipeline] echo [2023-01-11T22:03:41.281Z] 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T22:03:41.570Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T22:03:42.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T22:03:42.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T22:03:42.336Z] prd-ubuntu20.04-docker-8c-8g-1959 does not seem to be running inside a container [2023-01-11T22:03:42.370Z] $ 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-452/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-452 -v /w/workspace/gexfoundry_device-mqtt-go_PR-452:/w/workspace/gexfoundry_device-mqtt-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-452@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T22:03:42.593Z] $ docker top ff61c388701ad4a5d2d13dc09b0247cb76d9e4a656a4aedc42a6229a6824aaf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T22:03:42.971Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T22:03:43.281Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T22:03:43.590Z] + ls /var/log/sa-host [2023-01-11T22:03:43.590Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T22:03:43.722Z] provisioning config files... [2023-01-11T22:03:43.731Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-452@tmp/config4831511646967811304tmp [Pipeline] { [Pipeline] echo [2023-01-11T22:03:43.783Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:44.096Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T22:03:44.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:44.513Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T22:03:44.544Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:44.854Z] ---> sudo-logs.sh [2023-01-11T22:03:44.854Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T22:03:44.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:45.250Z] ---> job-cost.sh [2023-01-11T22:03:45.250Z] lf-activate-venv: SKIPPING [2023-01-11T22:03:45.250Z] DEBUG: total: 0.2199999988079071 [2023-01-11T22:03:45.250Z] INFO: Retrieving Stack Cost... [2023-01-11T22:03:45.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T22:03:46.073Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T22:03:46.109Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T22:03:46.422Z] ---> logs-deploy.sh [2023-01-11T22:03:46.423Z] lf-activate-venv: SKIPPING [2023-01-11T22:03:46.423Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-452/1 [2023-01-11T22:03:46.423Z] INFO: archiving workspace using pattern(s): [2023-01-11T22:03:47.360Z] Archives upload complete. [2023-01-11T22:03:47.635Z] INFO: archiving logs to Nexus [2023-01-11T22:03:48.225Z] ---> uname -a: [2023-01-11T22:03:48.225Z] Linux prd-ubuntu20-04-docker-8c-8g-1959 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-11T22:03:48.225Z] [2023-01-11T22:03:48.225Z] [2023-01-11T22:03:48.225Z] ---> lscpu: [2023-01-11T22:03:48.225Z] Architecture: x86_64 [2023-01-11T22:03:48.225Z] CPU op-mode(s): 32-bit, 64-bit [2023-01-11T22:03:48.225Z] Byte Order: Little Endian [2023-01-11T22:03:48.225Z] Address sizes: 40 bits physical, 48 bits virtual [2023-01-11T22:03:48.225Z] CPU(s): 8 [2023-01-11T22:03:48.225Z] On-line CPU(s) list: 0-7 [2023-01-11T22:03:48.225Z] Thread(s) per core: 1 [2023-01-11T22:03:48.225Z] Core(s) per socket: 1 [2023-01-11T22:03:48.225Z] Socket(s): 8 [2023-01-11T22:03:48.225Z] NUMA node(s): 1 [2023-01-11T22:03:48.225Z] Vendor ID: AuthenticAMD [2023-01-11T22:03:48.225Z] CPU family: 23 [2023-01-11T22:03:48.225Z] Model: 49 [2023-01-11T22:03:48.225Z] Model name: AMD EPYC-Rome Processor [2023-01-11T22:03:48.225Z] Stepping: 0 [2023-01-11T22:03:48.225Z] CPU MHz: 2799.996 [2023-01-11T22:03:48.225Z] BogoMIPS: 5599.99 [2023-01-11T22:03:48.225Z] Virtualization: AMD-V [2023-01-11T22:03:48.225Z] Hypervisor vendor: KVM [2023-01-11T22:03:48.225Z] Virtualization type: full [2023-01-11T22:03:48.225Z] L1d cache: 256 KiB [2023-01-11T22:03:48.225Z] L1i cache: 256 KiB [2023-01-11T22:03:48.225Z] L2 cache: 4 MiB [2023-01-11T22:03:48.225Z] L3 cache: 128 MiB [2023-01-11T22:03:48.225Z] NUMA node0 CPU(s): 0-7 [2023-01-11T22:03:48.225Z] Vulnerability Itlb multihit: Not affected [2023-01-11T22:03:48.225Z] Vulnerability L1tf: Not affected [2023-01-11T22:03:48.225Z] Vulnerability Mds: Not affected [2023-01-11T22:03:48.225Z] Vulnerability Meltdown: Not affected [2023-01-11T22:03:48.225Z] Vulnerability Mmio stale data: Not affected [2023-01-11T22:03:48.225Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-01-11T22:03:48.225Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-01-11T22:03:48.225Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-01-11T22:03:48.225Z] Vulnerability Srbds: Not affected [2023-01-11T22:03:48.225Z] Vulnerability Tsx async abort: Not affected [2023-01-11T22:03:48.225Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-01-11T22:03:48.225Z] [2023-01-11T22:03:48.225Z]