Pull request #640 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from babdd37ae5cc7c94dd5127031ec4db0628ad3398+a20e3f699be50ae0fa7b260dcb78cdd891955ce4 (e47a9913d66f702753cc3e8e1118b3a0810d79bd) 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-ssh9787310629074007312.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-ssh14891485350619531489.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-640/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-640/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16913707953340432156.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-640/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12398816241037424385.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-ssh5756023874449999147.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-640/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-640/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10971148288518308024.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15629 in /w/workspace/gexfoundry_device-mqtt-go_PR-640 [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-640 # 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/640/head:refs/remotes/origin/PR-640 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a20e3f699be50ae0fa7b260dcb78cdd891955ce4 into PR head commit babdd37ae5cc7c94dd5127031ec4db0628ad3398 Merge succeeded, producing babdd37ae5cc7c94dd5127031ec4db0628ad3398 Checking out Revision babdd37ae5cc7c94dd5127031ec4db0628ad3398 (PR-640) Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f babdd37ae5cc7c94dd5127031ec4db0628ad3398 # 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 a20e3f699be50ae0fa7b260dcb78cdd891955ce4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f babdd37ae5cc7c94dd5127031ec4db0628ad3398 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-31T21:32:23.307Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-31T21:32:23.503Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-31T21:32:23.616Z] ========================================================= [2023-10-31T21:32:23.616Z] EdgeX Global Pipelines Version Info [2023-10-31T21:32:23.616Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:32:24.727Z] ------------------- [2023-10-31T21:32:24.727Z] stable info: [2023-10-31T21:32:24.727Z] ------------------- [2023-10-31T21:32:24.727Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-31T21:32:24.727Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:32:24.727Z] Message: update stable to v1.0.254 [2023-10-31T21:32:24.989Z] ------------------- [2023-10-31T21:32:24.989Z] experimental info: [2023-10-31T21:32:24.989Z] ------------------- [2023-10-31T21:32:24.989Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-31T21:32:24.989Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-10-31T21:32:24.989Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-31T21:32:25.425Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-10-31T21:32:25.465Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-10-31T21:32:25.507Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-31T21:32:25.549Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-31T21:32:25.611Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-31T21:32:25.650Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-31T21:32:25.705Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-31T21:32:25.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-31T21:32:25.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-31T21:32:25.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-31T21:32:25.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-31T21:32:25.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-10-31T21:32:25.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-31T21:32:25.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-31T21:32:26.013Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:32:26.061Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:32:26.105Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:32:26.150Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:32:26.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-31T21:32:26.235Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-31T21:32:26.279Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-31T21:32:26.323Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-31T21:32:26.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-31T21:32:26.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-31T21:32:26.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-31T21:32:26.497Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-31T21:32:26.543Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-31T21:32:26.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-640 [Pipeline] echo [2023-10-31T21:32:26.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-640 [Pipeline] echo [2023-10-31T21:32:26.673Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-640 [Pipeline] echo [2023-10-31T21:32:26.714Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = babdd37ae5cc7c94dd5127031ec4db0628ad3398 [Pipeline] echo [2023-10-31T21:32:26.755Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = babdd37 [Pipeline] echo [2023-10-31T21:32:26.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:32:26.934Z] provisioning config files... [2023-10-31T21:32:26.948Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/config8365370337797747868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:32:27.301Z] ---> docker-login.sh [2023-10-31T21:32:27.301Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:32:27.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:28.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:28.133Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:28.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:28.133Z] [2023-10-31T21:32:28.133Z] Login Succeeded [2023-10-31T21:32:28.133Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:32:28.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:28.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:28.133Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:28.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:28.133Z] [2023-10-31T21:32:28.133Z] Login Succeeded [2023-10-31T21:32:28.133Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:32:28.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:28.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:28.393Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:28.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:28.393Z] [2023-10-31T21:32:28.393Z] Login Succeeded [2023-10-31T21:32:28.393Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:32:28.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:28.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:28.393Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:28.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:28.393Z] [2023-10-31T21:32:28.393Z] Login Succeeded [2023-10-31T21:32:28.393Z] docker.io [2023-10-31T21:32:28.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:28.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:28.931Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:28.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:28.931Z] [2023-10-31T21:32:28.931Z] Login Succeeded [2023-10-31T21:32:28.931Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:32:28.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-31T21:32:29.605Z] + git rev-list -1 --merges babdd37ae5cc7c94dd5127031ec4db0628ad3398~1..babdd37ae5cc7c94dd5127031ec4db0628ad3398 [Pipeline] echo [2023-10-31T21:32:29.675Z] -----------> git rev-list -1 --merges babdd37ae5cc7c94dd5127031ec4db0628ad3398~1..babdd37ae5cc7c94dd5127031ec4db0628ad3398 babdd37ae5cc7c94dd5127031ec4db0628ad3398 [false] [Pipeline] sh [2023-10-31T21:32:29.989Z] + git log --format=format:%s -1 babdd37ae5cc7c94dd5127031ec4db0628ad3398 [Pipeline] echo [2023-10-31T21:32:30.023Z] ========================================================= [2023-10-31T21:32:30.023Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T21:32:30.023Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:32:30.480Z] + git log --format=format:%s -1 babdd37ae5cc7c94dd5127031ec4db0628ad3398 [Pipeline] echo [2023-10-31T21:32:30.510Z] [semverPrep] GIT_COMMIT: babdd37ae5cc7c94dd5127031ec4db0628ad3398, Commit Message: build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo [2023-10-31T21:32:30.545Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-31T21:32:30.941Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-31T21:32:30.941Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-31T21:32:30.941Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-31T21:32:30.941Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-31T21:32:30.941Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-31T21:32:30.941Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-31T21:32:30.941Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:32:31.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:32:31.447Z] [2023-10-31T21:32:31.447Z] 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-31T21:32:31.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:32:32.083Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-31T21:32:32.083Z] b85a868b505f: Pulling fs layer [2023-10-31T21:32:32.083Z] e2be974225ed: Pulling fs layer [2023-10-31T21:32:32.083Z] 339a4e72a1f5: Pulling fs layer [2023-10-31T21:32:32.083Z] 988bab9f4d93: Pulling fs layer [2023-10-31T21:32:32.083Z] 1469e6f7b9e6: Pulling fs layer [2023-10-31T21:32:32.083Z] eaf3925da568: Pulling fs layer [2023-10-31T21:32:32.083Z] bab4dde63d76: Pulling fs layer [2023-10-31T21:32:32.083Z] bde34c3a00c8: Pulling fs layer [2023-10-31T21:32:32.083Z] b352a97aabf1: Pulling fs layer [2023-10-31T21:32:32.083Z] 4872d77fe225: Pulling fs layer [2023-10-31T21:32:32.083Z] 5851b861e8e6: Pulling fs layer [2023-10-31T21:32:32.083Z] 988bab9f4d93: Waiting [2023-10-31T21:32:32.083Z] b352a97aabf1: Waiting [2023-10-31T21:32:32.083Z] 4872d77fe225: Waiting [2023-10-31T21:32:32.083Z] 1469e6f7b9e6: Waiting [2023-10-31T21:32:32.083Z] 5851b861e8e6: Waiting [2023-10-31T21:32:32.083Z] bab4dde63d76: Waiting [2023-10-31T21:32:32.083Z] eaf3925da568: Waiting [2023-10-31T21:32:32.083Z] bde34c3a00c8: Waiting [2023-10-31T21:32:32.083Z] e2be974225ed: Download complete [2023-10-31T21:32:32.083Z] 988bab9f4d93: Verifying Checksum [2023-10-31T21:32:32.083Z] 988bab9f4d93: Download complete [2023-10-31T21:32:32.083Z] 1469e6f7b9e6: Verifying Checksum [2023-10-31T21:32:32.083Z] 1469e6f7b9e6: Download complete [2023-10-31T21:32:32.083Z] eaf3925da568: Verifying Checksum [2023-10-31T21:32:32.083Z] eaf3925da568: Download complete [2023-10-31T21:32:32.083Z] 339a4e72a1f5: Verifying Checksum [2023-10-31T21:32:32.083Z] 339a4e72a1f5: Download complete [2023-10-31T21:32:32.083Z] bde34c3a00c8: Verifying Checksum [2023-10-31T21:32:32.083Z] bde34c3a00c8: Download complete [2023-10-31T21:32:32.083Z] b352a97aabf1: Verifying Checksum [2023-10-31T21:32:32.083Z] b352a97aabf1: Download complete [2023-10-31T21:32:32.346Z] 4872d77fe225: Verifying Checksum [2023-10-31T21:32:32.346Z] 4872d77fe225: Download complete [2023-10-31T21:32:32.346Z] 5851b861e8e6: Download complete [2023-10-31T21:32:32.346Z] b85a868b505f: Verifying Checksum [2023-10-31T21:32:32.346Z] b85a868b505f: Download complete [2023-10-31T21:32:32.606Z] bab4dde63d76: Verifying Checksum [2023-10-31T21:32:33.984Z] b85a868b505f: Pull complete [2023-10-31T21:32:34.243Z] e2be974225ed: Pull complete [2023-10-31T21:32:34.825Z] 339a4e72a1f5: Pull complete [2023-10-31T21:32:35.084Z] 988bab9f4d93: Pull complete [2023-10-31T21:32:35.345Z] 1469e6f7b9e6: Pull complete [2023-10-31T21:32:35.606Z] eaf3925da568: Pull complete [2023-10-31T21:32:37.513Z] bab4dde63d76: Pull complete [2023-10-31T21:32:37.513Z] bde34c3a00c8: Pull complete [2023-10-31T21:32:37.772Z] b352a97aabf1: Pull complete [2023-10-31T21:32:37.772Z] 4872d77fe225: Pull complete [2023-10-31T21:32:38.030Z] 5851b861e8e6: Pull complete [2023-10-31T21:32:38.030Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-31T21:32:38.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:32:38.290Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:32:38.531Z] prd-ubuntu20.04-docker-8c-8g-15629 does not seem to be running inside a container [2023-10-31T21:32:38.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-640 -v /w/workspace/gexfoundry_device-mqtt-go_PR-640:/w/workspace/gexfoundry_device-mqtt-go_PR-640:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-640@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-31T21:32:44.273Z] $ docker top 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba -eo pid,comm [2023-10-31T21:32:44.317Z] 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-31T21:32:44.317Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-31T21:32:44.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:32:44.444Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:32:44.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:32:44.571Z] $ docker exec 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba ssh-agent [2023-10-31T21:32:44.691Z] SSH_AUTH_SOCK=/tmp/ssh-xba1S4G5gCf2/agent.32 [2023-10-31T21:32:44.691Z] SSH_AGENT_PID=38 [2023-10-31T21:32:44.697Z] Running ssh-add (command line suppressed) [2023-10-31T21:32:44.801Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/private_key_14214817631367520385.key (/w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/private_key_14214817631367520385.key) [2023-10-31T21:32:44.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:32:45.160Z] + git tag --points-at HEAD [Pipeline] } [2023-10-31T21:32:45.192Z] $ docker exec --env ******** --env ******** 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba ssh-agent -k [2023-10-31T21:32:45.293Z] unset SSH_AUTH_SOCK; [2023-10-31T21:32:45.293Z] unset SSH_AGENT_PID; [2023-10-31T21:32:45.294Z] echo Agent pid 38 killed; [2023-10-31T21:32:45.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-31T21:32:45.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:32:45.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:32:45.498Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:32:45.507Z] $ docker exec 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba ssh-agent [2023-10-31T21:32:45.603Z] SSH_AUTH_SOCK=/tmp/ssh-Yzgx6pXCG6Dl/agent.71 [2023-10-31T21:32:45.603Z] SSH_AGENT_PID=77 [2023-10-31T21:32:45.608Z] Running ssh-add (command line suppressed) [2023-10-31T21:32:45.736Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/private_key_8327185283684054772.key (/w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/private_key_8327185283684054772.key) [2023-10-31T21:32:45.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:32:46.073Z] + git semver init [2023-10-31T21:32:46.644Z] 2023-10-31 21:32:46,541 [run_init] DEBUG init version:0.0.0 force:False [2023-10-31T21:32:46.644Z] 2023-10-31 21:32:46,543 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver [2023-10-31T21:32:46.644Z] 2023-10-31 21:32:46,544 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver [2023-10-31T21:32:46.644Z] 2023-10-31 21:32:46,544 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-640, universal_newlines=False, shell=None, istream=None) [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,501 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-640/.git/info/exclude [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,502 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver/PR-640 with force:False [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,502 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver/PR-640 [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,506 [execute] INFO git cat-file --batch-check [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,514 [execute] INFO git cat-file --batch [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:32:47.582Z] 2023-10-31 21:32:47,522 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-640/.semver/PR-640 [2023-10-31T21:32:47.582Z] 0.0.0 [Pipeline] } [2023-10-31T21:32:47.616Z] $ docker exec --env ******** --env ******** 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba ssh-agent -k [2023-10-31T21:32:47.724Z] unset SSH_AUTH_SOCK; [2023-10-31T21:32:47.724Z] unset SSH_AGENT_PID; [2023-10-31T21:32:47.724Z] echo Agent pid 77 killed; [2023-10-31T21:32:47.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-31T21:32:48.142Z] + git semver [Pipeline] } [2023-10-31T21:32:48.431Z] $ docker stop --time=1 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba [2023-10-31T21:32:50.618Z] $ docker rm -f --volumes 6321f42297100192b05a268c7020b79a3a8c90255569e61b7bd4413056731bba [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:32:51.265Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-31T21:32:51.618Z] Stashed 1 file(s) [Pipeline] echo [2023-10-31T21:32:51.645Z] [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-31T21:32:52.326Z] provisioning config files... [2023-10-31T21:32:52.336Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/config15077945389234052869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:32:52.685Z] ---> docker-login.sh [2023-10-31T21:32:52.685Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:32:52.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:52.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:52.685Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:52.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:52.685Z] [2023-10-31T21:32:52.685Z] Login Succeeded [2023-10-31T21:32:52.685Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:32:52.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:52.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:52.685Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:52.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:52.685Z] [2023-10-31T21:32:52.685Z] Login Succeeded [2023-10-31T21:32:52.685Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:32:52.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:52.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:52.951Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:52.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:52.951Z] [2023-10-31T21:32:52.951Z] Login Succeeded [2023-10-31T21:32:52.951Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:32:52.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:52.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:52.951Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:52.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:52.951Z] [2023-10-31T21:32:52.951Z] Login Succeeded [2023-10-31T21:32:52.951Z] docker.io [2023-10-31T21:32:52.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:32:53.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:32:53.211Z] Configure a credential helper to remove this warning. See [2023-10-31T21:32:53.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:32:53.211Z] [2023-10-31T21:32:53.211Z] Login Succeeded [2023-10-31T21:32:53.211Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:32:53.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:32:53.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:32:53.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:32:53.502Z] ========================================================= [2023-10-31T21:32:53.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-31T21:32:53.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:32:54.030Z] + 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-31T21:32:54.030Z] Sending build context to Docker daemon 6.558MB [2023-10-31T21:32:54.030Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:32:54.030Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-31T21:32:54.602Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-31T21:32:54.602Z] 7264a8db6415: Pulling fs layer [2023-10-31T21:32:54.602Z] c4d48a809fc2: Pulling fs layer [2023-10-31T21:32:54.602Z] 4f1c88b9dad5: Pulling fs layer [2023-10-31T21:32:54.602Z] ad3a456e5733: Pulling fs layer [2023-10-31T21:32:54.602Z] 33e27b845d1e: Pulling fs layer [2023-10-31T21:32:54.602Z] c68163c4e522: Pulling fs layer [2023-10-31T21:32:54.602Z] ad3a456e5733: Waiting [2023-10-31T21:32:54.602Z] 33e27b845d1e: Waiting [2023-10-31T21:32:54.602Z] c68163c4e522: Waiting [2023-10-31T21:32:54.602Z] 50da416c3ac9: Pulling fs layer [2023-10-31T21:32:54.603Z] 23d2d4c4bb30: Pulling fs layer [2023-10-31T21:32:54.603Z] 50da416c3ac9: Waiting [2023-10-31T21:32:54.603Z] 23d2d4c4bb30: Waiting [2023-10-31T21:32:54.603Z] c4d48a809fc2: Verifying Checksum [2023-10-31T21:32:54.603Z] c4d48a809fc2: Download complete [2023-10-31T21:32:54.603Z] ad3a456e5733: Download complete [2023-10-31T21:32:54.603Z] 33e27b845d1e: Verifying Checksum [2023-10-31T21:32:54.603Z] 33e27b845d1e: Download complete [2023-10-31T21:32:54.603Z] 7264a8db6415: Verifying Checksum [2023-10-31T21:32:54.603Z] 7264a8db6415: Download complete [2023-10-31T21:32:54.603Z] c68163c4e522: Verifying Checksum [2023-10-31T21:32:54.603Z] c68163c4e522: Download complete [2023-10-31T21:32:54.867Z] 23d2d4c4bb30: Verifying Checksum [2023-10-31T21:32:54.867Z] 23d2d4c4bb30: Download complete [2023-10-31T21:32:55.149Z] 4f1c88b9dad5: Verifying Checksum [2023-10-31T21:32:55.149Z] 4f1c88b9dad5: Download complete [2023-10-31T21:32:55.149Z] 7264a8db6415: Pull complete [2023-10-31T21:32:55.411Z] 50da416c3ac9: Verifying Checksum [2023-10-31T21:32:55.411Z] 50da416c3ac9: Download complete [2023-10-31T21:32:55.670Z] c4d48a809fc2: Pull complete [2023-10-31T21:32:59.864Z] 4f1c88b9dad5: Pull complete [2023-10-31T21:33:00.432Z] ad3a456e5733: Pull complete [2023-10-31T21:33:01.000Z] 33e27b845d1e: Pull complete [2023-10-31T21:33:01.567Z] c68163c4e522: Pull complete [2023-10-31T21:33:04.854Z] 50da416c3ac9: Pull complete [2023-10-31T21:33:05.789Z] 23d2d4c4bb30: Pull complete [2023-10-31T21:33:05.789Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-31T21:33:06.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-31T21:33:06.048Z] ---> 0786185ac409 [2023-10-31T21:33:06.048Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:33:07.068Z] Still waiting to schedule task [2023-10-31T21:33:07.068Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-31T21:33:24.164Z] ---> Running in 5273a4172848 [2023-10-31T21:33:24.164Z] Removing intermediate container 5273a4172848 [2023-10-31T21:33:24.164Z] ---> 5dc116c140b5 [2023-10-31T21:33:24.164Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:33:24.164Z] ---> Running in bf4911b6872f [2023-10-31T21:33:24.164Z] Removing intermediate container bf4911b6872f [2023-10-31T21:33:24.164Z] ---> 026cefd4e946 [2023-10-31T21:33:24.164Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-31T21:33:24.425Z] ---> Running in 15ef248488e5 [2023-10-31T21:33:24.684Z] Removing intermediate container 15ef248488e5 [2023-10-31T21:33:24.684Z] ---> 42a7e27e39ee [2023-10-31T21:33:24.684Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-31T21:33:24.946Z] ---> Running in 18fabe992009 [2023-10-31T21:33:25.525Z] Removing intermediate container 18fabe992009 [2023-10-31T21:33:25.525Z] ---> 4d83f03426bf [2023-10-31T21:33:25.525Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-31T21:33:25.785Z] ---> Running in db7f8fbc3c5e [2023-10-31T21:33:26.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:33:26.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:33:27.240Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-31T21:33:27.240Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-31T21:33:27.240Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-31T21:33:27.240Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-31T21:33:27.240Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:33:27.240Z] OK: 268 MiB in 56 packages [2023-10-31T21:33:29.163Z] Removing intermediate container db7f8fbc3c5e [2023-10-31T21:33:29.163Z] ---> 9c1bfb6513a1 [2023-10-31T21:33:29.163Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-31T21:33:29.747Z] ---> Running in 1511c7aedc61 [2023-10-31T21:33:29.747Z] Removing intermediate container 1511c7aedc61 [2023-10-31T21:33:29.747Z] ---> 3b9573129ce2 [2023-10-31T21:33:29.747Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-31T21:33:30.315Z] ---> 1c84d26724fc [2023-10-31T21:33:30.315Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:33:30.580Z] ---> Running in db33c5abc582 [2023-10-31T21:34:44.946Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15630 in /w/workspace/gexfoundry_device-mqtt-go_PR-640 [Pipeline] { [Pipeline] ws [2023-10-31T21:34:45.006Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-10-31T21:34:45.086Z] The recommended git tool is: git [2023-10-31T21:34:50.094Z] using credential edgex-jenkins-ssh [2023-10-31T21:34:50.125Z] Cloning the remote Git repository [2023-10-31T21:34:50.168Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-31T21:34:50.253Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-10-31T21:34:50.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-31T21:34:50.389Z] > git --version # timeout=10 [2023-10-31T21:34:50.412Z] > git --version # 'git version 2.25.1' [2023-10-31T21:34:50.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:34:50.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:34:51.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-31T21:34:51.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:34:53.312Z] Merging remotes/origin/main commit a20e3f699be50ae0fa7b260dcb78cdd891955ce4 into PR head commit babdd37ae5cc7c94dd5127031ec4db0628ad3398 [2023-10-31T21:34:53.585Z] Merge succeeded, producing babdd37ae5cc7c94dd5127031ec4db0628ad3398 [2023-10-31T21:34:53.585Z] Checking out Revision babdd37ae5cc7c94dd5127031ec4db0628ad3398 (PR-640) [2023-10-31T21:34:52.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-10-31T21:34:52.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-10-31T21:34:52.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:34:52.781Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-31T21:34:53.347Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:34:53.413Z] > git checkout -f babdd37ae5cc7c94dd5127031ec4db0628ad3398 # timeout=10 [2023-10-31T21:34:53.491Z] > git remote # timeout=10 [2023-10-31T21:34:53.511Z] > git config --get remote.origin.url # timeout=10 [2023-10-31T21:34:53.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:34:53.538Z] > git merge a20e3f699be50ae0fa7b260dcb78cdd891955ce4 # timeout=10 [2023-10-31T21:34:53.567Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-31T21:34:53.593Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:34:53.608Z] > git checkout -f babdd37ae5cc7c94dd5127031ec4db0628ad3398 # timeout=10 [2023-10-31T21:34:54.038Z] Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" [2023-10-31T21:34:54.084Z] > git --version # timeout=10 [2023-10-31T21:34:54.097Z] > git --version # 'git version 2.25.1' [2023-10-31T21:34:54.118Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:34:55.191Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-31T21:34:55.191Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:34:55.191Z] Dload Upload Total Spent Left Speed [2023-10-31T21:34:55.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-10-31T21:34:55.823Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-31T21:34:56.176Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-31T21:34:56.176Z] + sudo tee /etc/docker/daemon.new [2023-10-31T21:34:56.176Z] { [2023-10-31T21:34:56.176Z] "registry-mirrors": [ [2023-10-31T21:34:56.176Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-31T21:34:56.176Z] ], [2023-10-31T21:34:56.176Z] "bip": "10.250.0.254/24", [2023-10-31T21:34:56.176Z] "hosts": [ [2023-10-31T21:34:56.176Z] "tcp://0.0.0.0:5555", [2023-10-31T21:34:56.176Z] "unix:///var/run/docker.sock" [2023-10-31T21:34:56.176Z] ], [2023-10-31T21:34:56.176Z] "mtu": 1458, [2023-10-31T21:34:56.176Z] "selinux-enabled": true, [2023-10-31T21:34:56.176Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-31T21:34:56.176Z] } [Pipeline] sh [2023-10-31T21:34:56.534Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-31T21:34:56.898Z] + sudo service docker restart [2023-10-31T21:35:07.170Z] Removing intermediate container db33c5abc582 [2023-10-31T21:35:07.170Z] ---> 754fb5468989 [2023-10-31T21:35:07.170Z] Step 11/12 : COPY . . [2023-10-31T21:35:07.170Z] ---> 4bd705ff486d [2023-10-31T21:35:07.170Z] Step 12/12 : RUN $MAKE [2023-10-31T21:35:07.170Z] ---> Running in 9c722615e575 [2023-10-31T21:35:07.170Z] noop [2023-10-31T21:35:07.170Z] Removing intermediate container 9c722615e575 [2023-10-31T21:35:07.170Z] ---> 88697f13d008 [2023-10-31T21:35:07.170Z] Successfully built 88697f13d008 [2023-10-31T21:35:07.170Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:35:07.625Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:35:07.625Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:35:07.796Z] prd-ubuntu20.04-docker-8c-8g-15629 does not seem to be running inside a container [2023-10-31T21:35:07.842Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-640 -v /w/workspace/gexfoundry_device-mqtt-go_PR-640:/w/workspace/gexfoundry_device-mqtt-go_PR-640:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-640@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-31T21:35:11.129Z] $ docker top 2bc7c520a873e2d9f7733f3482334b1dd32884ebf46c5f5ecfb5d3b15e6e9a9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:35:11.514Z] + go version [2023-10-31T21:35:11.514Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-31T21:35:11.565Z] $ docker stop --time=1 2bc7c520a873e2d9f7733f3482334b1dd32884ebf46c5f5ecfb5d3b15e6e9a9d [2023-10-31T21:35:13.617Z] $ docker rm -f --volumes 2bc7c520a873e2d9f7733f3482334b1dd32884ebf46c5f5ecfb5d3b15e6e9a9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:35:14.449Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:35:14.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:35:14.621Z] prd-ubuntu20.04-docker-8c-8g-15629 does not seem to be running inside a container [2023-10-31T21:35:14.669Z] $ 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-640 -v /w/workspace/gexfoundry_device-mqtt-go_PR-640:/w/workspace/gexfoundry_device-mqtt-go_PR-640:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-640@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-31T21:35:15.696Z] $ docker top b916bba7b18c49ce259af3f8a8f50153cbb8f741edf181e2a85938e677dfc8c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] configFileProvider [2023-10-31T21:35:15.891Z] provisioning config files... [2023-10-31T21:35:15.924Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1351675302544835685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:35:16.110Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-640 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:35:16.314Z] ---> docker-login.sh [2023-10-31T21:35:16.314Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:35:16.473Z] + make test [2023-10-31T21:35:16.473Z] go test ./... -coverprofile=coverage.out ./... [2023-10-31T21:35:16.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:35:16.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:35:16.862Z] Configure a credential helper to remove this warning. See [2023-10-31T21:35:16.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:35:16.862Z] [2023-10-31T21:35:16.862Z] Login Succeeded [2023-10-31T21:35:16.862Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:35:17.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:35:17.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:35:17.413Z] Configure a credential helper to remove this warning. See [2023-10-31T21:35:17.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:35:17.413Z] [2023-10-31T21:35:17.413Z] Login Succeeded [2023-10-31T21:35:17.413Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:35:17.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:35:17.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:35:17.688Z] Configure a credential helper to remove this warning. See [2023-10-31T21:35:17.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:35:17.688Z] [2023-10-31T21:35:17.688Z] Login Succeeded [2023-10-31T21:35:17.688Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:35:17.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:35:17.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:35:17.961Z] Configure a credential helper to remove this warning. See [2023-10-31T21:35:17.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:35:17.961Z] [2023-10-31T21:35:17.961Z] Login Succeeded [2023-10-31T21:35:17.961Z] docker.io [2023-10-31T21:35:18.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:35:18.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:35:18.502Z] Configure a credential helper to remove this warning. See [2023-10-31T21:35:18.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:35:18.502Z] [2023-10-31T21:35:18.502Z] Login Succeeded [2023-10-31T21:35:18.502Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:35:18.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:35:18.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:35:18.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:35:19.022Z] ========================================================= [2023-10-31T21:35:19.022Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-31T21:35:19.022Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:35:19.525Z] + 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-31T21:35:19.793Z] Sending build context to Docker daemon 3.376MB [2023-10-31T21:35:19.793Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:35:19.793Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-31T21:35:20.065Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-31T21:35:20.065Z] 9fda8d8052c6: Pulling fs layer [2023-10-31T21:35:20.065Z] 5d54e960e981: Pulling fs layer [2023-10-31T21:35:20.065Z] c4a7e357bf2a: Pulling fs layer [2023-10-31T21:35:20.065Z] f0e02332f6b5: Pulling fs layer [2023-10-31T21:35:20.065Z] cefa15bbcfad: Pulling fs layer [2023-10-31T21:35:20.065Z] 17808c966233: Pulling fs layer [2023-10-31T21:35:20.065Z] f4c1fc716caa: Pulling fs layer [2023-10-31T21:35:20.065Z] f0e02332f6b5: Waiting [2023-10-31T21:35:20.065Z] cefa15bbcfad: Waiting [2023-10-31T21:35:20.065Z] 17808c966233: Waiting [2023-10-31T21:35:20.065Z] f4c1fc716caa: Waiting [2023-10-31T21:35:20.065Z] 5d54e960e981: Verifying Checksum [2023-10-31T21:35:20.065Z] 5d54e960e981: Download complete [2023-10-31T21:35:20.065Z] f0e02332f6b5: Verifying Checksum [2023-10-31T21:35:20.065Z] f0e02332f6b5: Download complete [2023-10-31T21:35:20.065Z] cefa15bbcfad: Download complete [2023-10-31T21:35:20.065Z] 9fda8d8052c6: Verifying Checksum [2023-10-31T21:35:20.065Z] 9fda8d8052c6: Download complete [2023-10-31T21:35:20.671Z] f4c1fc716caa: Verifying Checksum [2023-10-31T21:35:20.671Z] f4c1fc716caa: Download complete [2023-10-31T21:35:20.952Z] 9fda8d8052c6: Pull complete [2023-10-31T21:35:21.543Z] 5d54e960e981: Pull complete [2023-10-31T21:35:22.133Z] c4a7e357bf2a: Verifying Checksum [2023-10-31T21:35:22.133Z] c4a7e357bf2a: Download complete [2023-10-31T21:35:23.106Z] 17808c966233: Verifying Checksum [2023-10-31T21:35:23.106Z] 17808c966233: Download complete [2023-10-31T21:35:26.486Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-31T21:35:35.578Z] c4a7e357bf2a: Pull complete [2023-10-31T21:35:35.578Z] f0e02332f6b5: Pull complete [2023-10-31T21:35:35.578Z] cefa15bbcfad: Pull complete [2023-10-31T21:35:38.684Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-31T21:35:38.684Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-31T21:35:38.684Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements [2023-10-31T21:35:43.837Z] 17808c966233: Pull complete [2023-10-31T21:35:43.963Z] go vet ./... [2023-10-31T21:35:45.776Z] f4c1fc716caa: Pull complete [2023-10-31T21:35:45.776Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-31T21:35:45.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:35:45.776Z] ---> ea914061e18c [2023-10-31T21:35:45.776Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:35:46.363Z] ---> Running in 09e9a74fc9e7 [2023-10-31T21:35:46.957Z] Removing intermediate container 09e9a74fc9e7 [2023-10-31T21:35:46.957Z] ---> 834706e9dc2f [2023-10-31T21:35:46.957Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:35:46.957Z] ---> Running in 5ca9a8f74803 [2023-10-31T21:35:47.225Z] Removing intermediate container 5ca9a8f74803 [2023-10-31T21:35:47.225Z] ---> de0b1dec8143 [2023-10-31T21:35:47.225Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-31T21:35:47.225Z] ---> Running in 74fce3c7d19c [2023-10-31T21:35:47.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:35:47.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:35:47.249Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:35:47.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:35:47.330Z] $ docker stop --time=1 b916bba7b18c49ce259af3f8a8f50153cbb8f741edf181e2a85938e677dfc8c1 [2023-10-31T21:35:47.492Z] Removing intermediate container 74fce3c7d19c [2023-10-31T21:35:47.492Z] ---> 7ad1c9390b38 [2023-10-31T21:35:47.492Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-31T21:35:47.764Z] ---> Running in 1a9a90e5e28e [2023-10-31T21:35:48.031Z] Removing intermediate container 1a9a90e5e28e [2023-10-31T21:35:48.031Z] ---> 5e55c0cdbcab [2023-10-31T21:35:48.031Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-31T21:35:48.031Z] ---> Running in 86f42ed54841 [2023-10-31T21:35:48.995Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:35:49.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:35:50.551Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-31T21:35:50.551Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-31T21:35:50.551Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-31T21:35:50.551Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-31T21:35:50.551Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:35:50.551Z] OK: 270 MiB in 56 packages [2023-10-31T21:35:51.511Z] Removing intermediate container 86f42ed54841 [2023-10-31T21:35:51.511Z] ---> 35ced4d2925e [2023-10-31T21:35:51.511Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-10-31T21:35:51.780Z] ---> Running in 7480917c2a27 [2023-10-31T21:35:52.047Z] Removing intermediate container 7480917c2a27 [2023-10-31T21:35:52.047Z] ---> b58fed2bd6f5 [2023-10-31T21:35:52.047Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-31T21:35:52.634Z] ---> 1760c553435a [2023-10-31T21:35:52.634Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:35:52.634Z] ---> Running in b604ad8ab317 [2023-10-31T21:35:56.563Z] $ docker rm -f --volumes b916bba7b18c49ce259af3f8a8f50153cbb8f741edf181e2a85938e677dfc8c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:35:57.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:35:57.475Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-31T21:35:58.249Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:35:58.560Z] + ls -al . [2023-10-31T21:35:58.560Z] total 184 [2023-10-31T21:35:58.560Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:35 . [2023-10-31T21:35:58.560Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:32 .. [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:32 .dockerignore [2023-10-31T21:35:58.560Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:35 .git [2023-10-31T21:35:58.560Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:32 .github [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 21:32 .gitignore [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:32 .golangci.yml [2023-10-31T21:35:58.560Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:32 .semver [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 31 21:32 Attribution.txt [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 31 21:32 CHANGELOG.md [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 31 21:32 Dockerfile [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:32 GOVERNANCE.md [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 31 21:32 Jenkinsfile [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:32 LICENSE [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 31 21:32 Makefile [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 21:32 OWNERS.md [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 31 21:32 README.md [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:32 VERSION [2023-10-31T21:35:58.560Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:32 bin [2023-10-31T21:35:58.560Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:32 cmd [2023-10-31T21:35:58.560Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 31 21:35 coverage.out [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 31 21:32 go.mod [2023-10-31T21:35:58.560Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 31 21:32 go.sum [2023-10-31T21:35:58.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:32 internal [2023-10-31T21:35:58.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:32 mock [2023-10-31T21:35:58.561Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 31 21:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:35:58.984Z] + 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=babdd37ae5cc7c94dd5127031ec4db0628ad3398 --label arch=amd64 --label version=0.0.0 . [2023-10-31T21:35:58.984Z] Sending build context to Docker daemon 6.577MB [2023-10-31T21:35:58.984Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:35:58.984Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-31T21:35:58.984Z] ---> 88697f13d008 [2023-10-31T21:35:58.984Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:36:00.379Z] ---> Running in 5f571caa4cb5 [2023-10-31T21:36:02.285Z] Removing intermediate container 5f571caa4cb5 [2023-10-31T21:36:02.285Z] ---> 9196ba3b583a [2023-10-31T21:36:02.285Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:36:02.546Z] ---> Running in 9704e7884d16 [2023-10-31T21:36:03.482Z] Removing intermediate container 9704e7884d16 [2023-10-31T21:36:03.482Z] ---> e4f8b380538a [2023-10-31T21:36:03.482Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-31T21:36:04.049Z] ---> Running in 419d5e5f3091 [2023-10-31T21:36:04.618Z] Removing intermediate container 419d5e5f3091 [2023-10-31T21:36:04.618Z] ---> 45cd91f081eb [2023-10-31T21:36:04.618Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-31T21:36:05.189Z] ---> Running in caeea0aab506 [2023-10-31T21:36:06.131Z] Removing intermediate container caeea0aab506 [2023-10-31T21:36:06.131Z] ---> 2de329153889 [2023-10-31T21:36:06.131Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-31T21:36:06.701Z] ---> Running in c1e3a6392411 [2023-10-31T21:36:07.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:36:07.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:36:07.915Z] OK: 268 MiB in 56 packages [2023-10-31T21:36:09.315Z] Removing intermediate container c1e3a6392411 [2023-10-31T21:36:09.315Z] ---> 0c8014c2c5bf [2023-10-31T21:36:09.315Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-31T21:36:09.886Z] ---> Running in 3f7339a299ba [2023-10-31T21:36:10.458Z] Removing intermediate container 3f7339a299ba [2023-10-31T21:36:10.458Z] ---> c900e634f922 [2023-10-31T21:36:10.458Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-31T21:36:10.719Z] ---> 1b8284c44af9 [2023-10-31T21:36:10.719Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:36:11.288Z] ---> Running in 70d09d16c70d [2023-10-31T21:36:13.189Z] Removing intermediate container 70d09d16c70d [2023-10-31T21:36:13.189Z] ---> 6cc71c6b512f [2023-10-31T21:36:13.189Z] Step 11/24 : COPY . . [2023-10-31T21:36:13.761Z] ---> b3ff89e4fd30 [2023-10-31T21:36:13.761Z] Step 12/24 : RUN $MAKE [2023-10-31T21:36:14.331Z] ---> Running in 4f806a079123 [2023-10-31T21:36:15.269Z] 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-31T21:36:47.527Z] Removing intermediate container 4f806a079123 [2023-10-31T21:36:47.527Z] ---> 47caac6f93f9 [2023-10-31T21:36:47.527Z] Step 13/24 : FROM alpine:3.18 [2023-10-31T21:36:47.527Z] 3.18: Pulling from library/alpine [2023-10-31T21:36:47.527Z] 96526aa774ef: Pulling fs layer [2023-10-31T21:36:47.527Z] 96526aa774ef: Verifying Checksum [2023-10-31T21:36:47.527Z] 96526aa774ef: Download complete [2023-10-31T21:36:47.527Z] 96526aa774ef: Pull complete [2023-10-31T21:36:47.527Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:36:47.527Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:36:47.527Z] ---> 8ca4688f4f35 [2023-10-31T21:36:47.527Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-31T21:36:47.527Z] ---> Running in a82588be3222 [2023-10-31T21:36:47.527Z] Removing intermediate container a82588be3222 [2023-10-31T21:36:47.527Z] ---> a38ea7f6df70 [2023-10-31T21:36:47.527Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-31T21:36:47.527Z] ---> Running in f119efc11029 [2023-10-31T21:36:47.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:36:47.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:36:47.527Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-31T21:36:47.527Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:36:47.527Z] OK: 7 MiB in 16 packages [2023-10-31T21:36:47.527Z] Removing intermediate container f119efc11029 [2023-10-31T21:36:47.527Z] ---> b669f3c37e4b [2023-10-31T21:36:47.527Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-31T21:36:47.527Z] ---> f309f1feb9ae [2023-10-31T21:36:47.527Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-31T21:36:47.527Z] ---> d098f5bc6f85 [2023-10-31T21:36:47.527Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-31T21:36:47.527Z] ---> 24ec00bc0499 [2023-10-31T21:36:47.527Z] Step 19/24 : EXPOSE 59982 [2023-10-31T21:36:47.527Z] ---> Running in 500931d67185 [2023-10-31T21:36:47.527Z] Removing intermediate container 500931d67185 [2023-10-31T21:36:47.527Z] ---> 90066f1840ab [2023-10-31T21:36:47.527Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-31T21:36:47.527Z] ---> Running in bc53c1bde1db [2023-10-31T21:36:47.527Z] Removing intermediate container bc53c1bde1db [2023-10-31T21:36:47.527Z] ---> 465727292f75 [2023-10-31T21:36:47.527Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-31T21:36:47.527Z] ---> Running in 43593a3bc0a5 [2023-10-31T21:36:47.527Z] Removing intermediate container 43593a3bc0a5 [2023-10-31T21:36:47.527Z] ---> 56f6cd9bc307 [2023-10-31T21:36:47.527Z] Step 22/24 : LABEL arch=amd64 [2023-10-31T21:36:47.527Z] ---> Running in 566194b5cac4 [2023-10-31T21:36:47.527Z] Removing intermediate container 566194b5cac4 [2023-10-31T21:36:47.527Z] ---> 236a0f3325f7 [2023-10-31T21:36:47.527Z] Step 23/24 : LABEL git_sha=babdd37ae5cc7c94dd5127031ec4db0628ad3398 [2023-10-31T21:36:47.527Z] ---> Running in 2366e0193458 [2023-10-31T21:36:47.527Z] Removing intermediate container 2366e0193458 [2023-10-31T21:36:47.527Z] ---> fd7ca52d7893 [2023-10-31T21:36:47.527Z] Step 24/24 : LABEL version=0.0.0 [2023-10-31T21:36:47.787Z] ---> Running in 5aed89f36a0f [2023-10-31T21:36:48.061Z] Removing intermediate container 5aed89f36a0f [2023-10-31T21:36:48.061Z] ---> 73962bf8dcca [2023-10-31T21:36:48.061Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:36:48.061Z] Successfully built 73962bf8dcca [2023-10-31T21:36:48.061Z] 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-31T21:36:49.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:36:49.003Z] [2023-10-31T21:36:49.003Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:49.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:36:49.381Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-31T21:36:49.381Z] 5eb5b503b376: Pulling fs layer [2023-10-31T21:36:49.381Z] 5c69ac0246d0: Pulling fs layer [2023-10-31T21:36:49.381Z] ec43610c2a17: Pulling fs layer [2023-10-31T21:36:49.381Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-31T21:36:49.381Z] 33b1e0a273af: Pulling fs layer [2023-10-31T21:36:49.381Z] 5d3b04190fa2: Pulling fs layer [2023-10-31T21:36:49.381Z] 2f39f015ded8: Pulling fs layer [2023-10-31T21:36:49.381Z] 33b1e0a273af: Waiting [2023-10-31T21:36:49.381Z] 5d3b04190fa2: Waiting [2023-10-31T21:36:49.381Z] 2f39f015ded8: Waiting [2023-10-31T21:36:49.381Z] 3a2ae6a8a46f: Waiting [2023-10-31T21:36:49.381Z] 5c69ac0246d0: Download complete [2023-10-31T21:36:49.656Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-31T21:36:49.656Z] 3a2ae6a8a46f: Download complete [2023-10-31T21:36:49.656Z] 33b1e0a273af: Verifying Checksum [2023-10-31T21:36:49.656Z] 33b1e0a273af: Download complete [2023-10-31T21:36:49.656Z] 5d3b04190fa2: Verifying Checksum [2023-10-31T21:36:49.656Z] 5d3b04190fa2: Download complete [2023-10-31T21:36:49.656Z] ec43610c2a17: Verifying Checksum [2023-10-31T21:36:49.656Z] ec43610c2a17: Download complete [2023-10-31T21:36:49.922Z] 5eb5b503b376: Verifying Checksum [2023-10-31T21:36:49.922Z] 5eb5b503b376: Download complete [2023-10-31T21:36:50.969Z] 2f39f015ded8: Download complete [2023-10-31T21:36:54.260Z] 5eb5b503b376: Pull complete [2023-10-31T21:36:54.521Z] 5c69ac0246d0: Pull complete [2023-10-31T21:36:55.095Z] ec43610c2a17: Pull complete [2023-10-31T21:36:55.095Z] 3a2ae6a8a46f: Pull complete [2023-10-31T21:36:55.355Z] 33b1e0a273af: Pull complete [2023-10-31T21:36:55.355Z] 5d3b04190fa2: Pull complete [2023-10-31T21:37:00.630Z] 2f39f015ded8: Pull complete [2023-10-31T21:37:00.630Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-31T21:37:00.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:37:00.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:00.865Z] prd-ubuntu20.04-docker-8c-8g-15629 does not seem to be running inside a container [2023-10-31T21:37:00.908Z] $ 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-640 -v /w/workspace/gexfoundry_device-mqtt-go_PR-640:/w/workspace/gexfoundry_device-mqtt-go_PR-640:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-640@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-31T21:37:07.439Z] $ docker top 9faa934292f6fff5a5180fb1d5fa333df42e888bf1003103ffd0dffa6c53d586 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:37:07.971Z] ---> job-cost.sh [2023-10-31T21:37:07.971Z] lf-activate-venv: SKIPPING [2023-10-31T21:37:07.971Z] INFO: No Stack... [2023-10-31T21:37:08.230Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:37:08.489Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:37:08.804Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives/cost.csv [2023-10-31T21:37:08.804Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:37:08.849Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] [2023-10-31T21:37:08.854Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] did not exist. Created. [2023-10-31T21:37:08.854Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:37:09.355Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-31T21:37:09.400Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:37:09.431Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:37:09.532Z] $ docker stop --time=1 9faa934292f6fff5a5180fb1d5fa333df42e888bf1003103ffd0dffa6c53d586 [2023-10-31T21:37:10.987Z] $ docker rm -f --volumes 9faa934292f6fff5a5180fb1d5fa333df42e888bf1003103ffd0dffa6c53d586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T21:37:14.403Z] Removing intermediate container b604ad8ab317 [2023-10-31T21:37:14.403Z] ---> 5b1485ce4f5c [2023-10-31T21:37:14.403Z] Step 11/12 : COPY . . [2023-10-31T21:37:14.403Z] ---> c259b1ea8b15 [2023-10-31T21:37:14.403Z] Step 12/12 : RUN $MAKE [2023-10-31T21:37:14.403Z] ---> Running in b847610757e6 [2023-10-31T21:37:14.403Z] noop [2023-10-31T21:37:14.403Z] Removing intermediate container b847610757e6 [2023-10-31T21:37:14.403Z] ---> 894e7cdb4c13 [2023-10-31T21:37:14.403Z] Successfully built 894e7cdb4c13 [2023-10-31T21:37:14.403Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:14.926Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:37:14.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:15.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-15630 does not seem to be running inside a container [2023-10-31T21:37:15.340Z] $ 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-31T21:37:16.754Z] $ docker top 73a6b74da5f8512f866172c2947cb88a9ead6ef2dc4077cd049551589cadddc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:17.705Z] + go version [2023-10-31T21:37:17.705Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-31T21:37:17.743Z] $ docker stop --time=1 73a6b74da5f8512f866172c2947cb88a9ead6ef2dc4077cd049551589cadddc0 [2023-10-31T21:37:19.488Z] $ docker rm -f --volumes 73a6b74da5f8512f866172c2947cb88a9ead6ef2dc4077cd049551589cadddc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:20.393Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:37:20.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:20.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-15630 does not seem to be running inside a container [2023-10-31T21:37:20.729Z] $ 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-31T21:37:23.267Z] $ docker top ca921d464e12c9c01f45a08b8411c709a291e9a511ea0b739aec3e24a5c396aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:24.225Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:37:24.939Z] + make test [2023-10-31T21:37:24.939Z] go test ./... -coverprofile=coverage.out ./... [2023-10-31T21:37:29.209Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-10-31T21:39:21.056Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-10-31T21:39:23.674Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-10-31T21:39:23.674Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.103s coverage: 22.8% of statements [2023-10-31T21:39:24.675Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-31T21:39:24.675Z] go vet ./... [2023-10-31T21:40:03.924Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:40:03.924Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:40:03.924Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:40:03.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:40:04.025Z] $ docker stop --time=1 ca921d464e12c9c01f45a08b8411c709a291e9a511ea0b739aec3e24a5c396aa [2023-10-31T21:40:06.363Z] $ docker rm -f --volumes ca921d464e12c9c01f45a08b8411c709a291e9a511ea0b739aec3e24a5c396aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:40:07.877Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:40:07.913Z] Warning: overwriting stash ‘coverage-report’ [2023-10-31T21:40:08.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:40:09.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:40:09.703Z] + ls -al . [2023-10-31T21:40:09.703Z] total 180 [2023-10-31T21:40:09.703Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:37 . [2023-10-31T21:40:09.703Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:34 .. [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:34 .dockerignore [2023-10-31T21:40:09.703Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:34 .git [2023-10-31T21:40:09.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:34 .github [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 31 21:34 .gitignore [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:34 .golangci.yml [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 31 21:34 Attribution.txt [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 17522 Oct 31 21:34 CHANGELOG.md [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 1689 Oct 31 21:34 Dockerfile [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:34 GOVERNANCE.md [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 31 21:34 Jenkinsfile [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:34 LICENSE [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 31 21:34 Makefile [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 21:34 OWNERS.md [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 3613 Oct 31 21:34 README.md [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:32 VERSION [2023-10-31T21:40:09.703Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:34 bin [2023-10-31T21:40:09.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:34 cmd [2023-10-31T21:40:09.703Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 31 21:39 coverage.out [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 3822 Oct 31 21:34 go.mod [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 31 21:34 go.sum [2023-10-31T21:40:09.703Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:34 internal [2023-10-31T21:40:09.703Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:34 mock [2023-10-31T21:40:09.703Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 31 21:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:40:10.157Z] + 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=babdd37ae5cc7c94dd5127031ec4db0628ad3398 --label arch=arm64 --label version=0.0.0 . [2023-10-31T21:40:10.762Z] Sending build context to Docker daemon 3.395MB [2023-10-31T21:40:10.762Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:40:10.762Z] Step 2/24 : FROM ${BASE} AS builder [2023-10-31T21:40:10.762Z] ---> 894e7cdb4c13 [2023-10-31T21:40:10.762Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-10-31T21:40:11.034Z] ---> Running in 20f1532de160 [2023-10-31T21:40:12.489Z] Removing intermediate container 20f1532de160 [2023-10-31T21:40:12.489Z] ---> 495a6cd12574 [2023-10-31T21:40:12.489Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-31T21:40:12.489Z] ---> Running in b6b780b927c1 [2023-10-31T21:40:12.761Z] Removing intermediate container b6b780b927c1 [2023-10-31T21:40:12.761Z] ---> b06d8e928407 [2023-10-31T21:40:12.761Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-31T21:40:13.029Z] ---> Running in 2021dbe544b7 [2023-10-31T21:40:13.307Z] Removing intermediate container 2021dbe544b7 [2023-10-31T21:40:13.307Z] ---> 6e8ae659b28e [2023-10-31T21:40:13.307Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-10-31T21:40:13.577Z] ---> Running in 8c936f49ae1a [2023-10-31T21:40:14.993Z] Removing intermediate container 8c936f49ae1a [2023-10-31T21:40:14.993Z] ---> 47a6426a29b8 [2023-10-31T21:40:14.993Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-31T21:40:14.993Z] ---> Running in 4464f024aeb7 [2023-10-31T21:40:16.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:40:17.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:40:18.652Z] OK: 270 MiB in 56 packages [2023-10-31T21:40:19.643Z] Removing intermediate container 4464f024aeb7 [2023-10-31T21:40:19.643Z] ---> 107bed10baa2 [2023-10-31T21:40:19.643Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-10-31T21:40:19.913Z] ---> Running in b081d45132f9 [2023-10-31T21:40:20.503Z] Removing intermediate container b081d45132f9 [2023-10-31T21:40:20.503Z] ---> d07413024830 [2023-10-31T21:40:20.503Z] Step 9/24 : COPY go.mod vendor* ./ [2023-10-31T21:40:21.098Z] ---> 5f2df063c334 [2023-10-31T21:40:21.098Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:40:21.098Z] ---> Running in e1fdf70e960b [2023-10-31T21:40:27.787Z] Removing intermediate container e1fdf70e960b [2023-10-31T21:40:27.787Z] ---> 52a327bcf71b [2023-10-31T21:40:27.787Z] Step 11/24 : COPY . . [2023-10-31T21:40:28.058Z] ---> e59a46693a79 [2023-10-31T21:40:28.058Z] Step 12/24 : RUN $MAKE [2023-10-31T21:40:28.058Z] ---> Running in fa07ac045ab4 [2023-10-31T21:40:29.475Z] 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-31T21:43:06.725Z] Removing intermediate container fa07ac045ab4 [2023-10-31T21:43:06.725Z] ---> 6af7155364fd [2023-10-31T21:43:06.725Z] Step 13/24 : FROM alpine:3.18 [2023-10-31T21:43:06.725Z] 3.18: Pulling from library/alpine [2023-10-31T21:43:06.725Z] 579b34f0a95b: Pulling fs layer [2023-10-31T21:43:06.725Z] 579b34f0a95b: Verifying Checksum [2023-10-31T21:43:06.725Z] 579b34f0a95b: Download complete [2023-10-31T21:43:06.725Z] 579b34f0a95b: Pull complete [2023-10-31T21:43:06.725Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:43:06.725Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:43:06.725Z] ---> 3cc203321400 [2023-10-31T21:43:06.725Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-10-31T21:43:06.725Z] ---> Running in ba84b4994ee2 [2023-10-31T21:43:06.725Z] Removing intermediate container ba84b4994ee2 [2023-10-31T21:43:06.725Z] ---> 9c752697b67c [2023-10-31T21:43:06.725Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-10-31T21:43:06.725Z] ---> Running in 65f8d932c8b9 [2023-10-31T21:43:06.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:43:06.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:43:06.997Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-31T21:43:06.997Z] Executing busybox-1.36.1-r2.trigger [2023-10-31T21:43:07.270Z] OK: 8 MiB in 16 packages [2023-10-31T21:43:08.239Z] Removing intermediate container 65f8d932c8b9 [2023-10-31T21:43:08.239Z] ---> ac8b4dcde5ad [2023-10-31T21:43:08.239Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-10-31T21:43:10.198Z] ---> 8f22cdbe401f [2023-10-31T21:43:10.198Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-10-31T21:43:10.786Z] ---> 75f545174ceb [2023-10-31T21:43:10.786Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-10-31T21:43:11.375Z] ---> 8c93d0da91f3 [2023-10-31T21:43:11.375Z] Step 19/24 : EXPOSE 59982 [2023-10-31T21:43:11.375Z] ---> Running in 34a74849d31d [2023-10-31T21:43:11.977Z] Removing intermediate container 34a74849d31d [2023-10-31T21:43:11.977Z] ---> 666d702288f6 [2023-10-31T21:43:11.977Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-10-31T21:43:11.977Z] ---> Running in abc72096142e [2023-10-31T21:43:12.253Z] Removing intermediate container abc72096142e [2023-10-31T21:43:12.253Z] ---> 13052416286b [2023-10-31T21:43:12.253Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-31T21:43:12.526Z] ---> Running in c6ca2ddf5c98 [2023-10-31T21:43:12.797Z] Removing intermediate container c6ca2ddf5c98 [2023-10-31T21:43:12.797Z] ---> 2cebb8b9a53d [2023-10-31T21:43:12.797Z] Step 22/24 : LABEL arch=arm64 [2023-10-31T21:43:13.071Z] ---> Running in a84c6f31c2f8 [2023-10-31T21:43:13.346Z] Removing intermediate container a84c6f31c2f8 [2023-10-31T21:43:13.346Z] ---> c671b76e18fb [2023-10-31T21:43:13.346Z] Step 23/24 : LABEL git_sha=babdd37ae5cc7c94dd5127031ec4db0628ad3398 [2023-10-31T21:43:13.617Z] ---> Running in 49a38b3e35cf [2023-10-31T21:43:13.890Z] Removing intermediate container 49a38b3e35cf [2023-10-31T21:43:13.890Z] ---> ead40ad4e8a9 [2023-10-31T21:43:13.890Z] Step 24/24 : LABEL version=0.0.0 [2023-10-31T21:43:14.167Z] ---> Running in b2c40c074cfd [2023-10-31T21:43:14.440Z] Removing intermediate container b2c40c074cfd [2023-10-31T21:43:14.440Z] ---> 66584c18ae9d [2023-10-31T21:43:14.440Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:43:14.440Z] Successfully built 66584c18ae9d [2023-10-31T21:43:14.440Z] 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-31T21:43:15.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:43:15.312Z] [2023-10-31T21:43:15.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:43:15.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:43:16.021Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-31T21:43:16.021Z] 8998bd30e6a1: Pulling fs layer [2023-10-31T21:43:16.021Z] 04944245beec: Pulling fs layer [2023-10-31T21:43:16.021Z] 699f458cf7ca: Pulling fs layer [2023-10-31T21:43:16.021Z] 765212b225bb: Pulling fs layer [2023-10-31T21:43:16.021Z] f23df028b6ca: Pulling fs layer [2023-10-31T21:43:16.021Z] d65c8cfc05b1: Pulling fs layer [2023-10-31T21:43:16.021Z] 2437ff75d9bd: Pulling fs layer [2023-10-31T21:43:16.021Z] 765212b225bb: Waiting [2023-10-31T21:43:16.021Z] f23df028b6ca: Waiting [2023-10-31T21:43:16.021Z] d65c8cfc05b1: Waiting [2023-10-31T21:43:16.021Z] 2437ff75d9bd: Waiting [2023-10-31T21:43:16.021Z] 04944245beec: Verifying Checksum [2023-10-31T21:43:16.021Z] 04944245beec: Download complete [2023-10-31T21:43:16.021Z] 765212b225bb: Verifying Checksum [2023-10-31T21:43:16.022Z] 765212b225bb: Download complete [2023-10-31T21:43:16.294Z] f23df028b6ca: Download complete [2023-10-31T21:43:16.294Z] d65c8cfc05b1: Verifying Checksum [2023-10-31T21:43:16.294Z] d65c8cfc05b1: Download complete [2023-10-31T21:43:16.294Z] 699f458cf7ca: Verifying Checksum [2023-10-31T21:43:16.294Z] 699f458cf7ca: Download complete [2023-10-31T21:43:16.885Z] 8998bd30e6a1: Verifying Checksum [2023-10-31T21:43:16.885Z] 8998bd30e6a1: Download complete [2023-10-31T21:43:19.472Z] 2437ff75d9bd: Verifying Checksum [2023-10-31T21:43:19.472Z] 2437ff75d9bd: Download complete [2023-10-31T21:43:22.056Z] 8998bd30e6a1: Pull complete [2023-10-31T21:43:22.326Z] 04944245beec: Pull complete [2023-10-31T21:43:24.276Z] 699f458cf7ca: Pull complete [2023-10-31T21:43:24.276Z] 765212b225bb: Pull complete [2023-10-31T21:43:25.243Z] f23df028b6ca: Pull complete [2023-10-31T21:43:25.511Z] d65c8cfc05b1: Pull complete [2023-10-31T21:43:43.781Z] 2437ff75d9bd: Pull complete [2023-10-31T21:43:43.781Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-31T21:43:43.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:43:43.781Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:43:44.169Z] prd-ubuntu20.04-docker-arm64-4c-16g-15630 does not seem to be running inside a container [2023-10-31T21:43:44.269Z] $ 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-31T21:43:47.685Z] $ docker top f5f54a31d303270c18eaf1de7bc7d55e614a3ecaf16ba8a5f112267874a59be2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:43:48.676Z] ---> job-cost.sh [2023-10-31T21:43:48.676Z] lf-activate-venv: SKIPPING [2023-10-31T21:43:48.676Z] INFO: No Stack... [2023-10-31T21:43:49.269Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-31T21:43:50.242Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:43:50.956Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-10-31T21:43:50.956Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:43:51.077Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] [2023-10-31T21:43:51.086Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] did not exist. Created. [2023-10-31T21:43:51.087Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:43:51.860Z] /w/workspace/device-mqtt-go/1@tmp/durable-68d5eb7c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-31T21:43:52.580Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-31T21:43:52.620Z] Warning: overwriting stash ‘stack-cost’ [2023-10-31T21:43:52.678Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:43:52.700Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-640-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:43:52.788Z] $ docker stop --time=1 f5f54a31d303270c18eaf1de7bc7d55e614a3ecaf16ba8a5f112267874a59be2 [2023-10-31T21:43:54.408Z] $ docker rm -f --volumes f5f54a31d303270c18eaf1de7bc7d55e614a3ecaf16ba8a5f112267874a59be2 [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-31T21:43:55.515Z] provisioning config files... [2023-10-31T21:43:55.523Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/config10920641124604017884tmp [Pipeline] { [Pipeline] sh [2023-10-31T21:43:55.864Z] + set +x [2023-10-31T21:43:55.864Z] + bash -s -- [2023-10-31T21:43:55.864Z] + curl -s https://codecov.io/bash [2023-10-31T21:43:56.122Z] [2023-10-31T21:43:56.122Z] _____ _ [2023-10-31T21:43:56.122Z] / ____| | | [2023-10-31T21:43:56.122Z] | | ___ __| | ___ ___ _____ __ [2023-10-31T21:43:56.122Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-31T21:43:56.122Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-31T21:43:56.122Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-31T21:43:56.122Z] Bash-1.0.6 [2023-10-31T21:43:56.122Z] [2023-10-31T21:43:56.122Z] [2023-10-31T21:43:56.122Z] ==> git version 2.25.1 found [2023-10-31T21:43:56.122Z] ==> 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-31T21:43:56.122Z] Release-Date: 2020-01-08 [2023-10-31T21:43:56.122Z] 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-31T21:43:56.122Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-31T21:43:56.122Z] ==> Jenkins CI detected. [2023-10-31T21:43:56.122Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-640 [2023-10-31T21:43:56.122Z] project root: . [2023-10-31T21:43:56.122Z] --> token set from env [2023-10-31T21:43:56.122Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-31T21:43:56.122Z] ==> Running gcov in . (disable via -X gcov) [2023-10-31T21:43:56.122Z] ==> Python coveragepy not found [2023-10-31T21:43:56.122Z] ==> Searching for coverage reports in: [2023-10-31T21:43:56.122Z] + . [2023-10-31T21:43:56.122Z] -> Found 1 reports [2023-10-31T21:43:56.122Z] ==> Detecting git/mercurial file structure [2023-10-31T21:43:56.122Z] ==> Reading reports [2023-10-31T21:43:56.122Z] + ./coverage.out bytes=18506 [2023-10-31T21:43:56.122Z] ==> Appending adjustments [2023-10-31T21:43:56.122Z] https://docs.codecov.io/docs/fixing-reports [2023-10-31T21:43:56.381Z] + Found adjustments [2023-10-31T21:43:56.381Z] ==> Gzipping contents [2023-10-31T21:43:56.381Z] 4.0K /tmp/codecov.f9yO0E.gz [2023-10-31T21:43:56.381Z] ==> Uploading reports [2023-10-31T21:43:56.381Z] url: https://codecov.io [2023-10-31T21:43:56.381Z] query: branch=PR-640&commit=babdd37ae5cc7c94dd5127031ec4db0628ad3398&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-640%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=640&job=&cmd_args= [2023-10-31T21:43:56.381Z] -> Pinging Codecov [2023-10-31T21:43:56.381Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-640&commit=babdd37ae5cc7c94dd5127031ec4db0628ad3398&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-640%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=640&job=&cmd_args= [2023-10-31T21:43:56.381Z] -> Uploading to [2023-10-31T21:43:56.381Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-31/7D719EC7BBE17E464838252E33014C33/babdd37ae5cc7c94dd5127031ec4db0628ad3398/3618a484-27b6-485a-881c-24420b59880b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T214356Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=116a6216c5cc6e06867220424fcb86f393907dc817b09307bd449a0016678b88 [2023-10-31T21:43:56.381Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:43:56.381Z] Dload Upload Total Spent Left Speed [2023-10-31T21:43:56.640Z] 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 12651 --:--:-- --:--:-- --:--:-- 12599 [2023-10-31T21:43:56.640Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/babdd37ae5cc7c94dd5127031ec4db0628ad3398 [Pipeline] } [2023-10-31T21:43:56.668Z] 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-31T21:43:58.636Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives ] [2023-10-31T21:43:58.636Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives [2023-10-31T21:43:58.636Z] total 16 [2023-10-31T21:43:58.636Z] drwxr-xr-x 3 root root 4096 Oct 31 21:37 . [2023-10-31T21:43:58.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:37 .. [2023-10-31T21:43:58.636Z] drwxr-xr-x 2 root root 4096 Oct 31 21:37 cost [2023-10-31T21:43:58.636Z] -rw-r--r-- 1 root root 86 Oct 31 21:37 cost.csv [2023-10-31T21:43:58.636Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives [2023-10-31T21:43:58.636Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives [2023-10-31T21:43:58.636Z] total 16 [2023-10-31T21:43:58.636Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:37 . [2023-10-31T21:43:58.636Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:37 .. [2023-10-31T21:43:58.636Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:37 cost [2023-10-31T21:43:58.636Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 31 21:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:43:58.967Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:43:59.857Z] ---> package-listing.sh [2023-10-31T21:43:59.857Z] ++ facter osfamily [2023-10-31T21:43:59.857Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-31T21:44:00.116Z] + OS_FAMILY=debian [2023-10-31T21:44:00.116Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-640 [2023-10-31T21:44:00.116Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-31T21:44:00.116Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-31T21:44:00.116Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-31T21:44:00.116Z] + PACKAGES=/tmp/packages_start.txt [2023-10-31T21:44:00.116Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-640 ']' [2023-10-31T21:44:00.116Z] + PACKAGES=/tmp/packages_end.txt [2023-10-31T21:44:00.116Z] + case "${OS_FAMILY}" in [2023-10-31T21:44:00.116Z] + dpkg -l [2023-10-31T21:44:00.116Z] + grep '^ii' [2023-10-31T21:44:00.116Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-31T21:44:00.116Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-31T21:44:00.116Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-31T21:44:00.116Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-640 ']' [2023-10-31T21:44:00.116Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives/ [2023-10-31T21:44:00.116Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-640/archives/ [Pipeline] echo [2023-10-31T21:44:00.156Z] 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-640/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-31T21:44:00.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:44:01.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:44:01.076Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:44:01.220Z] prd-ubuntu20.04-docker-8c-8g-15629 does not seem to be running inside a container [2023-10-31T21:44:01.267Z] $ 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-640/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-640 -v /w/workspace/gexfoundry_device-mqtt-go_PR-640:/w/workspace/gexfoundry_device-mqtt-go_PR-640:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-640@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-31T21:44:02.272Z] $ docker top 3ec43ec70746d4dc48f507f68f5108c6bb4117455d19fde98722b0163f47a647 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:44:02.645Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-31T21:44:02.956Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-31T21:44:03.270Z] + ls /var/log/sa-host [2023-10-31T21:44:03.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:44:03.494Z] provisioning config files... [2023-10-31T21:44:03.504Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-640@tmp/config8140457673823484761tmp [Pipeline] { [Pipeline] echo [2023-10-31T21:44:03.555Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:44:03.866Z] ---> create-netrc.sh [Pipeline] } [2023-10-31T21:44:03.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:44:04.303Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-31T21:44:04.337Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:44:04.651Z] ---> sudo-logs.sh [2023-10-31T21:44:04.651Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-31T21:44:04.740Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:44:05.065Z] ---> job-cost.sh [2023-10-31T21:44:05.065Z] lf-activate-venv: SKIPPING [2023-10-31T21:44:05.065Z] DEBUG: total: 0.2199999988079071 [2023-10-31T21:44:05.065Z] INFO: Retrieving Stack Cost... [2023-10-31T21:44:05.330Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:44:05.908Z] INFO: Archiving Costs [Pipeline] echo [2023-10-31T21:44:05.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:44:06.261Z] ---> logs-deploy.sh [2023-10-31T21:44:06.261Z] lf-activate-venv: SKIPPING [2023-10-31T21:44:06.261Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-640/1 [2023-10-31T21:44:06.261Z] INFO: archiving workspace using pattern(s): [2023-10-31T21:44:07.640Z] Archives upload complete. [2023-10-31T21:44:07.640Z] INFO: archiving logs to Nexus