Pull request #638 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313+e3ae1edce94ca0342fe1654abfca1e19ca67aac7 (854c5503f01ce17e8f4e536d6083b1fcc27c7582) 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-ssh6858855427400856440.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-ssh3515705737601933760.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-638/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-638/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6531532782849638872.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-638/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10776228792627137688.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-ssh14679204798889581681.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-638/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-638/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10604856399948633906.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] ========================================================= [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12216 in /w/workspace/gexfoundry_device-mqtt-go_PR-638 [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-638 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e3ae1edce94ca0342fe1654abfca1e19ca67aac7 into PR head commit 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 Merge succeeded, producing 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 Checking out Revision 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 (PR-638) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 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-27T01:54:06.184Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-27T01:54:06.363Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 # 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 e3ae1edce94ca0342fe1654abfca1e19ca67aac7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 # timeout=10 [Pipeline] echo [2023-10-27T01:54:06.458Z] ========================================================= [2023-10-27T01:54:06.458Z] EdgeX Global Pipelines Version Info [2023-10-27T01:54:06.458Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-27T01:54:07.204Z] ------------------- [2023-10-27T01:54:07.204Z] stable info: [2023-10-27T01:54:07.204Z] ------------------- [2023-10-27T01:54:07.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-27T01:54:07.204Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T01:54:07.204Z] Message: update stable to v1.0.254 [2023-10-27T01:54:07.775Z] ------------------- [2023-10-27T01:54:07.775Z] experimental info: [2023-10-27T01:54:07.775Z] ------------------- [2023-10-27T01:54:07.775Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-27T01:54:07.775Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-27T01:54:07.775Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-27T01:54:08.053Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-27T01:54:08.100Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-27T01:54:08.146Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-27T01:54:08.194Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-27T01:54:08.235Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-27T01:54:08.277Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-27T01:54:08.316Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-27T01:54:08.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-27T01:54:08.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-27T01:54:08.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-27T01:54:08.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-27T01:54:08.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-27T01:54:08.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-27T01:54:08.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-27T01:54:08.628Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T01:54:08.669Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-27T01:54:08.705Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T01:54:08.743Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-27T01:54:08.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-27T01:54:08.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-27T01:54:08.856Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-27T01:54:08.898Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-27T01:54:08.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-27T01:54:08.984Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-27T01:54:09.026Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-27T01:54:09.071Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-27T01:54:09.116Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-27T01:54:09.157Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-638 [Pipeline] echo [2023-10-27T01:54:09.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-638 [Pipeline] echo [2023-10-27T01:54:09.239Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-638 [Pipeline] echo [2023-10-27T01:54:09.277Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [Pipeline] echo [2023-10-27T01:54:09.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1bc7166 [Pipeline] echo [2023-10-27T01:54:09.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T01:54:09.477Z] provisioning config files... [2023-10-27T01:54:09.491Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/config5754610939777831767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T01:54:09.840Z] ---> docker-login.sh [2023-10-27T01:54:09.840Z] nexus3.edgexfoundry.org:10001 [2023-10-27T01:54:10.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:10.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:10.105Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:10.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:10.105Z] [2023-10-27T01:54:10.105Z] Login Succeeded [2023-10-27T01:54:10.105Z] nexus3.edgexfoundry.org:10002 [2023-10-27T01:54:10.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:10.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:10.365Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:10.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:10.365Z] [2023-10-27T01:54:10.365Z] Login Succeeded [2023-10-27T01:54:10.365Z] nexus3.edgexfoundry.org:10003 [2023-10-27T01:54:10.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:10.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:10.365Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:10.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:10.365Z] [2023-10-27T01:54:10.365Z] Login Succeeded [2023-10-27T01:54:10.365Z] nexus3.edgexfoundry.org:10004 [2023-10-27T01:54:10.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:10.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:10.624Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:10.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:10.624Z] [2023-10-27T01:54:10.624Z] Login Succeeded [2023-10-27T01:54:10.624Z] docker.io [2023-10-27T01:54:10.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:10.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:10.884Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:10.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:10.884Z] [2023-10-27T01:54:10.884Z] Login Succeeded [2023-10-27T01:54:10.884Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T01:54:10.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-27T01:54:11.538Z] + git rev-list -1 --merges 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313~1..1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [Pipeline] echo [2023-10-27T01:54:11.592Z] -----------> git rev-list -1 --merges 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313~1..1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [false] [Pipeline] sh [2023-10-27T01:54:11.898Z] + git log --format=format:%s -1 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [Pipeline] echo [2023-10-27T01:54:11.940Z] ========================================================= [2023-10-27T01:54:11.940Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-27T01:54:11.940Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T01:54:12.387Z] + git log --format=format:%s -1 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [Pipeline] echo [2023-10-27T01:54:12.419Z] [semverPrep] GIT_COMMIT: 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-27T01:54:12.447Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-27T01:54:12.855Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-27T01:54:12.856Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-27T01:54:12.856Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-27T01:54:12.856Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-27T01:54:12.856Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-27T01:54:12.856Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-27T01:54:12.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:54:13.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T01:54:13.345Z] [2023-10-27T01:54:13.345Z] 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-27T01:54:13.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T01:54:13.719Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-27T01:54:13.719Z] b85a868b505f: Pulling fs layer [2023-10-27T01:54:13.719Z] e2be974225ed: Pulling fs layer [2023-10-27T01:54:13.719Z] 339a4e72a1f5: Pulling fs layer [2023-10-27T01:54:13.719Z] 988bab9f4d93: Pulling fs layer [2023-10-27T01:54:13.719Z] 1469e6f7b9e6: Pulling fs layer [2023-10-27T01:54:13.719Z] eaf3925da568: Pulling fs layer [2023-10-27T01:54:13.719Z] bab4dde63d76: Pulling fs layer [2023-10-27T01:54:13.719Z] bde34c3a00c8: Pulling fs layer [2023-10-27T01:54:13.719Z] b352a97aabf1: Pulling fs layer [2023-10-27T01:54:13.719Z] 4872d77fe225: Pulling fs layer [2023-10-27T01:54:13.719Z] 5851b861e8e6: Pulling fs layer [2023-10-27T01:54:13.719Z] bab4dde63d76: Waiting [2023-10-27T01:54:13.719Z] bde34c3a00c8: Waiting [2023-10-27T01:54:13.719Z] b352a97aabf1: Waiting [2023-10-27T01:54:13.719Z] 4872d77fe225: Waiting [2023-10-27T01:54:13.719Z] 5851b861e8e6: Waiting [2023-10-27T01:54:13.719Z] 988bab9f4d93: Waiting [2023-10-27T01:54:13.719Z] 1469e6f7b9e6: Waiting [2023-10-27T01:54:13.719Z] eaf3925da568: Waiting [2023-10-27T01:54:13.719Z] e2be974225ed: Download complete [2023-10-27T01:54:13.719Z] 988bab9f4d93: Verifying Checksum [2023-10-27T01:54:13.719Z] 988bab9f4d93: Download complete [2023-10-27T01:54:13.719Z] 1469e6f7b9e6: Verifying Checksum [2023-10-27T01:54:13.719Z] 1469e6f7b9e6: Download complete [2023-10-27T01:54:13.719Z] 339a4e72a1f5: Verifying Checksum [2023-10-27T01:54:13.719Z] 339a4e72a1f5: Download complete [2023-10-27T01:54:13.978Z] eaf3925da568: Verifying Checksum [2023-10-27T01:54:13.978Z] eaf3925da568: Download complete [2023-10-27T01:54:13.978Z] bde34c3a00c8: Verifying Checksum [2023-10-27T01:54:13.978Z] bde34c3a00c8: Download complete [2023-10-27T01:54:13.978Z] b352a97aabf1: Download complete [2023-10-27T01:54:13.978Z] 4872d77fe225: Verifying Checksum [2023-10-27T01:54:13.978Z] 4872d77fe225: Download complete [2023-10-27T01:54:13.978Z] 5851b861e8e6: Verifying Checksum [2023-10-27T01:54:13.978Z] 5851b861e8e6: Download complete [2023-10-27T01:54:13.978Z] b85a868b505f: Verifying Checksum [2023-10-27T01:54:13.978Z] b85a868b505f: Download complete [2023-10-27T01:54:14.237Z] bab4dde63d76: Verifying Checksum [2023-10-27T01:54:14.237Z] bab4dde63d76: Download complete [2023-10-27T01:54:15.190Z] b85a868b505f: Pull complete [2023-10-27T01:54:15.451Z] e2be974225ed: Pull complete [2023-10-27T01:54:15.712Z] 339a4e72a1f5: Pull complete [2023-10-27T01:54:15.712Z] 988bab9f4d93: Pull complete [2023-10-27T01:54:16.282Z] 1469e6f7b9e6: Pull complete [2023-10-27T01:54:16.282Z] eaf3925da568: Pull complete [2023-10-27T01:54:18.186Z] bab4dde63d76: Pull complete [2023-10-27T01:54:18.186Z] bde34c3a00c8: Pull complete [2023-10-27T01:54:18.186Z] b352a97aabf1: Pull complete [2023-10-27T01:54:18.186Z] 4872d77fe225: Pull complete [2023-10-27T01:54:18.186Z] 5851b861e8e6: Pull complete [2023-10-27T01:54:18.186Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-27T01:54:18.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-27T01:54:18.186Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T01:54:18.402Z] prd-ubuntu20.04-docker-8c-8g-12216 does not seem to be running inside a container [2023-10-27T01:54:18.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-638 -v /w/workspace/gexfoundry_device-mqtt-go_PR-638:/w/workspace/gexfoundry_device-mqtt-go_PR-638:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-27T01:54:22.374Z] $ docker top 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e -eo pid,comm [2023-10-27T01:54:22.435Z] 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-27T01:54:22.435Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-27T01:54:22.548Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T01:54:22.548Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T01:54:22.655Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T01:54:22.660Z] $ docker exec 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e ssh-agent [2023-10-27T01:54:22.781Z] SSH_AUTH_SOCK=/tmp/ssh-92riHadWmNE8/agent.33 [2023-10-27T01:54:22.781Z] SSH_AGENT_PID=39 [2023-10-27T01:54:22.787Z] Running ssh-add (command line suppressed) [2023-10-27T01:54:22.892Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/private_key_3010993725477003062.key (/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/private_key_3010993725477003062.key) [2023-10-27T01:54:22.910Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T01:54:23.232Z] + git tag --points-at HEAD [Pipeline] } [2023-10-27T01:54:23.260Z] $ docker exec --env ******** --env ******** 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e ssh-agent -k [2023-10-27T01:54:23.372Z] unset SSH_AUTH_SOCK; [2023-10-27T01:54:23.373Z] unset SSH_AGENT_PID; [2023-10-27T01:54:23.373Z] echo Agent pid 39 killed; [2023-10-27T01:54:23.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-27T01:54:23.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-27T01:54:23.467Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-27T01:54:23.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-27T01:54:23.580Z] $ docker exec 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e ssh-agent [2023-10-27T01:54:23.696Z] SSH_AUTH_SOCK=/tmp/ssh-2d6mkD0UyC5j/agent.71 [2023-10-27T01:54:23.696Z] SSH_AGENT_PID=77 [2023-10-27T01:54:23.700Z] Running ssh-add (command line suppressed) [2023-10-27T01:54:23.815Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/private_key_13799307963146297366.key (/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/private_key_13799307963146297366.key) [2023-10-27T01:54:23.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-27T01:54:24.152Z] + git semver init [2023-10-27T01:54:24.411Z] 2023-10-27 01:54:24,326 [run_init] DEBUG init version:0.0.0 force:False [2023-10-27T01:54:24.411Z] 2023-10-27 01:54:24,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver [2023-10-27T01:54:24.411Z] 2023-10-27 01:54:24,328 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver [2023-10-27T01:54:24.411Z] 2023-10-27 01:54:24,328 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-638, universal_newlines=False, shell=None, istream=None) [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,238 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-638/.git/info/exclude [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,238 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver/PR-638 with force:False [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,238 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver/PR-638 [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,242 [execute] INFO git cat-file --batch-check [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,248 [execute] INFO git cat-file --batch [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver, universal_newlines=False, shell=None, istream=) [2023-10-27T01:54:25.349Z] 2023-10-27 01:54:25,252 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-638/.semver/PR-638 [2023-10-27T01:54:25.349Z] 0.0.0 [Pipeline] } [2023-10-27T01:54:25.376Z] $ docker exec --env ******** --env ******** 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e ssh-agent -k [2023-10-27T01:54:25.484Z] unset SSH_AUTH_SOCK; [2023-10-27T01:54:25.484Z] unset SSH_AGENT_PID; [2023-10-27T01:54:25.484Z] echo Agent pid 77 killed; [2023-10-27T01:54:25.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-27T01:54:25.900Z] + git semver [Pipeline] } [2023-10-27T01:54:26.184Z] $ docker stop --time=1 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e [2023-10-27T01:54:27.518Z] $ docker rm -f --volumes 7ae6763b827c4e4d02cac7fc3a182818f4aa5eaec1fbfd1eed0cb6765429c58e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T01:54:27.914Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-27T01:54:28.208Z] Stashed 1 file(s) [Pipeline] echo [2023-10-27T01:54:28.224Z] [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-27T01:54:28.798Z] provisioning config files... [2023-10-27T01:54:28.806Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/config15110325604499500378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T01:54:29.159Z] ---> docker-login.sh [2023-10-27T01:54:29.159Z] nexus3.edgexfoundry.org:10001 [2023-10-27T01:54:29.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:29.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:29.159Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:29.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:29.159Z] [2023-10-27T01:54:29.159Z] Login Succeeded [2023-10-27T01:54:29.159Z] nexus3.edgexfoundry.org:10002 [2023-10-27T01:54:29.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:29.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:29.159Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:29.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:29.159Z] [2023-10-27T01:54:29.159Z] Login Succeeded [2023-10-27T01:54:29.159Z] nexus3.edgexfoundry.org:10003 [2023-10-27T01:54:29.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:29.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:29.418Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:29.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:29.418Z] [2023-10-27T01:54:29.418Z] Login Succeeded [2023-10-27T01:54:29.418Z] nexus3.edgexfoundry.org:10004 [2023-10-27T01:54:29.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:29.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:29.418Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:29.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:29.418Z] [2023-10-27T01:54:29.418Z] Login Succeeded [2023-10-27T01:54:29.418Z] docker.io [2023-10-27T01:54:29.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:54:29.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:54:29.677Z] Configure a credential helper to remove this warning. See [2023-10-27T01:54:29.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:54:29.677Z] [2023-10-27T01:54:29.936Z] Login Succeeded [2023-10-27T01:54:29.936Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T01:54:29.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T01:54:30.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T01:54:30.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T01:54:30.217Z] ========================================================= [2023-10-27T01:54:30.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-27T01:54:30.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:54:30.673Z] + 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-27T01:54:30.674Z] Sending build context to Docker daemon 6.557MB [2023-10-27T01:54:30.674Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T01:54:30.674Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-27T01:54:30.674Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-27T01:54:30.674Z] 7264a8db6415: Pulling fs layer [2023-10-27T01:54:30.674Z] c4d48a809fc2: Pulling fs layer [2023-10-27T01:54:30.674Z] 4f1c88b9dad5: Pulling fs layer [2023-10-27T01:54:30.674Z] ad3a456e5733: Pulling fs layer [2023-10-27T01:54:30.674Z] 33e27b845d1e: Pulling fs layer [2023-10-27T01:54:30.674Z] c68163c4e522: Pulling fs layer [2023-10-27T01:54:30.674Z] 50da416c3ac9: Pulling fs layer [2023-10-27T01:54:30.674Z] 23d2d4c4bb30: Pulling fs layer [2023-10-27T01:54:30.674Z] c68163c4e522: Waiting [2023-10-27T01:54:30.674Z] ad3a456e5733: Waiting [2023-10-27T01:54:30.674Z] 50da416c3ac9: Waiting [2023-10-27T01:54:30.674Z] 33e27b845d1e: Waiting [2023-10-27T01:54:30.674Z] 23d2d4c4bb30: Waiting [2023-10-27T01:54:30.932Z] c4d48a809fc2: Download complete [2023-10-27T01:54:30.932Z] ad3a456e5733: Verifying Checksum [2023-10-27T01:54:30.932Z] ad3a456e5733: Download complete [2023-10-27T01:54:30.932Z] 33e27b845d1e: Download complete [2023-10-27T01:54:30.932Z] 7264a8db6415: Verifying Checksum [2023-10-27T01:54:30.932Z] 7264a8db6415: Download complete [2023-10-27T01:54:30.932Z] c68163c4e522: Verifying Checksum [2023-10-27T01:54:30.932Z] c68163c4e522: Download complete [2023-10-27T01:54:30.932Z] 7264a8db6415: Pull complete [2023-10-27T01:54:31.190Z] c4d48a809fc2: Pull complete [2023-10-27T01:54:31.190Z] 23d2d4c4bb30: Verifying Checksum [2023-10-27T01:54:31.190Z] 23d2d4c4bb30: Download complete [2023-10-27T01:54:31.451Z] 4f1c88b9dad5: Verifying Checksum [2023-10-27T01:54:31.451Z] 4f1c88b9dad5: Download complete [2023-10-27T01:54:31.709Z] 50da416c3ac9: Verifying Checksum [2023-10-27T01:54:31.709Z] 50da416c3ac9: Download complete [2023-10-27T01:54:34.997Z] 4f1c88b9dad5: Pull complete [2023-10-27T01:54:34.997Z] ad3a456e5733: Pull complete [2023-10-27T01:54:34.997Z] 33e27b845d1e: Pull complete [2023-10-27T01:54:34.997Z] c68163c4e522: Pull complete [2023-10-27T01:54:37.521Z] 50da416c3ac9: Pull complete [2023-10-27T01:54:37.781Z] 23d2d4c4bb30: Pull complete [2023-10-27T01:54:37.781Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-27T01:54:37.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-27T01:54:37.781Z] ---> 0786185ac409 [2023-10-27T01:54:37.781Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-27T01:54:43.077Z] ---> Running in 97803f51483c [2023-10-27T01:54:43.077Z] Removing intermediate container 97803f51483c [2023-10-27T01:54:43.077Z] ---> b8a9511f6d55 [2023-10-27T01:54:43.077Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T01:54:43.077Z] ---> Running in b527db81a3d8 [2023-10-27T01:54:43.077Z] Removing intermediate container b527db81a3d8 [2023-10-27T01:54:43.077Z] ---> dd3053fb38be [2023-10-27T01:54:43.077Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T01:54:43.077Z] ---> Running in 9583c31e510a [2023-10-27T01:54:43.077Z] Removing intermediate container 9583c31e510a [2023-10-27T01:54:43.077Z] ---> 6a5659d9097b [2023-10-27T01:54:43.077Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T01:54:43.077Z] ---> Running in 1a649c506b03 [2023-10-27T01:54:43.077Z] Removing intermediate container 1a649c506b03 [2023-10-27T01:54:43.077Z] ---> 36a558e3b89b [2023-10-27T01:54:43.077Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T01:54:43.077Z] ---> Running in 2cb1974763bf [2023-10-27T01:54:43.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T01:54:43.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T01:54:43.618Z] Still waiting to schedule task [2023-10-27T01:54:43.618Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-27T01:54:43.856Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T01:54:43.856Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-27T01:54:43.856Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T01:54:43.856Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T01:54:43.856Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T01:54:43.856Z] OK: 268 MiB in 56 packages [2023-10-27T01:54:44.422Z] Removing intermediate container 2cb1974763bf [2023-10-27T01:54:44.422Z] ---> 75269cf3571d [2023-10-27T01:54:44.422Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-27T01:54:44.422Z] ---> Running in 9fa7be2d98c3 [2023-10-27T01:54:44.684Z] Removing intermediate container 9fa7be2d98c3 [2023-10-27T01:54:44.684Z] ---> e70a3362d839 [2023-10-27T01:54:44.684Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-27T01:54:44.684Z] ---> a8f878e6fa8c [2023-10-27T01:54:44.684Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T01:54:44.684Z] ---> Running in 52ce383b0877 [2023-10-27T01:55:40.990Z] Removing intermediate container 52ce383b0877 [2023-10-27T01:55:40.990Z] ---> 6e2b723b6a02 [2023-10-27T01:55:40.990Z] Step 11/12 : COPY . . [2023-10-27T01:55:40.990Z] ---> 1f60a1477161 [2023-10-27T01:55:40.990Z] Step 12/12 : RUN $MAKE [2023-10-27T01:55:40.990Z] ---> Running in ea2190a89a67 [2023-10-27T01:55:40.990Z] noop [2023-10-27T01:55:40.990Z] Removing intermediate container ea2190a89a67 [2023-10-27T01:55:40.990Z] ---> 7236dff92b71 [2023-10-27T01:55:40.990Z] Successfully built 7236dff92b71 [2023-10-27T01:55:40.990Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:55:41.442Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T01:55:41.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T01:55:41.604Z] prd-ubuntu20.04-docker-8c-8g-12216 does not seem to be running inside a container [2023-10-27T01:55:41.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-638 -v /w/workspace/gexfoundry_device-mqtt-go_PR-638:/w/workspace/gexfoundry_device-mqtt-go_PR-638:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T01:55:41.960Z] $ docker top 5c9051fb09a675a6364debc061c0f934d94e7273dd6ba6dcf0f260b53e586742 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T01:55:42.349Z] + go version [2023-10-27T01:55:42.349Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-27T01:55:42.383Z] $ docker stop --time=1 5c9051fb09a675a6364debc061c0f934d94e7273dd6ba6dcf0f260b53e586742 [2023-10-27T01:55:43.719Z] $ docker rm -f --volumes 5c9051fb09a675a6364debc061c0f934d94e7273dd6ba6dcf0f260b53e586742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:55:44.468Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-27T01:55:44.468Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T01:55:44.622Z] prd-ubuntu20.04-docker-8c-8g-12216 does not seem to be running inside a container [2023-10-27T01:55:44.653Z] $ 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-638 -v /w/workspace/gexfoundry_device-mqtt-go_PR-638:/w/workspace/gexfoundry_device-mqtt-go_PR-638:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-27T01:55:44.985Z] $ docker top daa8127f43e41432d0c4aeaa56c27bffcb105f7135750cb69b114c8bc42275ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T01:55:45.371Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-638 [Pipeline] fileExists [Pipeline] sh [2023-10-27T01:55:45.731Z] + make test [2023-10-27T01:55:45.731Z] go test ./... -coverprofile=coverage.out ./... [2023-10-27T01:55:47.174Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-27T01:55:57.184Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-27T01:55:57.756Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-27T01:55:57.756Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements [2023-10-27T01:56:04.309Z] go vet ./... [2023-10-27T01:56:07.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T01:56:07.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T01:56:07.587Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T01:56:07.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T01:56:07.658Z] $ docker stop --time=1 daa8127f43e41432d0c4aeaa56c27bffcb105f7135750cb69b114c8bc42275ac [2023-10-27T01:56:11.662Z] $ docker rm -f --volumes daa8127f43e41432d0c4aeaa56c27bffcb105f7135750cb69b114c8bc42275ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T01:56:12.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T01:56:12.259Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-27T01:56:12.940Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T01:56:13.247Z] + ls -al . [2023-10-27T01:56:13.247Z] total 184 [2023-10-27T01:56:13.247Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 01:55 . [2023-10-27T01:56:13.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 01:54 .. [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 01:54 .dockerignore [2023-10-27T01:56:13.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 01:55 .git [2023-10-27T01:56:13.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 01:54 .github [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 27 01:54 .gitignore [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 01:54 .golangci.yml [2023-10-27T01:56:13.247Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 01:54 .semver [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 27 01:54 Attribution.txt [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 27 01:54 CHANGELOG.md [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 27 01:54 Dockerfile [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 01:54 GOVERNANCE.md [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 27 01:54 Jenkinsfile [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 01:54 LICENSE [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 27 01:54 Makefile [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 27 01:54 OWNERS.md [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 27 01:54 README.md [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 01:54 VERSION [2023-10-27T01:56:13.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 01:54 bin [2023-10-27T01:56:13.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 01:54 cmd [2023-10-27T01:56:13.247Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 27 01:55 coverage.out [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 27 01:54 go.mod [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 27 01:54 go.sum [2023-10-27T01:56:13.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 01:54 internal [2023-10-27T01:56:13.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 01:54 mock [2023-10-27T01:56:13.247Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 27 01:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:56:13.652Z] + 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=1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 --label arch=amd64 --label version=0.0.0 . [2023-10-27T01:56:13.652Z] Sending build context to Docker daemon 6.577MB [2023-10-27T01:56:13.652Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T01:56:13.652Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-27T01:56:13.652Z] ---> 7236dff92b71 [2023-10-27T01:56:13.652Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-27T01:56:13.913Z] ---> Running in 5cebea3dc030 [2023-10-27T01:56:14.171Z] Removing intermediate container 5cebea3dc030 [2023-10-27T01:56:14.171Z] ---> 61e8ecfab7e0 [2023-10-27T01:56:14.171Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T01:56:14.171Z] ---> Running in 4b2b6d16892b [2023-10-27T01:56:14.171Z] Removing intermediate container 4b2b6d16892b [2023-10-27T01:56:14.171Z] ---> 3d5c8bc4042a [2023-10-27T01:56:14.171Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T01:56:14.171Z] ---> Running in 3b73c129491a [2023-10-27T01:56:14.171Z] Removing intermediate container 3b73c129491a [2023-10-27T01:56:14.171Z] ---> 69073828deb0 [2023-10-27T01:56:14.171Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T01:56:14.171Z] ---> Running in b4f04d4bbc5c [2023-10-27T01:56:14.429Z] Removing intermediate container b4f04d4bbc5c [2023-10-27T01:56:14.429Z] ---> 10359222bd71 [2023-10-27T01:56:14.429Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T01:56:14.429Z] ---> Running in eddc03e8630d [2023-10-27T01:56:14.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T01:56:14.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T01:56:15.202Z] OK: 268 MiB in 56 packages [2023-10-27T01:56:15.461Z] Removing intermediate container eddc03e8630d [2023-10-27T01:56:15.461Z] ---> b033abaef3f9 [2023-10-27T01:56:15.461Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-27T01:56:15.461Z] ---> Running in 363c1170bbab [2023-10-27T01:56:15.461Z] Removing intermediate container 363c1170bbab [2023-10-27T01:56:15.461Z] ---> 1d23e97e3428 [2023-10-27T01:56:15.461Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-27T01:56:15.721Z] ---> 1f00de0a73a6 [2023-10-27T01:56:15.721Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T01:56:15.721Z] ---> Running in a2e1db19582d [2023-10-27T01:56:16.288Z] Removing intermediate container a2e1db19582d [2023-10-27T01:56:16.288Z] ---> c27d3619b0bc [2023-10-27T01:56:16.288Z] Step 11/24 : COPY . . [2023-10-27T01:56:16.863Z] ---> 6a7c2daa0c82 [2023-10-27T01:56:16.863Z] Step 12/24 : RUN $MAKE [2023-10-27T01:56:16.863Z] ---> Running in 0e7985c943b3 [2023-10-27T01:56:17.124Z] 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.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-27T01:56:39.043Z] Removing intermediate container 0e7985c943b3 [2023-10-27T01:56:39.043Z] ---> 518ee48bb3a8 [2023-10-27T01:56:39.043Z] Step 13/24 : FROM alpine:3.18 [2023-10-27T01:56:39.043Z] 3.18: Pulling from library/alpine [2023-10-27T01:56:39.043Z] 96526aa774ef: Pulling fs layer [2023-10-27T01:56:39.043Z] 96526aa774ef: Download complete [2023-10-27T01:56:39.043Z] 96526aa774ef: Pull complete [2023-10-27T01:56:39.043Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T01:56:39.043Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T01:56:39.043Z] ---> 8ca4688f4f35 [2023-10-27T01:56:39.043Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-27T01:56:39.043Z] ---> Running in 23114f5afaac [2023-10-27T01:56:39.043Z] Removing intermediate container 23114f5afaac [2023-10-27T01:56:39.043Z] ---> 0f632d236620 [2023-10-27T01:56:39.043Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-27T01:56:39.043Z] ---> Running in d78e2aaf16e3 [2023-10-27T01:56:39.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-27T01:56:39.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-27T01:56:39.043Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T01:56:39.043Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T01:56:39.043Z] OK: 7 MiB in 16 packages [2023-10-27T01:56:39.043Z] Removing intermediate container d78e2aaf16e3 [2023-10-27T01:56:39.043Z] ---> a5e7827edbb4 [2023-10-27T01:56:39.043Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-27T01:56:39.832Z] ---> c49b1d0386a6 [2023-10-27T01:56:39.832Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-27T01:56:39.832Z] ---> 453593ba241b [2023-10-27T01:56:39.832Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-27T01:56:40.092Z] ---> 9cf89831fe5b [2023-10-27T01:56:40.092Z] Step 19/24 : EXPOSE 59982 [2023-10-27T01:56:40.092Z] ---> Running in 1ba8f1e91331 [2023-10-27T01:56:40.092Z] Removing intermediate container 1ba8f1e91331 [2023-10-27T01:56:40.092Z] ---> 37f05a072cfe [2023-10-27T01:56:40.092Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-27T01:56:40.092Z] ---> Running in b870cc87bc03 [2023-10-27T01:56:40.092Z] Removing intermediate container b870cc87bc03 [2023-10-27T01:56:40.092Z] ---> b9348fb66788 [2023-10-27T01:56:40.092Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T01:56:40.351Z] ---> Running in 581000d2f70b [2023-10-27T01:56:40.351Z] Removing intermediate container 581000d2f70b [2023-10-27T01:56:40.351Z] ---> 82cea24bafc0 [2023-10-27T01:56:40.351Z] Step 22/24 : LABEL arch=amd64 [2023-10-27T01:56:40.351Z] ---> Running in b5b401a3ec83 [2023-10-27T01:56:40.351Z] Removing intermediate container b5b401a3ec83 [2023-10-27T01:56:40.351Z] ---> 09ad6bf12063 [2023-10-27T01:56:40.351Z] Step 23/24 : LABEL git_sha=1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [2023-10-27T01:56:40.351Z] ---> Running in a9b5ba345a94 [2023-10-27T01:56:40.610Z] Removing intermediate container a9b5ba345a94 [2023-10-27T01:56:40.610Z] ---> aa047b4629a7 [2023-10-27T01:56:40.610Z] Step 24/24 : LABEL version=0.0.0 [2023-10-27T01:56:40.610Z] ---> Running in 3e378c759b31 [2023-10-27T01:56:40.610Z] Removing intermediate container 3e378c759b31 [2023-10-27T01:56:40.610Z] ---> c03153be6216 [2023-10-27T01:56:40.610Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T01:56:40.610Z] Successfully built c03153be6216 [2023-10-27T01:56:40.610Z] 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-27T01:56:41.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T01:56:41.469Z] [2023-10-27T01:56:41.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:56:41.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T01:56:41.840Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-27T01:56:41.840Z] 5eb5b503b376: Pulling fs layer [2023-10-27T01:56:41.840Z] 5c69ac0246d0: Pulling fs layer [2023-10-27T01:56:41.840Z] ec43610c2a17: Pulling fs layer [2023-10-27T01:56:41.840Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-27T01:56:41.840Z] 33b1e0a273af: Pulling fs layer [2023-10-27T01:56:41.840Z] 5d3b04190fa2: Pulling fs layer [2023-10-27T01:56:41.840Z] 2f39f015ded8: Pulling fs layer [2023-10-27T01:56:41.840Z] 33b1e0a273af: Waiting [2023-10-27T01:56:41.840Z] 5d3b04190fa2: Waiting [2023-10-27T01:56:41.840Z] 2f39f015ded8: Waiting [2023-10-27T01:56:41.840Z] 3a2ae6a8a46f: Waiting [2023-10-27T01:56:41.840Z] 5c69ac0246d0: Verifying Checksum [2023-10-27T01:56:41.840Z] 5c69ac0246d0: Download complete [2023-10-27T01:56:41.840Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-27T01:56:41.840Z] 3a2ae6a8a46f: Download complete [2023-10-27T01:56:41.840Z] ec43610c2a17: Verifying Checksum [2023-10-27T01:56:41.840Z] ec43610c2a17: Download complete [2023-10-27T01:56:41.840Z] 33b1e0a273af: Download complete [2023-10-27T01:56:41.840Z] 5d3b04190fa2: Verifying Checksum [2023-10-27T01:56:41.840Z] 5d3b04190fa2: Download complete [2023-10-27T01:56:42.101Z] 5eb5b503b376: Verifying Checksum [2023-10-27T01:56:42.101Z] 5eb5b503b376: Download complete [2023-10-27T01:56:42.670Z] 2f39f015ded8: Download complete [2023-10-27T01:56:43.238Z] 5eb5b503b376: Pull complete [2023-10-27T01:56:43.238Z] 5c69ac0246d0: Pull complete [2023-10-27T01:56:43.804Z] ec43610c2a17: Pull complete [2023-10-27T01:56:43.804Z] 3a2ae6a8a46f: Pull complete [2023-10-27T01:56:44.064Z] 33b1e0a273af: Pull complete [2023-10-27T01:56:44.064Z] 5d3b04190fa2: Pull complete [2023-10-27T01:56:48.268Z] 2f39f015ded8: Pull complete [2023-10-27T01:56:48.268Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-27T01:56:48.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T01:56:48.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T01:56:48.501Z] prd-ubuntu20.04-docker-8c-8g-12216 does not seem to be running inside a container [2023-10-27T01:56:48.533Z] $ 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-638 -v /w/workspace/gexfoundry_device-mqtt-go_PR-638:/w/workspace/gexfoundry_device-mqtt-go_PR-638:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-638@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-27T01:56:53.021Z] $ docker top f6f303ede9639ceed723598f6766b72c8e1a2fa8a78a889b1255ad477e1dd649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T01:56:53.493Z] ---> job-cost.sh [2023-10-27T01:56:53.493Z] lf-activate-venv: SKIPPING [2023-10-27T01:56:53.493Z] INFO: No Stack... [2023-10-27T01:56:53.752Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T01:56:54.010Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T01:56:54.324Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives/cost.csv [2023-10-27T01:56:54.325Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T01:56:54.364Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] [2023-10-27T01:56:54.369Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] did not exist. Created. [2023-10-27T01:56:54.369Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T01:56:54.759Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-27T01:56:54.811Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T01:56:54.844Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T01:56:54.934Z] $ docker stop --time=1 f6f303ede9639ceed723598f6766b72c8e1a2fa8a78a889b1255ad477e1dd649 [2023-10-27T01:56:56.074Z] $ docker rm -f --volumes f6f303ede9639ceed723598f6766b72c8e1a2fa8a78a889b1255ad477e1dd649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-27T01:57:32.236Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12218 in /w/workspace/gexfoundry_device-mqtt-go_PR-638 [Pipeline] { [Pipeline] ws [2023-10-27T01:57:32.300Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-10-27T01:57:32.384Z] The recommended git tool is: git [2023-10-27T01:57:38.052Z] using credential edgex-jenkins-ssh [2023-10-27T01:57:38.071Z] Cloning the remote Git repository [2023-10-27T01:57:38.129Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-27T01:57:38.248Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-10-27T01:57:38.406Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-27T01:57:38.408Z] > git --version # timeout=10 [2023-10-27T01:57:38.429Z] > git --version # 'git version 2.25.1' [2023-10-27T01:57:38.432Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T01:57:38.591Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T01:57:39.875Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-27T01:57:39.920Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-27T01:57:41.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-27T01:57:41.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-27T01:57:41.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T01:57:41.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-27T01:57:41.702Z] Merging remotes/origin/main commit e3ae1edce94ca0342fe1654abfca1e19ca67aac7 into PR head commit 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [2023-10-27T01:57:41.723Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T01:57:41.806Z] > git checkout -f 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 # timeout=10 [2023-10-27T01:57:41.895Z] > git remote # timeout=10 [2023-10-27T01:57:41.916Z] > git config --get remote.origin.url # timeout=10 [2023-10-27T01:57:41.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-27T01:57:44.187Z] Merge succeeded, producing 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [2023-10-27T01:57:44.187Z] Checking out Revision 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 (PR-638) [2023-10-27T01:57:44.777Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-27T01:57:44.836Z] > git --version # timeout=10 [2023-10-27T01:57:44.849Z] > git --version # 'git version 2.25.1' [2023-10-27T01:57:44.864Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T01:57:44.139Z] > git merge e3ae1edce94ca0342fe1654abfca1e19ca67aac7 # timeout=10 [2023-10-27T01:57:44.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-27T01:57:44.196Z] > git config core.sparsecheckout # timeout=10 [2023-10-27T01:57:44.224Z] > git checkout -f 1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 # timeout=10 [2023-10-27T01:57:46.112Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-27T01:57:46.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T01:57:46.112Z] Dload Upload Total Spent Left Speed [2023-10-27T01:57:46.112Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 57696 0 --:--:-- --:--:-- --:--:-- 57959 [Pipeline] sh [2023-10-27T01:57:46.807Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-27T01:57:47.167Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-27T01:57:47.167Z] + sudo tee /etc/docker/daemon.new [2023-10-27T01:57:47.167Z] { [2023-10-27T01:57:47.167Z] "registry-mirrors": [ [2023-10-27T01:57:47.167Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-27T01:57:47.167Z] ], [2023-10-27T01:57:47.167Z] "bip": "10.250.0.254/24", [2023-10-27T01:57:47.167Z] "hosts": [ [2023-10-27T01:57:47.167Z] "tcp://0.0.0.0:5555", [2023-10-27T01:57:47.167Z] "unix:///var/run/docker.sock" [2023-10-27T01:57:47.167Z] ], [2023-10-27T01:57:47.167Z] "mtu": 1458, [2023-10-27T01:57:47.167Z] "selinux-enabled": true, [2023-10-27T01:57:47.167Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-27T01:57:47.167Z] } [Pipeline] sh [2023-10-27T01:57:47.531Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-27T01:57:47.890Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T01:58:06.394Z] provisioning config files... [2023-10-27T01:58:06.428Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config124873875109303784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T01:58:06.836Z] ---> docker-login.sh [2023-10-27T01:58:06.836Z] nexus3.edgexfoundry.org:10001 [2023-10-27T01:58:07.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:58:07.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:58:07.384Z] Configure a credential helper to remove this warning. See [2023-10-27T01:58:07.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:58:07.384Z] [2023-10-27T01:58:07.384Z] Login Succeeded [2023-10-27T01:58:07.384Z] nexus3.edgexfoundry.org:10002 [2023-10-27T01:58:07.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:58:07.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:58:07.933Z] Configure a credential helper to remove this warning. See [2023-10-27T01:58:07.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:58:07.933Z] [2023-10-27T01:58:07.933Z] Login Succeeded [2023-10-27T01:58:07.933Z] nexus3.edgexfoundry.org:10003 [2023-10-27T01:58:08.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:58:08.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:58:08.201Z] Configure a credential helper to remove this warning. See [2023-10-27T01:58:08.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:58:08.201Z] [2023-10-27T01:58:08.201Z] Login Succeeded [2023-10-27T01:58:08.201Z] nexus3.edgexfoundry.org:10004 [2023-10-27T01:58:08.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:58:08.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:58:08.474Z] Configure a credential helper to remove this warning. See [2023-10-27T01:58:08.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:58:08.474Z] [2023-10-27T01:58:08.474Z] Login Succeeded [2023-10-27T01:58:08.474Z] docker.io [2023-10-27T01:58:08.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-27T01:58:09.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-27T01:58:09.015Z] Configure a credential helper to remove this warning. See [2023-10-27T01:58:09.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-27T01:58:09.015Z] [2023-10-27T01:58:09.015Z] Login Succeeded [2023-10-27T01:58:09.285Z] ---> docker-login.sh ends [Pipeline] } [2023-10-27T01:58:09.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-27T01:58:09.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T01:58:09.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-27T01:58:09.784Z] ========================================================= [2023-10-27T01:58:09.784Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-27T01:58:09.784Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T01:58:10.300Z] + 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-27T01:58:13.651Z] Sending build context to Docker daemon 3.376MB [2023-10-27T01:58:13.651Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T01:58:13.651Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-27T01:58:13.651Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-27T01:58:13.651Z] 9fda8d8052c6: Pulling fs layer [2023-10-27T01:58:13.651Z] 5d54e960e981: Pulling fs layer [2023-10-27T01:58:13.651Z] c4a7e357bf2a: Pulling fs layer [2023-10-27T01:58:13.651Z] f0e02332f6b5: Pulling fs layer [2023-10-27T01:58:13.651Z] cefa15bbcfad: Pulling fs layer [2023-10-27T01:58:13.651Z] 17808c966233: Pulling fs layer [2023-10-27T01:58:13.651Z] f0e02332f6b5: Waiting [2023-10-27T01:58:13.651Z] f4c1fc716caa: Pulling fs layer [2023-10-27T01:58:13.651Z] cefa15bbcfad: Waiting [2023-10-27T01:58:13.651Z] 17808c966233: Waiting [2023-10-27T01:58:13.651Z] f4c1fc716caa: Waiting [2023-10-27T01:58:13.928Z] 5d54e960e981: Download complete [2023-10-27T01:58:13.928Z] f0e02332f6b5: Verifying Checksum [2023-10-27T01:58:13.928Z] f0e02332f6b5: Download complete [2023-10-27T01:58:13.928Z] cefa15bbcfad: Verifying Checksum [2023-10-27T01:58:13.928Z] cefa15bbcfad: Download complete [2023-10-27T01:58:13.928Z] 9fda8d8052c6: Verifying Checksum [2023-10-27T01:58:13.928Z] 9fda8d8052c6: Download complete [2023-10-27T01:58:14.526Z] f4c1fc716caa: Verifying Checksum [2023-10-27T01:58:14.526Z] f4c1fc716caa: Download complete [2023-10-27T01:58:15.127Z] 9fda8d8052c6: Pull complete [2023-10-27T01:58:15.718Z] 5d54e960e981: Pull complete [2023-10-27T01:58:15.989Z] c4a7e357bf2a: Verifying Checksum [2023-10-27T01:58:15.989Z] c4a7e357bf2a: Download complete [2023-10-27T01:58:17.078Z] 17808c966233: Download complete [2023-10-27T01:58:29.420Z] c4a7e357bf2a: Pull complete [2023-10-27T01:58:29.420Z] f0e02332f6b5: Pull complete [2023-10-27T01:58:30.017Z] cefa15bbcfad: Pull complete [2023-10-27T01:58:38.282Z] 17808c966233: Pull complete [2023-10-27T01:58:41.648Z] f4c1fc716caa: Pull complete [2023-10-27T01:58:41.648Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-27T01:58:41.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-27T01:58:41.648Z] ---> ea914061e18c [2023-10-27T01:58:41.648Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-27T01:58:43.106Z] ---> Running in 3c08a6dcd521 [2023-10-27T01:58:43.106Z] Removing intermediate container 3c08a6dcd521 [2023-10-27T01:58:43.106Z] ---> 732ad29c2ac1 [2023-10-27T01:58:43.106Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T01:58:43.376Z] ---> Running in c4dd3246e77f [2023-10-27T01:58:43.653Z] Removing intermediate container c4dd3246e77f [2023-10-27T01:58:43.653Z] ---> d45750a728bb [2023-10-27T01:58:43.653Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T01:58:43.653Z] ---> Running in 7813cb6a1262 [2023-10-27T01:58:43.922Z] Removing intermediate container 7813cb6a1262 [2023-10-27T01:58:43.923Z] ---> 68611d0618ed [2023-10-27T01:58:43.923Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T01:58:44.193Z] ---> Running in 6bf20953cf8b [2023-10-27T01:58:44.465Z] Removing intermediate container 6bf20953cf8b [2023-10-27T01:58:44.465Z] ---> a20e398647bd [2023-10-27T01:58:44.465Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T01:58:44.465Z] ---> Running in f473d13d9741 [2023-10-27T01:58:45.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T01:58:46.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T01:58:47.116Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-27T01:58:47.116Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-27T01:58:47.383Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-27T01:58:47.383Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-27T01:58:47.383Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T01:58:47.383Z] OK: 270 MiB in 56 packages [2023-10-27T01:58:48.356Z] Removing intermediate container f473d13d9741 [2023-10-27T01:58:48.356Z] ---> 0b62a5f09ed5 [2023-10-27T01:58:48.356Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-27T01:58:48.628Z] ---> Running in 638484b3a1cb [2023-10-27T01:58:48.900Z] Removing intermediate container 638484b3a1cb [2023-10-27T01:58:48.900Z] ---> f0dd78575ade [2023-10-27T01:58:48.900Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-27T01:58:49.486Z] ---> 4ea4c6c9f035 [2023-10-27T01:58:49.487Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T01:58:49.487Z] ---> Running in 621dd48c59bd [2023-10-27T02:00:26.164Z] Removing intermediate container 621dd48c59bd [2023-10-27T02:00:26.164Z] ---> b2257aa5fa86 [2023-10-27T02:00:26.164Z] Step 11/12 : COPY . . [2023-10-27T02:00:26.164Z] ---> 079d9c3c8154 [2023-10-27T02:00:26.164Z] Step 12/12 : RUN $MAKE [2023-10-27T02:00:26.164Z] ---> Running in 197d6f37e71c [2023-10-27T02:00:26.164Z] noop [2023-10-27T02:00:26.164Z] Removing intermediate container 197d6f37e71c [2023-10-27T02:00:26.164Z] ---> 50a1eb3dea55 [2023-10-27T02:00:26.164Z] Successfully built 50a1eb3dea55 [2023-10-27T02:00:26.164Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:00:26.651Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T02:00:26.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:00:26.975Z] prd-ubuntu20.04-docker-arm64-4c-16g-12218 does not seem to be running inside a container [2023-10-27T02:00:27.060Z] $ 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-27T02:00:28.390Z] $ docker top 99b728783350358f5e38ac86937bea5b2129d089f96d53d21ba01013b945cbfa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:00:29.279Z] + go version [2023-10-27T02:00:29.279Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-27T02:00:29.315Z] $ docker stop --time=1 99b728783350358f5e38ac86937bea5b2129d089f96d53d21ba01013b945cbfa [2023-10-27T02:00:30.971Z] $ docker rm -f --volumes 99b728783350358f5e38ac86937bea5b2129d089f96d53d21ba01013b945cbfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:00:31.841Z] + docker inspect -f . ci-base-image-arm64 [2023-10-27T02:00:31.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:00:32.140Z] prd-ubuntu20.04-docker-arm64-4c-16g-12218 does not seem to be running inside a container [2023-10-27T02:00:32.224Z] $ 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-27T02:00:33.496Z] $ docker top d2f1ed1322b1b140a662af9789360f3963110932239d9419e42b51fab21c6948 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:00:34.394Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-27T02:00:35.104Z] + make test [2023-10-27T02:00:35.104Z] go test ./... -coverprofile=coverage.out ./... [2023-10-27T02:00:39.374Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-27T02:02:31.084Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-27T02:02:31.084Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-27T02:02:31.084Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.8% of statements [2023-10-27T02:02:31.084Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-27T02:02:31.084Z] go vet ./... [2023-10-27T02:02:49.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-27T02:02:49.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-27T02:02:49.329Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-27T02:02:49.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-27T02:02:49.404Z] $ docker stop --time=1 d2f1ed1322b1b140a662af9789360f3963110932239d9419e42b51fab21c6948 [2023-10-27T02:02:53.463Z] $ docker rm -f --volumes d2f1ed1322b1b140a662af9789360f3963110932239d9419e42b51fab21c6948 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-27T02:02:54.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-27T02:02:54.773Z] Warning: overwriting stash ‘coverage-report’ [2023-10-27T02:02:55.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-27T02:02:55.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-27T02:02:56.215Z] + ls -al . [2023-10-27T02:02:56.215Z] total 180 [2023-10-27T02:02:56.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 02:00 . [2023-10-27T02:02:56.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 01:57 .. [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 01:57 .dockerignore [2023-10-27T02:02:56.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 01:57 .git [2023-10-27T02:02:56.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 01:57 .github [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 27 01:57 .gitignore [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 01:57 .golangci.yml [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 27 01:57 Attribution.txt [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 27 01:57 CHANGELOG.md [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 27 01:57 Dockerfile [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 01:57 GOVERNANCE.md [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 27 01:57 Jenkinsfile [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 27 01:57 LICENSE [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 27 01:57 Makefile [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 27 01:57 OWNERS.md [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 27 01:57 README.md [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 01:54 VERSION [2023-10-27T02:02:56.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 01:57 bin [2023-10-27T02:02:56.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 01:57 cmd [2023-10-27T02:02:56.215Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 27 02:02 coverage.out [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 27 01:57 go.mod [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 27 01:57 go.sum [2023-10-27T02:02:56.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 01:57 internal [2023-10-27T02:02:56.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 01:57 mock [2023-10-27T02:02:56.215Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 27 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:02:56.642Z] + 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=1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 --label arch=arm64 --label version=0.0.0 . [2023-10-27T02:02:56.915Z] Sending build context to Docker daemon 3.396MB [2023-10-27T02:02:56.915Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-27T02:02:56.915Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-27T02:02:56.915Z] ---> 50a1eb3dea55 [2023-10-27T02:02:56.915Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-27T02:02:57.189Z] ---> Running in f97bd13d57b8 [2023-10-27T02:02:57.458Z] Removing intermediate container f97bd13d57b8 [2023-10-27T02:02:57.458Z] ---> fbb196633af7 [2023-10-27T02:02:57.458Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-27T02:02:57.458Z] ---> Running in 4fc2cd83be53 [2023-10-27T02:02:57.726Z] Removing intermediate container 4fc2cd83be53 [2023-10-27T02:02:57.726Z] ---> 3ae5622ac945 [2023-10-27T02:02:57.726Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-27T02:02:58.006Z] ---> Running in 96b9979d7e69 [2023-10-27T02:02:58.283Z] Removing intermediate container 96b9979d7e69 [2023-10-27T02:02:58.283Z] ---> 4c25fef0090e [2023-10-27T02:02:58.283Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-27T02:02:58.561Z] ---> Running in 6e37a8c25a36 [2023-10-27T02:02:58.837Z] Removing intermediate container 6e37a8c25a36 [2023-10-27T02:02:58.837Z] ---> 7fcef84fde1f [2023-10-27T02:02:58.837Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-27T02:02:58.837Z] ---> Running in 0b59e6fe59e4 [2023-10-27T02:03:00.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T02:03:00.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T02:03:01.991Z] OK: 270 MiB in 56 packages [2023-10-27T02:03:06.261Z] Removing intermediate container 0b59e6fe59e4 [2023-10-27T02:03:06.261Z] ---> afd41d2d88f7 [2023-10-27T02:03:06.261Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-27T02:03:06.261Z] ---> Running in fc89d325a593 [2023-10-27T02:03:06.261Z] Removing intermediate container fc89d325a593 [2023-10-27T02:03:06.261Z] ---> 3eaa81339875 [2023-10-27T02:03:06.261Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-27T02:03:06.533Z] ---> 6783dbeb4f1f [2023-10-27T02:03:06.533Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-27T02:03:06.533Z] ---> Running in 1ad307a23591 [2023-10-27T02:03:09.185Z] Removing intermediate container 1ad307a23591 [2023-10-27T02:03:09.185Z] ---> 2252f1f41dc5 [2023-10-27T02:03:09.185Z] Step 11/24 : COPY . . [2023-10-27T02:03:10.158Z] ---> 0aa69844af59 [2023-10-27T02:03:10.158Z] Step 12/24 : RUN $MAKE [2023-10-27T02:03:10.158Z] ---> Running in 0214ecaa4167 [2023-10-27T02:03:11.122Z] 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.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-10-27T02:05:32.879Z] Removing intermediate container 0214ecaa4167 [2023-10-27T02:05:32.879Z] ---> d3abd6d5e0c5 [2023-10-27T02:05:32.879Z] Step 13/24 : FROM alpine:3.18 [2023-10-27T02:05:32.879Z] 3.18: Pulling from library/alpine [2023-10-27T02:05:32.879Z] 579b34f0a95b: Pulling fs layer [2023-10-27T02:05:32.879Z] 579b34f0a95b: Verifying Checksum [2023-10-27T02:05:32.879Z] 579b34f0a95b: Download complete [2023-10-27T02:05:32.879Z] 579b34f0a95b: Pull complete [2023-10-27T02:05:32.879Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-27T02:05:32.879Z] Status: Downloaded newer image for alpine:3.18 [2023-10-27T02:05:32.879Z] ---> 3cc203321400 [2023-10-27T02:05:32.879Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-27T02:05:32.879Z] ---> Running in e67034503c76 [2023-10-27T02:05:32.879Z] Removing intermediate container e67034503c76 [2023-10-27T02:05:32.879Z] ---> c5a833869574 [2023-10-27T02:05:32.879Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-27T02:05:32.879Z] ---> Running in 17096e133cd7 [2023-10-27T02:05:32.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-27T02:05:32.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-27T02:05:32.879Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-27T02:05:32.879Z] Executing busybox-1.36.1-r2.trigger [2023-10-27T02:05:32.879Z] OK: 8 MiB in 16 packages [2023-10-27T02:05:32.879Z] Removing intermediate container 17096e133cd7 [2023-10-27T02:05:32.879Z] ---> fe7d3638520b [2023-10-27T02:05:32.879Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-27T02:05:32.879Z] ---> 003e20f7f7a1 [2023-10-27T02:05:32.879Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-27T02:05:32.879Z] ---> 988b02d43908 [2023-10-27T02:05:32.879Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-27T02:05:32.879Z] ---> e130b2517fbb [2023-10-27T02:05:32.879Z] Step 19/24 : EXPOSE 59982 [2023-10-27T02:05:32.879Z] ---> Running in aa6e91b60e70 [2023-10-27T02:05:32.880Z] Removing intermediate container aa6e91b60e70 [2023-10-27T02:05:32.880Z] ---> e77161fdbfbe [2023-10-27T02:05:32.880Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-27T02:05:32.880Z] ---> Running in 9e22e2168dfd [2023-10-27T02:05:32.880Z] Removing intermediate container 9e22e2168dfd [2023-10-27T02:05:32.880Z] ---> adb4e3a25d92 [2023-10-27T02:05:32.880Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-27T02:05:32.880Z] ---> Running in 3d9c9ede6d4f [2023-10-27T02:05:32.880Z] Removing intermediate container 3d9c9ede6d4f [2023-10-27T02:05:32.880Z] ---> 70d290cf2cde [2023-10-27T02:05:32.880Z] Step 22/24 : LABEL arch=arm64 [2023-10-27T02:05:32.880Z] ---> Running in adcdfb9944df [2023-10-27T02:05:32.880Z] Removing intermediate container adcdfb9944df [2023-10-27T02:05:32.880Z] ---> cd95310d0c1b [2023-10-27T02:05:32.880Z] Step 23/24 : LABEL git_sha=1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [2023-10-27T02:05:33.155Z] ---> Running in 1481d70ffa83 [2023-10-27T02:05:33.427Z] Removing intermediate container 1481d70ffa83 [2023-10-27T02:05:33.427Z] ---> aaa7b710321a [2023-10-27T02:05:33.427Z] Step 24/24 : LABEL version=0.0.0 [2023-10-27T02:05:33.427Z] ---> Running in e25303cfff2e [2023-10-27T02:05:34.026Z] Removing intermediate container e25303cfff2e [2023-10-27T02:05:34.026Z] ---> 9df954724f7c [2023-10-27T02:05:34.026Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-27T02:05:34.026Z] Successfully built 9df954724f7c [2023-10-27T02:05:34.026Z] 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-27T02:05:34.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T02:05:34.882Z] [2023-10-27T02:05:34.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:05:35.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T02:05:35.573Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-27T02:05:35.573Z] 8998bd30e6a1: Pulling fs layer [2023-10-27T02:05:35.573Z] 04944245beec: Pulling fs layer [2023-10-27T02:05:35.573Z] 699f458cf7ca: Pulling fs layer [2023-10-27T02:05:35.573Z] 765212b225bb: Pulling fs layer [2023-10-27T02:05:35.573Z] f23df028b6ca: Pulling fs layer [2023-10-27T02:05:35.573Z] d65c8cfc05b1: Pulling fs layer [2023-10-27T02:05:35.573Z] 2437ff75d9bd: Pulling fs layer [2023-10-27T02:05:35.573Z] f23df028b6ca: Waiting [2023-10-27T02:05:35.573Z] d65c8cfc05b1: Waiting [2023-10-27T02:05:35.573Z] 2437ff75d9bd: Waiting [2023-10-27T02:05:35.573Z] 04944245beec: Verifying Checksum [2023-10-27T02:05:35.573Z] 04944245beec: Download complete [2023-10-27T02:05:35.573Z] 765212b225bb: Verifying Checksum [2023-10-27T02:05:35.573Z] 765212b225bb: Download complete [2023-10-27T02:05:35.573Z] f23df028b6ca: Verifying Checksum [2023-10-27T02:05:35.573Z] f23df028b6ca: Download complete [2023-10-27T02:05:35.842Z] d65c8cfc05b1: Verifying Checksum [2023-10-27T02:05:35.842Z] d65c8cfc05b1: Download complete [2023-10-27T02:05:35.842Z] 699f458cf7ca: Verifying Checksum [2023-10-27T02:05:35.842Z] 699f458cf7ca: Download complete [2023-10-27T02:05:36.432Z] 8998bd30e6a1: Verifying Checksum [2023-10-27T02:05:36.432Z] 8998bd30e6a1: Download complete [2023-10-27T02:05:39.021Z] 2437ff75d9bd: Verifying Checksum [2023-10-27T02:05:39.021Z] 2437ff75d9bd: Download complete [2023-10-27T02:05:40.975Z] 8998bd30e6a1: Pull complete [2023-10-27T02:05:41.564Z] 04944245beec: Pull complete [2023-10-27T02:05:43.511Z] 699f458cf7ca: Pull complete [2023-10-27T02:05:43.511Z] 765212b225bb: Pull complete [2023-10-27T02:05:44.477Z] f23df028b6ca: Pull complete [2023-10-27T02:05:44.746Z] d65c8cfc05b1: Pull complete [2023-10-27T02:06:03.084Z] 2437ff75d9bd: Pull complete [2023-10-27T02:06:03.084Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-27T02:06:03.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-27T02:06:03.084Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:06:03.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-12218 does not seem to be running inside a container [2023-10-27T02:06:03.563Z] $ 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-27T02:06:06.659Z] $ docker top 505b0b0eab22ee3952097542cc5eddf686b6432fafde5c97422c8a6c73521a17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:07.609Z] ---> job-cost.sh [2023-10-27T02:06:07.609Z] lf-activate-venv: SKIPPING [2023-10-27T02:06:07.609Z] INFO: No Stack... [2023-10-27T02:06:07.879Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-27T02:06:08.854Z] INFO: Archiving Costs [Pipeline] sh [2023-10-27T02:06:09.523Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-10-27T02:06:09.523Z] + cut -d, -f6 [Pipeline] lock [2023-10-27T02:06:09.619Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] [2023-10-27T02:06:09.624Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] did not exist. Created. [2023-10-27T02:06:09.624Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-27T02:06:10.354Z] /w/workspace/device-mqtt-go/1@tmp/durable-c4a7327c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-27T02:06:11.035Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-27T02:06:11.072Z] Warning: overwriting stash ‘stack-cost’ [2023-10-27T02:06:11.131Z] Stashed 1 file(s) [Pipeline] } [2023-10-27T02:06:11.147Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-638-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-27T02:06:11.236Z] $ docker stop --time=1 505b0b0eab22ee3952097542cc5eddf686b6432fafde5c97422c8a6c73521a17 [2023-10-27T02:06:12.778Z] $ docker rm -f --volumes 505b0b0eab22ee3952097542cc5eddf686b6432fafde5c97422c8a6c73521a17 [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-27T02:06:13.805Z] provisioning config files... [2023-10-27T02:06:13.811Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/config3490145515049384676tmp [Pipeline] { [Pipeline] sh [2023-10-27T02:06:14.149Z] + set +x [2023-10-27T02:06:14.149Z] + bash -s -- [2023-10-27T02:06:14.149Z] + curl -s https://codecov.io/bash [2023-10-27T02:06:14.149Z] [2023-10-27T02:06:14.149Z] _____ _ [2023-10-27T02:06:14.149Z] / ____| | | [2023-10-27T02:06:14.149Z] | | ___ __| | ___ ___ _____ __ [2023-10-27T02:06:14.149Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-27T02:06:14.149Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-27T02:06:14.149Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-27T02:06:14.149Z] Bash-1.0.6 [2023-10-27T02:06:14.149Z] [2023-10-27T02:06:14.149Z] [2023-10-27T02:06:14.149Z] ==> git version 2.25.1 found [2023-10-27T02:06:14.149Z] ==> 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-27T02:06:14.149Z] Release-Date: 2020-01-08 [2023-10-27T02:06:14.149Z] 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-27T02:06:14.149Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-27T02:06:14.149Z] ==> Jenkins CI detected. [2023-10-27T02:06:14.149Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-638 [2023-10-27T02:06:14.149Z] project root: . [2023-10-27T02:06:14.149Z] --> token set from env [2023-10-27T02:06:14.149Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-27T02:06:14.149Z] ==> Running gcov in . (disable via -X gcov) [2023-10-27T02:06:14.149Z] ==> Python coveragepy not found [2023-10-27T02:06:14.149Z] ==> Searching for coverage reports in: [2023-10-27T02:06:14.149Z] + . [2023-10-27T02:06:14.149Z] -> Found 1 reports [2023-10-27T02:06:14.149Z] ==> Detecting git/mercurial file structure [2023-10-27T02:06:14.149Z] ==> Reading reports [2023-10-27T02:06:14.149Z] + ./coverage.out bytes=18506 [2023-10-27T02:06:14.150Z] ==> Appending adjustments [2023-10-27T02:06:14.150Z] https://docs.codecov.io/docs/fixing-reports [2023-10-27T02:06:14.408Z] + Found adjustments [2023-10-27T02:06:14.408Z] ==> Gzipping contents [2023-10-27T02:06:14.408Z] 4.0K /tmp/codecov.CqbtYf.gz [2023-10-27T02:06:14.408Z] ==> Uploading reports [2023-10-27T02:06:14.408Z] url: https://codecov.io [2023-10-27T02:06:14.408Z] query: branch=PR-638&commit=1bc7166b73f9be2b00db1965a4b87c5e0e6a0313&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-638%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=638&job=&cmd_args= [2023-10-27T02:06:14.408Z] -> Pinging Codecov [2023-10-27T02:06:14.408Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-638&commit=1bc7166b73f9be2b00db1965a4b87c5e0e6a0313&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-638%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=638&job=&cmd_args= [2023-10-27T02:06:14.408Z] -> Uploading to [2023-10-27T02:06:14.408Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-27/7D719EC7BBE17E464838252E33014C33/1bc7166b73f9be2b00db1965a4b87c5e0e6a0313/9437225f-7dee-4acd-b652-5593c8be454b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T020614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fca33610d8950b5bc351580727cacba07f6e080781ba05eb146b039607e9cc91 [2023-10-27T02:06:14.408Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-27T02:06:14.408Z] Dload Upload Total Spent Left Speed [2023-10-27T02:06:14.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 15019 --:--:-- --:--:-- --:--:-- 14946 100 3049 0 0 100 3049 0 10265 --:--:-- --:--:-- --:--:-- 10265 [2023-10-27T02:06:14.934Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1bc7166b73f9be2b00db1965a4b87c5e0e6a0313 [Pipeline] } [2023-10-27T02:06:14.960Z] 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-27T02:06:16.700Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives ] [2023-10-27T02:06:16.700Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives [2023-10-27T02:06:16.700Z] total 16 [2023-10-27T02:06:16.700Z] drwxr-xr-x 3 root root 4096 Oct 27 01:56 . [2023-10-27T02:06:16.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 01:56 .. [2023-10-27T02:06:16.700Z] drwxr-xr-x 2 root root 4096 Oct 27 01:56 cost [2023-10-27T02:06:16.700Z] -rw-r--r-- 1 root root 86 Oct 27 01:56 cost.csv [2023-10-27T02:06:16.700Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives [2023-10-27T02:06:16.700Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives [2023-10-27T02:06:16.700Z] total 16 [2023-10-27T02:06:16.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 01:56 . [2023-10-27T02:06:16.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 01:56 .. [2023-10-27T02:06:16.700Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 01:56 cost [2023-10-27T02:06:16.700Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 27 01:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:17.024Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:17.910Z] ---> package-listing.sh [2023-10-27T02:06:17.911Z] ++ facter osfamily [2023-10-27T02:06:17.911Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-27T02:06:18.170Z] + OS_FAMILY=debian [2023-10-27T02:06:18.170Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-638 [2023-10-27T02:06:18.170Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-27T02:06:18.170Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-27T02:06:18.170Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-27T02:06:18.170Z] + PACKAGES=/tmp/packages_start.txt [2023-10-27T02:06:18.170Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-638 ']' [2023-10-27T02:06:18.170Z] + PACKAGES=/tmp/packages_end.txt [2023-10-27T02:06:18.170Z] + case "${OS_FAMILY}" in [2023-10-27T02:06:18.170Z] + dpkg -l [2023-10-27T02:06:18.170Z] + grep '^ii' [2023-10-27T02:06:18.170Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-27T02:06:18.170Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-27T02:06:18.170Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-27T02:06:18.170Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-638 ']' [2023-10-27T02:06:18.170Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives/ [2023-10-27T02:06:18.170Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-638/archives/ [Pipeline] echo [2023-10-27T02:06:18.202Z] 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-638/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-27T02:06:18.494Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-27T02:06:19.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-27T02:06:19.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-27T02:06:19.279Z] prd-ubuntu20.04-docker-8c-8g-12216 does not seem to be running inside a container [2023-10-27T02:06:19.311Z] $ 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-638/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-638 -v /w/workspace/gexfoundry_device-mqtt-go_PR-638:/w/workspace/gexfoundry_device-mqtt-go_PR-638:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-27T02:06:19.520Z] $ docker top b0292a886f17716a62124716d5c8592139967463fe8d0ba2b289b58f3d6b579c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-27T02:06:19.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-27T02:06:20.231Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-27T02:06:20.537Z] + ls /var/log/sa-host [2023-10-27T02:06:20.537Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-27T02:06:20.763Z] provisioning config files... [2023-10-27T02:06:20.772Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-638@tmp/config6756124709168033053tmp [Pipeline] { [Pipeline] echo [2023-10-27T02:06:20.827Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:21.141Z] ---> create-netrc.sh [Pipeline] } [2023-10-27T02:06:21.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:21.568Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-27T02:06:21.600Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:21.909Z] ---> sudo-logs.sh [2023-10-27T02:06:21.910Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-27T02:06:21.993Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:22.303Z] ---> job-cost.sh [2023-10-27T02:06:22.303Z] lf-activate-venv: SKIPPING [2023-10-27T02:06:22.303Z] DEBUG: total: 0.2199999988079071 [2023-10-27T02:06:22.303Z] INFO: Retrieving Stack Cost... [2023-10-27T02:06:22.872Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-27T02:06:23.131Z] INFO: Archiving Costs [Pipeline] echo [2023-10-27T02:06:23.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-27T02:06:23.481Z] ---> logs-deploy.sh [2023-10-27T02:06:23.481Z] lf-activate-venv: SKIPPING [2023-10-27T02:06:23.481Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-638/1 [2023-10-27T02:06:23.481Z] INFO: archiving workspace using pattern(s): [2023-10-27T02:06:24.417Z] Archives upload complete. [2023-10-27T02:06:24.417Z] INFO: archiving logs to Nexus