Pull request #444 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 2c0ad64fa4012812b904ce8a048042a45883a5b2 rather than f7067d49d7b03d72f0e909312e5944fc95936166 Obtained Jenkinsfile from 2c0ad64fa4012812b904ce8a048042a45883a5b2 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-ssh6023859797361939788.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-ssh10446459504379446839.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-444/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-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4719510785588820683.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-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9795995096811612628.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-ssh6744916925778530181.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-444/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-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10616588320577298153.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1025 in /w/workspace/gexfoundry_device-mqtt-go_PR-444 [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-444 # 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 > 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/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2c0ad64fa4012812b904ce8a048042a45883a5b2 into PR head commit f7067d49d7b03d72f0e909312e5944fc95936166 Merge succeeded, producing f7067d49d7b03d72f0e909312e5944fc95936166 Checking out Revision f7067d49d7b03d72f0e909312e5944fc95936166 (PR-444) > git config core.sparsecheckout # timeout=10 > git checkout -f f7067d49d7b03d72f0e909312e5944fc95936166 # 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 2c0ad64fa4012812b904ce8a048042a45883a5b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7067d49d7b03d72f0e909312e5944fc95936166 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" 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-04T04:15:39.077Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-04T04:15:39.246Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-04T04:15:39.346Z] ========================================================= [2023-01-04T04:15:39.346Z] EdgeX Global Pipelines Version Info [2023-01-04T04:15:39.346Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:15:40.079Z] ------------------- [2023-01-04T04:15:40.079Z] stable info: [2023-01-04T04:15:40.079Z] ------------------- [2023-01-04T04:15:40.079Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-04T04:15:40.079Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T04:15:40.079Z] Message: update stable to v1.0.244 [2023-01-04T04:15:40.649Z] ------------------- [2023-01-04T04:15:40.649Z] experimental info: [2023-01-04T04:15:40.649Z] ------------------- [2023-01-04T04:15:40.649Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-04T04:15:40.649Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T04:15:40.649Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-04T04:15:41.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-04T04:15:41.056Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-04T04:15:41.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-04T04:15:41.134Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-04T04:15:41.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-04T04:15:41.219Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-04T04:15:41.258Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-04T04:15:41.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-04T04:15:41.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-04T04:15:41.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-04T04:15:41.415Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-04T04:15:41.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-04T04:15:41.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-04T04:15:41.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-04T04:15:41.577Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T04:15:41.620Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T04:15:41.659Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T04:15:41.700Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T04:15:41.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-04T04:15:41.777Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-04T04:15:41.813Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-04T04:15:41.851Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-04T04:15:41.885Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-04T04:15:41.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-04T04:15:41.956Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-04T04:15:42.004Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-04T04:15:42.074Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-04T04:15:42.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo [2023-01-04T04:15:42.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo [2023-01-04T04:15:42.190Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo [2023-01-04T04:15:42.239Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7067d49d7b03d72f0e909312e5944fc95936166 [Pipeline] echo [2023-01-04T04:15:42.282Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7067d4 [Pipeline] echo [2023-01-04T04:15:42.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T04:15:42.444Z] provisioning config files... [2023-01-04T04:15:42.458Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/config6076552625593362399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:15:42.805Z] ---> docker-login.sh [2023-01-04T04:15:42.805Z] nexus3.edgexfoundry.org:10001 [2023-01-04T04:15:43.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:43.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:43.329Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:43.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:43.329Z] [2023-01-04T04:15:43.329Z] Login Succeeded [2023-01-04T04:15:43.329Z] nexus3.edgexfoundry.org:10002 [2023-01-04T04:15:43.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:43.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:43.329Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:43.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:43.329Z] [2023-01-04T04:15:43.329Z] Login Succeeded [2023-01-04T04:15:43.329Z] nexus3.edgexfoundry.org:10003 [2023-01-04T04:15:43.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:43.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:43.589Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:43.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:43.589Z] [2023-01-04T04:15:43.589Z] Login Succeeded [2023-01-04T04:15:43.589Z] nexus3.edgexfoundry.org:10004 [2023-01-04T04:15:43.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:43.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:43.589Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:43.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:43.589Z] [2023-01-04T04:15:43.589Z] Login Succeeded [2023-01-04T04:15:43.589Z] docker.io [2023-01-04T04:15:43.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:43.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:43.849Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:43.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:43.849Z] [2023-01-04T04:15:43.849Z] Login Succeeded [2023-01-04T04:15:43.849Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T04:15:43.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-04T04:15:44.555Z] + git rev-list -1 --merges f7067d49d7b03d72f0e909312e5944fc95936166~1..f7067d49d7b03d72f0e909312e5944fc95936166 [Pipeline] echo [2023-01-04T04:15:44.611Z] -----------> git rev-list -1 --merges f7067d49d7b03d72f0e909312e5944fc95936166~1..f7067d49d7b03d72f0e909312e5944fc95936166 f7067d49d7b03d72f0e909312e5944fc95936166 [false] [Pipeline] sh [2023-01-04T04:15:44.916Z] + git log --format=format:%s -1 f7067d49d7b03d72f0e909312e5944fc95936166 [Pipeline] echo [2023-01-04T04:15:44.952Z] ========================================================= [2023-01-04T04:15:44.952Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-04T04:15:44.952Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T04:15:45.399Z] + git log --format=format:%s -1 f7067d49d7b03d72f0e909312e5944fc95936166 [Pipeline] echo [2023-01-04T04:15:45.430Z] [semverPrep] GIT_COMMIT: f7067d49d7b03d72f0e909312e5944fc95936166, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-04T04:15:45.460Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-04T04:15:45.844Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-04T04:15:45.844Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-04T04:15:45.844Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-04T04:15:45.844Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-04T04:15:45.844Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-04T04:15:45.844Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-04T04:15:45.844Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:15:46.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T04:15:46.264Z] [2023-01-04T04:15:46.264Z] 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-04T04:15:46.637Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T04:15:46.637Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-04T04:15:46.637Z] b85a868b505f: Pulling fs layer [2023-01-04T04:15:46.637Z] e2be974225ed: Pulling fs layer [2023-01-04T04:15:46.637Z] 339a4e72a1f5: Pulling fs layer [2023-01-04T04:15:46.637Z] 988bab9f4d93: Pulling fs layer [2023-01-04T04:15:46.637Z] 1469e6f7b9e6: Pulling fs layer [2023-01-04T04:15:46.637Z] eaf3925da568: Pulling fs layer [2023-01-04T04:15:46.637Z] bab4dde63d76: Pulling fs layer [2023-01-04T04:15:46.637Z] bde34c3a00c8: Pulling fs layer [2023-01-04T04:15:46.637Z] b352a97aabf1: Pulling fs layer [2023-01-04T04:15:46.637Z] 4872d77fe225: Pulling fs layer [2023-01-04T04:15:46.637Z] 5851b861e8e6: Pulling fs layer [2023-01-04T04:15:46.637Z] bab4dde63d76: Waiting [2023-01-04T04:15:46.637Z] bde34c3a00c8: Waiting [2023-01-04T04:15:46.637Z] b352a97aabf1: Waiting [2023-01-04T04:15:46.637Z] 4872d77fe225: Waiting [2023-01-04T04:15:46.637Z] 988bab9f4d93: Waiting [2023-01-04T04:15:46.637Z] 5851b861e8e6: Waiting [2023-01-04T04:15:46.637Z] eaf3925da568: Waiting [2023-01-04T04:15:46.637Z] e2be974225ed: Verifying Checksum [2023-01-04T04:15:46.637Z] e2be974225ed: Download complete [2023-01-04T04:15:46.637Z] 988bab9f4d93: Verifying Checksum [2023-01-04T04:15:46.637Z] 988bab9f4d93: Download complete [2023-01-04T04:15:46.897Z] 1469e6f7b9e6: Verifying Checksum [2023-01-04T04:15:46.897Z] 1469e6f7b9e6: Download complete [2023-01-04T04:15:46.897Z] 339a4e72a1f5: Verifying Checksum [2023-01-04T04:15:46.897Z] 339a4e72a1f5: Download complete [2023-01-04T04:15:46.897Z] eaf3925da568: Verifying Checksum [2023-01-04T04:15:46.897Z] eaf3925da568: Download complete [2023-01-04T04:15:46.897Z] bde34c3a00c8: Verifying Checksum [2023-01-04T04:15:46.898Z] bde34c3a00c8: Download complete [2023-01-04T04:15:46.898Z] b352a97aabf1: Download complete [2023-01-04T04:15:46.898Z] 4872d77fe225: Verifying Checksum [2023-01-04T04:15:46.898Z] 4872d77fe225: Download complete [2023-01-04T04:15:46.898Z] 5851b861e8e6: Download complete [2023-01-04T04:15:47.156Z] b85a868b505f: Verifying Checksum [2023-01-04T04:15:47.156Z] b85a868b505f: Download complete [2023-01-04T04:15:47.415Z] bab4dde63d76: Verifying Checksum [2023-01-04T04:15:47.415Z] bab4dde63d76: Download complete [2023-01-04T04:15:48.351Z] b85a868b505f: Pull complete [2023-01-04T04:15:48.351Z] e2be974225ed: Pull complete [2023-01-04T04:15:48.611Z] 339a4e72a1f5: Pull complete [2023-01-04T04:15:48.870Z] 988bab9f4d93: Pull complete [2023-01-04T04:15:48.870Z] 1469e6f7b9e6: Pull complete [2023-01-04T04:15:49.128Z] eaf3925da568: Pull complete [2023-01-04T04:15:51.031Z] bab4dde63d76: Pull complete [2023-01-04T04:15:51.031Z] bde34c3a00c8: Pull complete [2023-01-04T04:15:51.031Z] b352a97aabf1: Pull complete [2023-01-04T04:15:51.031Z] 4872d77fe225: Pull complete [2023-01-04T04:15:51.031Z] 5851b861e8e6: Pull complete [2023-01-04T04:15:51.031Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-04T04:15:51.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T04:15:51.031Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:15:51.254Z] prd-ubuntu20.04-docker-8c-8g-1025 does not seem to be running inside a container [2023-01-04T04:15:51.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-444 -v /w/workspace/gexfoundry_device-mqtt-go_PR-444:/w/workspace/gexfoundry_device-mqtt-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-444@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-devops/py-git-semver:0.1.4 cat [2023-01-04T04:15:52.419Z] $ docker top e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 -eo pid,comm [2023-01-04T04:15:52.482Z] 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-04T04:15:52.482Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-04T04:15:52.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T04:15:52.604Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T04:15:52.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T04:15:52.722Z] $ docker exec e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 ssh-agent [2023-01-04T04:15:52.860Z] SSH_AUTH_SOCK=/tmp/ssh-6W5RiFVNkPfS/agent.31 [2023-01-04T04:15:52.860Z] SSH_AGENT_PID=37 [2023-01-04T04:15:52.875Z] Running ssh-add (command line suppressed) [2023-01-04T04:15:52.967Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/private_key_6428712418692295631.key (/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/private_key_6428712418692295631.key) [2023-01-04T04:15:52.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T04:15:53.307Z] + git tag --points-at HEAD [Pipeline] } [2023-01-04T04:15:53.332Z] $ docker exec --env ******** --env ******** e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 ssh-agent -k [2023-01-04T04:15:53.443Z] unset SSH_AUTH_SOCK; [2023-01-04T04:15:53.444Z] unset SSH_AGENT_PID; [2023-01-04T04:15:53.444Z] echo Agent pid 37 killed; [2023-01-04T04:15:53.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-04T04:15:53.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T04:15:53.538Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T04:15:53.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T04:15:53.649Z] $ docker exec e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 ssh-agent [2023-01-04T04:15:53.755Z] SSH_AUTH_SOCK=/tmp/ssh-2wNAnbFCjzw9/agent.70 [2023-01-04T04:15:53.755Z] SSH_AGENT_PID=76 [2023-01-04T04:15:53.758Z] Running ssh-add (command line suppressed) [2023-01-04T04:15:53.852Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/private_key_568601796395401701.key (/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/private_key_568601796395401701.key) [2023-01-04T04:15:53.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T04:15:54.198Z] + git semver init [2023-01-04T04:15:54.459Z] 2023-01-04 04:15:54,344 [run_init] DEBUG init version:0.0.0 force:False [2023-01-04T04:15:54.459Z] 2023-01-04 04:15:54,345 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver [2023-01-04T04:15:54.459Z] 2023-01-04 04:15:54,346 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver [2023-01-04T04:15:54.459Z] 2023-01-04 04:15:54,346 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-444, universal_newlines=False, shell=None, istream=None) [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,106 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-444/.git/info/exclude [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,107 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver/PR-444 with force:False [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,107 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver/PR-444 [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,111 [execute] INFO git cat-file --batch-check [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,111 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,117 [execute] INFO git cat-file --batch [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T04:15:55.398Z] 2023-01-04 04:15:55,121 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-444/.semver/PR-444 [2023-01-04T04:15:55.398Z] 0.0.0 [Pipeline] } [2023-01-04T04:15:55.426Z] $ docker exec --env ******** --env ******** e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 ssh-agent -k [2023-01-04T04:15:55.518Z] unset SSH_AUTH_SOCK; [2023-01-04T04:15:55.519Z] unset SSH_AGENT_PID; [2023-01-04T04:15:55.519Z] echo Agent pid 76 killed; [2023-01-04T04:15:55.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-04T04:15:55.940Z] + git semver [Pipeline] } [2023-01-04T04:15:56.224Z] $ docker stop --time=1 e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 [2023-01-04T04:15:57.538Z] $ docker rm -f --volumes e992db149a4dca4c6e98712453f53300c7f04dbe1b31be60a08e82bbef3dad34 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T04:15:57.935Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-04T04:15:58.247Z] Stashed 1 file(s) [Pipeline] echo [2023-01-04T04:15:58.266Z] [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-04T04:15:58.896Z] provisioning config files... [2023-01-04T04:15:58.905Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/config11795811741569389366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:15:59.247Z] ---> docker-login.sh [2023-01-04T04:15:59.247Z] nexus3.edgexfoundry.org:10001 [2023-01-04T04:15:59.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:59.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:59.247Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:59.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:59.247Z] [2023-01-04T04:15:59.247Z] Login Succeeded [2023-01-04T04:15:59.247Z] nexus3.edgexfoundry.org:10002 [2023-01-04T04:15:59.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:59.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:59.247Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:59.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:59.247Z] [2023-01-04T04:15:59.247Z] Login Succeeded [2023-01-04T04:15:59.247Z] nexus3.edgexfoundry.org:10003 [2023-01-04T04:15:59.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:59.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:59.505Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:59.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:59.505Z] [2023-01-04T04:15:59.505Z] Login Succeeded [2023-01-04T04:15:59.505Z] nexus3.edgexfoundry.org:10004 [2023-01-04T04:15:59.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:59.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:59.505Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:59.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:59.505Z] [2023-01-04T04:15:59.505Z] Login Succeeded [2023-01-04T04:15:59.505Z] docker.io [2023-01-04T04:15:59.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:15:59.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:15:59.763Z] Configure a credential helper to remove this warning. See [2023-01-04T04:15:59.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:15:59.763Z] [2023-01-04T04:15:59.763Z] Login Succeeded [2023-01-04T04:15:59.763Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T04:15:59.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T04:15:59.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T04:16:00.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T04:16:00.046Z] ========================================================= [2023-01-04T04:16:00.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-04T04:16:00.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:16:00.514Z] + 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-04T04:16:00.514Z] Sending build context to Docker daemon 6.292MB [2023-01-04T04:16:00.514Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T04:16:00.514Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T04:16:00.514Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-04T04:16:00.514Z] 213ec9aee27d: Pulling fs layer [2023-01-04T04:16:00.514Z] 4583459ba037: Pulling fs layer [2023-01-04T04:16:00.514Z] 93c1e223e6f2: Pulling fs layer [2023-01-04T04:16:00.514Z] 53926ce57604: Pulling fs layer [2023-01-04T04:16:00.514Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-04T04:16:00.514Z] 22ff95d597cd: Pulling fs layer [2023-01-04T04:16:00.514Z] 12d6caf4c0d1: Pulling fs layer [2023-01-04T04:16:00.514Z] 96b7cbca73a9: Pulling fs layer [2023-01-04T04:16:00.514Z] a7acece74701: Pulling fs layer [2023-01-04T04:16:00.514Z] 53926ce57604: Waiting [2023-01-04T04:16:00.514Z] 12d6caf4c0d1: Waiting [2023-01-04T04:16:00.514Z] 21b2b0c7a3f4: Waiting [2023-01-04T04:16:00.514Z] 96b7cbca73a9: Waiting [2023-01-04T04:16:00.514Z] 22ff95d597cd: Waiting [2023-01-04T04:16:00.514Z] a7acece74701: Waiting [2023-01-04T04:16:00.514Z] 93c1e223e6f2: Verifying Checksum [2023-01-04T04:16:00.514Z] 93c1e223e6f2: Download complete [2023-01-04T04:16:00.514Z] 4583459ba037: Download complete [2023-01-04T04:16:00.776Z] 21b2b0c7a3f4: Download complete [2023-01-04T04:16:00.776Z] 22ff95d597cd: Verifying Checksum [2023-01-04T04:16:00.776Z] 213ec9aee27d: Verifying Checksum [2023-01-04T04:16:00.776Z] 213ec9aee27d: Download complete [2023-01-04T04:16:00.776Z] 12d6caf4c0d1: Download complete [2023-01-04T04:16:00.776Z] 213ec9aee27d: Pull complete [2023-01-04T04:16:01.046Z] 4583459ba037: Pull complete [2023-01-04T04:16:01.046Z] 93c1e223e6f2: Pull complete [2023-01-04T04:16:01.309Z] a7acece74701: Verifying Checksum [2023-01-04T04:16:01.309Z] a7acece74701: Download complete [2023-01-04T04:16:01.309Z] 96b7cbca73a9: Verifying Checksum [2023-01-04T04:16:01.309Z] 96b7cbca73a9: Download complete [2023-01-04T04:16:01.567Z] 53926ce57604: Verifying Checksum [2023-01-04T04:16:01.567Z] 53926ce57604: Download complete [2023-01-04T04:16:04.857Z] 53926ce57604: Pull complete [2023-01-04T04:16:04.857Z] 21b2b0c7a3f4: Pull complete [2023-01-04T04:16:04.857Z] 22ff95d597cd: Pull complete [2023-01-04T04:16:05.115Z] 12d6caf4c0d1: Pull complete [2023-01-04T04:16:07.015Z] 96b7cbca73a9: Pull complete [2023-01-04T04:16:07.947Z] a7acece74701: Pull complete [2023-01-04T04:16:07.947Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-04T04:16:07.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-04T04:16:07.947Z] ---> db6d94c90886 [2023-01-04T04:16:07.947Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T04:16:09.323Z] ---> Running in e4485b7a4bb2 [2023-01-04T04:16:09.323Z] Removing intermediate container e4485b7a4bb2 [2023-01-04T04:16:09.323Z] ---> d1fad9ae14be [2023-01-04T04:16:09.323Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T04:16:09.323Z] ---> Running in 1817144858ae [2023-01-04T04:16:09.323Z] Removing intermediate container 1817144858ae [2023-01-04T04:16:09.323Z] ---> 3139e0fc8e6a [2023-01-04T04:16:09.323Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T04:16:09.583Z] ---> Running in 586b69fd1a47 [2023-01-04T04:16:09.583Z] Removing intermediate container 586b69fd1a47 [2023-01-04T04:16:09.583Z] ---> 4a3a4929cbbe [2023-01-04T04:16:09.583Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T04:16:09.583Z] ---> Running in 4bbd3ed074cd [2023-01-04T04:16:09.583Z] Removing intermediate container 4bbd3ed074cd [2023-01-04T04:16:09.583Z] ---> cb2c7f7fbd1a [2023-01-04T04:16:09.583Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T04:16:09.842Z] ---> Running in 42d7d68f2205 [2023-01-04T04:16:10.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T04:16:10.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T04:16:10.668Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T04:16:10.668Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T04:16:10.668Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T04:16:10.668Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T04:16:10.668Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T04:16:10.668Z] OK: 216 MiB in 55 packages [2023-01-04T04:16:10.926Z] Removing intermediate container 42d7d68f2205 [2023-01-04T04:16:10.926Z] ---> c1206d22be25 [2023-01-04T04:16:10.926Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-04T04:16:10.926Z] ---> Running in 712a11f24441 [2023-01-04T04:16:10.926Z] Removing intermediate container 712a11f24441 [2023-01-04T04:16:10.926Z] ---> 257b927f13e0 [2023-01-04T04:16:10.926Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T04:16:11.184Z] ---> 36b99c040142 [2023-01-04T04:16:11.184Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T04:16:11.184Z] ---> Running in 65ac909a03ee [2023-01-04T04:16:13.712Z] Still waiting to schedule task [2023-01-04T04:16:13.712Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-04T04:16:37.737Z] Removing intermediate container 65ac909a03ee [2023-01-04T04:16:37.737Z] ---> 20daac8b8038 [2023-01-04T04:16:37.737Z] Step 11/12 : COPY . . [2023-01-04T04:16:37.737Z] ---> 1ca68db0db59 [2023-01-04T04:16:37.737Z] Step 12/12 : RUN $MAKE [2023-01-04T04:16:37.737Z] ---> Running in 9f1cd3476483 [2023-01-04T04:16:37.737Z] noop [2023-01-04T04:16:37.737Z] Removing intermediate container 9f1cd3476483 [2023-01-04T04:16:37.737Z] ---> dc9ce6f9d456 [2023-01-04T04:16:37.737Z] Successfully built dc9ce6f9d456 [2023-01-04T04:16:37.737Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:16:38.166Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T04:16:38.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:16:38.318Z] prd-ubuntu20.04-docker-8c-8g-1025 does not seem to be running inside a container [2023-01-04T04:16:38.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-444 -v /w/workspace/gexfoundry_device-mqtt-go_PR-444:/w/workspace/gexfoundry_device-mqtt-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T04:16:38.702Z] $ docker top f91a2fbe41ffa5b0845fa7ccc5543f3b863b3ce9b0fb29a90ca1bee9ae13bdab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T04:16:39.095Z] + go version [2023-01-04T04:16:39.095Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-04T04:16:39.124Z] $ docker stop --time=1 f91a2fbe41ffa5b0845fa7ccc5543f3b863b3ce9b0fb29a90ca1bee9ae13bdab [2023-01-04T04:16:40.399Z] $ docker rm -f --volumes f91a2fbe41ffa5b0845fa7ccc5543f3b863b3ce9b0fb29a90ca1bee9ae13bdab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:16:41.132Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T04:16:41.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:16:41.281Z] prd-ubuntu20.04-docker-8c-8g-1025 does not seem to be running inside a container [2023-01-04T04:16:41.309Z] $ 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-444 -v /w/workspace/gexfoundry_device-mqtt-go_PR-444:/w/workspace/gexfoundry_device-mqtt-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T04:16:41.653Z] $ docker top ef478abe7a455d64f47661937209254dfa0f40093d7bec19f778963a98f3fd8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T04:16:42.050Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-444 [Pipeline] fileExists [Pipeline] sh [2023-01-04T04:16:42.411Z] + make test [2023-01-04T04:16:42.411Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T04:16:42.670Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-04T04:16:52.637Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-04T04:16:52.637Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-01-04T04:16:52.637Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-04T04:16:59.193Z] 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-04T04:16:59.193Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T04:17:02.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T04:17:02.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T04:17:02.473Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T04:17:02.514Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T04:17:02.543Z] $ docker stop --time=1 ef478abe7a455d64f47661937209254dfa0f40093d7bec19f778963a98f3fd8f [2023-01-04T04:17:04.149Z] $ docker rm -f --volumes ef478abe7a455d64f47661937209254dfa0f40093d7bec19f778963a98f3fd8f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T04:17:04.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T04:17:04.707Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-04T04:17:05.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T04:17:05.694Z] + ls -al . [2023-01-04T04:17:05.694Z] total 192 [2023-01-04T04:17:05.694Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 04:16 . [2023-01-04T04:17:05.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 04:15 .. [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 04:15 .dockerignore [2023-01-04T04:17:05.694Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 04:16 .git [2023-01-04T04:17:05.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 04:15 .github [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 04:15 .gitignore [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 04:15 .golangci.yml [2023-01-04T04:17:05.694Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 04:15 .semver [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 4 04:15 Attribution.txt [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 4 04:15 CHANGELOG.md [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 4 04:15 Dockerfile [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 04:15 GOVERNANCE.md [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 4 04:15 Jenkinsfile [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 04:15 LICENSE [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 4 04:15 Makefile [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 04:15 OWNERS.md [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 4 04:15 README.md [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 04:15 VERSION [2023-01-04T04:17:05.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 04:15 bin [2023-01-04T04:17:05.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 04:15 cmd [2023-01-04T04:17:05.694Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 4 04:16 coverage.out [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 4 04:15 go.mod [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 04:15 go.sum [2023-01-04T04:17:05.694Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 04:15 internal [2023-01-04T04:17:05.694Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 04:15 mock [2023-01-04T04:17:05.694Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 04:15 snap [2023-01-04T04:17:05.694Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 04:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:17:06.089Z] + 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=f7067d49d7b03d72f0e909312e5944fc95936166 --label arch=amd64 --label version=0.0.0 . [2023-01-04T04:17:06.090Z] Sending build context to Docker daemon 6.311MB [2023-01-04T04:17:06.090Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T04:17:06.090Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-04T04:17:06.090Z] ---> dc9ce6f9d456 [2023-01-04T04:17:06.090Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-04T04:17:06.090Z] ---> Running in 7f3692d6affb [2023-01-04T04:17:06.090Z] Removing intermediate container 7f3692d6affb [2023-01-04T04:17:06.090Z] ---> 170a3d53b2c5 [2023-01-04T04:17:06.090Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T04:17:06.349Z] ---> Running in 62095bf29ce6 [2023-01-04T04:17:06.349Z] Removing intermediate container 62095bf29ce6 [2023-01-04T04:17:06.349Z] ---> 7767a41fdd11 [2023-01-04T04:17:06.349Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T04:17:06.349Z] ---> Running in b7a86a3d4ba8 [2023-01-04T04:17:06.349Z] Removing intermediate container b7a86a3d4ba8 [2023-01-04T04:17:06.349Z] ---> f26db73c3e72 [2023-01-04T04:17:06.349Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T04:17:06.349Z] ---> Running in 735213cb5e88 [2023-01-04T04:17:06.609Z] Removing intermediate container 735213cb5e88 [2023-01-04T04:17:06.609Z] ---> dc6ea7caa5cc [2023-01-04T04:17:06.609Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T04:17:06.609Z] ---> Running in 76eba4ad24d1 [2023-01-04T04:17:06.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T04:17:06.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T04:17:07.127Z] OK: 216 MiB in 55 packages [2023-01-04T04:17:07.694Z] Removing intermediate container 76eba4ad24d1 [2023-01-04T04:17:07.694Z] ---> 68b2430ac733 [2023-01-04T04:17:07.694Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-04T04:17:07.694Z] ---> Running in 3312f1399608 [2023-01-04T04:17:07.694Z] Removing intermediate container 3312f1399608 [2023-01-04T04:17:07.694Z] ---> fc5f7992c554 [2023-01-04T04:17:07.694Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-04T04:17:07.694Z] ---> f3f1c1d0ae5e [2023-01-04T04:17:07.694Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T04:17:07.694Z] ---> Running in 2373b794b8e0 [2023-01-04T04:17:08.630Z] Removing intermediate container 2373b794b8e0 [2023-01-04T04:17:08.630Z] ---> c45dcedcd202 [2023-01-04T04:17:08.630Z] Step 11/24 : COPY . . [2023-01-04T04:17:08.630Z] ---> 5127118a8dbd [2023-01-04T04:17:08.630Z] Step 12/24 : RUN $MAKE [2023-01-04T04:17:08.630Z] ---> Running in d05aeeafa3e8 [2023-01-04T04:17:09.203Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-04T04:17:27.280Z] Removing intermediate container d05aeeafa3e8 [2023-01-04T04:17:27.280Z] ---> 1c6a5821cb88 [2023-01-04T04:17:27.280Z] Step 13/24 : FROM alpine:3.16 [2023-01-04T04:17:27.280Z] 3.16: Pulling from library/alpine [2023-01-04T04:17:27.280Z] ca7dd9ec2225: Pulling fs layer [2023-01-04T04:17:27.280Z] ca7dd9ec2225: Verifying Checksum [2023-01-04T04:17:27.280Z] ca7dd9ec2225: Download complete [2023-01-04T04:17:27.541Z] ca7dd9ec2225: Pull complete [2023-01-04T04:17:27.541Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T04:17:27.541Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T04:17:27.541Z] ---> bfe296a52501 [2023-01-04T04:17:27.541Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-04T04:17:27.541Z] ---> Running in a8d5ad611ad4 [2023-01-04T04:17:27.541Z] Removing intermediate container a8d5ad611ad4 [2023-01-04T04:17:27.541Z] ---> 4b34b6c2a1f7 [2023-01-04T04:17:27.541Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T04:17:27.801Z] ---> Running in f2bd3f43aa3e [2023-01-04T04:17:27.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T04:17:28.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T04:17:28.318Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T04:17:28.318Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T04:17:28.318Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T04:17:28.318Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T04:17:28.318Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T04:17:28.318Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T04:17:28.318Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T04:17:28.318Z] OK: 8 MiB in 20 packages [2023-01-04T04:17:28.885Z] Removing intermediate container f2bd3f43aa3e [2023-01-04T04:17:28.885Z] ---> 86cce527b3e7 [2023-01-04T04:17:28.885Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-04T04:17:29.144Z] ---> a8cb5fb77590 [2023-01-04T04:17:29.144Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-04T04:17:29.404Z] ---> 3279801e9560 [2023-01-04T04:17:29.404Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-04T04:17:29.404Z] ---> be5d8a1bd6c8 [2023-01-04T04:17:29.404Z] Step 19/24 : EXPOSE 59982 [2023-01-04T04:17:29.404Z] ---> Running in 54158c1dd1b1 [2023-01-04T04:17:29.404Z] Removing intermediate container 54158c1dd1b1 [2023-01-04T04:17:29.404Z] ---> e9c0b2f77522 [2023-01-04T04:17:29.404Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-04T04:17:29.664Z] ---> Running in 59ea54d6c4a1 [2023-01-04T04:17:29.664Z] Removing intermediate container 59ea54d6c4a1 [2023-01-04T04:17:29.664Z] ---> f32eea4a68dd [2023-01-04T04:17:29.664Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T04:17:29.664Z] ---> Running in da87c30c4c30 [2023-01-04T04:17:29.664Z] Removing intermediate container da87c30c4c30 [2023-01-04T04:17:29.664Z] ---> 41af5c46e096 [2023-01-04T04:17:29.664Z] Step 22/24 : LABEL arch=amd64 [2023-01-04T04:17:29.664Z] ---> Running in d70d38755df0 [2023-01-04T04:17:29.923Z] Removing intermediate container d70d38755df0 [2023-01-04T04:17:29.923Z] ---> ccf7a31acb26 [2023-01-04T04:17:29.923Z] Step 23/24 : LABEL git_sha=f7067d49d7b03d72f0e909312e5944fc95936166 [2023-01-04T04:17:29.923Z] ---> Running in 80d4245e4407 [2023-01-04T04:17:29.923Z] Removing intermediate container 80d4245e4407 [2023-01-04T04:17:29.923Z] ---> 1de0c1ba4f04 [2023-01-04T04:17:29.923Z] Step 24/24 : LABEL version=0.0.0 [2023-01-04T04:17:29.923Z] ---> Running in cf2762fbd5a9 [2023-01-04T04:17:29.923Z] Removing intermediate container cf2762fbd5a9 [2023-01-04T04:17:29.923Z] ---> 20d04f54a01f [2023-01-04T04:17:29.923Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T04:17:29.923Z] Successfully built 20d04f54a01f [2023-01-04T04:17:29.923Z] 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-04T04:17:30.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T04:17:30.774Z] [2023-01-04T04:17:30.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:17:31.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T04:17:31.306Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-04T04:17:31.306Z] 5eb5b503b376: Pulling fs layer [2023-01-04T04:17:31.306Z] 5c69ac0246d0: Pulling fs layer [2023-01-04T04:17:31.306Z] ec43610c2a17: Pulling fs layer [2023-01-04T04:17:31.306Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-04T04:17:31.306Z] 33b1e0a273af: Pulling fs layer [2023-01-04T04:17:31.306Z] 5d3b04190fa2: Pulling fs layer [2023-01-04T04:17:31.306Z] 2f39f015ded8: Pulling fs layer [2023-01-04T04:17:31.306Z] 3a2ae6a8a46f: Waiting [2023-01-04T04:17:31.306Z] 33b1e0a273af: Waiting [2023-01-04T04:17:31.306Z] 5d3b04190fa2: Waiting [2023-01-04T04:17:31.306Z] 2f39f015ded8: Waiting [2023-01-04T04:17:31.306Z] 5c69ac0246d0: Download complete [2023-01-04T04:17:31.306Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-04T04:17:31.306Z] 3a2ae6a8a46f: Download complete [2023-01-04T04:17:31.306Z] 33b1e0a273af: Download complete [2023-01-04T04:17:31.566Z] ec43610c2a17: Verifying Checksum [2023-01-04T04:17:31.566Z] ec43610c2a17: Download complete [2023-01-04T04:17:31.566Z] 5d3b04190fa2: Verifying Checksum [2023-01-04T04:17:31.566Z] 5d3b04190fa2: Download complete [2023-01-04T04:17:31.566Z] 5eb5b503b376: Verifying Checksum [2023-01-04T04:17:31.566Z] 5eb5b503b376: Download complete [2023-01-04T04:17:32.130Z] 2f39f015ded8: Download complete [2023-01-04T04:17:32.697Z] 5eb5b503b376: Pull complete [2023-01-04T04:17:32.697Z] 5c69ac0246d0: Pull complete [2023-01-04T04:17:33.262Z] ec43610c2a17: Pull complete [2023-01-04T04:17:33.262Z] 3a2ae6a8a46f: Pull complete [2023-01-04T04:17:33.524Z] 33b1e0a273af: Pull complete [2023-01-04T04:17:33.524Z] 5d3b04190fa2: Pull complete [2023-01-04T04:17:37.057Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1027 in /w/workspace/gexfoundry_device-mqtt-go_PR-444 [Pipeline] { [Pipeline] ws [2023-01-04T04:17:37.117Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-04T04:17:37.188Z] Selected Git installation does not exist. Using Default [2023-01-04T04:17:37.188Z] The recommended git tool is: NONE [2023-01-04T04:17:37.703Z] 2f39f015ded8: Pull complete [2023-01-04T04:17:37.703Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-04T04:17:37.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T04:17:37.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:17:37.926Z] prd-ubuntu20.04-docker-8c-8g-1025 does not seem to be running inside a container [2023-01-04T04:17:37.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/gexfoundry_device-mqtt-go_PR-444 -v /w/workspace/gexfoundry_device-mqtt-go_PR-444:/w/workspace/gexfoundry_device-mqtt-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T04:17:39.203Z] $ docker top b98bfd75c60ea09b0158d74a5ea52d49a5162ad6cc67d81370eb6905c25c6dbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:17:39.661Z] ---> job-cost.sh [2023-01-04T04:17:39.661Z] lf-activate-venv: SKIPPING [2023-01-04T04:17:39.661Z] INFO: No Stack... [2023-01-04T04:17:39.924Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T04:17:40.182Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T04:17:40.494Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives/cost.csv [2023-01-04T04:17:40.495Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T04:17:40.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] [2023-01-04T04:17:40.539Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] did not exist. Created. [2023-01-04T04:17:40.539Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T04:17:40.923Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-04T04:17:40.969Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T04:17:41.004Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T04:17:41.078Z] $ docker stop --time=1 b98bfd75c60ea09b0158d74a5ea52d49a5162ad6cc67d81370eb6905c25c6dbd [2023-01-04T04:17:41.972Z] using credential edgex-jenkins-ssh [2023-01-04T04:17:41.987Z] Cloning the remote Git repository [2023-01-04T04:17:42.022Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T04:17:42.097Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-04T04:17:42.236Z] $ docker rm -f --volumes b98bfd75c60ea09b0158d74a5ea52d49a5162ad6cc67d81370eb6905c25c6dbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-04T04:17:42.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T04:17:42.233Z] > git --version # timeout=10 [2023-01-04T04:17:42.251Z] > git --version # 'git version 2.25.1' [2023-01-04T04:17:42.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T04:17:42.325Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T04:17:43.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-04T04:17:43.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T04:17:44.177Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-04T04:17:44.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T04:17:44.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T04:17:44.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-04T04:17:44.800Z] Merging remotes/origin/main commit 2c0ad64fa4012812b904ce8a048042a45883a5b2 into PR head commit f7067d49d7b03d72f0e909312e5944fc95936166 [2023-01-04T04:17:45.018Z] Merge succeeded, producing f7067d49d7b03d72f0e909312e5944fc95936166 [2023-01-04T04:17:45.019Z] Checking out Revision f7067d49d7b03d72f0e909312e5944fc95936166 (PR-444) [2023-01-04T04:17:44.812Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T04:17:44.832Z] > git checkout -f f7067d49d7b03d72f0e909312e5944fc95936166 # timeout=10 [2023-01-04T04:17:44.913Z] > git remote # timeout=10 [2023-01-04T04:17:44.931Z] > git config --get remote.origin.url # timeout=10 [2023-01-04T04:17:44.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T04:17:44.965Z] > git merge 2c0ad64fa4012812b904ce8a048042a45883a5b2 # timeout=10 [2023-01-04T04:17:44.987Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-04T04:17:45.019Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T04:17:45.033Z] > git checkout -f f7067d49d7b03d72f0e909312e5944fc95936166 # timeout=10 [2023-01-04T04:17:48.475Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [2023-01-04T04:17:48.516Z] > git --version # timeout=10 [2023-01-04T04:17:48.527Z] > git --version # 'git version 2.25.1' [2023-01-04T04:17:48.544Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T04:17:49.491Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-04T04:17:49.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T04:17:49.491Z] Dload Upload Total Spent Left Speed [2023-01-04T04:17:49.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 66067 0 --:--:-- --:--:-- --:--:-- 66067 [Pipeline] sh [2023-01-04T04:17:50.172Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-04T04:17:50.513Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-04T04:17:50.513Z] + sudo tee /etc/docker/daemon.new [2023-01-04T04:17:50.513Z] { [2023-01-04T04:17:50.513Z] "registry-mirrors": [ [2023-01-04T04:17:50.513Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-04T04:17:50.513Z] ], [2023-01-04T04:17:50.513Z] "bip": "10.250.0.254/24", [2023-01-04T04:17:50.513Z] "hosts": [ [2023-01-04T04:17:50.513Z] "tcp://0.0.0.0:5555", [2023-01-04T04:17:50.513Z] "unix:///var/run/docker.sock" [2023-01-04T04:17:50.513Z] ], [2023-01-04T04:17:50.513Z] "mtu": 1458, [2023-01-04T04:17:50.513Z] "selinux-enabled": true, [2023-01-04T04:17:50.513Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-04T04:17:50.513Z] } [Pipeline] sh [2023-01-04T04:17:50.851Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-04T04:17:51.200Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T04:18:09.592Z] provisioning config files... [2023-01-04T04:18:09.615Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5596239448242932659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:18:09.988Z] ---> docker-login.sh [2023-01-04T04:18:09.988Z] nexus3.edgexfoundry.org:10001 [2023-01-04T04:18:10.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:18:10.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:18:10.528Z] Configure a credential helper to remove this warning. See [2023-01-04T04:18:10.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:18:10.528Z] [2023-01-04T04:18:10.528Z] Login Succeeded [2023-01-04T04:18:10.528Z] nexus3.edgexfoundry.org:10002 [2023-01-04T04:18:10.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:18:10.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:18:10.800Z] Configure a credential helper to remove this warning. See [2023-01-04T04:18:10.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:18:10.800Z] [2023-01-04T04:18:10.800Z] Login Succeeded [2023-01-04T04:18:10.800Z] nexus3.edgexfoundry.org:10003 [2023-01-04T04:18:11.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:18:11.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:18:11.340Z] Configure a credential helper to remove this warning. See [2023-01-04T04:18:11.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:18:11.340Z] [2023-01-04T04:18:11.340Z] Login Succeeded [2023-01-04T04:18:11.340Z] nexus3.edgexfoundry.org:10004 [2023-01-04T04:18:11.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:18:11.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:18:11.611Z] Configure a credential helper to remove this warning. See [2023-01-04T04:18:11.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:18:11.611Z] [2023-01-04T04:18:11.611Z] Login Succeeded [2023-01-04T04:18:11.611Z] docker.io [2023-01-04T04:18:11.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T04:18:12.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T04:18:12.143Z] Configure a credential helper to remove this warning. See [2023-01-04T04:18:12.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T04:18:12.143Z] [2023-01-04T04:18:12.143Z] Login Succeeded [2023-01-04T04:18:12.143Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T04:18:12.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T04:18:12.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T04:18:12.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T04:18:12.588Z] ========================================================= [2023-01-04T04:18:12.588Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-04T04:18:12.588Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:18:13.065Z] + 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-04T04:18:13.331Z] Sending build context to Docker daemon 3.27MB [2023-01-04T04:18:13.331Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T04:18:13.331Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T04:18:13.605Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-04T04:18:13.605Z] 9b18e9b68314: Pulling fs layer [2023-01-04T04:18:13.605Z] 35d82f9e3411: Pulling fs layer [2023-01-04T04:18:13.605Z] e16973657156: Pulling fs layer [2023-01-04T04:18:13.605Z] fc693d55d65f: Pulling fs layer [2023-01-04T04:18:13.605Z] 7e9fc2657dce: Pulling fs layer [2023-01-04T04:18:13.605Z] dda99020689f: Pulling fs layer [2023-01-04T04:18:13.605Z] db1c61fa0a46: Pulling fs layer [2023-01-04T04:18:13.605Z] 891c053d2c06: Pulling fs layer [2023-01-04T04:18:13.605Z] dda99020689f: Waiting [2023-01-04T04:18:13.605Z] db1c61fa0a46: Waiting [2023-01-04T04:18:13.605Z] 891c053d2c06: Waiting [2023-01-04T04:18:13.605Z] fc693d55d65f: Waiting [2023-01-04T04:18:13.605Z] 7e9fc2657dce: Waiting [2023-01-04T04:18:13.605Z] e16973657156: Download complete [2023-01-04T04:18:13.605Z] 35d82f9e3411: Verifying Checksum [2023-01-04T04:18:13.605Z] 35d82f9e3411: Download complete [2023-01-04T04:18:13.605Z] 7e9fc2657dce: Verifying Checksum [2023-01-04T04:18:13.605Z] 7e9fc2657dce: Download complete [2023-01-04T04:18:13.605Z] dda99020689f: Verifying Checksum [2023-01-04T04:18:13.605Z] dda99020689f: Download complete [2023-01-04T04:18:13.605Z] 9b18e9b68314: Verifying Checksum [2023-01-04T04:18:13.605Z] 9b18e9b68314: Download complete [2023-01-04T04:18:14.592Z] 9b18e9b68314: Pull complete [2023-01-04T04:18:14.592Z] 891c053d2c06: Verifying Checksum [2023-01-04T04:18:14.592Z] 891c053d2c06: Download complete [2023-01-04T04:18:14.863Z] 35d82f9e3411: Pull complete [2023-01-04T04:18:15.132Z] e16973657156: Pull complete [2023-01-04T04:18:15.728Z] db1c61fa0a46: Verifying Checksum [2023-01-04T04:18:15.728Z] db1c61fa0a46: Download complete [2023-01-04T04:18:16.315Z] fc693d55d65f: Verifying Checksum [2023-01-04T04:18:16.315Z] fc693d55d65f: Download complete [2023-01-04T04:18:26.398Z] fc693d55d65f: Pull complete [2023-01-04T04:18:26.663Z] 7e9fc2657dce: Pull complete [2023-01-04T04:18:26.931Z] dda99020689f: Pull complete [2023-01-04T04:18:32.279Z] db1c61fa0a46: Pull complete [2023-01-04T04:18:37.637Z] 891c053d2c06: Pull complete [2023-01-04T04:18:37.637Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-04T04:18:37.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-04T04:18:37.637Z] ---> f96f9c87975a [2023-01-04T04:18:37.637Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T04:18:38.594Z] ---> Running in 8c598c62be58 [2023-01-04T04:18:38.594Z] Removing intermediate container 8c598c62be58 [2023-01-04T04:18:38.594Z] ---> 3f5b836ad78c [2023-01-04T04:18:38.594Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T04:18:38.859Z] ---> Running in 0643ea164594 [2023-01-04T04:18:38.859Z] Removing intermediate container 0643ea164594 [2023-01-04T04:18:38.859Z] ---> b875c330691f [2023-01-04T04:18:38.859Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T04:18:39.125Z] ---> Running in 7fe2b3a53279 [2023-01-04T04:18:39.389Z] Removing intermediate container 7fe2b3a53279 [2023-01-04T04:18:39.389Z] ---> 4152bf85e694 [2023-01-04T04:18:39.389Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T04:18:39.389Z] ---> Running in 824d111beda8 [2023-01-04T04:18:39.656Z] Removing intermediate container 824d111beda8 [2023-01-04T04:18:39.656Z] ---> 15b0226c2ff2 [2023-01-04T04:18:39.656Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T04:18:39.656Z] ---> Running in 16aa6cd11c65 [2023-01-04T04:18:41.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T04:18:41.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T04:18:42.018Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T04:18:42.018Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T04:18:42.018Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T04:18:42.018Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T04:18:42.018Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T04:18:42.283Z] OK: 226 MiB in 55 packages [2023-01-04T04:18:43.241Z] Removing intermediate container 16aa6cd11c65 [2023-01-04T04:18:43.241Z] ---> 25c5a4ef6971 [2023-01-04T04:18:43.241Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-04T04:18:43.241Z] ---> Running in d79035372e24 [2023-01-04T04:18:43.510Z] Removing intermediate container d79035372e24 [2023-01-04T04:18:43.510Z] ---> 9d1f6880c372 [2023-01-04T04:18:43.510Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T04:18:44.097Z] ---> 7d3098a58b16 [2023-01-04T04:18:44.097Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T04:18:44.097Z] ---> Running in 960739daeefa [2023-01-04T04:19:40.513Z] Removing intermediate container 960739daeefa [2023-01-04T04:19:40.513Z] ---> b05a54c674a6 [2023-01-04T04:19:40.513Z] Step 11/12 : COPY . . [2023-01-04T04:19:40.513Z] ---> 2ca3a848cfb0 [2023-01-04T04:19:40.513Z] Step 12/12 : RUN $MAKE [2023-01-04T04:19:40.513Z] ---> Running in c491b7969712 [2023-01-04T04:19:40.513Z] noop [2023-01-04T04:19:40.513Z] Removing intermediate container c491b7969712 [2023-01-04T04:19:40.513Z] ---> 800854e123e9 [2023-01-04T04:19:40.513Z] Successfully built 800854e123e9 [2023-01-04T04:19:40.513Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:19:40.993Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T04:19:40.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:19:41.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-1027 does not seem to be running inside a container [2023-01-04T04:19:41.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T04:19:42.521Z] $ docker top 30fffa0a4c0e69a1dd0480ad86fe9c309f69d7f96b85c94d7355e562754e09d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T04:19:43.391Z] + go version [2023-01-04T04:19:43.391Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-04T04:19:43.432Z] $ docker stop --time=1 30fffa0a4c0e69a1dd0480ad86fe9c309f69d7f96b85c94d7355e562754e09d6 [2023-01-04T04:19:44.994Z] $ docker rm -f --volumes 30fffa0a4c0e69a1dd0480ad86fe9c309f69d7f96b85c94d7355e562754e09d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:19:45.829Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T04:19:45.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:19:46.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-1027 does not seem to be running inside a container [2023-01-04T04:19:46.157Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T04:19:47.260Z] $ docker top 050c2d8f6c52b1d47f80eb2b39e9c7ebf9a01488a0dd758dd593e7d6f40fba53 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T04:19:47.805Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-04T04:19:48.192Z] + make test [2023-01-04T04:19:48.192Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T04:19:50.160Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-04T04:21:11.789Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-04T04:21:11.789Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 21.8% of statements [2023-01-04T04:21:11.789Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-04T04:21:11.789Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-04T04:21:11.789Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T04:21:34.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T04:21:34.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T04:21:34.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T04:21:34.253Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T04:21:34.292Z] $ docker stop --time=1 050c2d8f6c52b1d47f80eb2b39e9c7ebf9a01488a0dd758dd593e7d6f40fba53 [2023-01-04T04:21:36.012Z] $ docker rm -f --volumes 050c2d8f6c52b1d47f80eb2b39e9c7ebf9a01488a0dd758dd593e7d6f40fba53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T04:21:36.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T04:21:37.005Z] Warning: overwriting stash ‘coverage-report’ [2023-01-04T04:21:37.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T04:21:38.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T04:21:38.442Z] + ls -al . [2023-01-04T04:21:38.442Z] total 188 [2023-01-04T04:21:38.442Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 04:19 . [2023-01-04T04:21:38.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 04:17 .. [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 04:17 .dockerignore [2023-01-04T04:21:38.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 04:17 .git [2023-01-04T04:21:38.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 04:17 .github [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 04:17 .gitignore [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 04:17 .golangci.yml [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 4 04:17 Attribution.txt [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 4 04:17 CHANGELOG.md [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 4 04:17 Dockerfile [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 04:17 GOVERNANCE.md [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 4 04:17 Jenkinsfile [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 04:17 LICENSE [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 4 04:17 Makefile [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 04:17 OWNERS.md [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 4 04:17 README.md [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 04:15 VERSION [2023-01-04T04:21:38.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 04:17 bin [2023-01-04T04:21:38.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 04:17 cmd [2023-01-04T04:21:38.442Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 4 04:21 coverage.out [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 4 04:17 go.mod [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 04:17 go.sum [2023-01-04T04:21:38.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 04:17 internal [2023-01-04T04:21:38.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 04:17 mock [2023-01-04T04:21:38.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 04:17 snap [2023-01-04T04:21:38.442Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:21:38.861Z] + 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=f7067d49d7b03d72f0e909312e5944fc95936166 --label arch=arm64 --label version=0.0.0 . [2023-01-04T04:21:39.134Z] Sending build context to Docker daemon 3.289MB [2023-01-04T04:21:39.134Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T04:21:39.134Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-04T04:21:39.134Z] ---> 800854e123e9 [2023-01-04T04:21:39.134Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-04T04:21:39.402Z] ---> Running in ecfea01890ac [2023-01-04T04:21:39.669Z] Removing intermediate container ecfea01890ac [2023-01-04T04:21:39.669Z] ---> 195ab6eb8c6d [2023-01-04T04:21:39.669Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T04:21:39.669Z] ---> Running in 49e47e81a98d [2023-01-04T04:21:39.938Z] Removing intermediate container 49e47e81a98d [2023-01-04T04:21:39.938Z] ---> 2ba78de10e29 [2023-01-04T04:21:39.938Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T04:21:39.938Z] ---> Running in 604a187167bc [2023-01-04T04:21:40.210Z] Removing intermediate container 604a187167bc [2023-01-04T04:21:40.210Z] ---> 63f5d425901e [2023-01-04T04:21:40.210Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T04:21:40.480Z] ---> Running in 9dcecf5cec7c [2023-01-04T04:21:40.748Z] Removing intermediate container 9dcecf5cec7c [2023-01-04T04:21:40.748Z] ---> 64e9083633af [2023-01-04T04:21:40.748Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T04:21:40.748Z] ---> Running in 5881c9f8fb1b [2023-01-04T04:21:41.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T04:21:41.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T04:21:42.939Z] OK: 226 MiB in 55 packages [2023-01-04T04:21:44.350Z] Removing intermediate container 5881c9f8fb1b [2023-01-04T04:21:44.350Z] ---> d573b575b9c6 [2023-01-04T04:21:44.350Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-04T04:21:44.350Z] ---> Running in 84742cb7c14f [2023-01-04T04:21:44.620Z] Removing intermediate container 84742cb7c14f [2023-01-04T04:21:44.620Z] ---> 343fc6914467 [2023-01-04T04:21:44.620Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-04T04:21:45.206Z] ---> 8b78f2f0bed0 [2023-01-04T04:21:45.206Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T04:21:45.475Z] ---> Running in 502c445c2d2b [2023-01-04T04:21:47.425Z] Removing intermediate container 502c445c2d2b [2023-01-04T04:21:47.425Z] ---> 95764883d420 [2023-01-04T04:21:47.425Z] Step 11/24 : COPY . . [2023-01-04T04:21:48.386Z] ---> ccb1359442ec [2023-01-04T04:21:48.386Z] Step 12/24 : RUN $MAKE [2023-01-04T04:21:48.386Z] ---> Running in 8f4ea752af24 [2023-01-04T04:21:49.344Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-04T04:24:26.078Z] Removing intermediate container 8f4ea752af24 [2023-01-04T04:24:26.078Z] ---> c48e64fcf515 [2023-01-04T04:24:26.078Z] Step 13/24 : FROM alpine:3.16 [2023-01-04T04:24:26.078Z] 3.16: Pulling from library/alpine [2023-01-04T04:24:26.078Z] 6875df1f5354: Pulling fs layer [2023-01-04T04:24:26.078Z] 6875df1f5354: Verifying Checksum [2023-01-04T04:24:26.078Z] 6875df1f5354: Download complete [2023-01-04T04:24:26.078Z] 6875df1f5354: Pull complete [2023-01-04T04:24:26.078Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T04:24:26.078Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T04:24:26.078Z] ---> 2b4661558fb8 [2023-01-04T04:24:26.078Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-04T04:24:26.078Z] ---> Running in ef7b50635754 [2023-01-04T04:24:26.078Z] Removing intermediate container ef7b50635754 [2023-01-04T04:24:26.078Z] ---> b16e7c9fd12e [2023-01-04T04:24:26.078Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T04:24:26.078Z] ---> Running in f0613958e5b3 [2023-01-04T04:24:26.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T04:24:26.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T04:24:26.078Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T04:24:26.078Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T04:24:26.078Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T04:24:26.078Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T04:24:26.078Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T04:24:26.078Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T04:24:26.078Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T04:24:26.078Z] OK: 8 MiB in 20 packages [2023-01-04T04:24:26.078Z] Removing intermediate container f0613958e5b3 [2023-01-04T04:24:26.078Z] ---> 913cdeecbb6f [2023-01-04T04:24:26.078Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-04T04:24:26.659Z] ---> 8febf248d377 [2023-01-04T04:24:26.659Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-04T04:24:27.246Z] ---> fcdd3b8883e0 [2023-01-04T04:24:27.246Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-04T04:24:27.514Z] ---> 370b130a0338 [2023-01-04T04:24:27.514Z] Step 19/24 : EXPOSE 59982 [2023-01-04T04:24:27.784Z] ---> Running in fa95347314db [2023-01-04T04:24:28.051Z] Removing intermediate container fa95347314db [2023-01-04T04:24:28.051Z] ---> 03f50c6b9d42 [2023-01-04T04:24:28.051Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-04T04:24:28.051Z] ---> Running in 48a7a47e38c3 [2023-01-04T04:24:28.318Z] Removing intermediate container 48a7a47e38c3 [2023-01-04T04:24:28.318Z] ---> ce29c5a67560 [2023-01-04T04:24:28.318Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T04:24:28.318Z] ---> Running in fe192ca1017f [2023-01-04T04:24:28.585Z] Removing intermediate container fe192ca1017f [2023-01-04T04:24:28.585Z] ---> b99c77e1ec91 [2023-01-04T04:24:28.585Z] Step 22/24 : LABEL arch=arm64 [2023-01-04T04:24:28.585Z] ---> Running in 94eaacefc636 [2023-01-04T04:24:28.869Z] Removing intermediate container 94eaacefc636 [2023-01-04T04:24:28.870Z] ---> 5059704c0ba5 [2023-01-04T04:24:28.870Z] Step 23/24 : LABEL git_sha=f7067d49d7b03d72f0e909312e5944fc95936166 [2023-01-04T04:24:29.139Z] ---> Running in 54de835abd5c [2023-01-04T04:24:29.408Z] Removing intermediate container 54de835abd5c [2023-01-04T04:24:29.408Z] ---> 10661d58843c [2023-01-04T04:24:29.408Z] Step 24/24 : LABEL version=0.0.0 [2023-01-04T04:24:29.408Z] ---> Running in f72233b9b952 [2023-01-04T04:24:29.678Z] Removing intermediate container f72233b9b952 [2023-01-04T04:24:29.678Z] ---> ece56e5e4ede [2023-01-04T04:24:29.678Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T04:24:29.678Z] Successfully built ece56e5e4ede [2023-01-04T04:24:29.678Z] 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-04T04:24:30.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T04:24:30.482Z] [2023-01-04T04:24:30.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:24:30.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T04:24:30.888Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-04T04:24:30.888Z] 8998bd30e6a1: Pulling fs layer [2023-01-04T04:24:30.888Z] 04944245beec: Pulling fs layer [2023-01-04T04:24:30.888Z] 699f458cf7ca: Pulling fs layer [2023-01-04T04:24:30.888Z] 765212b225bb: Pulling fs layer [2023-01-04T04:24:30.888Z] f23df028b6ca: Pulling fs layer [2023-01-04T04:24:30.888Z] d65c8cfc05b1: Pulling fs layer [2023-01-04T04:24:30.888Z] 2437ff75d9bd: Pulling fs layer [2023-01-04T04:24:30.888Z] d65c8cfc05b1: Waiting [2023-01-04T04:24:30.888Z] 2437ff75d9bd: Waiting [2023-01-04T04:24:30.888Z] 765212b225bb: Waiting [2023-01-04T04:24:30.888Z] f23df028b6ca: Waiting [2023-01-04T04:24:31.158Z] 04944245beec: Verifying Checksum [2023-01-04T04:24:31.158Z] 04944245beec: Download complete [2023-01-04T04:24:31.158Z] 765212b225bb: Verifying Checksum [2023-01-04T04:24:31.158Z] 765212b225bb: Download complete [2023-01-04T04:24:31.158Z] f23df028b6ca: Verifying Checksum [2023-01-04T04:24:31.158Z] f23df028b6ca: Download complete [2023-01-04T04:24:31.158Z] d65c8cfc05b1: Verifying Checksum [2023-01-04T04:24:31.158Z] d65c8cfc05b1: Download complete [2023-01-04T04:24:31.428Z] 699f458cf7ca: Verifying Checksum [2023-01-04T04:24:31.428Z] 699f458cf7ca: Download complete [2023-01-04T04:24:31.696Z] 8998bd30e6a1: Verifying Checksum [2023-01-04T04:24:31.696Z] 8998bd30e6a1: Download complete [2023-01-04T04:24:34.283Z] 2437ff75d9bd: Verifying Checksum [2023-01-04T04:24:34.283Z] 2437ff75d9bd: Download complete [2023-01-04T04:24:35.691Z] 8998bd30e6a1: Pull complete [2023-01-04T04:24:35.958Z] 04944245beec: Pull complete [2023-01-04T04:24:37.370Z] 699f458cf7ca: Pull complete [2023-01-04T04:24:37.370Z] 765212b225bb: Pull complete [2023-01-04T04:24:38.328Z] f23df028b6ca: Pull complete [2023-01-04T04:24:38.328Z] d65c8cfc05b1: Pull complete [2023-01-04T04:24:53.317Z] 2437ff75d9bd: Pull complete [2023-01-04T04:24:53.317Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-04T04:24:53.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T04:24:53.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:24:53.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-1027 does not seem to be running inside a container [2023-01-04T04:24:53.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-04T04:24:56.255Z] $ docker top 35c71808159f5efdb07f48b43978f71ed6d32a11761b65cefe6fa3f1a584e598 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:24:56.858Z] ---> job-cost.sh [2023-01-04T04:24:57.124Z] lf-activate-venv: SKIPPING [2023-01-04T04:24:57.124Z] INFO: No Stack... [2023-01-04T04:24:57.387Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-04T04:24:58.343Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T04:24:58.686Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-04T04:24:58.686Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T04:24:58.747Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] [2023-01-04T04:24:58.752Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] did not exist. Created. [2023-01-04T04:24:58.752Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T04:24:59.167Z] /w/workspace/device-mqtt-go/1@tmp/durable-090a8cfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-04T04:24:59.527Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-04T04:24:59.564Z] Warning: overwriting stash ‘stack-cost’ [2023-01-04T04:24:59.602Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T04:24:59.619Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-444-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T04:24:59.723Z] $ docker stop --time=1 35c71808159f5efdb07f48b43978f71ed6d32a11761b65cefe6fa3f1a584e598 [2023-01-04T04:25:01.192Z] $ docker rm -f --volumes 35c71808159f5efdb07f48b43978f71ed6d32a11761b65cefe6fa3f1a584e598 [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-04T04:25:02.799Z] provisioning config files... [2023-01-04T04:25:02.805Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/config5413933927437350260tmp [Pipeline] { [Pipeline] sh [2023-01-04T04:25:03.144Z] + set +x [2023-01-04T04:25:03.144Z] + curl -s https://codecov.io/bash [2023-01-04T04:25:03.144Z] + bash -s -- [2023-01-04T04:25:03.144Z] [2023-01-04T04:25:03.144Z] _____ _ [2023-01-04T04:25:03.144Z] / ____| | | [2023-01-04T04:25:03.144Z] | | ___ __| | ___ ___ _____ __ [2023-01-04T04:25:03.144Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-04T04:25:03.144Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-04T04:25:03.144Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-04T04:25:03.144Z] Bash-1.0.6 [2023-01-04T04:25:03.144Z] [2023-01-04T04:25:03.144Z] [2023-01-04T04:25:03.144Z] ==> git version 2.25.1 found [2023-01-04T04:25:03.144Z] ==> 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-04T04:25:03.144Z] Release-Date: 2020-01-08 [2023-01-04T04:25:03.144Z] 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-04T04:25:03.144Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-04T04:25:03.144Z] ==> Jenkins CI detected. [2023-01-04T04:25:03.144Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-444 [2023-01-04T04:25:03.144Z] project root: . [2023-01-04T04:25:03.144Z] --> token set from env [2023-01-04T04:25:03.144Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-04T04:25:03.144Z] ==> Running gcov in . (disable via -X gcov) [2023-01-04T04:25:03.144Z] ==> Python coveragepy not found [2023-01-04T04:25:03.144Z] ==> Searching for coverage reports in: [2023-01-04T04:25:03.144Z] + . [2023-01-04T04:25:03.403Z] -> Found 1 reports [2023-01-04T04:25:03.403Z] ==> Detecting git/mercurial file structure [2023-01-04T04:25:03.403Z] ==> Reading reports [2023-01-04T04:25:03.403Z] + ./coverage.out bytes=17887 [2023-01-04T04:25:03.403Z] ==> Appending adjustments [2023-01-04T04:25:03.403Z] https://docs.codecov.io/docs/fixing-reports [2023-01-04T04:25:03.403Z] + Found adjustments [2023-01-04T04:25:03.403Z] ==> Gzipping contents [2023-01-04T04:25:03.403Z] 4.0K /tmp/codecov.cXqqR2.gz [2023-01-04T04:25:03.403Z] ==> Uploading reports [2023-01-04T04:25:03.403Z] url: https://codecov.io [2023-01-04T04:25:03.403Z] query: branch=PR-444&commit=f7067d49d7b03d72f0e909312e5944fc95936166&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-444%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=444&job=&cmd_args= [2023-01-04T04:25:03.403Z] -> Pinging Codecov [2023-01-04T04:25:03.403Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-444&commit=f7067d49d7b03d72f0e909312e5944fc95936166&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-444%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=444&job=&cmd_args= [2023-01-04T04:25:03.972Z] -> Uploading to [2023-01-04T04:25:03.972Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-04/7D719EC7BBE17E464838252E33014C33/f7067d49d7b03d72f0e909312e5944fc95936166/1ce3b3d0-caf0-470c-9b48-24f3bd7fa4cf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T042503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e856566f83d8322c05d29577d2dc81607836c5c6c769e8585fc6eceaf2b3f04c [2023-01-04T04:25:03.972Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T04:25:03.972Z] Dload Upload Total Spent Left Speed [2023-01-04T04:25:03.972Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13563 --:--:-- --:--:-- --:--:-- 13563 [2023-01-04T04:25:03.972Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f7067d49d7b03d72f0e909312e5944fc95936166 [Pipeline] } [2023-01-04T04:25:04.001Z] 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-04T04:25:05.710Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives ] [2023-01-04T04:25:05.710Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives [2023-01-04T04:25:05.710Z] total 16 [2023-01-04T04:25:05.710Z] drwxr-xr-x 3 root root 4096 Jan 4 04:17 . [2023-01-04T04:25:05.710Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 04:17 .. [2023-01-04T04:25:05.710Z] drwxr-xr-x 2 root root 4096 Jan 4 04:17 cost [2023-01-04T04:25:05.710Z] -rw-r--r-- 1 root root 86 Jan 4 04:17 cost.csv [2023-01-04T04:25:05.710Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives [2023-01-04T04:25:05.710Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives [2023-01-04T04:25:05.710Z] total 16 [2023-01-04T04:25:05.710Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 04:17 . [2023-01-04T04:25:05.710Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 04:17 .. [2023-01-04T04:25:05.710Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 04:17 cost [2023-01-04T04:25:05.710Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 4 04:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:06.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:06.923Z] ---> package-listing.sh [2023-01-04T04:25:06.923Z] ++ facter osfamily [2023-01-04T04:25:06.923Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-04T04:25:07.183Z] + OS_FAMILY=debian [2023-01-04T04:25:07.183Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-444 [2023-01-04T04:25:07.183Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-04T04:25:07.183Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-04T04:25:07.183Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-04T04:25:07.183Z] + PACKAGES=/tmp/packages_start.txt [2023-01-04T04:25:07.183Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-444 ']' [2023-01-04T04:25:07.183Z] + PACKAGES=/tmp/packages_end.txt [2023-01-04T04:25:07.183Z] + case "${OS_FAMILY}" in [2023-01-04T04:25:07.183Z] + dpkg -l [2023-01-04T04:25:07.183Z] + grep '^ii' [2023-01-04T04:25:07.183Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-04T04:25:07.183Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-04T04:25:07.183Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-04T04:25:07.183Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-444 ']' [2023-01-04T04:25:07.183Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives/ [2023-01-04T04:25:07.183Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-444/archives/ [Pipeline] echo [2023-01-04T04:25:07.219Z] 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-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-04T04:25:07.514Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T04:25:08.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T04:25:08.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T04:25:08.309Z] prd-ubuntu20.04-docker-8c-8g-1025 does not seem to be running inside a container [2023-01-04T04:25:08.339Z] $ 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-444/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-444 -v /w/workspace/gexfoundry_device-mqtt-go_PR-444:/w/workspace/gexfoundry_device-mqtt-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T04:25:08.536Z] $ docker top 4521c00856dd04aba32920d8579b322777cd1fdfccaaccc2542e4c8d0bf74ef6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T04:25:08.925Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-04T04:25:09.237Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-04T04:25:09.546Z] + ls /var/log/sa-host [2023-01-04T04:25:09.546Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T04:25:09.909Z] provisioning config files... [2023-01-04T04:25:09.918Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-444@tmp/config14657210335741942199tmp [Pipeline] { [Pipeline] echo [2023-01-04T04:25:10.039Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:10.466Z] ---> create-netrc.sh [Pipeline] } [2023-01-04T04:25:10.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:10.893Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-04T04:25:10.923Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:11.228Z] ---> sudo-logs.sh [2023-01-04T04:25:11.228Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-04T04:25:11.313Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:11.620Z] ---> job-cost.sh [2023-01-04T04:25:11.620Z] lf-activate-venv: SKIPPING [2023-01-04T04:25:11.620Z] DEBUG: total: 0.2199999988079071 [2023-01-04T04:25:11.620Z] INFO: Retrieving Stack Cost... [2023-01-04T04:25:11.879Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T04:25:12.448Z] INFO: Archiving Costs [Pipeline] echo [2023-01-04T04:25:12.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T04:25:12.799Z] ---> logs-deploy.sh [2023-01-04T04:25:12.799Z] lf-activate-venv: SKIPPING [2023-01-04T04:25:12.799Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-444/1 [2023-01-04T04:25:12.799Z] INFO: archiving workspace using pattern(s): [2023-01-04T04:25:13.738Z] Archives upload complete. [2023-01-04T04:25:13.997Z] INFO: archiving logs to Nexus