Pull request #442 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bea4159d5f68b757ea272211aae084f38f64175f+2c0ad64fa4012812b904ce8a048042a45883a5b2 (ab3876680f61d83b4d54becc8cd2ba13e9572305) 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-ssh3480151717059698036.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-ssh5026249287314566242.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-442/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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11189041665192977297.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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17649364609971635054.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-ssh679458498133638252.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-442/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-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2507312748440162339.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-500 in /w/workspace/gexfoundry_device-mqtt-go_PR-442 [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-442 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2c0ad64fa4012812b904ce8a048042a45883a5b2 into PR head commit bea4159d5f68b757ea272211aae084f38f64175f Merge succeeded, producing bea4159d5f68b757ea272211aae084f38f64175f > 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bea4159d5f68b757ea272211aae084f38f64175f # 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 Checking out Revision bea4159d5f68b757ea272211aae084f38f64175f (PR-442) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-26T01:39:59.990Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-26T01:40:00.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-26T01:40:00.256Z] ========================================================= [2022-12-26T01:40:00.256Z] EdgeX Global Pipelines Version Info [2022-12-26T01:40:00.256Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bea4159d5f68b757ea272211aae084f38f64175f # timeout=10 [2022-12-26T01:40:01.012Z] ------------------- [2022-12-26T01:40:01.012Z] stable info: [2022-12-26T01:40:01.012Z] ------------------- [2022-12-26T01:40:01.012Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-26T01:40:01.012Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-26T01:40:01.012Z] Message: update stable to v1.0.244 [2022-12-26T01:40:01.585Z] ------------------- [2022-12-26T01:40:01.585Z] experimental info: [2022-12-26T01:40:01.585Z] ------------------- [2022-12-26T01:40:01.585Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-26T01:40:01.585Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-26T01:40:01.585Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-26T01:40:01.891Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-12-26T01:40:01.944Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-12-26T01:40:01.990Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-26T01:40:02.031Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-26T01:40:02.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-26T01:40:02.110Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-26T01:40:02.148Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-26T01:40:02.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-26T01:40:02.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-26T01:40:02.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-26T01:40:02.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-26T01:40:02.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-12-26T01:40:02.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-26T01:40:02.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-26T01:40:02.451Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-26T01:40:02.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-26T01:40:02.525Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-26T01:40:02.565Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-26T01:40:02.614Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-26T01:40:02.651Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-26T01:40:02.690Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-26T01:40:02.727Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-26T01:40:02.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-26T01:40:02.804Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-26T01:40:02.847Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-26T01:40:02.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-26T01:40:02.928Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-26T01:40:02.975Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo [2022-12-26T01:40:03.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo [2022-12-26T01:40:03.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo [2022-12-26T01:40:03.090Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bea4159d5f68b757ea272211aae084f38f64175f [Pipeline] echo [2022-12-26T01:40:03.133Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bea4159 [Pipeline] echo [2022-12-26T01:40:03.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T01:40:03.279Z] provisioning config files... [2022-12-26T01:40:03.294Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/config14026218996914443060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:40:03.635Z] ---> docker-login.sh [2022-12-26T01:40:03.635Z] nexus3.edgexfoundry.org:10001 [2022-12-26T01:40:03.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:03.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:03.895Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:03.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:03.895Z] [2022-12-26T01:40:03.895Z] Login Succeeded [2022-12-26T01:40:03.895Z] nexus3.edgexfoundry.org:10002 [2022-12-26T01:40:04.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:04.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:04.163Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:04.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:04.163Z] [2022-12-26T01:40:04.163Z] Login Succeeded [2022-12-26T01:40:04.163Z] nexus3.edgexfoundry.org:10003 [2022-12-26T01:40:04.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:04.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:04.163Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:04.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:04.163Z] [2022-12-26T01:40:04.163Z] Login Succeeded [2022-12-26T01:40:04.163Z] nexus3.edgexfoundry.org:10004 [2022-12-26T01:40:04.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:04.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:04.425Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:04.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:04.425Z] [2022-12-26T01:40:04.425Z] Login Succeeded [2022-12-26T01:40:04.425Z] docker.io [2022-12-26T01:40:04.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:04.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:04.686Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:04.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:04.686Z] [2022-12-26T01:40:04.686Z] Login Succeeded [2022-12-26T01:40:04.686Z] ---> docker-login.sh ends [Pipeline] } [2022-12-26T01:40:04.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-26T01:40:05.322Z] + git rev-list -1 --merges bea4159d5f68b757ea272211aae084f38f64175f~1..bea4159d5f68b757ea272211aae084f38f64175f [Pipeline] echo [2022-12-26T01:40:05.401Z] -----------> git rev-list -1 --merges bea4159d5f68b757ea272211aae084f38f64175f~1..bea4159d5f68b757ea272211aae084f38f64175f bea4159d5f68b757ea272211aae084f38f64175f [false] [Pipeline] sh [2022-12-26T01:40:05.707Z] + git log --format=format:%s -1 bea4159d5f68b757ea272211aae084f38f64175f [Pipeline] echo [2022-12-26T01:40:05.744Z] ========================================================= [2022-12-26T01:40:05.744Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-26T01:40:05.744Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-26T01:40:06.186Z] + git log --format=format:%s -1 bea4159d5f68b757ea272211aae084f38f64175f [Pipeline] echo [2022-12-26T01:40:06.301Z] [semverPrep] GIT_COMMIT: bea4159d5f68b757ea272211aae084f38f64175f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2022-12-26T01:40:06.332Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-26T01:40:06.786Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-26T01:40:06.786Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-26T01:40:06.786Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-26T01:40:06.786Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-26T01:40:06.786Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-26T01:40:06.786Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-26T01:40:06.786Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:40:07.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-26T01:40:07.266Z] [2022-12-26T01:40:07.266Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:40:07.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-26T01:40:07.648Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-26T01:40:07.648Z] b85a868b505f: Pulling fs layer [2022-12-26T01:40:07.648Z] e2be974225ed: Pulling fs layer [2022-12-26T01:40:07.648Z] 339a4e72a1f5: Pulling fs layer [2022-12-26T01:40:07.648Z] 988bab9f4d93: Pulling fs layer [2022-12-26T01:40:07.648Z] 1469e6f7b9e6: Pulling fs layer [2022-12-26T01:40:07.648Z] eaf3925da568: Pulling fs layer [2022-12-26T01:40:07.648Z] bab4dde63d76: Pulling fs layer [2022-12-26T01:40:07.648Z] bde34c3a00c8: Pulling fs layer [2022-12-26T01:40:07.648Z] b352a97aabf1: Pulling fs layer [2022-12-26T01:40:07.648Z] 4872d77fe225: Pulling fs layer [2022-12-26T01:40:07.648Z] 5851b861e8e6: Pulling fs layer [2022-12-26T01:40:07.648Z] bab4dde63d76: Waiting [2022-12-26T01:40:07.648Z] 988bab9f4d93: Waiting [2022-12-26T01:40:07.648Z] bde34c3a00c8: Waiting [2022-12-26T01:40:07.648Z] 1469e6f7b9e6: Waiting [2022-12-26T01:40:07.648Z] b352a97aabf1: Waiting [2022-12-26T01:40:07.648Z] 4872d77fe225: Waiting [2022-12-26T01:40:07.648Z] eaf3925da568: Waiting [2022-12-26T01:40:07.648Z] 5851b861e8e6: Waiting [2022-12-26T01:40:07.648Z] e2be974225ed: Download complete [2022-12-26T01:40:07.648Z] 988bab9f4d93: Verifying Checksum [2022-12-26T01:40:07.648Z] 988bab9f4d93: Download complete [2022-12-26T01:40:07.907Z] 1469e6f7b9e6: Verifying Checksum [2022-12-26T01:40:07.907Z] 1469e6f7b9e6: Download complete [2022-12-26T01:40:07.907Z] 339a4e72a1f5: Verifying Checksum [2022-12-26T01:40:07.907Z] 339a4e72a1f5: Download complete [2022-12-26T01:40:07.907Z] eaf3925da568: Verifying Checksum [2022-12-26T01:40:07.907Z] eaf3925da568: Download complete [2022-12-26T01:40:07.907Z] bde34c3a00c8: Verifying Checksum [2022-12-26T01:40:07.907Z] bde34c3a00c8: Download complete [2022-12-26T01:40:07.907Z] b352a97aabf1: Verifying Checksum [2022-12-26T01:40:07.907Z] b352a97aabf1: Download complete [2022-12-26T01:40:07.907Z] 4872d77fe225: Verifying Checksum [2022-12-26T01:40:07.907Z] 4872d77fe225: Download complete [2022-12-26T01:40:07.907Z] 5851b861e8e6: Verifying Checksum [2022-12-26T01:40:07.907Z] 5851b861e8e6: Download complete [2022-12-26T01:40:07.907Z] b85a868b505f: Download complete [2022-12-26T01:40:08.165Z] bab4dde63d76: Verifying Checksum [2022-12-26T01:40:08.165Z] bab4dde63d76: Download complete [2022-12-26T01:40:09.110Z] b85a868b505f: Pull complete [2022-12-26T01:40:09.369Z] e2be974225ed: Pull complete [2022-12-26T01:40:09.941Z] 339a4e72a1f5: Pull complete [2022-12-26T01:40:09.941Z] 988bab9f4d93: Pull complete [2022-12-26T01:40:10.200Z] 1469e6f7b9e6: Pull complete [2022-12-26T01:40:10.200Z] eaf3925da568: Pull complete [2022-12-26T01:40:12.101Z] bab4dde63d76: Pull complete [2022-12-26T01:40:12.101Z] bde34c3a00c8: Pull complete [2022-12-26T01:40:12.101Z] b352a97aabf1: Pull complete [2022-12-26T01:40:12.101Z] 4872d77fe225: Pull complete [2022-12-26T01:40:12.362Z] 5851b861e8e6: Pull complete [2022-12-26T01:40:12.362Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-26T01:40:12.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-26T01:40:12.362Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:40:12.574Z] prd-ubuntu20.04-docker-8c-8g-500 does not seem to be running inside a container [2022-12-26T01:40:12.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-442 -v /w/workspace/gexfoundry_device-mqtt-go_PR-442:/w/workspace/gexfoundry_device-mqtt-go_PR-442:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-442@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-26T01:40:15.782Z] $ docker top 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 -eo pid,comm [2022-12-26T01:40:15.836Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-26T01:40:15.836Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-26T01:40:15.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-26T01:40:15.959Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-26T01:40:16.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-26T01:40:16.078Z] $ docker exec 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 ssh-agent [2022-12-26T01:40:16.191Z] SSH_AUTH_SOCK=/tmp/ssh-lJzLpzeyunrn/agent.32 [2022-12-26T01:40:16.191Z] SSH_AGENT_PID=38 [2022-12-26T01:40:16.198Z] Running ssh-add (command line suppressed) [2022-12-26T01:40:16.298Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/private_key_5352397472264023475.key (/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/private_key_5352397472264023475.key) [2022-12-26T01:40:16.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-26T01:40:16.641Z] + git tag --points-at HEAD [Pipeline] } [2022-12-26T01:40:16.666Z] $ docker exec --env ******** --env ******** 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 ssh-agent -k [2022-12-26T01:40:16.777Z] unset SSH_AUTH_SOCK; [2022-12-26T01:40:16.778Z] unset SSH_AGENT_PID; [2022-12-26T01:40:16.778Z] echo Agent pid 38 killed; [2022-12-26T01:40:16.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-26T01:40:16.870Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-26T01:40:16.871Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-26T01:40:16.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-26T01:40:16.996Z] $ docker exec 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 ssh-agent [2022-12-26T01:40:17.112Z] SSH_AUTH_SOCK=/tmp/ssh-W81fa6aLgWd5/agent.70 [2022-12-26T01:40:17.112Z] SSH_AGENT_PID=76 [2022-12-26T01:40:17.117Z] Running ssh-add (command line suppressed) [2022-12-26T01:40:17.238Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/private_key_9480343986576377485.key (/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/private_key_9480343986576377485.key) [2022-12-26T01:40:17.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-26T01:40:17.583Z] + git semver init [2022-12-26T01:40:17.842Z] 2022-12-26 01:40:17,771 [run_init] DEBUG init version:0.0.0 force:False [2022-12-26T01:40:17.842Z] 2022-12-26 01:40:17,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver [2022-12-26T01:40:17.842Z] 2022-12-26 01:40:17,772 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver [2022-12-26T01:40:17.842Z] 2022-12-26 01:40:17,773 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-442, universal_newlines=False, shell=None, istream=None) [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,594 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-442/.git/info/exclude [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver/PR-442 with force:False [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,595 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver/PR-442 [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,599 [execute] INFO git cat-file --batch-check [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,605 [execute] INFO git cat-file --batch [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2022-12-26T01:40:18.778Z] 2022-12-26 01:40:18,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-442/.semver/PR-442 [2022-12-26T01:40:18.778Z] 0.0.0 [Pipeline] } [2022-12-26T01:40:18.805Z] $ docker exec --env ******** --env ******** 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 ssh-agent -k [2022-12-26T01:40:18.901Z] unset SSH_AUTH_SOCK; [2022-12-26T01:40:18.901Z] unset SSH_AGENT_PID; [2022-12-26T01:40:18.901Z] echo Agent pid 76 killed; [2022-12-26T01:40:18.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-26T01:40:19.315Z] + git semver [Pipeline] } [2022-12-26T01:40:19.601Z] $ docker stop --time=1 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 [2022-12-26T01:40:20.881Z] $ docker rm -f --volumes 1095305bb0e9d21ae6552e250c937498a6b45983e87a07f5703a610a3f4b5573 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-26T01:40:21.269Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-26T01:40:21.533Z] Stashed 1 file(s) [Pipeline] echo [2022-12-26T01:40:21.550Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T01:40:22.144Z] provisioning config files... [2022-12-26T01:40:22.155Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/config4796577956748308578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:40:22.489Z] ---> docker-login.sh [2022-12-26T01:40:22.489Z] nexus3.edgexfoundry.org:10001 [2022-12-26T01:40:22.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:22.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:22.489Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:22.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:22.489Z] [2022-12-26T01:40:22.489Z] Login Succeeded [2022-12-26T01:40:22.489Z] nexus3.edgexfoundry.org:10002 [2022-12-26T01:40:22.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:22.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:22.489Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:22.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:22.489Z] [2022-12-26T01:40:22.489Z] Login Succeeded [2022-12-26T01:40:22.489Z] nexus3.edgexfoundry.org:10003 [2022-12-26T01:40:22.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:22.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:22.749Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:22.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:22.749Z] [2022-12-26T01:40:22.749Z] Login Succeeded [2022-12-26T01:40:22.749Z] nexus3.edgexfoundry.org:10004 [2022-12-26T01:40:22.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:22.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:22.749Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:22.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:22.749Z] [2022-12-26T01:40:22.749Z] Login Succeeded [2022-12-26T01:40:22.749Z] docker.io [2022-12-26T01:40:23.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:40:23.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:40:23.009Z] Configure a credential helper to remove this warning. See [2022-12-26T01:40:23.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:40:23.009Z] [2022-12-26T01:40:23.009Z] Login Succeeded [2022-12-26T01:40:23.009Z] ---> docker-login.sh ends [Pipeline] } [2022-12-26T01:40:23.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-26T01:40:23.250Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T01:40:23.285Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T01:40:23.324Z] ========================================================= [2022-12-26T01:40:23.324Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-26T01:40:23.324Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:40:23.831Z] + 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 . [2022-12-26T01:40:23.831Z] Sending build context to Docker daemon 6.299MB [2022-12-26T01:40:23.831Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T01:40:23.831Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-26T01:40:23.831Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-26T01:40:23.831Z] 213ec9aee27d: Pulling fs layer [2022-12-26T01:40:23.832Z] 4583459ba037: Pulling fs layer [2022-12-26T01:40:23.832Z] 93c1e223e6f2: Pulling fs layer [2022-12-26T01:40:23.832Z] 53926ce57604: Pulling fs layer [2022-12-26T01:40:23.832Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-26T01:40:23.832Z] 22ff95d597cd: Pulling fs layer [2022-12-26T01:40:23.832Z] 12d6caf4c0d1: Pulling fs layer [2022-12-26T01:40:23.832Z] 96b7cbca73a9: Pulling fs layer [2022-12-26T01:40:23.832Z] a7acece74701: Pulling fs layer [2022-12-26T01:40:23.832Z] 12d6caf4c0d1: Waiting [2022-12-26T01:40:23.832Z] 53926ce57604: Waiting [2022-12-26T01:40:23.832Z] 22ff95d597cd: Waiting [2022-12-26T01:40:23.832Z] 96b7cbca73a9: Waiting [2022-12-26T01:40:23.832Z] a7acece74701: Waiting [2022-12-26T01:40:23.832Z] 21b2b0c7a3f4: Waiting [2022-12-26T01:40:23.832Z] 93c1e223e6f2: Verifying Checksum [2022-12-26T01:40:23.832Z] 93c1e223e6f2: Download complete [2022-12-26T01:40:24.098Z] 4583459ba037: Download complete [2022-12-26T01:40:24.098Z] 21b2b0c7a3f4: Download complete [2022-12-26T01:40:24.098Z] 22ff95d597cd: Verifying Checksum [2022-12-26T01:40:24.098Z] 22ff95d597cd: Download complete [2022-12-26T01:40:24.098Z] 213ec9aee27d: Verifying Checksum [2022-12-26T01:40:24.098Z] 213ec9aee27d: Download complete [2022-12-26T01:40:24.098Z] 12d6caf4c0d1: Verifying Checksum [2022-12-26T01:40:24.098Z] 12d6caf4c0d1: Download complete [2022-12-26T01:40:24.098Z] 213ec9aee27d: Pull complete [2022-12-26T01:40:24.368Z] 4583459ba037: Pull complete [2022-12-26T01:40:24.368Z] 93c1e223e6f2: Pull complete [2022-12-26T01:40:24.644Z] a7acece74701: Verifying Checksum [2022-12-26T01:40:24.644Z] a7acece74701: Download complete [2022-12-26T01:40:24.909Z] 96b7cbca73a9: Verifying Checksum [2022-12-26T01:40:24.909Z] 96b7cbca73a9: Download complete [2022-12-26T01:40:24.909Z] 53926ce57604: Verifying Checksum [2022-12-26T01:40:24.909Z] 53926ce57604: Download complete [2022-12-26T01:40:29.118Z] 53926ce57604: Pull complete [2022-12-26T01:40:29.118Z] 21b2b0c7a3f4: Pull complete [2022-12-26T01:40:29.118Z] 22ff95d597cd: Pull complete [2022-12-26T01:40:29.118Z] 12d6caf4c0d1: Pull complete [2022-12-26T01:40:31.039Z] 96b7cbca73a9: Pull complete [2022-12-26T01:40:31.606Z] a7acece74701: Pull complete [2022-12-26T01:40:31.606Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-26T01:40:31.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-26T01:40:31.606Z] ---> db6d94c90886 [2022-12-26T01:40:31.606Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-26T01:40:36.897Z] ---> Running in c12925f14c07 [2022-12-26T01:40:36.952Z] Still waiting to schedule task [2022-12-26T01:40:36.952Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-498’ [2022-12-26T01:40:37.159Z] Removing intermediate container c12925f14c07 [2022-12-26T01:40:37.159Z] ---> 802d54665870 [2022-12-26T01:40:37.159Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-26T01:40:37.159Z] ---> Running in d34929564be2 [2022-12-26T01:40:37.159Z] Removing intermediate container d34929564be2 [2022-12-26T01:40:37.159Z] ---> 85f806cacc97 [2022-12-26T01:40:37.159Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-26T01:40:37.159Z] ---> Running in 55aa0ba741c1 [2022-12-26T01:40:37.418Z] Removing intermediate container 55aa0ba741c1 [2022-12-26T01:40:37.418Z] ---> c3337cb2179e [2022-12-26T01:40:37.418Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-26T01:40:37.418Z] ---> Running in 6d0bb7d858f2 [2022-12-26T01:40:37.418Z] Removing intermediate container 6d0bb7d858f2 [2022-12-26T01:40:37.418Z] ---> 09ad8065d248 [2022-12-26T01:40:37.418Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-26T01:40:37.418Z] ---> Running in d205f16ec0f3 [2022-12-26T01:40:37.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-26T01:40:37.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-26T01:40:38.198Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-26T01:40:38.198Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-26T01:40:38.198Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-26T01:40:38.198Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-26T01:40:38.198Z] Executing busybox-1.35.0-r17.trigger [2022-12-26T01:40:38.198Z] OK: 216 MiB in 55 packages [2022-12-26T01:40:38.767Z] Removing intermediate container d205f16ec0f3 [2022-12-26T01:40:38.767Z] ---> a4c8e7f8ff68 [2022-12-26T01:40:38.767Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-12-26T01:40:38.767Z] ---> Running in 0fc440671f56 [2022-12-26T01:40:38.767Z] Removing intermediate container 0fc440671f56 [2022-12-26T01:40:38.767Z] ---> a01b0163c018 [2022-12-26T01:40:38.767Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-26T01:40:39.026Z] ---> e8d7cfd12b00 [2022-12-26T01:40:39.026Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T01:40:39.026Z] ---> Running in 8226615958a7 [2022-12-26T01:41:25.739Z] Removing intermediate container 8226615958a7 [2022-12-26T01:41:25.739Z] ---> fbabe49e634f [2022-12-26T01:41:25.739Z] Step 11/12 : COPY . . [2022-12-26T01:41:25.739Z] ---> f390c50cbfbd [2022-12-26T01:41:25.740Z] Step 12/12 : RUN $MAKE [2022-12-26T01:41:25.740Z] ---> Running in 1cc880f4c9fc [2022-12-26T01:41:25.740Z] noop [2022-12-26T01:41:25.740Z] Removing intermediate container 1cc880f4c9fc [2022-12-26T01:41:25.740Z] ---> 263dd7a977e8 [2022-12-26T01:41:25.740Z] Successfully built 263dd7a977e8 [2022-12-26T01:41:25.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:41:26.182Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-26T01:41:26.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:41:26.418Z] prd-ubuntu20.04-docker-8c-8g-500 does not seem to be running inside a container [2022-12-26T01:41:26.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-442 -v /w/workspace/gexfoundry_device-mqtt-go_PR-442:/w/workspace/gexfoundry_device-mqtt-go_PR-442:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-26T01:41:26.775Z] $ docker top 60896a350273fd778a55e4abc1cb63eb31b9554fb6be4949ed26e28399dfcb92 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T01:41:27.213Z] + go version [2022-12-26T01:41:27.213Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-26T01:41:27.248Z] $ docker stop --time=1 60896a350273fd778a55e4abc1cb63eb31b9554fb6be4949ed26e28399dfcb92 [2022-12-26T01:41:28.518Z] $ docker rm -f --volumes 60896a350273fd778a55e4abc1cb63eb31b9554fb6be4949ed26e28399dfcb92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:41:29.185Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-26T01:41:29.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:41:29.340Z] prd-ubuntu20.04-docker-8c-8g-500 does not seem to be running inside a container [2022-12-26T01:41:29.375Z] $ 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-442 -v /w/workspace/gexfoundry_device-mqtt-go_PR-442:/w/workspace/gexfoundry_device-mqtt-go_PR-442:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-26T01:41:29.734Z] $ docker top ec79e1745012b8d69e45cf56e1b08ee849fb45226220ffc4c2d413663d669ae3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T01:41:30.112Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-442 [Pipeline] fileExists [Pipeline] sh [2022-12-26T01:41:30.463Z] + make test [2022-12-26T01:41:30.463Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-26T01:41:30.721Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-12-26T01:41:40.701Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-12-26T01:41:40.701Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-12-26T01:41:40.701Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-12-26T01:41:48.823Z] 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." [2022-12-26T01:41:48.823Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-26T01:41:51.459Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-26T01:41:51.459Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-26T01:41:51.459Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-26T01:41:51.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-26T01:41:51.538Z] $ docker stop --time=1 ec79e1745012b8d69e45cf56e1b08ee849fb45226220ffc4c2d413663d669ae3 [2022-12-26T01:41:54.113Z] $ docker rm -f --volumes ec79e1745012b8d69e45cf56e1b08ee849fb45226220ffc4c2d413663d669ae3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-26T01:41:54.616Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-26T01:41:54.680Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-26T01:41:55.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-26T01:41:55.697Z] + ls -al . [2022-12-26T01:41:55.697Z] total 192 [2022-12-26T01:41:55.697Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 26 01:41 . [2022-12-26T01:41:55.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 01:39 .. [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 26 01:39 .dockerignore [2022-12-26T01:41:55.697Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 26 01:41 .git [2022-12-26T01:41:55.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 01:39 .github [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 26 01:39 .gitignore [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 26 01:39 .golangci.yml [2022-12-26T01:41:55.697Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 26 01:40 .semver [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 9293 Dec 26 01:39 Attribution.txt [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 13162 Dec 26 01:39 CHANGELOG.md [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 1752 Dec 26 01:39 Dockerfile [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 26 01:39 GOVERNANCE.md [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 26 01:39 Jenkinsfile [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 26 01:39 LICENSE [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 2126 Dec 26 01:39 Makefile [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 26 01:39 OWNERS.md [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 3165 Dec 26 01:39 README.md [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 26 01:40 VERSION [2022-12-26T01:41:55.697Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 01:39 bin [2022-12-26T01:41:55.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 01:39 cmd [2022-12-26T01:41:55.697Z] -rw-r--r-- 1 jenkins jenkins 17887 Dec 26 01:41 coverage.out [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 3464 Dec 26 01:39 go.mod [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 26 01:39 go.sum [2022-12-26T01:41:55.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 01:39 internal [2022-12-26T01:41:55.697Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 01:39 mock [2022-12-26T01:41:55.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 01:39 snap [2022-12-26T01:41:55.697Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 26 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:41:56.151Z] + 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=bea4159d5f68b757ea272211aae084f38f64175f --label arch=amd64 --label version=0.0.0 . [2022-12-26T01:41:56.151Z] Sending build context to Docker daemon 6.318MB [2022-12-26T01:41:56.151Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T01:41:56.151Z] Step 2/24 : FROM ${BASE} AS builder [2022-12-26T01:41:56.151Z] ---> 263dd7a977e8 [2022-12-26T01:41:56.151Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-12-26T01:41:56.412Z] ---> Running in 865a64b6a53d [2022-12-26T01:41:56.412Z] Removing intermediate container 865a64b6a53d [2022-12-26T01:41:56.412Z] ---> 430d0a7cfa5d [2022-12-26T01:41:56.412Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-26T01:41:56.412Z] ---> Running in ecbd7b17f878 [2022-12-26T01:41:56.412Z] Removing intermediate container ecbd7b17f878 [2022-12-26T01:41:56.412Z] ---> 990e7262d7e9 [2022-12-26T01:41:56.412Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-26T01:41:56.412Z] ---> Running in 5888236a4a7a [2022-12-26T01:41:56.672Z] Removing intermediate container 5888236a4a7a [2022-12-26T01:41:56.672Z] ---> 23f46579875e [2022-12-26T01:41:56.672Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-12-26T01:41:56.672Z] ---> Running in b6bcaa4a1d0e [2022-12-26T01:41:56.672Z] Removing intermediate container b6bcaa4a1d0e [2022-12-26T01:41:56.672Z] ---> 385cabafe248 [2022-12-26T01:41:56.672Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-26T01:41:56.672Z] ---> Running in 348618f3d3d3 [2022-12-26T01:41:56.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-26T01:41:56.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-26T01:41:57.191Z] OK: 216 MiB in 55 packages [2022-12-26T01:41:57.762Z] Removing intermediate container 348618f3d3d3 [2022-12-26T01:41:57.762Z] ---> ad4026b61581 [2022-12-26T01:41:57.762Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-12-26T01:41:57.762Z] ---> Running in 1f581cb8cbe3 [2022-12-26T01:41:57.762Z] Removing intermediate container 1f581cb8cbe3 [2022-12-26T01:41:57.762Z] ---> 1741eeb3e4e4 [2022-12-26T01:41:57.762Z] Step 9/24 : COPY go.mod vendor* ./ [2022-12-26T01:41:57.762Z] ---> 9687c858f446 [2022-12-26T01:41:57.762Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T01:41:57.762Z] ---> Running in d9f9b5c5a912 [2022-12-26T01:41:58.832Z] Removing intermediate container d9f9b5c5a912 [2022-12-26T01:41:58.832Z] ---> 7a8c10f10b6a [2022-12-26T01:41:58.832Z] Step 11/24 : COPY . . [2022-12-26T01:41:59.092Z] ---> 53160d55070b [2022-12-26T01:41:59.092Z] Step 12/24 : RUN $MAKE [2022-12-26T01:41:59.092Z] ---> Running in 1b5141318f25 [2022-12-26T01:41:59.351Z] 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 [2022-12-26T01:42:26.185Z] Removing intermediate container 1b5141318f25 [2022-12-26T01:42:26.185Z] ---> 7df98ea2da54 [2022-12-26T01:42:26.185Z] Step 13/24 : FROM alpine:3.16 [2022-12-26T01:42:26.185Z] 3.16: Pulling from library/alpine [2022-12-26T01:42:26.185Z] ca7dd9ec2225: Pulling fs layer [2022-12-26T01:42:26.185Z] ca7dd9ec2225: Verifying Checksum [2022-12-26T01:42:26.185Z] ca7dd9ec2225: Download complete [2022-12-26T01:42:26.185Z] ca7dd9ec2225: Pull complete [2022-12-26T01:42:26.185Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-26T01:42:26.185Z] Status: Downloaded newer image for alpine:3.16 [2022-12-26T01:42:26.186Z] ---> bfe296a52501 [2022-12-26T01:42:26.186Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-12-26T01:42:26.186Z] ---> Running in 7fd4fcc602f0 [2022-12-26T01:42:26.186Z] Removing intermediate container 7fd4fcc602f0 [2022-12-26T01:42:26.186Z] ---> be816773f1ff [2022-12-26T01:42:26.186Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-26T01:42:26.186Z] ---> Running in 060b1ccae490 [2022-12-26T01:42:26.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-26T01:42:26.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-26T01:42:26.186Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-26T01:42:26.186Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-26T01:42:26.186Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-26T01:42:26.186Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-26T01:42:26.186Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-26T01:42:26.186Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-26T01:42:26.186Z] Executing busybox-1.35.0-r17.trigger [2022-12-26T01:42:26.186Z] OK: 8 MiB in 20 packages [2022-12-26T01:42:26.186Z] Removing intermediate container 060b1ccae490 [2022-12-26T01:42:26.186Z] ---> edbddfcc2fbd [2022-12-26T01:42:26.186Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-12-26T01:42:26.186Z] ---> 3192f1df0213 [2022-12-26T01:42:26.186Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-12-26T01:42:26.186Z] ---> d4fc9f038222 [2022-12-26T01:42:26.186Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-12-26T01:42:26.186Z] ---> 57f094ff1208 [2022-12-26T01:42:26.186Z] Step 19/24 : EXPOSE 59982 [2022-12-26T01:42:26.186Z] ---> Running in 179db223fbca [2022-12-26T01:42:26.186Z] Removing intermediate container 179db223fbca [2022-12-26T01:42:26.186Z] ---> 2c15ed1bb92a [2022-12-26T01:42:26.186Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-12-26T01:42:26.186Z] ---> Running in bbb42bb0c4e1 [2022-12-26T01:42:26.186Z] Removing intermediate container bbb42bb0c4e1 [2022-12-26T01:42:26.186Z] ---> bad3ca4413cd [2022-12-26T01:42:26.186Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-26T01:42:26.186Z] ---> Running in b8437734a901 [2022-12-26T01:42:26.186Z] Removing intermediate container b8437734a901 [2022-12-26T01:42:26.186Z] ---> e3075ec2b566 [2022-12-26T01:42:26.186Z] Step 22/24 : LABEL arch=amd64 [2022-12-26T01:42:26.186Z] ---> Running in 42f5acc2abfa [2022-12-26T01:42:26.186Z] Removing intermediate container 42f5acc2abfa [2022-12-26T01:42:26.186Z] ---> 91c099f6de04 [2022-12-26T01:42:26.186Z] Step 23/24 : LABEL git_sha=bea4159d5f68b757ea272211aae084f38f64175f [2022-12-26T01:42:26.186Z] ---> Running in 581292e622f4 [2022-12-26T01:42:26.186Z] Removing intermediate container 581292e622f4 [2022-12-26T01:42:26.186Z] ---> 8a3e2288f267 [2022-12-26T01:42:26.186Z] Step 24/24 : LABEL version=0.0.0 [2022-12-26T01:42:26.186Z] ---> Running in 5bac11222577 [2022-12-26T01:42:26.186Z] Removing intermediate container 5bac11222577 [2022-12-26T01:42:26.186Z] ---> 77f0d0896d9b [2022-12-26T01:42:26.186Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-26T01:42:26.186Z] Successfully built 77f0d0896d9b [2022-12-26T01:42:26.186Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:42:27.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T01:42:27.060Z] [2022-12-26T01:42:27.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:42:27.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T01:42:27.447Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-26T01:42:27.447Z] 5eb5b503b376: Pulling fs layer [2022-12-26T01:42:27.447Z] 5c69ac0246d0: Pulling fs layer [2022-12-26T01:42:27.447Z] ec43610c2a17: Pulling fs layer [2022-12-26T01:42:27.447Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-26T01:42:27.447Z] 33b1e0a273af: Pulling fs layer [2022-12-26T01:42:27.447Z] 5d3b04190fa2: Pulling fs layer [2022-12-26T01:42:27.447Z] 2f39f015ded8: Pulling fs layer [2022-12-26T01:42:27.447Z] 3a2ae6a8a46f: Waiting [2022-12-26T01:42:27.447Z] 33b1e0a273af: Waiting [2022-12-26T01:42:27.447Z] 2f39f015ded8: Waiting [2022-12-26T01:42:27.447Z] 5d3b04190fa2: Waiting [2022-12-26T01:42:27.447Z] 5c69ac0246d0: Download complete [2022-12-26T01:42:27.447Z] 3a2ae6a8a46f: Download complete [2022-12-26T01:42:27.447Z] 33b1e0a273af: Verifying Checksum [2022-12-26T01:42:27.447Z] 33b1e0a273af: Download complete [2022-12-26T01:42:27.447Z] 5d3b04190fa2: Verifying Checksum [2022-12-26T01:42:27.447Z] 5d3b04190fa2: Download complete [2022-12-26T01:42:27.709Z] ec43610c2a17: Download complete [2022-12-26T01:42:27.709Z] 5eb5b503b376: Verifying Checksum [2022-12-26T01:42:27.709Z] 5eb5b503b376: Download complete [2022-12-26T01:42:28.644Z] 2f39f015ded8: Download complete [2022-12-26T01:42:29.210Z] 5eb5b503b376: Pull complete [2022-12-26T01:42:29.210Z] 5c69ac0246d0: Pull complete [2022-12-26T01:42:29.779Z] ec43610c2a17: Pull complete [2022-12-26T01:42:29.779Z] 3a2ae6a8a46f: Pull complete [2022-12-26T01:42:30.039Z] 33b1e0a273af: Pull complete [2022-12-26T01:42:30.039Z] 5d3b04190fa2: Pull complete [2022-12-26T01:42:35.309Z] 2f39f015ded8: Pull complete [2022-12-26T01:42:35.309Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-26T01:42:35.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T01:42:35.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:42:35.535Z] prd-ubuntu20.04-docker-8c-8g-500 does not seem to be running inside a container [2022-12-26T01:42:35.574Z] $ 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-442 -v /w/workspace/gexfoundry_device-mqtt-go_PR-442:/w/workspace/gexfoundry_device-mqtt-go_PR-442:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-26T01:42:40.395Z] $ docker top 55a4ff50c1efcad12c76a3426a950aada5162f75929b20155282411d02ff29ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:42:40.869Z] ---> job-cost.sh [2022-12-26T01:42:40.869Z] lf-activate-venv: SKIPPING [2022-12-26T01:42:40.869Z] INFO: No Stack... [2022-12-26T01:42:41.438Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-26T01:42:41.698Z] INFO: Archiving Costs [Pipeline] sh [2022-12-26T01:42:42.018Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives/cost.csv [2022-12-26T01:42:42.018Z] + cut -d, -f6 [Pipeline] lock [2022-12-26T01:42:42.059Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] [2022-12-26T01:42:42.064Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] did not exist. Created. [2022-12-26T01:42:42.064Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-26T01:42:42.449Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-26T01:42:42.500Z] Stashed 1 file(s) [Pipeline] } [2022-12-26T01:42:42.523Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-26T01:42:42.614Z] $ docker stop --time=1 55a4ff50c1efcad12c76a3426a950aada5162f75929b20155282411d02ff29ad [2022-12-26T01:42:43.773Z] $ docker rm -f --volumes 55a4ff50c1efcad12c76a3426a950aada5162f75929b20155282411d02ff29ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-26T01:44:02.565Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-501 in /w/workspace/gexfoundry_device-mqtt-go_PR-442 [Pipeline] { [Pipeline] ws [2022-12-26T01:44:02.622Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-12-26T01:44:02.708Z] Selected Git installation does not exist. Using Default [2022-12-26T01:44:02.708Z] The recommended git tool is: NONE [2022-12-26T01:44:07.862Z] using credential edgex-jenkins-ssh [2022-12-26T01:44:07.876Z] Cloning the remote Git repository [2022-12-26T01:44:07.915Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-26T01:44:07.982Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-12-26T01:44:08.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-26T01:44:08.120Z] > git --version # timeout=10 [2022-12-26T01:44:08.137Z] > git --version # 'git version 2.25.1' [2022-12-26T01:44:08.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-26T01:44:08.194Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-26T01:44:09.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-12-26T01:44:09.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-26T01:44:10.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-12-26T01:44:10.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-12-26T01:44:10.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-26T01:44:10.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-26T01:44:10.607Z] Merging remotes/origin/main commit 2c0ad64fa4012812b904ce8a048042a45883a5b2 into PR head commit bea4159d5f68b757ea272211aae084f38f64175f [2022-12-26T01:44:10.811Z] Merge succeeded, producing bea4159d5f68b757ea272211aae084f38f64175f [2022-12-26T01:44:10.811Z] Checking out Revision bea4159d5f68b757ea272211aae084f38f64175f (PR-442) [2022-12-26T01:44:11.250Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2022-12-26T01:44:11.301Z] > git --version # timeout=10 [2022-12-26T01:44:11.313Z] > git --version # 'git version 2.25.1' [2022-12-26T01:44:11.328Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-26T01:44:10.623Z] > git config core.sparsecheckout # timeout=10 [2022-12-26T01:44:10.642Z] > git checkout -f bea4159d5f68b757ea272211aae084f38f64175f # timeout=10 [2022-12-26T01:44:10.720Z] > git remote # timeout=10 [2022-12-26T01:44:10.735Z] > git config --get remote.origin.url # timeout=10 [2022-12-26T01:44:10.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-26T01:44:10.764Z] > git merge 2c0ad64fa4012812b904ce8a048042a45883a5b2 # timeout=10 [2022-12-26T01:44:10.794Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-26T01:44:10.817Z] > git config core.sparsecheckout # timeout=10 [2022-12-26T01:44:10.830Z] > git checkout -f bea4159d5f68b757ea272211aae084f38f64175f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-26T01:44:12.564Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-26T01:44:12.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-26T01:44:12.564Z] Dload Upload Total Spent Left Speed [2022-12-26T01:44:12.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2022-12-26T01:44:13.097Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-26T01:44:13.442Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-26T01:44:13.442Z] + sudo tee /etc/docker/daemon.new [2022-12-26T01:44:13.442Z] { [2022-12-26T01:44:13.442Z] "registry-mirrors": [ [2022-12-26T01:44:13.442Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-26T01:44:13.442Z] ], [2022-12-26T01:44:13.442Z] "bip": "10.250.0.254/24", [2022-12-26T01:44:13.442Z] "hosts": [ [2022-12-26T01:44:13.442Z] "tcp://0.0.0.0:5555", [2022-12-26T01:44:13.442Z] "unix:///var/run/docker.sock" [2022-12-26T01:44:13.442Z] ], [2022-12-26T01:44:13.442Z] "mtu": 1458, [2022-12-26T01:44:13.442Z] "selinux-enabled": true, [2022-12-26T01:44:13.442Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-26T01:44:13.442Z] } [Pipeline] sh [2022-12-26T01:44:13.780Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-26T01:44:14.131Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T01:44:32.449Z] provisioning config files... [2022-12-26T01:44:32.479Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config364382422266619867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:44:32.878Z] ---> docker-login.sh [2022-12-26T01:44:32.878Z] nexus3.edgexfoundry.org:10001 [2022-12-26T01:44:33.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:44:33.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:44:33.422Z] Configure a credential helper to remove this warning. See [2022-12-26T01:44:33.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:44:33.422Z] [2022-12-26T01:44:33.422Z] Login Succeeded [2022-12-26T01:44:33.422Z] nexus3.edgexfoundry.org:10002 [2022-12-26T01:44:33.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:44:33.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:44:33.960Z] Configure a credential helper to remove this warning. See [2022-12-26T01:44:33.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:44:33.960Z] [2022-12-26T01:44:33.960Z] Login Succeeded [2022-12-26T01:44:33.960Z] nexus3.edgexfoundry.org:10003 [2022-12-26T01:44:33.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:44:34.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:44:34.235Z] Configure a credential helper to remove this warning. See [2022-12-26T01:44:34.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:44:34.235Z] [2022-12-26T01:44:34.235Z] Login Succeeded [2022-12-26T01:44:34.235Z] nexus3.edgexfoundry.org:10004 [2022-12-26T01:44:34.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:44:34.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:44:34.507Z] Configure a credential helper to remove this warning. See [2022-12-26T01:44:34.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:44:34.507Z] [2022-12-26T01:44:34.507Z] Login Succeeded [2022-12-26T01:44:34.507Z] docker.io [2022-12-26T01:44:34.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-26T01:44:35.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-26T01:44:35.047Z] Configure a credential helper to remove this warning. See [2022-12-26T01:44:35.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-26T01:44:35.047Z] [2022-12-26T01:44:35.047Z] Login Succeeded [2022-12-26T01:44:35.047Z] ---> docker-login.sh ends [Pipeline] } [2022-12-26T01:44:35.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-26T01:44:35.441Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T01:44:35.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-26T01:44:35.513Z] ========================================================= [2022-12-26T01:44:35.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-26T01:44:35.513Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:44:36.028Z] + 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 . [2022-12-26T01:44:36.297Z] Sending build context to Docker daemon 3.257MB [2022-12-26T01:44:36.297Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T01:44:36.297Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-26T01:44:36.570Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-26T01:44:36.570Z] 9b18e9b68314: Pulling fs layer [2022-12-26T01:44:36.570Z] 35d82f9e3411: Pulling fs layer [2022-12-26T01:44:36.570Z] e16973657156: Pulling fs layer [2022-12-26T01:44:36.570Z] fc693d55d65f: Pulling fs layer [2022-12-26T01:44:36.570Z] 7e9fc2657dce: Pulling fs layer [2022-12-26T01:44:36.570Z] dda99020689f: Pulling fs layer [2022-12-26T01:44:36.570Z] db1c61fa0a46: Pulling fs layer [2022-12-26T01:44:36.570Z] 891c053d2c06: Pulling fs layer [2022-12-26T01:44:36.570Z] 7e9fc2657dce: Waiting [2022-12-26T01:44:36.570Z] fc693d55d65f: Waiting [2022-12-26T01:44:36.570Z] dda99020689f: Waiting [2022-12-26T01:44:36.570Z] db1c61fa0a46: Waiting [2022-12-26T01:44:36.570Z] 891c053d2c06: Waiting [2022-12-26T01:44:36.570Z] e16973657156: Verifying Checksum [2022-12-26T01:44:36.570Z] e16973657156: Download complete [2022-12-26T01:44:36.570Z] 35d82f9e3411: Verifying Checksum [2022-12-26T01:44:36.570Z] 35d82f9e3411: Download complete [2022-12-26T01:44:36.570Z] 7e9fc2657dce: Verifying Checksum [2022-12-26T01:44:36.570Z] 7e9fc2657dce: Download complete [2022-12-26T01:44:36.570Z] 9b18e9b68314: Verifying Checksum [2022-12-26T01:44:36.570Z] 9b18e9b68314: Download complete [2022-12-26T01:44:36.570Z] dda99020689f: Verifying Checksum [2022-12-26T01:44:36.570Z] dda99020689f: Download complete [2022-12-26T01:44:37.563Z] 891c053d2c06: Verifying Checksum [2022-12-26T01:44:37.563Z] 891c053d2c06: Download complete [2022-12-26T01:44:38.164Z] 9b18e9b68314: Pull complete [2022-12-26T01:44:38.766Z] 35d82f9e3411: Pull complete [2022-12-26T01:44:39.037Z] db1c61fa0a46: Verifying Checksum [2022-12-26T01:44:39.037Z] db1c61fa0a46: Download complete [2022-12-26T01:44:39.037Z] e16973657156: Pull complete [2022-12-26T01:44:39.627Z] fc693d55d65f: Verifying Checksum [2022-12-26T01:44:39.627Z] fc693d55d65f: Download complete [2022-12-26T01:44:51.961Z] fc693d55d65f: Pull complete [2022-12-26T01:44:51.961Z] 7e9fc2657dce: Pull complete [2022-12-26T01:44:51.961Z] dda99020689f: Pull complete [2022-12-26T01:44:58.671Z] db1c61fa0a46: Pull complete [2022-12-26T01:45:00.246Z] 891c053d2c06: Pull complete [2022-12-26T01:45:00.246Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-26T01:45:00.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-26T01:45:00.246Z] ---> f96f9c87975a [2022-12-26T01:45:00.246Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-26T01:45:02.217Z] ---> Running in 6904b370f651 [2022-12-26T01:45:02.217Z] Removing intermediate container 6904b370f651 [2022-12-26T01:45:02.217Z] ---> c57ae2f82e19 [2022-12-26T01:45:02.217Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-26T01:45:02.217Z] ---> Running in 822caec59587 [2022-12-26T01:45:02.802Z] Removing intermediate container 822caec59587 [2022-12-26T01:45:02.802Z] ---> 819515d83fa1 [2022-12-26T01:45:02.802Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-26T01:45:02.802Z] ---> Running in f861ddd5c049 [2022-12-26T01:45:03.071Z] Removing intermediate container f861ddd5c049 [2022-12-26T01:45:03.071Z] ---> 275557936ffc [2022-12-26T01:45:03.071Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-26T01:45:03.071Z] ---> Running in 00db0b6b1f0e [2022-12-26T01:45:03.346Z] Removing intermediate container 00db0b6b1f0e [2022-12-26T01:45:03.346Z] ---> 35ef386fd773 [2022-12-26T01:45:03.346Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-26T01:45:03.619Z] ---> Running in cf40ec21d3fb [2022-12-26T01:45:04.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-26T01:45:04.855Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-26T01:45:05.816Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-26T01:45:05.816Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-26T01:45:05.816Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-26T01:45:06.085Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-26T01:45:06.085Z] Executing busybox-1.35.0-r17.trigger [2022-12-26T01:45:06.085Z] OK: 226 MiB in 55 packages [2022-12-26T01:45:07.054Z] Removing intermediate container cf40ec21d3fb [2022-12-26T01:45:07.054Z] ---> 252660f34839 [2022-12-26T01:45:07.054Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-12-26T01:45:07.054Z] ---> Running in b8fd41dbe018 [2022-12-26T01:45:07.321Z] Removing intermediate container b8fd41dbe018 [2022-12-26T01:45:07.321Z] ---> 1e82599ed9ce [2022-12-26T01:45:07.321Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-26T01:45:07.908Z] ---> 3db78699d8a1 [2022-12-26T01:45:07.908Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T01:45:07.908Z] ---> Running in 995afd81d5a5 [2022-12-26T01:46:04.344Z] Removing intermediate container 995afd81d5a5 [2022-12-26T01:46:04.344Z] ---> 00281d4c13fe [2022-12-26T01:46:04.344Z] Step 11/12 : COPY . . [2022-12-26T01:46:04.344Z] ---> d9dcf386384a [2022-12-26T01:46:04.344Z] Step 12/12 : RUN $MAKE [2022-12-26T01:46:04.344Z] ---> Running in bb4a00919564 [2022-12-26T01:46:04.344Z] noop [2022-12-26T01:46:04.344Z] Removing intermediate container bb4a00919564 [2022-12-26T01:46:04.344Z] ---> e8479220ab4f [2022-12-26T01:46:04.344Z] Successfully built e8479220ab4f [2022-12-26T01:46:04.344Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:46:04.829Z] + docker inspect -f . ci-base-image-arm64 [2022-12-26T01:46:04.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:46:05.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-501 does not seem to be running inside a container [2022-12-26T01:46:05.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-26T01:46:06.555Z] $ docker top bcaead224802725773893d850c3c96beaa193177b5ec48d3a07dcc41a85c1eaa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T01:46:07.428Z] + go version [2022-12-26T01:46:07.428Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-26T01:46:07.464Z] $ docker stop --time=1 bcaead224802725773893d850c3c96beaa193177b5ec48d3a07dcc41a85c1eaa [2022-12-26T01:46:09.127Z] $ docker rm -f --volumes bcaead224802725773893d850c3c96beaa193177b5ec48d3a07dcc41a85c1eaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:46:09.947Z] + docker inspect -f . ci-base-image-arm64 [2022-12-26T01:46:09.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:46:10.195Z] prd-ubuntu20.04-docker-arm64-4c-16g-501 does not seem to be running inside a container [2022-12-26T01:46:10.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-26T01:46:11.451Z] $ docker top f3aea08299c1c1cff7e35519e80f8609264afae34c001a3b915a645130408e20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T01:46:12.339Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-12-26T01:46:13.048Z] + make test [2022-12-26T01:46:13.048Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-26T01:46:14.466Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-12-26T01:47:36.086Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-12-26T01:47:36.087Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-12-26T01:47:36.087Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-12-26T01:47:36.087Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-26T01:47:36.087Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-26T01:47:58.182Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-26T01:47:58.182Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-26T01:47:58.182Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-26T01:47:58.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-26T01:47:58.258Z] $ docker stop --time=1 f3aea08299c1c1cff7e35519e80f8609264afae34c001a3b915a645130408e20 [2022-12-26T01:48:00.031Z] $ docker rm -f --volumes f3aea08299c1c1cff7e35519e80f8609264afae34c001a3b915a645130408e20 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-26T01:48:01.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-26T01:48:01.076Z] Warning: overwriting stash ‘coverage-report’ [2022-12-26T01:48:01.556Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-26T01:48:02.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-26T01:48:02.479Z] + ls -al . [2022-12-26T01:48:02.479Z] total 188 [2022-12-26T01:48:02.479Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 26 01:46 . [2022-12-26T01:48:02.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 01:44 .. [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 26 01:44 .dockerignore [2022-12-26T01:48:02.479Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 26 01:44 .git [2022-12-26T01:48:02.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 01:44 .github [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 26 01:44 .gitignore [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 26 01:44 .golangci.yml [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 9293 Dec 26 01:44 Attribution.txt [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 13162 Dec 26 01:44 CHANGELOG.md [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 1752 Dec 26 01:44 Dockerfile [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 26 01:44 GOVERNANCE.md [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 678 Dec 26 01:44 Jenkinsfile [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 26 01:44 LICENSE [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 2126 Dec 26 01:44 Makefile [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 26 01:44 OWNERS.md [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 3165 Dec 26 01:44 README.md [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 26 01:40 VERSION [2022-12-26T01:48:02.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 01:44 bin [2022-12-26T01:48:02.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 01:44 cmd [2022-12-26T01:48:02.479Z] -rw-r--r-- 1 jenkins jenkins 17887 Dec 26 01:47 coverage.out [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 3464 Dec 26 01:44 go.mod [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 45013 Dec 26 01:44 go.sum [2022-12-26T01:48:02.479Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 26 01:44 internal [2022-12-26T01:48:02.479Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 26 01:44 mock [2022-12-26T01:48:02.479Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 26 01:44 snap [2022-12-26T01:48:02.479Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 26 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:48:02.899Z] + 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=bea4159d5f68b757ea272211aae084f38f64175f --label arch=arm64 --label version=0.0.0 . [2022-12-26T01:48:03.168Z] Sending build context to Docker daemon 3.276MB [2022-12-26T01:48:03.168Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-12-26T01:48:03.168Z] Step 2/24 : FROM ${BASE} AS builder [2022-12-26T01:48:03.168Z] ---> e8479220ab4f [2022-12-26T01:48:03.168Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-12-26T01:48:03.438Z] ---> Running in 4733b14d5980 [2022-12-26T01:48:03.707Z] Removing intermediate container 4733b14d5980 [2022-12-26T01:48:03.707Z] ---> 3e04885b2f1c [2022-12-26T01:48:03.707Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-26T01:48:03.707Z] ---> Running in 8428efd6f7fe [2022-12-26T01:48:03.975Z] Removing intermediate container 8428efd6f7fe [2022-12-26T01:48:03.975Z] ---> 3d667cb2bbfa [2022-12-26T01:48:03.975Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-26T01:48:04.246Z] ---> Running in 591c60e4e6c7 [2022-12-26T01:48:04.514Z] Removing intermediate container 591c60e4e6c7 [2022-12-26T01:48:04.514Z] ---> 82befa099b6d [2022-12-26T01:48:04.514Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-12-26T01:48:04.514Z] ---> Running in 3d5f20d66a46 [2022-12-26T01:48:04.786Z] Removing intermediate container 3d5f20d66a46 [2022-12-26T01:48:04.786Z] ---> fb6cc6dae734 [2022-12-26T01:48:04.786Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-26T01:48:04.786Z] ---> Running in 40e9f39e21ea [2022-12-26T01:48:06.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-26T01:48:06.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-26T01:48:07.167Z] OK: 226 MiB in 55 packages [2022-12-26T01:48:08.132Z] Removing intermediate container 40e9f39e21ea [2022-12-26T01:48:08.132Z] ---> 6edeb47e16b7 [2022-12-26T01:48:08.132Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-12-26T01:48:08.132Z] ---> Running in c34890c29051 [2022-12-26T01:48:08.401Z] Removing intermediate container c34890c29051 [2022-12-26T01:48:08.401Z] ---> ef178313e7f3 [2022-12-26T01:48:08.401Z] Step 9/24 : COPY go.mod vendor* ./ [2022-12-26T01:48:08.983Z] ---> 852570eb48df [2022-12-26T01:48:08.983Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-26T01:48:08.983Z] ---> Running in a30bc7b3f4fb [2022-12-26T01:48:10.931Z] Removing intermediate container a30bc7b3f4fb [2022-12-26T01:48:10.931Z] ---> 3bb2af1ae775 [2022-12-26T01:48:10.931Z] Step 11/24 : COPY . . [2022-12-26T01:48:11.897Z] ---> 9ab45619aed7 [2022-12-26T01:48:11.897Z] Step 12/24 : RUN $MAKE [2022-12-26T01:48:11.897Z] ---> Running in 9b19fbe8d2ee [2022-12-26T01:48:12.864Z] 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 [2022-12-26T01:50:49.600Z] Removing intermediate container 9b19fbe8d2ee [2022-12-26T01:50:49.600Z] ---> 5a9277e64dc0 [2022-12-26T01:50:49.600Z] Step 13/24 : FROM alpine:3.16 [2022-12-26T01:50:49.600Z] 3.16: Pulling from library/alpine [2022-12-26T01:50:49.600Z] 6875df1f5354: Pulling fs layer [2022-12-26T01:50:49.600Z] 6875df1f5354: Verifying Checksum [2022-12-26T01:50:49.600Z] 6875df1f5354: Download complete [2022-12-26T01:50:49.600Z] 6875df1f5354: Pull complete [2022-12-26T01:50:49.600Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-26T01:50:49.600Z] Status: Downloaded newer image for alpine:3.16 [2022-12-26T01:50:49.600Z] ---> 2b4661558fb8 [2022-12-26T01:50:49.600Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-12-26T01:50:49.600Z] ---> Running in 1c16ad599e99 [2022-12-26T01:50:49.600Z] Removing intermediate container 1c16ad599e99 [2022-12-26T01:50:49.600Z] ---> 42a6b70938b5 [2022-12-26T01:50:49.600Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-12-26T01:50:49.600Z] ---> Running in cdb0d7a1d50e [2022-12-26T01:50:49.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-26T01:50:49.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-26T01:50:49.600Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-12-26T01:50:49.600Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-12-26T01:50:49.600Z] (3/6) Installing libsodium (1.0.18-r0) [2022-12-26T01:50:49.600Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-26T01:50:49.600Z] (5/6) Installing libzmq (4.3.4-r0) [2022-12-26T01:50:49.600Z] (6/6) Installing zeromq (4.3.4-r0) [2022-12-26T01:50:49.600Z] Executing busybox-1.35.0-r17.trigger [2022-12-26T01:50:49.600Z] OK: 8 MiB in 20 packages [2022-12-26T01:50:49.600Z] Removing intermediate container cdb0d7a1d50e [2022-12-26T01:50:49.600Z] ---> 5405bb8d2b96 [2022-12-26T01:50:49.600Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-12-26T01:50:49.600Z] ---> bfaed07880e3 [2022-12-26T01:50:49.600Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-12-26T01:50:49.600Z] ---> c18a0eca8fb4 [2022-12-26T01:50:49.600Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-12-26T01:50:49.600Z] ---> c305b66f33d8 [2022-12-26T01:50:49.600Z] Step 19/24 : EXPOSE 59982 [2022-12-26T01:50:49.868Z] ---> Running in cd0ee75e0d57 [2022-12-26T01:50:50.137Z] Removing intermediate container cd0ee75e0d57 [2022-12-26T01:50:50.137Z] ---> e8114bd695d4 [2022-12-26T01:50:50.137Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-12-26T01:50:50.410Z] ---> Running in 85f704cfe399 [2022-12-26T01:50:50.679Z] Removing intermediate container 85f704cfe399 [2022-12-26T01:50:50.679Z] ---> 598ad409ae5f [2022-12-26T01:50:50.679Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-26T01:50:50.679Z] ---> Running in 2a54de28e98f [2022-12-26T01:50:50.946Z] Removing intermediate container 2a54de28e98f [2022-12-26T01:50:50.946Z] ---> 3dd95059256d [2022-12-26T01:50:50.946Z] Step 22/24 : LABEL arch=arm64 [2022-12-26T01:50:50.946Z] ---> Running in fe7d33d61239 [2022-12-26T01:50:51.213Z] Removing intermediate container fe7d33d61239 [2022-12-26T01:50:51.213Z] ---> 30b6fdc0823b [2022-12-26T01:50:51.213Z] Step 23/24 : LABEL git_sha=bea4159d5f68b757ea272211aae084f38f64175f [2022-12-26T01:50:51.213Z] ---> Running in 456fbb4837f8 [2022-12-26T01:50:51.798Z] Removing intermediate container 456fbb4837f8 [2022-12-26T01:50:51.798Z] ---> 9a1c316d7edb [2022-12-26T01:50:51.798Z] Step 24/24 : LABEL version=0.0.0 [2022-12-26T01:50:51.798Z] ---> Running in 6851541e2357 [2022-12-26T01:50:52.066Z] Removing intermediate container 6851541e2357 [2022-12-26T01:50:52.066Z] ---> b171b94081cf [2022-12-26T01:50:52.066Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-26T01:50:52.066Z] Successfully built b171b94081cf [2022-12-26T01:50:52.066Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:50:52.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-26T01:50:52.850Z] [2022-12-26T01:50:52.850Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:50:53.254Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-26T01:50:53.254Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-26T01:50:53.254Z] 8998bd30e6a1: Pulling fs layer [2022-12-26T01:50:53.254Z] 04944245beec: Pulling fs layer [2022-12-26T01:50:53.254Z] 699f458cf7ca: Pulling fs layer [2022-12-26T01:50:53.254Z] 765212b225bb: Pulling fs layer [2022-12-26T01:50:53.254Z] f23df028b6ca: Pulling fs layer [2022-12-26T01:50:53.254Z] d65c8cfc05b1: Pulling fs layer [2022-12-26T01:50:53.254Z] 2437ff75d9bd: Pulling fs layer [2022-12-26T01:50:53.254Z] f23df028b6ca: Waiting [2022-12-26T01:50:53.254Z] d65c8cfc05b1: Waiting [2022-12-26T01:50:53.254Z] 2437ff75d9bd: Waiting [2022-12-26T01:50:53.254Z] 765212b225bb: Waiting [2022-12-26T01:50:53.523Z] 04944245beec: Verifying Checksum [2022-12-26T01:50:53.523Z] 04944245beec: Download complete [2022-12-26T01:50:53.523Z] 765212b225bb: Verifying Checksum [2022-12-26T01:50:53.523Z] 765212b225bb: Download complete [2022-12-26T01:50:53.523Z] f23df028b6ca: Verifying Checksum [2022-12-26T01:50:53.523Z] f23df028b6ca: Download complete [2022-12-26T01:50:53.523Z] d65c8cfc05b1: Verifying Checksum [2022-12-26T01:50:53.523Z] d65c8cfc05b1: Download complete [2022-12-26T01:50:53.523Z] 699f458cf7ca: Verifying Checksum [2022-12-26T01:50:53.523Z] 699f458cf7ca: Download complete [2022-12-26T01:50:54.116Z] 8998bd30e6a1: Verifying Checksum [2022-12-26T01:50:54.116Z] 8998bd30e6a1: Download complete [2022-12-26T01:50:56.059Z] 2437ff75d9bd: Download complete [2022-12-26T01:50:57.479Z] 8998bd30e6a1: Pull complete [2022-12-26T01:50:58.067Z] 04944245beec: Pull complete [2022-12-26T01:50:59.475Z] 699f458cf7ca: Pull complete [2022-12-26T01:50:59.475Z] 765212b225bb: Pull complete [2022-12-26T01:51:00.062Z] f23df028b6ca: Pull complete [2022-12-26T01:51:00.330Z] d65c8cfc05b1: Pull complete [2022-12-26T01:51:12.645Z] 2437ff75d9bd: Pull complete [2022-12-26T01:51:12.645Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-26T01:51:12.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-26T01:51:12.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:51:13.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-501 does not seem to be running inside a container [2022-12-26T01:51:13.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-26T01:51:15.892Z] $ docker top 1c8e032af9183f981eb8997c2919f56bee344784dedcb69e0d6b46073f056fe8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:16.800Z] ---> job-cost.sh [2022-12-26T01:51:16.800Z] lf-activate-venv: SKIPPING [2022-12-26T01:51:16.800Z] INFO: No Stack... [2022-12-26T01:51:17.069Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-26T01:51:18.039Z] INFO: Archiving Costs [Pipeline] sh [2022-12-26T01:51:18.384Z] + cut -d, -f6 [2022-12-26T01:51:18.384Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-12-26T01:51:18.745Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] [2022-12-26T01:51:18.749Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] did not exist. Created. [2022-12-26T01:51:18.749Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-26T01:51:19.162Z] /w/workspace/device-mqtt-go/1@tmp/durable-d205ea18/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-26T01:51:19.519Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-26T01:51:19.570Z] Warning: overwriting stash ‘stack-cost’ [2022-12-26T01:51:19.615Z] Stashed 1 file(s) [Pipeline] } [2022-12-26T01:51:19.630Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-442-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-26T01:51:19.720Z] $ docker stop --time=1 1c8e032af9183f981eb8997c2919f56bee344784dedcb69e0d6b46073f056fe8 [2022-12-26T01:51:21.222Z] $ docker rm -f --volumes 1c8e032af9183f981eb8997c2919f56bee344784dedcb69e0d6b46073f056fe8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-26T01:51:22.205Z] provisioning config files... [2022-12-26T01:51:22.212Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/config2355773149025153478tmp [Pipeline] { [Pipeline] sh [2022-12-26T01:51:22.549Z] + set +x [2022-12-26T01:51:22.549Z] + curl -s https://codecov.io/bash [2022-12-26T01:51:22.549Z] + bash -s -- [2022-12-26T01:51:22.549Z] [2022-12-26T01:51:22.549Z] _____ _ [2022-12-26T01:51:22.549Z] / ____| | | [2022-12-26T01:51:22.549Z] | | ___ __| | ___ ___ _____ __ [2022-12-26T01:51:22.549Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-26T01:51:22.549Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-26T01:51:22.549Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-26T01:51:22.549Z] Bash-1.0.6 [2022-12-26T01:51:22.549Z] [2022-12-26T01:51:22.549Z] [2022-12-26T01:51:22.549Z] ==> git version 2.25.1 found [2022-12-26T01:51:22.549Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-26T01:51:22.549Z] Release-Date: 2020-01-08 [2022-12-26T01:51:22.549Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-26T01:51:22.549Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-26T01:51:22.549Z] ==> Jenkins CI detected. [2022-12-26T01:51:22.549Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-442 [2022-12-26T01:51:22.549Z] project root: . [2022-12-26T01:51:22.549Z] --> token set from env [2022-12-26T01:51:22.549Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-26T01:51:22.549Z] ==> Running gcov in . (disable via -X gcov) [2022-12-26T01:51:22.549Z] ==> Python coveragepy not found [2022-12-26T01:51:22.549Z] ==> Searching for coverage reports in: [2022-12-26T01:51:22.549Z] + . [2022-12-26T01:51:22.549Z] -> Found 1 reports [2022-12-26T01:51:22.549Z] ==> Detecting git/mercurial file structure [2022-12-26T01:51:22.808Z] ==> Reading reports [2022-12-26T01:51:22.808Z] + ./coverage.out bytes=17887 [2022-12-26T01:51:22.808Z] ==> Appending adjustments [2022-12-26T01:51:22.808Z] https://docs.codecov.io/docs/fixing-reports [2022-12-26T01:51:22.808Z] + Found adjustments [2022-12-26T01:51:22.808Z] ==> Gzipping contents [2022-12-26T01:51:22.808Z] 4.0K /tmp/codecov.ZVlxnp.gz [2022-12-26T01:51:22.808Z] ==> Uploading reports [2022-12-26T01:51:22.808Z] url: https://codecov.io [2022-12-26T01:51:22.808Z] query: branch=PR-442&commit=bea4159d5f68b757ea272211aae084f38f64175f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-442%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=442&job=&cmd_args= [2022-12-26T01:51:22.808Z] -> Pinging Codecov [2022-12-26T01:51:22.808Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-442&commit=bea4159d5f68b757ea272211aae084f38f64175f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-442%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=442&job=&cmd_args= [2022-12-26T01:51:23.067Z] -> Uploading to [2022-12-26T01:51:23.067Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-26/7D719EC7BBE17E464838252E33014C33/bea4159d5f68b757ea272211aae084f38f64175f/280e7902-4ccb-4014-b6be-13fffb2f112e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221226%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221226T015122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1405895ce430fd2d5f4924ca0f5593ed99cc52a9914603cbd1c921a3e88a70b [2022-12-26T01:51:23.067Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-26T01:51:23.067Z] Dload Upload Total Spent Left Speed [2022-12-26T01:51:23.327Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13834 --:--:-- --:--:-- --:--:-- 13834 [2022-12-26T01:51:23.327Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/bea4159d5f68b757ea272211aae084f38f64175f [Pipeline] } [2022-12-26T01:51:23.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-26T01:51:25.330Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives ] [2022-12-26T01:51:25.330Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives [2022-12-26T01:51:25.330Z] total 16 [2022-12-26T01:51:25.330Z] drwxr-xr-x 3 root root 4096 Dec 26 01:42 . [2022-12-26T01:51:25.330Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 26 01:42 .. [2022-12-26T01:51:25.330Z] drwxr-xr-x 2 root root 4096 Dec 26 01:42 cost [2022-12-26T01:51:25.330Z] -rw-r--r-- 1 root root 86 Dec 26 01:42 cost.csv [2022-12-26T01:51:25.330Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives [2022-12-26T01:51:25.330Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives [2022-12-26T01:51:25.330Z] total 16 [2022-12-26T01:51:25.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 26 01:42 . [2022-12-26T01:51:25.330Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 26 01:42 .. [2022-12-26T01:51:25.330Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 26 01:42 cost [2022-12-26T01:51:25.330Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 26 01:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:25.659Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:26.558Z] ---> package-listing.sh [2022-12-26T01:51:26.558Z] ++ facter osfamily [2022-12-26T01:51:26.558Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-26T01:51:26.817Z] + OS_FAMILY=debian [2022-12-26T01:51:26.817Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-442 [2022-12-26T01:51:26.817Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-26T01:51:26.817Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-26T01:51:26.817Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-26T01:51:26.817Z] + PACKAGES=/tmp/packages_start.txt [2022-12-26T01:51:26.817Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-442 ']' [2022-12-26T01:51:26.817Z] + PACKAGES=/tmp/packages_end.txt [2022-12-26T01:51:26.817Z] + case "${OS_FAMILY}" in [2022-12-26T01:51:26.817Z] + dpkg -l [2022-12-26T01:51:26.817Z] + grep '^ii' [2022-12-26T01:51:26.817Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-26T01:51:26.817Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-26T01:51:26.817Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-26T01:51:26.817Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-442 ']' [2022-12-26T01:51:26.817Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives/ [2022-12-26T01:51:26.817Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-442/archives/ [Pipeline] echo [2022-12-26T01:51:26.851Z] 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-26T01:51:27.140Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-26T01:51:27.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-26T01:51:27.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-26T01:51:27.915Z] prd-ubuntu20.04-docker-8c-8g-500 does not seem to be running inside a container [2022-12-26T01:51:27.950Z] $ 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-442/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-442 -v /w/workspace/gexfoundry_device-mqtt-go_PR-442:/w/workspace/gexfoundry_device-mqtt-go_PR-442:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-26T01:51:28.136Z] $ docker top 7525a16e4eee3f4e950152afa8d9c1a4bdf4e23697b73dafdcae8270cbf55946 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-26T01:51:28.513Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-26T01:51:28.821Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-26T01:51:29.130Z] + ls /var/log/sa-host [2022-12-26T01:51:29.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-26T01:51:29.362Z] provisioning config files... [2022-12-26T01:51:29.371Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-442@tmp/config7337210548491133758tmp [Pipeline] { [Pipeline] echo [2022-12-26T01:51:29.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:29.739Z] ---> create-netrc.sh [Pipeline] } [2022-12-26T01:51:29.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:30.165Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-26T01:51:30.209Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:30.528Z] ---> sudo-logs.sh [2022-12-26T01:51:30.528Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-26T01:51:30.606Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:30.923Z] ---> job-cost.sh [2022-12-26T01:51:30.923Z] lf-activate-venv: SKIPPING [2022-12-26T01:51:30.923Z] DEBUG: total: 0.2199999988079071 [2022-12-26T01:51:30.923Z] INFO: Retrieving Stack Cost... [2022-12-26T01:51:31.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-26T01:51:31.752Z] INFO: Archiving Costs [Pipeline] echo [2022-12-26T01:51:31.799Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-26T01:51:32.126Z] ---> logs-deploy.sh [2022-12-26T01:51:32.126Z] lf-activate-venv: SKIPPING [2022-12-26T01:51:32.126Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-442/1 [2022-12-26T01:51:32.126Z] INFO: archiving workspace using pattern(s): [2022-12-26T01:51:33.065Z] Archives upload complete. [2022-12-26T01:51:33.065Z] INFO: archiving logs to Nexus