Pull request #632 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8+d23214095485577aeb4dab86231955f0f4cb61d9 (a5b4c2904176de56884028e029227baebca11060) 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-ssh5483666533035637927.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5969240583203186187.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-632/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-632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh173861334221217612.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-632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11089819636501622680.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh15938949840857389941.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-632/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-632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16048843413663271113.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8677’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8678’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-8880’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8879’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8891 in /w/workspace/gexfoundry_device-mqtt-go_PR-632 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-632 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d23214095485577aeb4dab86231955f0f4cb61d9 into PR head commit 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 Merge succeeded, producing 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 Checking out Revision 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 (PR-632) Commit message: "build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-11T23:06:07.782Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > 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/632/head:refs/remotes/origin/PR-632 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 # 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 d23214095485577aeb4dab86231955f0f4cb61d9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-11T23:06:07.965Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-11T23:06:08.069Z] ========================================================= [2023-10-11T23:06:08.069Z] EdgeX Global Pipelines Version Info [2023-10-11T23:06:08.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:08.825Z] ------------------- [2023-10-11T23:06:08.826Z] stable info: [2023-10-11T23:06:08.826Z] ------------------- [2023-10-11T23:06:08.826Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-11T23:06:08.826Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:06:08.826Z] Message: update stable to v1.0.254 [2023-10-11T23:06:09.394Z] ------------------- [2023-10-11T23:06:09.394Z] experimental info: [2023-10-11T23:06:09.394Z] ------------------- [2023-10-11T23:06:09.394Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-11T23:06:09.394Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T23:06:09.394Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-11T23:06:09.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-11T23:06:09.711Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-11T23:06:09.759Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-11T23:06:09.807Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-11T23:06:09.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-11T23:06:09.901Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-11T23:06:09.943Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-11T23:06:09.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-11T23:06:10.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-11T23:06:10.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-11T23:06:10.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-11T23:06:10.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-11T23:06:10.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-11T23:06:10.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-11T23:06:10.407Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T23:06:10.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T23:06:10.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:06:10.551Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T23:06:10.601Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-11T23:06:10.650Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-11T23:06:10.698Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-11T23:06:10.749Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-11T23:06:10.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-11T23:06:10.847Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-11T23:06:10.889Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-11T23:06:10.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-11T23:06:10.977Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-11T23:06:11.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-632 [Pipeline] echo [2023-10-11T23:06:11.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-632 [Pipeline] echo [2023-10-11T23:06:11.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-632 [Pipeline] echo [2023-10-11T23:06:11.294Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [Pipeline] echo [2023-10-11T23:06:11.336Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6069e33 [Pipeline] echo [2023-10-11T23:06:11.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:06:11.535Z] provisioning config files... [2023-10-11T23:06:11.552Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/config4098862082099751882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:11.906Z] ---> docker-login.sh [2023-10-11T23:06:11.906Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:06:12.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:12.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:12.169Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:12.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:12.169Z] [2023-10-11T23:06:12.169Z] Login Succeeded [2023-10-11T23:06:12.169Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:06:12.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:12.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:12.428Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:12.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:12.428Z] [2023-10-11T23:06:12.428Z] Login Succeeded [2023-10-11T23:06:12.428Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:06:12.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:12.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:12.428Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:12.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:12.428Z] [2023-10-11T23:06:12.428Z] Login Succeeded [2023-10-11T23:06:12.428Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:06:12.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:12.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:12.428Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:12.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:12.428Z] [2023-10-11T23:06:12.428Z] Login Succeeded [2023-10-11T23:06:12.428Z] docker.io [2023-10-11T23:06:12.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:12.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:12.689Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:12.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:12.689Z] [2023-10-11T23:06:12.689Z] Login Succeeded [2023-10-11T23:06:12.689Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:06:12.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-11T23:06:13.371Z] + git rev-list -1 --merges 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8~1..6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [Pipeline] echo [2023-10-11T23:06:13.431Z] -----------> git rev-list -1 --merges 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8~1..6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [false] [Pipeline] sh [2023-10-11T23:06:13.736Z] + git log --format=format:%s -1 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [Pipeline] echo [2023-10-11T23:06:13.775Z] ========================================================= [2023-10-11T23:06:13.775Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-11T23:06:13.775Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:06:14.216Z] + git log --format=format:%s -1 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [Pipeline] echo [2023-10-11T23:06:14.250Z] [semverPrep] GIT_COMMIT: 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8, Commit Message: build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 [Pipeline] echo [2023-10-11T23:06:14.280Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-11T23:06:14.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.666Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-11T23:06:14.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.666Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-11T23:06:14.666Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-11T23:06:14.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:15.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:06:15.117Z] [2023-10-11T23:06:15.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:15.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:06:15.499Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-11T23:06:15.499Z] b85a868b505f: Pulling fs layer [2023-10-11T23:06:15.499Z] e2be974225ed: Pulling fs layer [2023-10-11T23:06:15.499Z] 339a4e72a1f5: Pulling fs layer [2023-10-11T23:06:15.499Z] 988bab9f4d93: Pulling fs layer [2023-10-11T23:06:15.499Z] 1469e6f7b9e6: Pulling fs layer [2023-10-11T23:06:15.499Z] eaf3925da568: Pulling fs layer [2023-10-11T23:06:15.499Z] bab4dde63d76: Pulling fs layer [2023-10-11T23:06:15.499Z] bde34c3a00c8: Pulling fs layer [2023-10-11T23:06:15.499Z] b352a97aabf1: Pulling fs layer [2023-10-11T23:06:15.499Z] 4872d77fe225: Pulling fs layer [2023-10-11T23:06:15.499Z] 5851b861e8e6: Pulling fs layer [2023-10-11T23:06:15.499Z] bde34c3a00c8: Waiting [2023-10-11T23:06:15.499Z] b352a97aabf1: Waiting [2023-10-11T23:06:15.499Z] 988bab9f4d93: Waiting [2023-10-11T23:06:15.499Z] 4872d77fe225: Waiting [2023-10-11T23:06:15.499Z] e2be974225ed: Verifying Checksum [2023-10-11T23:06:15.499Z] e2be974225ed: Download complete [2023-10-11T23:06:15.499Z] 988bab9f4d93: Verifying Checksum [2023-10-11T23:06:15.499Z] 988bab9f4d93: Download complete [2023-10-11T23:06:15.771Z] 1469e6f7b9e6: Verifying Checksum [2023-10-11T23:06:15.771Z] 1469e6f7b9e6: Download complete [2023-10-11T23:06:15.771Z] 339a4e72a1f5: Verifying Checksum [2023-10-11T23:06:15.771Z] 339a4e72a1f5: Download complete [2023-10-11T23:06:15.771Z] eaf3925da568: Verifying Checksum [2023-10-11T23:06:15.771Z] eaf3925da568: Download complete [2023-10-11T23:06:15.771Z] bde34c3a00c8: Verifying Checksum [2023-10-11T23:06:15.771Z] bde34c3a00c8: Download complete [2023-10-11T23:06:15.771Z] b352a97aabf1: Verifying Checksum [2023-10-11T23:06:15.771Z] b352a97aabf1: Download complete [2023-10-11T23:06:15.771Z] 4872d77fe225: Verifying Checksum [2023-10-11T23:06:15.771Z] 4872d77fe225: Download complete [2023-10-11T23:06:15.771Z] 5851b861e8e6: Download complete [2023-10-11T23:06:16.029Z] b85a868b505f: Verifying Checksum [2023-10-11T23:06:16.029Z] b85a868b505f: Download complete [2023-10-11T23:06:16.286Z] bab4dde63d76: Verifying Checksum [2023-10-11T23:06:16.286Z] bab4dde63d76: Download complete [2023-10-11T23:06:17.220Z] b85a868b505f: Pull complete [2023-10-11T23:06:17.220Z] e2be974225ed: Pull complete [2023-10-11T23:06:17.788Z] 339a4e72a1f5: Pull complete [2023-10-11T23:06:17.788Z] 988bab9f4d93: Pull complete [2023-10-11T23:06:18.052Z] 1469e6f7b9e6: Pull complete [2023-10-11T23:06:18.052Z] eaf3925da568: Pull complete [2023-10-11T23:06:19.979Z] bab4dde63d76: Pull complete [2023-10-11T23:06:19.979Z] bde34c3a00c8: Pull complete [2023-10-11T23:06:19.979Z] b352a97aabf1: Pull complete [2023-10-11T23:06:20.245Z] 4872d77fe225: Pull complete [2023-10-11T23:06:20.245Z] 5851b861e8e6: Pull complete [2023-10-11T23:06:20.245Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-11T23:06:20.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T23:06:20.245Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:06:20.545Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2023-10-11T23:06:20.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-632 -v /w/workspace/gexfoundry_device-mqtt-go_PR-632:/w/workspace/gexfoundry_device-mqtt-go_PR-632:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-632@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 [2023-10-11T23:06:27.626Z] $ docker top 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 -eo pid,comm [2023-10-11T23:06:27.690Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-11T23:06:27.690Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-11T23:06:27.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T23:06:27.826Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T23:06:27.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T23:06:27.959Z] $ docker exec 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 ssh-agent [2023-10-11T23:06:28.066Z] SSH_AUTH_SOCK=/tmp/ssh-lYyu9Uqn7wdX/agent.20 [2023-10-11T23:06:28.066Z] SSH_AGENT_PID=38 [2023-10-11T23:06:28.074Z] Running ssh-add (command line suppressed) [2023-10-11T23:06:28.173Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/private_key_6630726174530171670.key (/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/private_key_6630726174530171670.key) [2023-10-11T23:06:28.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T23:06:28.512Z] + git tag --points-at HEAD [Pipeline] } [2023-10-11T23:06:28.541Z] $ docker exec --env ******** --env ******** 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 ssh-agent -k [2023-10-11T23:06:28.640Z] unset SSH_AUTH_SOCK; [2023-10-11T23:06:28.641Z] unset SSH_AGENT_PID; [2023-10-11T23:06:28.641Z] echo Agent pid 38 killed; [2023-10-11T23:06:28.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-11T23:06:28.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T23:06:28.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T23:06:28.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T23:06:28.830Z] $ docker exec 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 ssh-agent [2023-10-11T23:06:28.927Z] SSH_AUTH_SOCK=/tmp/ssh-U42ZbI0p5U6k/agent.70 [2023-10-11T23:06:28.927Z] SSH_AGENT_PID=76 [2023-10-11T23:06:28.931Z] Running ssh-add (command line suppressed) [2023-10-11T23:06:29.031Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/private_key_13852907686634656760.key (/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/private_key_13852907686634656760.key) [2023-10-11T23:06:29.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T23:06:29.365Z] + git semver init [2023-10-11T23:06:29.626Z] 2023-10-11 23:06:29,554 [run_init] DEBUG init version:0.0.0 force:False [2023-10-11T23:06:29.626Z] 2023-10-11 23:06:29,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver [2023-10-11T23:06:29.626Z] 2023-10-11 23:06:29,556 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver [2023-10-11T23:06:29.626Z] 2023-10-11 23:06:29,556 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-632, universal_newlines=False, shell=None, istream=None) [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,421 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-632/.git/info/exclude [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,422 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver/PR-632 with force:False [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,422 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver/PR-632 [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,426 [execute] INFO git cat-file --batch-check [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,431 [execute] INFO git cat-file --batch [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T23:06:30.571Z] 2023-10-11 23:06:30,434 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-632/.semver/PR-632 [2023-10-11T23:06:30.571Z] 0.0.0 [Pipeline] } [2023-10-11T23:06:30.599Z] $ docker exec --env ******** --env ******** 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 ssh-agent -k [2023-10-11T23:06:30.684Z] unset SSH_AUTH_SOCK; [2023-10-11T23:06:30.684Z] unset SSH_AGENT_PID; [2023-10-11T23:06:30.684Z] echo Agent pid 76 killed; [2023-10-11T23:06:30.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-11T23:06:31.105Z] + git semver [Pipeline] } [2023-10-11T23:06:31.388Z] $ docker stop --time=1 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 [2023-10-11T23:06:32.654Z] $ docker rm -f --volumes 4f4f3069566b65a1791a4f6ad19d865a82fd32340d5e113b0a201ce629a29f42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:06:33.056Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-11T23:06:33.407Z] Stashed 1 file(s) [Pipeline] echo [2023-10-11T23:06:33.421Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:06:34.033Z] provisioning config files... [2023-10-11T23:06:34.042Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/config4452174672211504598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:06:34.393Z] ---> docker-login.sh [2023-10-11T23:06:34.393Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:06:34.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.393Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.393Z] [2023-10-11T23:06:34.393Z] Login Succeeded [2023-10-11T23:06:34.393Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:06:34.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.393Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.393Z] [2023-10-11T23:06:34.393Z] Login Succeeded [2023-10-11T23:06:34.393Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:06:34.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.653Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.653Z] [2023-10-11T23:06:34.653Z] Login Succeeded [2023-10-11T23:06:34.653Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:06:34.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.653Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.653Z] [2023-10-11T23:06:34.653Z] Login Succeeded [2023-10-11T23:06:34.653Z] docker.io [2023-10-11T23:06:34.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:06:34.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:06:34.912Z] Configure a credential helper to remove this warning. See [2023-10-11T23:06:34.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:06:34.912Z] [2023-10-11T23:06:34.912Z] Login Succeeded [2023-10-11T23:06:34.912Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:06:34.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T23:06:35.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:06:35.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:06:35.236Z] ========================================================= [2023-10-11T23:06:35.236Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-11T23:06:35.236Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:06:35.732Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-11T23:06:35.732Z] Sending build context to Docker daemon 6.538MB [2023-10-11T23:06:35.732Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:06:35.732Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-11T23:06:35.732Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-11T23:06:35.732Z] 7264a8db6415: Pulling fs layer [2023-10-11T23:06:35.732Z] c4d48a809fc2: Pulling fs layer [2023-10-11T23:06:35.732Z] 4f1c88b9dad5: Pulling fs layer [2023-10-11T23:06:35.732Z] ad3a456e5733: Pulling fs layer [2023-10-11T23:06:35.732Z] 33e27b845d1e: Pulling fs layer [2023-10-11T23:06:35.732Z] c68163c4e522: Pulling fs layer [2023-10-11T23:06:35.732Z] 50da416c3ac9: Pulling fs layer [2023-10-11T23:06:35.732Z] 23d2d4c4bb30: Pulling fs layer [2023-10-11T23:06:35.732Z] c68163c4e522: Waiting [2023-10-11T23:06:35.732Z] ad3a456e5733: Waiting [2023-10-11T23:06:35.732Z] 33e27b845d1e: Waiting [2023-10-11T23:06:35.732Z] 50da416c3ac9: Waiting [2023-10-11T23:06:35.732Z] c4d48a809fc2: Download complete [2023-10-11T23:06:35.732Z] ad3a456e5733: Verifying Checksum [2023-10-11T23:06:35.732Z] ad3a456e5733: Download complete [2023-10-11T23:06:35.990Z] 33e27b845d1e: Verifying Checksum [2023-10-11T23:06:35.990Z] 33e27b845d1e: Download complete [2023-10-11T23:06:35.990Z] 7264a8db6415: Verifying Checksum [2023-10-11T23:06:35.990Z] 7264a8db6415: Download complete [2023-10-11T23:06:35.990Z] c68163c4e522: Verifying Checksum [2023-10-11T23:06:35.990Z] c68163c4e522: Download complete [2023-10-11T23:06:35.990Z] 7264a8db6415: Pull complete [2023-10-11T23:06:36.248Z] 23d2d4c4bb30: Verifying Checksum [2023-10-11T23:06:36.248Z] 23d2d4c4bb30: Download complete [2023-10-11T23:06:36.248Z] c4d48a809fc2: Pull complete [2023-10-11T23:06:36.248Z] 4f1c88b9dad5: Verifying Checksum [2023-10-11T23:06:36.248Z] 4f1c88b9dad5: Download complete [2023-10-11T23:06:36.813Z] 50da416c3ac9: Verifying Checksum [2023-10-11T23:06:36.813Z] 50da416c3ac9: Download complete [2023-10-11T23:06:39.337Z] 4f1c88b9dad5: Pull complete [2023-10-11T23:06:39.337Z] ad3a456e5733: Pull complete [2023-10-11T23:06:39.337Z] 33e27b845d1e: Pull complete [2023-10-11T23:06:39.337Z] c68163c4e522: Pull complete [2023-10-11T23:06:41.866Z] 50da416c3ac9: Pull complete [2023-10-11T23:06:42.125Z] 23d2d4c4bb30: Pull complete [2023-10-11T23:06:42.125Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-11T23:06:42.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-11T23:06:42.125Z] ---> 0786185ac409 [2023-10-11T23:06:42.125Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:06:48.834Z] Still waiting to schedule task [2023-10-11T23:06:48.834Z] ‘prd-centos7-blackbox-4c-2g-8677’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-11T23:06:48.834Z] ‘prd-centos7-blackbox-4c-2g-8678’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-11T23:06:48.834Z] ‘prd-ubuntu20.04-docker-8c-8g-8893’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-11T23:06:48.834Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8894’ is offline [2023-10-11T23:06:52.254Z] ---> Running in 59235dc9eb4c [2023-10-11T23:06:52.255Z] Removing intermediate container 59235dc9eb4c [2023-10-11T23:06:52.255Z] ---> 2c6e853f6108 [2023-10-11T23:06:52.255Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:06:52.821Z] ---> Running in 189b27d07010 [2023-10-11T23:06:53.757Z] Removing intermediate container 189b27d07010 [2023-10-11T23:06:53.757Z] ---> 770cd928649b [2023-10-11T23:06:53.757Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:06:53.757Z] ---> Running in f68e4d5bd33b [2023-10-11T23:06:54.701Z] Removing intermediate container f68e4d5bd33b [2023-10-11T23:06:54.701Z] ---> b8170b26a119 [2023-10-11T23:06:54.701Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:06:54.960Z] ---> Running in ae0e6910d543 [2023-10-11T23:06:55.527Z] Removing intermediate container ae0e6910d543 [2023-10-11T23:06:55.527Z] ---> 46d2d6d09033 [2023-10-11T23:06:55.527Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:06:55.786Z] ---> Running in 09bfcdb22deb [2023-10-11T23:06:56.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:06:56.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:06:56.611Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-11T23:06:56.611Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-11T23:06:56.611Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-11T23:06:56.611Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-11T23:06:56.611Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:06:56.611Z] OK: 268 MiB in 56 packages [2023-10-11T23:06:57.560Z] Removing intermediate container 09bfcdb22deb [2023-10-11T23:06:57.560Z] ---> fcd81b6900e7 [2023-10-11T23:06:57.560Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-11T23:06:57.560Z] ---> Running in 91e3c02de773 [2023-10-11T23:06:57.560Z] Removing intermediate container 91e3c02de773 [2023-10-11T23:06:57.560Z] ---> 928a54ee1db2 [2023-10-11T23:06:57.560Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-11T23:06:57.560Z] ---> 23a8c51adeaa [2023-10-11T23:06:57.560Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:06:57.560Z] ---> Running in a6945736e73d [2023-10-11T23:08:05.252Z] Removing intermediate container a6945736e73d [2023-10-11T23:08:05.252Z] ---> 0cbe70af2122 [2023-10-11T23:08:05.252Z] Step 11/12 : COPY . . [2023-10-11T23:08:05.252Z] ---> 48d99c5125a6 [2023-10-11T23:08:05.252Z] Step 12/12 : RUN $MAKE [2023-10-11T23:08:05.252Z] ---> Running in 8208c96f0926 [2023-10-11T23:08:05.252Z] noop [2023-10-11T23:08:05.252Z] Removing intermediate container 8208c96f0926 [2023-10-11T23:08:05.252Z] ---> 73f0c5e5c72a [2023-10-11T23:08:05.252Z] Successfully built 73f0c5e5c72a [2023-10-11T23:08:05.252Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:05.722Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T23:08:05.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:08:05.880Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2023-10-11T23:08:05.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-632 -v /w/workspace/gexfoundry_device-mqtt-go_PR-632:/w/workspace/gexfoundry_device-mqtt-go_PR-632:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-632@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 [2023-10-11T23:08:06.748Z] $ docker top 5ba0f808a8c93488da65eaa1e91e4f1df8073df5c294b8fac14ade5ffa55a89b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:08:07.126Z] + go version [2023-10-11T23:08:07.126Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-11T23:08:07.163Z] $ docker stop --time=1 5ba0f808a8c93488da65eaa1e91e4f1df8073df5c294b8fac14ade5ffa55a89b [2023-10-11T23:08:08.389Z] $ docker rm -f --volumes 5ba0f808a8c93488da65eaa1e91e4f1df8073df5c294b8fac14ade5ffa55a89b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:09.085Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T23:08:09.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:08:09.237Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2023-10-11T23:08:09.282Z] $ 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-632 -v /w/workspace/gexfoundry_device-mqtt-go_PR-632:/w/workspace/gexfoundry_device-mqtt-go_PR-632:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-632@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 [2023-10-11T23:08:09.611Z] $ docker top 507bbf283ad31950b7381713e515d9fba8d3c98bf4b3e75d17dab35bc95cd7fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:08:10.000Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-632 [Pipeline] fileExists [Pipeline] sh [2023-10-11T23:08:10.459Z] + make test [2023-10-11T23:08:10.459Z] go test ./... -coverprofile=coverage.out ./... [2023-10-11T23:08:11.887Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-11T23:08:21.852Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-11T23:08:21.852Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-11T23:08:21.852Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-10-11T23:08:28.402Z] go vet ./... [2023-10-11T23:08:31.682Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T23:08:31.940Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T23:08:31.940Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T23:08:31.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T23:08:32.019Z] $ docker stop --time=1 507bbf283ad31950b7381713e515d9fba8d3c98bf4b3e75d17dab35bc95cd7fb [2023-10-11T23:08:36.230Z] $ docker rm -f --volumes 507bbf283ad31950b7381713e515d9fba8d3c98bf4b3e75d17dab35bc95cd7fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:08:36.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T23:08:36.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-11T23:08:37.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T23:08:37.820Z] + ls -al . [2023-10-11T23:08:37.821Z] total 188 [2023-10-11T23:08:37.821Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 23:08 . [2023-10-11T23:08:37.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:06 .. [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 23:06 .dockerignore [2023-10-11T23:08:37.821Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:08 .git [2023-10-11T23:08:37.821Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 .github [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 23:06 .gitignore [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 23:06 .golangci.yml [2023-10-11T23:08:37.821Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:06 .semver [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 11 23:06 Attribution.txt [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 11 23:06 CHANGELOG.md [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 11 23:06 Dockerfile [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:06 GOVERNANCE.md [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 11 23:06 Jenkinsfile [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 23:06 LICENSE [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 11 23:06 Makefile [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 23:06 OWNERS.md [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 3695 Oct 11 23:06 README.md [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:06 VERSION [2023-10-11T23:08:37.821Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:06 bin [2023-10-11T23:08:37.821Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 cmd [2023-10-11T23:08:37.821Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 11 23:08 coverage.out [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 3821 Oct 11 23:06 go.mod [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 23:06 go.sum [2023-10-11T23:08:37.821Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:06 internal [2023-10-11T23:08:37.821Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:06 mock [2023-10-11T23:08:37.821Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:06 snap [2023-10-11T23:08:37.821Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 11 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:08:38.215Z] + 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=6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 --label arch=amd64 --label version=0.0.0 . [2023-10-11T23:08:38.215Z] Sending build context to Docker daemon 6.557MB [2023-10-11T23:08:38.215Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:08:38.215Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-11T23:08:38.215Z] ---> 73f0c5e5c72a [2023-10-11T23:08:38.215Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:08:38.475Z] ---> Running in 05fcdcac47e3 [2023-10-11T23:08:38.475Z] Removing intermediate container 05fcdcac47e3 [2023-10-11T23:08:38.475Z] ---> d1042db46422 [2023-10-11T23:08:38.475Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:08:38.475Z] ---> Running in 7fc8c535f09d [2023-10-11T23:08:38.475Z] Removing intermediate container 7fc8c535f09d [2023-10-11T23:08:38.475Z] ---> cd56be1baffd [2023-10-11T23:08:38.475Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:08:38.475Z] ---> Running in c39629e47d40 [2023-10-11T23:08:38.734Z] Removing intermediate container c39629e47d40 [2023-10-11T23:08:38.734Z] ---> c2fec6ffd3e3 [2023-10-11T23:08:38.734Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:08:38.734Z] ---> Running in 9c0ad8fd6a80 [2023-10-11T23:08:38.734Z] Removing intermediate container 9c0ad8fd6a80 [2023-10-11T23:08:38.734Z] ---> 5c6f355f467d [2023-10-11T23:08:38.734Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:08:38.734Z] ---> Running in 2770cfd185ee [2023-10-11T23:08:38.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:39.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:08:39.512Z] OK: 268 MiB in 56 packages [2023-10-11T23:08:39.772Z] Removing intermediate container 2770cfd185ee [2023-10-11T23:08:39.772Z] ---> 7e65b30a5f6b [2023-10-11T23:08:39.772Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-11T23:08:39.772Z] ---> Running in 4e53dbdd8f3a [2023-10-11T23:08:40.033Z] Removing intermediate container 4e53dbdd8f3a [2023-10-11T23:08:40.033Z] ---> 96a980e1ccca [2023-10-11T23:08:40.033Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-11T23:08:40.033Z] ---> dea86330e13a [2023-10-11T23:08:40.033Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:08:40.033Z] ---> Running in 2982b8356065 [2023-10-11T23:08:41.328Z] Removing intermediate container 2982b8356065 [2023-10-11T23:08:41.328Z] ---> 169b764ef2c5 [2023-10-11T23:08:41.328Z] Step 11/24 : COPY . . [2023-10-11T23:08:41.587Z] ---> 21f328fe872e [2023-10-11T23:08:41.587Z] Step 12/24 : RUN $MAKE [2023-10-11T23:08:41.587Z] ---> Running in 310c9f6b4bb5 [2023-10-11T23:08:41.846Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-11T23:09:08.905Z] Removing intermediate container 310c9f6b4bb5 [2023-10-11T23:09:08.905Z] ---> 68f7c93ebd14 [2023-10-11T23:09:08.905Z] Step 13/24 : FROM alpine:3.18 [2023-10-11T23:09:08.905Z] 3.18: Pulling from library/alpine [2023-10-11T23:09:08.905Z] 96526aa774ef: Pulling fs layer [2023-10-11T23:09:08.905Z] 96526aa774ef: Verifying Checksum [2023-10-11T23:09:08.905Z] 96526aa774ef: Download complete [2023-10-11T23:09:08.905Z] 96526aa774ef: Pull complete [2023-10-11T23:09:08.905Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T23:09:08.905Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T23:09:08.905Z] ---> 8ca4688f4f35 [2023-10-11T23:09:08.905Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-11T23:09:08.905Z] ---> Running in 69c78d8c0a1b [2023-10-11T23:09:08.905Z] Removing intermediate container 69c78d8c0a1b [2023-10-11T23:09:08.905Z] ---> a6e02ca09c2b [2023-10-11T23:09:08.905Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-11T23:09:08.905Z] ---> Running in 5e16ce3b471f [2023-10-11T23:09:08.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T23:09:08.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T23:09:08.905Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-11T23:09:08.905Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:09:08.905Z] OK: 7 MiB in 16 packages [2023-10-11T23:09:08.905Z] Removing intermediate container 5e16ce3b471f [2023-10-11T23:09:08.905Z] ---> 771478167cee [2023-10-11T23:09:08.905Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-11T23:09:08.905Z] ---> 6e9eaf58d34b [2023-10-11T23:09:08.905Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-11T23:09:09.791Z] ---> 22df89258009 [2023-10-11T23:09:09.792Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-11T23:09:11.185Z] ---> a7aaf946103a [2023-10-11T23:09:11.185Z] Step 19/24 : EXPOSE 59982 [2023-10-11T23:09:11.185Z] ---> Running in 6ff8b498cbe0 [2023-10-11T23:09:11.185Z] Removing intermediate container 6ff8b498cbe0 [2023-10-11T23:09:11.185Z] ---> 8c55a18a1e54 [2023-10-11T23:09:11.185Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-11T23:09:11.185Z] ---> Running in f0720c325996 [2023-10-11T23:09:11.185Z] Removing intermediate container f0720c325996 [2023-10-11T23:09:11.185Z] ---> f48b83b28a4b [2023-10-11T23:09:11.185Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-11T23:09:11.185Z] ---> Running in 039d021cb1fb [2023-10-11T23:09:11.185Z] Removing intermediate container 039d021cb1fb [2023-10-11T23:09:11.185Z] ---> e18850206af0 [2023-10-11T23:09:11.185Z] Step 22/24 : LABEL arch=amd64 [2023-10-11T23:09:11.444Z] ---> Running in 363b4b22d11c [2023-10-11T23:09:11.444Z] Removing intermediate container 363b4b22d11c [2023-10-11T23:09:11.444Z] ---> e0c66382e5e6 [2023-10-11T23:09:11.444Z] Step 23/24 : LABEL git_sha=6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [2023-10-11T23:09:11.444Z] ---> Running in d8f318332a6b [2023-10-11T23:09:11.444Z] Removing intermediate container d8f318332a6b [2023-10-11T23:09:11.444Z] ---> e0b6a7bd2ee8 [2023-10-11T23:09:11.444Z] Step 24/24 : LABEL version=0.0.0 [2023-10-11T23:09:11.444Z] ---> Running in 460a8b0f13b6 [2023-10-11T23:09:12.025Z] Removing intermediate container 460a8b0f13b6 [2023-10-11T23:09:12.025Z] ---> 540ef7ebf49a [2023-10-11T23:09:12.025Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T23:09:12.025Z] Successfully built 540ef7ebf49a [2023-10-11T23:09:12.025Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:09:13.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:13.617Z] [2023-10-11T23:09:13.617Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:09:14.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:14.001Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-11T23:09:14.001Z] 5eb5b503b376: Pulling fs layer [2023-10-11T23:09:14.001Z] 5c69ac0246d0: Pulling fs layer [2023-10-11T23:09:14.001Z] ec43610c2a17: Pulling fs layer [2023-10-11T23:09:14.001Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-11T23:09:14.001Z] 33b1e0a273af: Pulling fs layer [2023-10-11T23:09:14.001Z] 5d3b04190fa2: Pulling fs layer [2023-10-11T23:09:14.001Z] 2f39f015ded8: Pulling fs layer [2023-10-11T23:09:14.001Z] 33b1e0a273af: Waiting [2023-10-11T23:09:14.001Z] 5d3b04190fa2: Waiting [2023-10-11T23:09:14.001Z] 2f39f015ded8: Waiting [2023-10-11T23:09:14.001Z] 3a2ae6a8a46f: Waiting [2023-10-11T23:09:14.641Z] 5c69ac0246d0: Download complete [2023-10-11T23:09:14.641Z] 3a2ae6a8a46f: Download complete [2023-10-11T23:09:14.641Z] 33b1e0a273af: Verifying Checksum [2023-10-11T23:09:14.641Z] 33b1e0a273af: Download complete [2023-10-11T23:09:14.899Z] 5d3b04190fa2: Verifying Checksum [2023-10-11T23:09:14.899Z] 5d3b04190fa2: Download complete [2023-10-11T23:09:14.899Z] ec43610c2a17: Verifying Checksum [2023-10-11T23:09:14.899Z] ec43610c2a17: Download complete [2023-10-11T23:09:14.899Z] 5eb5b503b376: Verifying Checksum [2023-10-11T23:09:14.899Z] 5eb5b503b376: Download complete [2023-10-11T23:09:16.043Z] 2f39f015ded8: Download complete [2023-10-11T23:09:16.043Z] 5eb5b503b376: Pull complete [2023-10-11T23:09:17.985Z] 5c69ac0246d0: Pull complete [2023-10-11T23:09:18.615Z] ec43610c2a17: Pull complete [2023-10-11T23:09:19.598Z] 3a2ae6a8a46f: Pull complete [2023-10-11T23:09:19.598Z] 33b1e0a273af: Pull complete [2023-10-11T23:09:19.906Z] 5d3b04190fa2: Pull complete [2023-10-11T23:09:24.126Z] 2f39f015ded8: Pull complete [2023-10-11T23:09:24.126Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-11T23:09:24.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:09:24.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:09:24.344Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2023-10-11T23:09:24.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-632 -v /w/workspace/gexfoundry_device-mqtt-go_PR-632:/w/workspace/gexfoundry_device-mqtt-go_PR-632:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-632@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 [2023-10-11T23:09:30.540Z] $ docker top 55ebc10b859efb1ad4c2ca5801c69dfdf744ca335fd4e97b76e5a8d2e2195e22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:09:30.863Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8902 in /w/workspace/gexfoundry_device-mqtt-go_PR-632 [Pipeline] { [Pipeline] ws [2023-10-11T23:09:30.930Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [2023-10-11T23:09:30.974Z] ---> job-cost.sh [2023-10-11T23:09:30.974Z] lf-activate-venv: SKIPPING [2023-10-11T23:09:30.974Z] INFO: No Stack... [Pipeline] checkout [2023-10-11T23:09:31.028Z] The recommended git tool is: git [2023-10-11T23:09:31.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T23:09:31.798Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T23:09:32.108Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives/cost.csv [2023-10-11T23:09:32.108Z] + cut -d, -f6 [Pipeline] lock [2023-10-11T23:09:32.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] [2023-10-11T23:09:32.152Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] did not exist. Created. [2023-10-11T23:09:32.152Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T23:09:32.540Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-11T23:09:32.593Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T23:09:32.624Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T23:09:32.707Z] $ docker stop --time=1 55ebc10b859efb1ad4c2ca5801c69dfdf744ca335fd4e97b76e5a8d2e2195e22 [2023-10-11T23:09:33.884Z] $ docker rm -f --volumes 55ebc10b859efb1ad4c2ca5801c69dfdf744ca335fd4e97b76e5a8d2e2195e22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-11T23:09:38.235Z] using credential edgex-jenkins-ssh [2023-10-11T23:09:38.256Z] Cloning the remote Git repository [2023-10-11T23:09:38.320Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-11T23:09:38.441Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-10-11T23:09:38.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-11T23:09:38.629Z] > git --version # timeout=10 [2023-10-11T23:09:38.658Z] > git --version # 'git version 2.25.1' [2023-10-11T23:09:38.663Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:09:38.852Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T23:09:40.216Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-11T23:09:40.242Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T23:09:42.291Z] Merging remotes/origin/main commit d23214095485577aeb4dab86231955f0f4cb61d9 into PR head commit 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [2023-10-11T23:09:42.673Z] Merge succeeded, producing 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [2023-10-11T23:09:42.674Z] Checking out Revision 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 (PR-632) [2023-10-11T23:09:41.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-11T23:09:41.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-11T23:09:41.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:09:41.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/632/head:refs/remotes/origin/PR-632 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-11T23:09:42.318Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T23:09:42.420Z] > git checkout -f 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 # timeout=10 [2023-10-11T23:09:42.541Z] > git remote # timeout=10 [2023-10-11T23:09:42.567Z] > git config --get remote.origin.url # timeout=10 [2023-10-11T23:09:42.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T23:09:42.609Z] > git merge d23214095485577aeb4dab86231955f0f4cb61d9 # timeout=10 [2023-10-11T23:09:42.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-11T23:09:42.684Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T23:09:42.702Z] > git checkout -f 6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 # timeout=10 [2023-10-11T23:09:43.314Z] Commit message: "build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0" [2023-10-11T23:09:43.388Z] > git --version # timeout=10 [2023-10-11T23:09:43.403Z] > git --version # 'git version 2.25.1' [2023-10-11T23:09:43.430Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:09:44.570Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-11T23:09:44.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T23:09:44.570Z] Dload Upload Total Spent Left Speed [2023-10-11T23:09:44.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-10-11T23:09:45.227Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-11T23:09:45.582Z] + sudo tee /etc/docker/daemon.new [2023-10-11T23:09:45.582Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-11T23:09:45.582Z] { [2023-10-11T23:09:45.582Z] "registry-mirrors": [ [2023-10-11T23:09:45.582Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-11T23:09:45.582Z] ], [2023-10-11T23:09:45.582Z] "bip": "10.250.0.254/24", [2023-10-11T23:09:45.582Z] "hosts": [ [2023-10-11T23:09:45.582Z] "tcp://0.0.0.0:5555", [2023-10-11T23:09:45.582Z] "unix:///var/run/docker.sock" [2023-10-11T23:09:45.582Z] ], [2023-10-11T23:09:45.582Z] "mtu": 1458, [2023-10-11T23:09:45.582Z] "selinux-enabled": true, [2023-10-11T23:09:45.582Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-11T23:09:45.582Z] } [Pipeline] sh [2023-10-11T23:09:45.939Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-11T23:09:46.336Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:10:04.728Z] provisioning config files... [2023-10-11T23:10:04.761Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1548055487428743861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:10:05.181Z] ---> docker-login.sh [2023-10-11T23:10:05.181Z] nexus3.edgexfoundry.org:10001 [2023-10-11T23:10:05.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:10:06.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:10:06.046Z] Configure a credential helper to remove this warning. See [2023-10-11T23:10:06.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:10:06.046Z] [2023-10-11T23:10:06.046Z] Login Succeeded [2023-10-11T23:10:06.046Z] nexus3.edgexfoundry.org:10002 [2023-10-11T23:10:06.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:10:06.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:10:06.592Z] Configure a credential helper to remove this warning. See [2023-10-11T23:10:06.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:10:06.592Z] [2023-10-11T23:10:06.592Z] Login Succeeded [2023-10-11T23:10:06.592Z] nexus3.edgexfoundry.org:10003 [2023-10-11T23:10:06.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:10:06.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:10:06.872Z] Configure a credential helper to remove this warning. See [2023-10-11T23:10:06.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:10:06.872Z] [2023-10-11T23:10:06.872Z] Login Succeeded [2023-10-11T23:10:06.872Z] nexus3.edgexfoundry.org:10004 [2023-10-11T23:10:07.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:10:07.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:10:07.468Z] Configure a credential helper to remove this warning. See [2023-10-11T23:10:07.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:10:07.468Z] [2023-10-11T23:10:07.468Z] Login Succeeded [2023-10-11T23:10:07.468Z] docker.io [2023-10-11T23:10:07.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T23:10:08.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T23:10:08.020Z] Configure a credential helper to remove this warning. See [2023-10-11T23:10:08.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T23:10:08.020Z] [2023-10-11T23:10:08.020Z] Login Succeeded [2023-10-11T23:10:08.020Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T23:10:08.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T23:10:08.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:10:08.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T23:10:08.670Z] ========================================================= [2023-10-11T23:10:08.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-11T23:10:08.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:10:09.190Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-11T23:10:09.466Z] Sending build context to Docker daemon 3.374MB [2023-10-11T23:10:09.466Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:10:09.466Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-11T23:10:09.742Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-11T23:10:09.742Z] 9fda8d8052c6: Pulling fs layer [2023-10-11T23:10:09.742Z] 5d54e960e981: Pulling fs layer [2023-10-11T23:10:09.742Z] c4a7e357bf2a: Pulling fs layer [2023-10-11T23:10:09.742Z] f0e02332f6b5: Pulling fs layer [2023-10-11T23:10:09.742Z] cefa15bbcfad: Pulling fs layer [2023-10-11T23:10:09.742Z] 17808c966233: Pulling fs layer [2023-10-11T23:10:09.742Z] f4c1fc716caa: Pulling fs layer [2023-10-11T23:10:09.742Z] f0e02332f6b5: Waiting [2023-10-11T23:10:09.742Z] cefa15bbcfad: Waiting [2023-10-11T23:10:09.742Z] 17808c966233: Waiting [2023-10-11T23:10:09.742Z] f4c1fc716caa: Waiting [2023-10-11T23:10:10.019Z] 5d54e960e981: Download complete [2023-10-11T23:10:10.019Z] f0e02332f6b5: Verifying Checksum [2023-10-11T23:10:10.019Z] f0e02332f6b5: Download complete [2023-10-11T23:10:10.019Z] cefa15bbcfad: Verifying Checksum [2023-10-11T23:10:10.019Z] cefa15bbcfad: Download complete [2023-10-11T23:10:10.019Z] 9fda8d8052c6: Verifying Checksum [2023-10-11T23:10:10.019Z] 9fda8d8052c6: Download complete [2023-10-11T23:10:10.623Z] f4c1fc716caa: Verifying Checksum [2023-10-11T23:10:10.623Z] f4c1fc716caa: Download complete [2023-10-11T23:10:11.229Z] 9fda8d8052c6: Pull complete [2023-10-11T23:10:11.925Z] 5d54e960e981: Pull complete [2023-10-11T23:10:12.205Z] c4a7e357bf2a: Verifying Checksum [2023-10-11T23:10:12.205Z] c4a7e357bf2a: Download complete [2023-10-11T23:10:13.649Z] 17808c966233: Verifying Checksum [2023-10-11T23:10:13.649Z] 17808c966233: Download complete [2023-10-11T23:10:28.692Z] c4a7e357bf2a: Pull complete [2023-10-11T23:10:28.692Z] f0e02332f6b5: Pull complete [2023-10-11T23:10:28.692Z] cefa15bbcfad: Pull complete [2023-10-11T23:10:35.365Z] 17808c966233: Pull complete [2023-10-11T23:10:36.345Z] f4c1fc716caa: Pull complete [2023-10-11T23:10:36.345Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-11T23:10:36.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-11T23:10:36.345Z] ---> ea914061e18c [2023-10-11T23:10:36.345Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:10:38.322Z] ---> Running in 8f73780341b2 [2023-10-11T23:10:38.912Z] Removing intermediate container 8f73780341b2 [2023-10-11T23:10:38.912Z] ---> 9f1076585e95 [2023-10-11T23:10:38.912Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:10:38.912Z] ---> Running in 4e67eca1653b [2023-10-11T23:10:39.185Z] Removing intermediate container 4e67eca1653b [2023-10-11T23:10:39.185Z] ---> 4da0a9f957c3 [2023-10-11T23:10:39.185Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:10:39.457Z] ---> Running in 10ca6c33720e [2023-10-11T23:10:39.733Z] Removing intermediate container 10ca6c33720e [2023-10-11T23:10:39.733Z] ---> 6a510d11288a [2023-10-11T23:10:39.733Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:10:40.005Z] ---> Running in 0034fd7eee12 [2023-10-11T23:10:40.278Z] Removing intermediate container 0034fd7eee12 [2023-10-11T23:10:40.278Z] ---> 1d583e9baa8c [2023-10-11T23:10:40.278Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:10:40.278Z] ---> Running in 5ee6e1c019e6 [2023-10-11T23:10:41.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:10:42.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:10:43.731Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-11T23:10:43.731Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-11T23:10:43.731Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-11T23:10:43.731Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-11T23:10:43.731Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:10:44.006Z] OK: 270 MiB in 56 packages [2023-10-11T23:10:45.431Z] Removing intermediate container 5ee6e1c019e6 [2023-10-11T23:10:45.431Z] ---> 62dc35e30233 [2023-10-11T23:10:45.431Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-11T23:10:45.431Z] ---> Running in 31a30350916b [2023-10-11T23:10:45.709Z] Removing intermediate container 31a30350916b [2023-10-11T23:10:45.709Z] ---> 4c992488e9b5 [2023-10-11T23:10:45.709Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-11T23:10:46.297Z] ---> 0bb7fcb4e333 [2023-10-11T23:10:46.297Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:10:46.570Z] ---> Running in cbcd8db4a922 [2023-10-11T23:12:38.318Z] Removing intermediate container cbcd8db4a922 [2023-10-11T23:12:38.318Z] ---> b17662c3ab3e [2023-10-11T23:12:38.318Z] Step 11/12 : COPY . . [2023-10-11T23:12:38.318Z] ---> 10e881503bf6 [2023-10-11T23:12:38.318Z] Step 12/12 : RUN $MAKE [2023-10-11T23:12:38.318Z] ---> Running in 18454f7ccbee [2023-10-11T23:12:38.318Z] noop [2023-10-11T23:12:38.318Z] Removing intermediate container 18454f7ccbee [2023-10-11T23:12:38.318Z] ---> b198dd2fe06a [2023-10-11T23:12:38.318Z] Successfully built b198dd2fe06a [2023-10-11T23:12:38.318Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:12:38.796Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T23:12:38.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:12:39.142Z] prd-ubuntu20.04-docker-arm64-4c-16g-8902 does not seem to be running inside a container [2023-10-11T23:12:39.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-11T23:12:40.697Z] $ docker top 07060ce46d5581d327831323cc2cc3bc30c8f38ab921886dbd59092f33eca3eb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:12:41.642Z] + go version [2023-10-11T23:12:41.642Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-11T23:12:41.685Z] $ docker stop --time=1 07060ce46d5581d327831323cc2cc3bc30c8f38ab921886dbd59092f33eca3eb [2023-10-11T23:12:43.520Z] $ docker rm -f --volumes 07060ce46d5581d327831323cc2cc3bc30c8f38ab921886dbd59092f33eca3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:12:44.426Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T23:12:44.426Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:12:44.710Z] prd-ubuntu20.04-docker-arm64-4c-16g-8902 does not seem to be running inside a container [2023-10-11T23:12:44.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-11T23:12:46.184Z] $ docker top fb06495b11a19d3f343ab2f37390beb3bf64b95f726945367229651423e00039 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:12:47.138Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-11T23:12:47.865Z] + make test [2023-10-11T23:12:47.865Z] go test ./... -coverprofile=coverage.out ./... [2023-10-11T23:12:53.418Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-11T23:15:30.264Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-11T23:15:30.264Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-11T23:15:30.264Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 22.8% of statements [2023-10-11T23:15:30.264Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-11T23:15:30.264Z] go vet ./... [2023-10-11T23:15:57.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T23:15:57.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T23:15:57.000Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T23:15:57.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T23:15:57.085Z] $ docker stop --time=1 fb06495b11a19d3f343ab2f37390beb3bf64b95f726945367229651423e00039 [2023-10-11T23:15:59.092Z] $ docker rm -f --volumes fb06495b11a19d3f343ab2f37390beb3bf64b95f726945367229651423e00039 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T23:16:00.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T23:16:00.483Z] Warning: overwriting stash ‘coverage-report’ [2023-10-11T23:16:01.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T23:16:01.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T23:16:02.096Z] + ls -al . [2023-10-11T23:16:02.096Z] total 184 [2023-10-11T23:16:02.096Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 23:12 . [2023-10-11T23:16:02.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 23:09 .dockerignore [2023-10-11T23:16:02.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 23:09 .git [2023-10-11T23:16:02.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:09 .github [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 23:09 .gitignore [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 23:09 .golangci.yml [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 11 23:09 Attribution.txt [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 11 23:09 CHANGELOG.md [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 11 23:09 Dockerfile [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 23:09 GOVERNANCE.md [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 11 23:09 Jenkinsfile [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 23:09 LICENSE [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 11 23:09 Makefile [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 23:09 OWNERS.md [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 3695 Oct 11 23:09 README.md [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 23:06 VERSION [2023-10-11T23:16:02.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:09 bin [2023-10-11T23:16:02.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:09 cmd [2023-10-11T23:16:02.096Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 11 23:15 coverage.out [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 3821 Oct 11 23:09 go.mod [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 23:09 go.sum [2023-10-11T23:16:02.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 23:09 internal [2023-10-11T23:16:02.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 23:09 mock [2023-10-11T23:16:02.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 23:09 snap [2023-10-11T23:16:02.096Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 11 23:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:16:02.517Z] + 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=6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 --label arch=arm64 --label version=0.0.0 . [2023-10-11T23:16:03.108Z] Sending build context to Docker daemon 3.393MB [2023-10-11T23:16:03.108Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T23:16:03.108Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-11T23:16:03.108Z] ---> b198dd2fe06a [2023-10-11T23:16:03.108Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-11T23:16:03.381Z] ---> Running in d82d5c9994b9 [2023-10-11T23:16:04.351Z] Removing intermediate container d82d5c9994b9 [2023-10-11T23:16:04.351Z] ---> b35a78f38e56 [2023-10-11T23:16:04.351Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T23:16:04.618Z] ---> Running in c2c170272fea [2023-10-11T23:16:04.895Z] Removing intermediate container c2c170272fea [2023-10-11T23:16:04.895Z] ---> 00d123d63edc [2023-10-11T23:16:04.895Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T23:16:04.895Z] ---> Running in a3cc2ecdd8df [2023-10-11T23:16:05.482Z] Removing intermediate container a3cc2ecdd8df [2023-10-11T23:16:05.482Z] ---> 2c221bf57dcf [2023-10-11T23:16:05.482Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T23:16:05.482Z] ---> Running in 303e9be7d93f [2023-10-11T23:16:05.751Z] Removing intermediate container 303e9be7d93f [2023-10-11T23:16:05.751Z] ---> 7a9ef1a5c601 [2023-10-11T23:16:05.751Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T23:16:05.751Z] ---> Running in 5dc3c5afc3cb [2023-10-11T23:16:07.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:16:07.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:16:08.907Z] OK: 270 MiB in 56 packages [2023-10-11T23:16:09.878Z] Removing intermediate container 5dc3c5afc3cb [2023-10-11T23:16:09.878Z] ---> 4cee58b35576 [2023-10-11T23:16:09.878Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-11T23:16:09.878Z] ---> Running in 61f3a91bda28 [2023-10-11T23:16:10.238Z] Removing intermediate container 61f3a91bda28 [2023-10-11T23:16:10.238Z] ---> 09a632206cb8 [2023-10-11T23:16:10.238Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-11T23:16:10.852Z] ---> 1a08da512641 [2023-10-11T23:16:10.852Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T23:16:11.128Z] ---> Running in 911ab52be44d [2023-10-11T23:16:13.795Z] Removing intermediate container 911ab52be44d [2023-10-11T23:16:13.795Z] ---> c807cb3e1542 [2023-10-11T23:16:13.795Z] Step 11/24 : COPY . . [2023-10-11T23:16:15.749Z] ---> 65a834635716 [2023-10-11T23:16:15.749Z] Step 12/24 : RUN $MAKE [2023-10-11T23:16:15.749Z] ---> Running in 37effe77fbad [2023-10-11T23:16:16.716Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.33" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-11T23:18:38.505Z] Removing intermediate container 37effe77fbad [2023-10-11T23:18:38.505Z] ---> 4bbba241eca9 [2023-10-11T23:18:38.505Z] Step 13/24 : FROM alpine:3.18 [2023-10-11T23:18:38.505Z] 3.18: Pulling from library/alpine [2023-10-11T23:18:38.505Z] 579b34f0a95b: Pulling fs layer [2023-10-11T23:18:38.505Z] 579b34f0a95b: Download complete [2023-10-11T23:18:38.505Z] 579b34f0a95b: Pull complete [2023-10-11T23:18:38.505Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T23:18:38.505Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T23:18:38.505Z] ---> 3cc203321400 [2023-10-11T23:18:38.505Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-11T23:18:38.505Z] ---> Running in 312a0c1de0bf [2023-10-11T23:18:38.505Z] Removing intermediate container 312a0c1de0bf [2023-10-11T23:18:38.505Z] ---> 36455453522d [2023-10-11T23:18:38.505Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-11T23:18:38.505Z] ---> Running in 25f87fd52b15 [2023-10-11T23:18:39.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T23:18:40.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T23:18:41.467Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-11T23:18:41.467Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T23:18:41.467Z] OK: 8 MiB in 16 packages [2023-10-11T23:18:44.061Z] Removing intermediate container 25f87fd52b15 [2023-10-11T23:18:44.061Z] ---> d46c0e19ca6e [2023-10-11T23:18:44.061Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-11T23:18:45.486Z] ---> 56dd43003e71 [2023-10-11T23:18:45.486Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-11T23:18:46.093Z] ---> fe3b3c1a0899 [2023-10-11T23:18:46.093Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-11T23:18:46.378Z] ---> 974ff9275c05 [2023-10-11T23:18:46.378Z] Step 19/24 : EXPOSE 59982 [2023-10-11T23:18:46.648Z] ---> Running in 28785fcbeb70 [2023-10-11T23:18:46.926Z] Removing intermediate container 28785fcbeb70 [2023-10-11T23:18:46.926Z] ---> ac5a965268e7 [2023-10-11T23:18:46.926Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-11T23:18:46.926Z] ---> Running in 8712327fc4d1 [2023-10-11T23:18:47.512Z] Removing intermediate container 8712327fc4d1 [2023-10-11T23:18:47.512Z] ---> 76786fc98207 [2023-10-11T23:18:47.512Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-11T23:18:47.512Z] ---> Running in d361249910e3 [2023-10-11T23:18:47.782Z] Removing intermediate container d361249910e3 [2023-10-11T23:18:47.782Z] ---> ebb2507680c0 [2023-10-11T23:18:47.782Z] Step 22/24 : LABEL arch=arm64 [2023-10-11T23:18:47.782Z] ---> Running in 88c78ccda2a1 [2023-10-11T23:18:48.377Z] Removing intermediate container 88c78ccda2a1 [2023-10-11T23:18:48.377Z] ---> 94279f4cdfda [2023-10-11T23:18:48.377Z] Step 23/24 : LABEL git_sha=6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [2023-10-11T23:18:48.377Z] ---> Running in 0bd08d6f2818 [2023-10-11T23:18:48.647Z] Removing intermediate container 0bd08d6f2818 [2023-10-11T23:18:48.647Z] ---> 32baea908971 [2023-10-11T23:18:48.647Z] Step 24/24 : LABEL version=0.0.0 [2023-10-11T23:18:48.647Z] ---> Running in 35e19bec9dc2 [2023-10-11T23:18:48.917Z] Removing intermediate container 35e19bec9dc2 [2023-10-11T23:18:49.185Z] ---> b218e88e965a [2023-10-11T23:18:49.185Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T23:18:49.185Z] Successfully built b218e88e965a [2023-10-11T23:18:49.185Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:18:50.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:18:50.049Z] [2023-10-11T23:18:50.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:18:50.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:18:50.739Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-11T23:18:50.739Z] 8998bd30e6a1: Pulling fs layer [2023-10-11T23:18:50.739Z] 04944245beec: Pulling fs layer [2023-10-11T23:18:50.739Z] 699f458cf7ca: Pulling fs layer [2023-10-11T23:18:50.739Z] 765212b225bb: Pulling fs layer [2023-10-11T23:18:50.739Z] f23df028b6ca: Pulling fs layer [2023-10-11T23:18:50.739Z] d65c8cfc05b1: Pulling fs layer [2023-10-11T23:18:50.739Z] 2437ff75d9bd: Pulling fs layer [2023-10-11T23:18:50.739Z] f23df028b6ca: Waiting [2023-10-11T23:18:50.739Z] d65c8cfc05b1: Waiting [2023-10-11T23:18:50.739Z] 2437ff75d9bd: Waiting [2023-10-11T23:18:50.739Z] 765212b225bb: Waiting [2023-10-11T23:18:50.739Z] 04944245beec: Verifying Checksum [2023-10-11T23:18:50.739Z] 04944245beec: Download complete [2023-10-11T23:18:50.739Z] 765212b225bb: Verifying Checksum [2023-10-11T23:18:50.739Z] 765212b225bb: Download complete [2023-10-11T23:18:50.739Z] f23df028b6ca: Verifying Checksum [2023-10-11T23:18:50.739Z] f23df028b6ca: Download complete [2023-10-11T23:18:50.739Z] d65c8cfc05b1: Verifying Checksum [2023-10-11T23:18:50.739Z] d65c8cfc05b1: Download complete [2023-10-11T23:18:51.008Z] 699f458cf7ca: Verifying Checksum [2023-10-11T23:18:51.008Z] 699f458cf7ca: Download complete [2023-10-11T23:18:51.278Z] 8998bd30e6a1: Verifying Checksum [2023-10-11T23:18:51.278Z] 8998bd30e6a1: Download complete [2023-10-11T23:18:53.871Z] 2437ff75d9bd: Verifying Checksum [2023-10-11T23:18:53.871Z] 2437ff75d9bd: Download complete [2023-10-11T23:18:57.214Z] 8998bd30e6a1: Pull complete [2023-10-11T23:18:57.214Z] 04944245beec: Pull complete [2023-10-11T23:18:58.639Z] 699f458cf7ca: Pull complete [2023-10-11T23:18:58.909Z] 765212b225bb: Pull complete [2023-10-11T23:18:59.872Z] f23df028b6ca: Pull complete [2023-10-11T23:19:00.145Z] d65c8cfc05b1: Pull complete [2023-10-11T23:19:18.354Z] 2437ff75d9bd: Pull complete [2023-10-11T23:19:18.354Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-11T23:19:18.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T23:19:18.354Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:19:18.709Z] prd-ubuntu20.04-docker-arm64-4c-16g-8902 does not seem to be running inside a container [2023-10-11T23:19:18.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-11T23:19:22.047Z] $ docker top e3dad93d85efe57bc934427a0db413aaaaca6c3c0a5e984adc73506e8f1d2f72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:23.005Z] ---> job-cost.sh [2023-10-11T23:19:23.005Z] lf-activate-venv: SKIPPING [2023-10-11T23:19:23.005Z] INFO: No Stack... [2023-10-11T23:19:23.592Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-11T23:19:24.551Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T23:19:25.222Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-10-11T23:19:25.222Z] + cut -d, -f6 [Pipeline] lock [2023-10-11T23:19:25.284Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] [2023-10-11T23:19:25.290Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] did not exist. Created. [2023-10-11T23:19:25.290Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T23:19:26.040Z] /w/workspace/device-mqtt-go/1@tmp/durable-841da9d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-11T23:19:26.735Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-11T23:19:26.779Z] Warning: overwriting stash ‘stack-cost’ [2023-10-11T23:19:26.851Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T23:19:26.869Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-632-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T23:19:26.962Z] $ docker stop --time=1 e3dad93d85efe57bc934427a0db413aaaaca6c3c0a5e984adc73506e8f1d2f72 [2023-10-11T23:19:28.531Z] $ docker rm -f --volumes e3dad93d85efe57bc934427a0db413aaaaca6c3c0a5e984adc73506e8f1d2f72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-11T23:19:29.505Z] provisioning config files... [2023-10-11T23:19:29.513Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/config14265921388739756723tmp [Pipeline] { [Pipeline] sh [2023-10-11T23:19:29.863Z] + set +x [2023-10-11T23:19:29.863Z] + bash -s -- [2023-10-11T23:19:29.863Z] + curl -s https://codecov.io/bash [2023-10-11T23:19:29.863Z] [2023-10-11T23:19:29.863Z] _____ _ [2023-10-11T23:19:29.863Z] / ____| | | [2023-10-11T23:19:29.863Z] | | ___ __| | ___ ___ _____ __ [2023-10-11T23:19:29.863Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-11T23:19:29.863Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-11T23:19:29.863Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-11T23:19:29.863Z] Bash-1.0.6 [2023-10-11T23:19:29.863Z] [2023-10-11T23:19:29.863Z] [2023-10-11T23:19:29.863Z] ==> git version 2.25.1 found [2023-10-11T23:19:29.863Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-11T23:19:29.863Z] Release-Date: 2020-01-08 [2023-10-11T23:19:29.863Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-11T23:19:29.863Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-11T23:19:29.863Z] ==> Jenkins CI detected. [2023-10-11T23:19:29.863Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-632 [2023-10-11T23:19:29.863Z] project root: . [2023-10-11T23:19:29.863Z] --> token set from env [2023-10-11T23:19:29.863Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-11T23:19:29.863Z] ==> Running gcov in . (disable via -X gcov) [2023-10-11T23:19:29.863Z] ==> Python coveragepy not found [2023-10-11T23:19:29.863Z] ==> Searching for coverage reports in: [2023-10-11T23:19:29.863Z] + . [2023-10-11T23:19:29.863Z] -> Found 1 reports [2023-10-11T23:19:29.863Z] ==> Detecting git/mercurial file structure [2023-10-11T23:19:29.863Z] ==> Reading reports [2023-10-11T23:19:29.863Z] + ./coverage.out bytes=18506 [2023-10-11T23:19:29.863Z] ==> Appending adjustments [2023-10-11T23:19:29.863Z] https://docs.codecov.io/docs/fixing-reports [2023-10-11T23:19:30.122Z] + Found adjustments [2023-10-11T23:19:30.122Z] ==> Gzipping contents [2023-10-11T23:19:30.122Z] 4.0K /tmp/codecov.VApHs4.gz [2023-10-11T23:19:30.122Z] ==> Uploading reports [2023-10-11T23:19:30.122Z] url: https://codecov.io [2023-10-11T23:19:30.122Z] query: branch=PR-632&commit=6069e33b2a5a5ea03c2d1f011e180d82eadb51b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=632&job=&cmd_args= [2023-10-11T23:19:30.122Z] -> Pinging Codecov [2023-10-11T23:19:30.122Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-632&commit=6069e33b2a5a5ea03c2d1f011e180d82eadb51b8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=632&job=&cmd_args= [2023-10-11T23:19:30.122Z] -> Uploading to [2023-10-11T23:19:30.122Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-11/7D719EC7BBE17E464838252E33014C33/6069e33b2a5a5ea03c2d1f011e180d82eadb51b8/fea0fe7d-b3bc-4db5-a354-1ea67a49499c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231011T231930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3918bce855c1dc9a170971d3df794b78e66505de137cbf2ffda8dc951c175969 [2023-10-11T23:19:30.122Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T23:19:30.122Z] Dload Upload Total Spent Left Speed [2023-10-11T23:19:30.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 11922 --:--:-- --:--:-- --:--:-- 11922 [2023-10-11T23:19:30.381Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6069e33b2a5a5ea03c2d1f011e180d82eadb51b8 [Pipeline] } [2023-10-11T23:19:30.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-11T23:19:32.174Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives ] [2023-10-11T23:19:32.174Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives [2023-10-11T23:19:32.174Z] total 16 [2023-10-11T23:19:32.174Z] drwxr-xr-x 3 root root 4096 Oct 11 23:09 . [2023-10-11T23:19:32.174Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:19:32.174Z] drwxr-xr-x 2 root root 4096 Oct 11 23:09 cost [2023-10-11T23:19:32.174Z] -rw-r--r-- 1 root root 86 Oct 11 23:09 cost.csv [2023-10-11T23:19:32.174Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives [2023-10-11T23:19:32.174Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives [2023-10-11T23:19:32.174Z] total 16 [2023-10-11T23:19:32.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 23:09 . [2023-10-11T23:19:32.174Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 23:09 .. [2023-10-11T23:19:32.174Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 23:09 cost [2023-10-11T23:19:32.174Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 11 23:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:32.508Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:33.397Z] ---> package-listing.sh [2023-10-11T23:19:33.397Z] ++ facter osfamily [2023-10-11T23:19:33.397Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-11T23:19:33.655Z] + OS_FAMILY=debian [2023-10-11T23:19:33.655Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-632 [2023-10-11T23:19:33.655Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-11T23:19:33.655Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-11T23:19:33.655Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-11T23:19:33.655Z] + PACKAGES=/tmp/packages_start.txt [2023-10-11T23:19:33.655Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-632 ']' [2023-10-11T23:19:33.655Z] + PACKAGES=/tmp/packages_end.txt [2023-10-11T23:19:33.655Z] + case "${OS_FAMILY}" in [2023-10-11T23:19:33.655Z] + dpkg -l [2023-10-11T23:19:33.655Z] + grep '^ii' [2023-10-11T23:19:33.655Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-11T23:19:33.655Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-11T23:19:33.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-11T23:19:33.655Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-632 ']' [2023-10-11T23:19:33.655Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives/ [2023-10-11T23:19:33.655Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-632/archives/ [Pipeline] echo [2023-10-11T23:19:33.687Z] 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-632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-11T23:19:33.978Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T23:19:34.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T23:19:34.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T23:19:34.751Z] prd-ubuntu20.04-docker-8c-8g-8891 does not seem to be running inside a container [2023-10-11T23:19:34.798Z] $ 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-632/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-632 -v /w/workspace/gexfoundry_device-mqtt-go_PR-632:/w/workspace/gexfoundry_device-mqtt-go_PR-632:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-11T23:19:35.024Z] $ docker top f08040b45bdbc65deb8c5c0aa76486fed7cd565447b39731c98f89fbc6799774 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T23:19:35.397Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-11T23:19:35.708Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-11T23:19:36.021Z] + ls /var/log/sa-host [2023-10-11T23:19:36.021Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T23:19:36.147Z] provisioning config files... [2023-10-11T23:19:36.156Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-632@tmp/config13454558790815808104tmp [Pipeline] { [Pipeline] echo [2023-10-11T23:19:36.210Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:36.527Z] ---> create-netrc.sh [Pipeline] } [2023-10-11T23:19:36.553Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:36.951Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-11T23:19:36.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:37.298Z] ---> sudo-logs.sh [2023-10-11T23:19:37.298Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-11T23:19:37.397Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:37.704Z] ---> job-cost.sh [2023-10-11T23:19:37.704Z] lf-activate-venv: SKIPPING [2023-10-11T23:19:37.704Z] DEBUG: total: 0.2199999988079071 [2023-10-11T23:19:37.704Z] INFO: Retrieving Stack Cost... [2023-10-11T23:19:38.271Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T23:19:38.535Z] INFO: Archiving Costs [Pipeline] echo [2023-10-11T23:19:38.567Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T23:19:38.877Z] ---> logs-deploy.sh [2023-10-11T23:19:38.877Z] lf-activate-venv: SKIPPING [2023-10-11T23:19:38.877Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-632/1 [2023-10-11T23:19:38.877Z] INFO: archiving workspace using pattern(s): [2023-10-11T23:19:39.812Z] Archives upload complete. [2023-10-11T23:19:39.812Z] INFO: archiving logs to Nexus