Pull request #627 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9+dc471bab23d8bb68ec889611181b9f9035c4a73d (93642ed576d621df4f7674e6ba7c9f7d4f2f3a96) 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-ssh4008636618907354605.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-ssh16311516675920966638.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-627/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-627/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11045942678021528803.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-627/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh889294855682603141.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-ssh4227395541568153571.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-627/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-627/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9275810885452098879.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6728’ Running on prd-ubuntu20.04-docker-8c-8g-6735 in /w/workspace/gexfoundry_device-mqtt-go_PR-627 [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-627 # 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/627/head:refs/remotes/origin/PR-627 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dc471bab23d8bb68ec889611181b9f9035c4a73d into PR head commit 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 Merge succeeded, producing 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 Checking out Revision 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 (PR-627) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 # 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 dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:22:32.383Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:22:32.575Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:22:32.677Z] ========================================================= [2023-09-20T17:22:32.677Z] EdgeX Global Pipelines Version Info [2023-09-20T17:22:32.677Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:22:33.417Z] ------------------- [2023-09-20T17:22:33.417Z] stable info: [2023-09-20T17:22:33.417Z] ------------------- [2023-09-20T17:22:33.417Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:22:33.417Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:22:33.417Z] Message: update stable to v1.0.254 [2023-09-20T17:22:33.986Z] ------------------- [2023-09-20T17:22:33.986Z] experimental info: [2023-09-20T17:22:33.986Z] ------------------- [2023-09-20T17:22:33.986Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:22:33.986Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:22:33.986Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:22:34.275Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-20T17:22:34.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-20T17:22:34.350Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:22:34.399Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:22:34.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:22:34.482Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:22:34.531Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:22:34.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:22:34.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:22:34.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:22:34.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:22:34.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-20T17:22:34.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:22:34.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:22:34.884Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:22:34.930Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:22:34.975Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:22:35.021Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:22:35.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:22:35.104Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:22:35.149Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T17:22:35.197Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T17:22:35.239Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:22:35.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:22:35.321Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:22:35.362Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:22:35.404Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:22:35.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-627 [Pipeline] echo [2023-09-20T17:22:35.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-627 [Pipeline] echo [2023-09-20T17:22:35.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-627 [Pipeline] echo [2023-09-20T17:22:35.586Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [Pipeline] echo [2023-09-20T17:22:35.627Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b36b08 [Pipeline] echo [2023-09-20T17:22:35.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:22:35.796Z] provisioning config files... [2023-09-20T17:22:35.812Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/config7264393636121240772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:22:36.161Z] ---> docker-login.sh [2023-09-20T17:22:36.161Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:22:36.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:36.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:36.423Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:36.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:36.423Z] [2023-09-20T17:22:36.423Z] Login Succeeded [2023-09-20T17:22:36.423Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:22:36.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:36.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:36.423Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:36.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:36.423Z] [2023-09-20T17:22:36.423Z] Login Succeeded [2023-09-20T17:22:36.686Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:22:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:36.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:36.686Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:36.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:36.686Z] [2023-09-20T17:22:36.686Z] Login Succeeded [2023-09-20T17:22:36.686Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:22:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:36.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:36.686Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:36.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:36.686Z] [2023-09-20T17:22:36.686Z] Login Succeeded [2023-09-20T17:22:36.686Z] docker.io [2023-09-20T17:22:36.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:37.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:37.213Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:37.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:37.213Z] [2023-09-20T17:22:37.213Z] Login Succeeded [2023-09-20T17:22:37.213Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:22:37.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:22:37.895Z] + git rev-list -1 --merges 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9~1..7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [Pipeline] echo [2023-09-20T17:22:37.957Z] -----------> git rev-list -1 --merges 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9~1..7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [false] [Pipeline] sh [2023-09-20T17:22:38.321Z] + git log --format=format:%s -1 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [Pipeline] echo [2023-09-20T17:22:38.354Z] ========================================================= [2023-09-20T17:22:38.354Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:22:38.354Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:22:38.803Z] + git log --format=format:%s -1 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [Pipeline] echo [2023-09-20T17:22:38.851Z] [semverPrep] GIT_COMMIT: 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo [2023-09-20T17:22:38.878Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:22:39.253Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:22:39.253Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:22:39.253Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:22:39.253Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:22:39.253Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:22:39.253Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:22:39.253Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:22:39.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:22:39.711Z] [2023-09-20T17:22:39.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:22:40.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:22:40.083Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:22:40.083Z] b85a868b505f: Pulling fs layer [2023-09-20T17:22:40.083Z] e2be974225ed: Pulling fs layer [2023-09-20T17:22:40.083Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:22:40.083Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:22:40.083Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:22:40.083Z] eaf3925da568: Pulling fs layer [2023-09-20T17:22:40.083Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:22:40.083Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:22:40.083Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:22:40.083Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:22:40.083Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:22:40.083Z] 988bab9f4d93: Waiting [2023-09-20T17:22:40.083Z] 1469e6f7b9e6: Waiting [2023-09-20T17:22:40.083Z] b352a97aabf1: Waiting [2023-09-20T17:22:40.083Z] eaf3925da568: Waiting [2023-09-20T17:22:40.083Z] bab4dde63d76: Waiting [2023-09-20T17:22:40.083Z] 4872d77fe225: Waiting [2023-09-20T17:22:40.083Z] bde34c3a00c8: Waiting [2023-09-20T17:22:40.083Z] e2be974225ed: Download complete [2023-09-20T17:22:40.083Z] 988bab9f4d93: Download complete [2023-09-20T17:22:40.346Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:22:40.346Z] 339a4e72a1f5: Download complete [2023-09-20T17:22:40.346Z] eaf3925da568: Verifying Checksum [2023-09-20T17:22:40.346Z] eaf3925da568: Download complete [2023-09-20T17:22:40.346Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:22:40.346Z] 1469e6f7b9e6: Download complete [2023-09-20T17:22:40.346Z] bde34c3a00c8: Download complete [2023-09-20T17:22:40.346Z] b352a97aabf1: Verifying Checksum [2023-09-20T17:22:40.346Z] 4872d77fe225: Verifying Checksum [2023-09-20T17:22:40.346Z] 4872d77fe225: Download complete [2023-09-20T17:22:40.346Z] 5851b861e8e6: Download complete [2023-09-20T17:22:40.346Z] b85a868b505f: Verifying Checksum [2023-09-20T17:22:40.346Z] b85a868b505f: Download complete [2023-09-20T17:22:40.604Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:22:40.604Z] bab4dde63d76: Download complete [2023-09-20T17:22:41.541Z] b85a868b505f: Pull complete [2023-09-20T17:22:41.804Z] e2be974225ed: Pull complete [2023-09-20T17:22:42.382Z] 339a4e72a1f5: Pull complete [2023-09-20T17:22:42.382Z] 988bab9f4d93: Pull complete [2023-09-20T17:22:42.644Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:22:42.644Z] eaf3925da568: Pull complete [2023-09-20T17:22:44.563Z] bab4dde63d76: Pull complete [2023-09-20T17:22:44.827Z] bde34c3a00c8: Pull complete [2023-09-20T17:22:44.827Z] b352a97aabf1: Pull complete [2023-09-20T17:22:45.093Z] 4872d77fe225: Pull complete [2023-09-20T17:22:45.093Z] 5851b861e8e6: Pull complete [2023-09-20T17:22:45.093Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:22:45.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:22:45.093Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:22:45.317Z] prd-ubuntu20.04-docker-8c-8g-6735 does not seem to be running inside a container [2023-09-20T17:22:45.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-627 -v /w/workspace/gexfoundry_device-mqtt-go_PR-627:/w/workspace/gexfoundry_device-mqtt-go_PR-627:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-627@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-devops/py-git-semver:0.1.4 cat [2023-09-20T17:22:47.923Z] $ docker top cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 -eo pid,comm [2023-09-20T17:22:47.981Z] 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-09-20T17:22:47.981Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:22:48.109Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:22:48.109Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:22:48.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:22:48.221Z] $ docker exec cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 ssh-agent [2023-09-20T17:22:48.331Z] SSH_AUTH_SOCK=/tmp/ssh-FtlOfX2LVDTK/agent.32 [2023-09-20T17:22:48.331Z] SSH_AGENT_PID=38 [2023-09-20T17:22:48.337Z] Running ssh-add (command line suppressed) [2023-09-20T17:22:48.439Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/private_key_11635484399819197734.key (/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/private_key_11635484399819197734.key) [2023-09-20T17:22:48.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:22:48.784Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:22:48.809Z] $ docker exec --env ******** --env ******** cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 ssh-agent -k [2023-09-20T17:22:48.915Z] unset SSH_AUTH_SOCK; [2023-09-20T17:22:48.915Z] unset SSH_AGENT_PID; [2023-09-20T17:22:48.915Z] echo Agent pid 38 killed; [2023-09-20T17:22:48.929Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:22:49.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:22:49.013Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:22:49.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:22:49.146Z] $ docker exec cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 ssh-agent [2023-09-20T17:22:49.256Z] SSH_AUTH_SOCK=/tmp/ssh-G3UpVOtNVe2F/agent.70 [2023-09-20T17:22:49.256Z] SSH_AGENT_PID=76 [2023-09-20T17:22:49.261Z] Running ssh-add (command line suppressed) [2023-09-20T17:22:49.385Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/private_key_3291023613514754654.key (/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/private_key_3291023613514754654.key) [2023-09-20T17:22:49.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:22:49.739Z] + git semver init [2023-09-20T17:22:49.997Z] 2023-09-20 17:22:49,906 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:22:49.997Z] 2023-09-20 17:22:49,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver [2023-09-20T17:22:49.997Z] 2023-09-20 17:22:49,907 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver [2023-09-20T17:22:49.997Z] 2023-09-20 17:22:49,907 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-627, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,713 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-627/.git/info/exclude [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,714 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver/PR-627 with force:False [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,714 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver/PR-627 [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,718 [execute] INFO git cat-file --batch-check [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,726 [execute] INFO git cat-file --batch [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:22:50.936Z] 2023-09-20 17:22:50,732 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-627/.semver/PR-627 [2023-09-20T17:22:50.936Z] 0.0.0 [Pipeline] } [2023-09-20T17:22:50.959Z] $ docker exec --env ******** --env ******** cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 ssh-agent -k [2023-09-20T17:22:51.059Z] unset SSH_AUTH_SOCK; [2023-09-20T17:22:51.060Z] unset SSH_AGENT_PID; [2023-09-20T17:22:51.060Z] echo Agent pid 76 killed; [2023-09-20T17:22:51.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:22:51.496Z] + git semver [Pipeline] } [2023-09-20T17:22:51.776Z] $ docker stop --time=1 cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 [2023-09-20T17:22:53.073Z] $ docker rm -f --volumes cb8c9cea3914633525672cb3278dfc11ac9a653db4f0cdceb40d5530fbdcfd55 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:22:53.467Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:22:53.738Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:22:53.756Z] [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-09-20T17:22:54.345Z] provisioning config files... [2023-09-20T17:22:54.355Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/config8336686749664605211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:22:54.702Z] ---> docker-login.sh [2023-09-20T17:22:54.702Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:22:54.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:54.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:54.702Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:54.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:54.702Z] [2023-09-20T17:22:54.702Z] Login Succeeded [2023-09-20T17:22:54.702Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:22:54.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:54.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:54.702Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:54.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:54.702Z] [2023-09-20T17:22:54.702Z] Login Succeeded [2023-09-20T17:22:54.702Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:22:54.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:54.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:54.960Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:54.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:54.960Z] [2023-09-20T17:22:54.960Z] Login Succeeded [2023-09-20T17:22:54.960Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:22:54.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:54.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:54.960Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:54.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:54.960Z] [2023-09-20T17:22:54.960Z] Login Succeeded [2023-09-20T17:22:54.960Z] docker.io [2023-09-20T17:22:55.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:22:55.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:22:55.484Z] Configure a credential helper to remove this warning. See [2023-09-20T17:22:55.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:22:55.484Z] [2023-09-20T17:22:55.484Z] Login Succeeded [2023-09-20T17:22:55.484Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:22:55.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:22:55.709Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:22:55.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:22:55.773Z] ========================================================= [2023-09-20T17:22:55.773Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:22:55.773Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:22:56.238Z] + 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-09-20T17:22:56.238Z] Sending build context to Docker daemon 6.504MB [2023-09-20T17:22:56.238Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:22:56.238Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:22:56.238Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:22:56.238Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:22:56.238Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:22:56.238Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:22:56.238Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:22:56.238Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:22:56.238Z] c68163c4e522: Pulling fs layer [2023-09-20T17:22:56.238Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:22:56.238Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:22:56.238Z] 50da416c3ac9: Waiting [2023-09-20T17:22:56.238Z] c68163c4e522: Waiting [2023-09-20T17:22:56.238Z] 33e27b845d1e: Waiting [2023-09-20T17:22:56.238Z] 23d2d4c4bb30: Waiting [2023-09-20T17:22:56.238Z] ad3a456e5733: Waiting [2023-09-20T17:22:56.238Z] c4d48a809fc2: Verifying Checksum [2023-09-20T17:22:56.238Z] c4d48a809fc2: Download complete [2023-09-20T17:22:56.238Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:22:56.238Z] ad3a456e5733: Download complete [2023-09-20T17:22:56.502Z] 33e27b845d1e: Download complete [2023-09-20T17:22:56.502Z] 7264a8db6415: Verifying Checksum [2023-09-20T17:22:56.502Z] 7264a8db6415: Download complete [2023-09-20T17:22:56.502Z] c68163c4e522: Verifying Checksum [2023-09-20T17:22:56.502Z] c68163c4e522: Download complete [2023-09-20T17:22:56.502Z] 7264a8db6415: Pull complete [2023-09-20T17:22:56.761Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:22:56.761Z] 23d2d4c4bb30: Download complete [2023-09-20T17:22:56.761Z] c4d48a809fc2: Pull complete [2023-09-20T17:22:56.761Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:22:56.761Z] 4f1c88b9dad5: Download complete [2023-09-20T17:22:57.325Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:22:57.325Z] 50da416c3ac9: Download complete [2023-09-20T17:23:00.610Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:23:00.610Z] ad3a456e5733: Pull complete [2023-09-20T17:23:00.610Z] 33e27b845d1e: Pull complete [2023-09-20T17:23:00.610Z] c68163c4e522: Pull complete [2023-09-20T17:23:03.135Z] 50da416c3ac9: Pull complete [2023-09-20T17:23:03.393Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:23:03.393Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:23:03.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:23:03.393Z] ---> 0786185ac409 [2023-09-20T17:23:03.393Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:23:06.692Z] ---> Running in 6d6071365ae3 [2023-09-20T17:23:06.692Z] Removing intermediate container 6d6071365ae3 [2023-09-20T17:23:06.692Z] ---> 5ae4d7aa8650 [2023-09-20T17:23:06.692Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:23:06.692Z] ---> Running in ff73d2889833 [2023-09-20T17:23:06.692Z] Removing intermediate container ff73d2889833 [2023-09-20T17:23:06.692Z] ---> 3808135a266d [2023-09-20T17:23:06.692Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:23:06.692Z] ---> Running in 5ccb919ebeaa [2023-09-20T17:23:06.692Z] Removing intermediate container 5ccb919ebeaa [2023-09-20T17:23:06.692Z] ---> 810d1b5bacdf [2023-09-20T17:23:06.692Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:23:06.692Z] ---> Running in 8b4fdb1084dc [2023-09-20T17:23:06.692Z] Removing intermediate container 8b4fdb1084dc [2023-09-20T17:23:06.692Z] ---> 604a2e5be3cc [2023-09-20T17:23:06.692Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:23:06.692Z] ---> Running in 0a8e13f3f58e [2023-09-20T17:23:06.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:06.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:23:07.211Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:23:07.211Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:23:07.211Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:23:07.471Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:23:07.471Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:23:07.471Z] OK: 268 MiB in 56 packages [2023-09-20T17:23:08.039Z] Removing intermediate container 0a8e13f3f58e [2023-09-20T17:23:08.039Z] ---> 10d22ceeaa45 [2023-09-20T17:23:08.039Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-20T17:23:08.039Z] ---> Running in ad7363e1ce01 [2023-09-20T17:23:08.039Z] Removing intermediate container ad7363e1ce01 [2023-09-20T17:23:08.039Z] ---> 0372086a0c3d [2023-09-20T17:23:08.039Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:23:08.039Z] ---> bceeafd9b46e [2023-09-20T17:23:08.039Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:23:08.299Z] ---> Running in 8b83cd60c6a7 [2023-09-20T17:23:09.148Z] Still waiting to schedule task [2023-09-20T17:23:09.149Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ [2023-09-20T17:23:40.392Z] Removing intermediate container 8b83cd60c6a7 [2023-09-20T17:23:40.392Z] ---> c5387e5fda8e [2023-09-20T17:23:40.392Z] Step 11/12 : COPY . . [2023-09-20T17:23:40.392Z] ---> 4594230303ff [2023-09-20T17:23:40.392Z] Step 12/12 : RUN $MAKE [2023-09-20T17:23:40.392Z] ---> Running in ffe8a7624df1 [2023-09-20T17:23:40.392Z] noop [2023-09-20T17:23:40.392Z] Removing intermediate container ffe8a7624df1 [2023-09-20T17:23:40.392Z] ---> b2209b99588a [2023-09-20T17:23:40.392Z] Successfully built b2209b99588a [2023-09-20T17:23:40.392Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:40.863Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:23:40.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:23:41.016Z] prd-ubuntu20.04-docker-8c-8g-6735 does not seem to be running inside a container [2023-09-20T17:23:41.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-627 -v /w/workspace/gexfoundry_device-mqtt-go_PR-627:/w/workspace/gexfoundry_device-mqtt-go_PR-627:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:23:41.388Z] $ docker top 369dbda6eb8fb090ee4c7ec39e1c3b97cde31c53882edb9e876e3a26d48ad9a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:23:41.783Z] + go version [2023-09-20T17:23:41.783Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:23:41.809Z] $ docker stop --time=1 369dbda6eb8fb090ee4c7ec39e1c3b97cde31c53882edb9e876e3a26d48ad9a9 [2023-09-20T17:23:43.092Z] $ docker rm -f --volumes 369dbda6eb8fb090ee4c7ec39e1c3b97cde31c53882edb9e876e3a26d48ad9a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:43.818Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:23:43.818Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:23:43.981Z] prd-ubuntu20.04-docker-8c-8g-6735 does not seem to be running inside a container [2023-09-20T17:23:44.012Z] $ 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-627 -v /w/workspace/gexfoundry_device-mqtt-go_PR-627:/w/workspace/gexfoundry_device-mqtt-go_PR-627:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:23:44.360Z] $ docker top 306b217c3b5c1136387291b2e8532f77ab4ab429a76bf5e218c2ed37a848961a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:23:44.763Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-627 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:23:45.144Z] + make test [2023-09-20T17:23:45.144Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:23:46.553Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-20T17:23:56.506Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-20T17:23:56.506Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-20T17:23:56.506Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-09-20T17:24:03.055Z] go vet ./... [2023-09-20T17:24:06.336Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:24:06.336Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:24:06.336Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:24:06.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:24:06.410Z] $ docker stop --time=1 306b217c3b5c1136387291b2e8532f77ab4ab429a76bf5e218c2ed37a848961a [2023-09-20T17:24:09.165Z] $ docker rm -f --volumes 306b217c3b5c1136387291b2e8532f77ab4ab429a76bf5e218c2ed37a848961a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:24:09.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:24:09.789Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:24:10.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:24:10.702Z] + ls -al . [2023-09-20T17:24:10.702Z] total 188 [2023-09-20T17:24:10.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:23 . [2023-09-20T17:24:10.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 .. [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:22 .dockerignore [2023-09-20T17:24:10.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:23 .git [2023-09-20T17:24:10.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 .github [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:22 .gitignore [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:22 .golangci.yml [2023-09-20T17:24:10.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:22 .semver [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 20 17:22 Attribution.txt [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 20 17:22 CHANGELOG.md [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 20 17:22 Dockerfile [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:22 GOVERNANCE.md [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 17:22 Jenkinsfile [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:22 LICENSE [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 20 17:22 Makefile [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:22 OWNERS.md [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 20 17:22 README.md [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:22 VERSION [2023-09-20T17:24:10.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 bin [2023-09-20T17:24:10.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 cmd [2023-09-20T17:24:10.702Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 20 17:23 coverage.out [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 20 17:22 go.mod [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:22 go.sum [2023-09-20T17:24:10.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 internal [2023-09-20T17:24:10.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 mock [2023-09-20T17:24:10.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 snap [2023-09-20T17:24:10.702Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 20 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:11.097Z] + 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=7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 --label arch=amd64 --label version=0.0.0 . [2023-09-20T17:24:11.097Z] Sending build context to Docker daemon 6.523MB [2023-09-20T17:24:11.097Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:24:11.097Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-20T17:24:11.097Z] ---> b2209b99588a [2023-09-20T17:24:11.097Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:24:11.356Z] ---> Running in d8669d156b8e [2023-09-20T17:24:11.356Z] Removing intermediate container d8669d156b8e [2023-09-20T17:24:11.356Z] ---> 0c92c8296d92 [2023-09-20T17:24:11.356Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:24:11.356Z] ---> Running in 1781b5001011 [2023-09-20T17:24:11.356Z] Removing intermediate container 1781b5001011 [2023-09-20T17:24:11.356Z] ---> 15b4724b3291 [2023-09-20T17:24:11.356Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:24:11.356Z] ---> Running in 7b4dfa085aed [2023-09-20T17:24:11.617Z] Removing intermediate container 7b4dfa085aed [2023-09-20T17:24:11.617Z] ---> 682e7589330c [2023-09-20T17:24:11.617Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:24:11.617Z] ---> Running in fa8d7553099d [2023-09-20T17:24:11.617Z] Removing intermediate container fa8d7553099d [2023-09-20T17:24:11.617Z] ---> 3673f0184e2b [2023-09-20T17:24:11.617Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:24:11.617Z] ---> Running in bc06384d0c02 [2023-09-20T17:24:11.876Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:12.136Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:12.136Z] OK: 268 MiB in 56 packages [2023-09-20T17:24:12.703Z] Removing intermediate container bc06384d0c02 [2023-09-20T17:24:12.703Z] ---> 8c55bf83dd4d [2023-09-20T17:24:12.703Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-20T17:24:12.703Z] ---> Running in c685cb0bc77e [2023-09-20T17:24:12.703Z] Removing intermediate container c685cb0bc77e [2023-09-20T17:24:12.703Z] ---> 8cbeb10f2689 [2023-09-20T17:24:12.703Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-20T17:24:12.703Z] ---> d2e6cca9b15e [2023-09-20T17:24:12.703Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:24:12.963Z] ---> Running in e8200fffa4a9 [2023-09-20T17:24:13.529Z] Removing intermediate container e8200fffa4a9 [2023-09-20T17:24:13.529Z] ---> 4a75fa7f8423 [2023-09-20T17:24:13.529Z] Step 11/24 : COPY . . [2023-09-20T17:24:13.788Z] ---> 0003630b3a4d [2023-09-20T17:24:13.788Z] Step 12/24 : RUN $MAKE [2023-09-20T17:24:13.788Z] ---> Running in 3a2edae71923 [2023-09-20T17:24:14.047Z] 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-20T17:24:32.120Z] Removing intermediate container 3a2edae71923 [2023-09-20T17:24:32.120Z] ---> ff754e9e064e [2023-09-20T17:24:32.120Z] Step 13/24 : FROM alpine:3.18 [2023-09-20T17:24:32.379Z] 3.18: Pulling from library/alpine [2023-09-20T17:24:32.643Z] 7264a8db6415: Already exists [2023-09-20T17:24:32.643Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:24:32.643Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:24:32.643Z] ---> 7e01a0d0a1dc [2023-09-20T17:24:32.643Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-20T17:24:32.906Z] ---> Running in ce2796d06d3e [2023-09-20T17:24:32.906Z] Removing intermediate container ce2796d06d3e [2023-09-20T17:24:32.906Z] ---> 4fd47f510616 [2023-09-20T17:24:32.906Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:24:32.906Z] ---> Running in 28e97953723a [2023-09-20T17:24:33.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:33.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:33.422Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:24:33.422Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:24:33.422Z] OK: 7 MiB in 16 packages [2023-09-20T17:24:33.989Z] Removing intermediate container 28e97953723a [2023-09-20T17:24:33.989Z] ---> 5ddd8698559c [2023-09-20T17:24:33.989Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-20T17:24:34.562Z] ---> 91620910350c [2023-09-20T17:24:34.562Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-20T17:24:34.819Z] ---> cbc8acdeaaeb [2023-09-20T17:24:34.819Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-20T17:24:34.819Z] ---> dc8d6f7e83b9 [2023-09-20T17:24:34.819Z] Step 19/24 : EXPOSE 59982 [2023-09-20T17:24:34.819Z] ---> Running in 62bec8861fda [2023-09-20T17:24:34.819Z] Removing intermediate container 62bec8861fda [2023-09-20T17:24:34.819Z] ---> 79dbfc67d56f [2023-09-20T17:24:34.819Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-20T17:24:34.819Z] ---> Running in 8ca7e901b80e [2023-09-20T17:24:35.076Z] Removing intermediate container 8ca7e901b80e [2023-09-20T17:24:35.076Z] ---> ca3168a53f11 [2023-09-20T17:24:35.076Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T17:24:35.076Z] ---> Running in c0ea105107b9 [2023-09-20T17:24:35.076Z] Removing intermediate container c0ea105107b9 [2023-09-20T17:24:35.076Z] ---> bc3d4ff7d305 [2023-09-20T17:24:35.076Z] Step 22/24 : LABEL arch=amd64 [2023-09-20T17:24:35.076Z] ---> Running in 4a8fdbb88f28 [2023-09-20T17:24:35.076Z] Removing intermediate container 4a8fdbb88f28 [2023-09-20T17:24:35.076Z] ---> ebb12925d8de [2023-09-20T17:24:35.076Z] Step 23/24 : LABEL git_sha=7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [2023-09-20T17:24:35.335Z] ---> Running in ffe1d90db716 [2023-09-20T17:24:35.335Z] Removing intermediate container ffe1d90db716 [2023-09-20T17:24:35.335Z] ---> 02101b922554 [2023-09-20T17:24:35.335Z] Step 24/24 : LABEL version=0.0.0 [2023-09-20T17:24:35.335Z] ---> Running in 25a44f840a67 [2023-09-20T17:24:35.335Z] Removing intermediate container 25a44f840a67 [2023-09-20T17:24:35.335Z] ---> 9412ec2c488c [2023-09-20T17:24:35.335Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:24:35.335Z] Successfully built 9412ec2c488c [2023-09-20T17:24:35.335Z] 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-09-20T17:24:36.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:24:36.221Z] [2023-09-20T17:24:36.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:36.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:24:36.602Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:24:36.602Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:24:36.602Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:24:36.602Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:24:36.602Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:24:36.602Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:24:36.602Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:24:36.602Z] 33b1e0a273af: Waiting [2023-09-20T17:24:36.602Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:24:36.602Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:24:36.602Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T17:24:36.602Z] 5c69ac0246d0: Download complete [2023-09-20T17:24:36.602Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T17:24:36.602Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:24:36.602Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:24:36.602Z] 33b1e0a273af: Download complete [2023-09-20T17:24:36.602Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:24:36.602Z] ec43610c2a17: Download complete [2023-09-20T17:24:36.861Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:24:36.862Z] 5d3b04190fa2: Download complete [2023-09-20T17:24:36.862Z] 5eb5b503b376: Download complete [2023-09-20T17:24:37.429Z] 2f39f015ded8: Download complete [2023-09-20T17:24:37.996Z] 5eb5b503b376: Pull complete [2023-09-20T17:24:38.254Z] 5c69ac0246d0: Pull complete [2023-09-20T17:24:38.519Z] ec43610c2a17: Pull complete [2023-09-20T17:24:38.520Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:24:38.776Z] 33b1e0a273af: Pull complete [2023-09-20T17:24:38.776Z] 5d3b04190fa2: Pull complete [2023-09-20T17:24:42.957Z] 2f39f015ded8: Pull complete [2023-09-20T17:24:42.957Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:24:43.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:24:43.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:43.502Z] prd-ubuntu20.04-docker-8c-8g-6735 does not seem to be running inside a container [2023-09-20T17:24:43.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-627 -v /w/workspace/gexfoundry_device-mqtt-go_PR-627:/w/workspace/gexfoundry_device-mqtt-go_PR-627:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:24:46.630Z] $ docker top 6a467c2c69e31190a3e84b3352b1fce5c7a67171a935365b7c1e913cc356c618 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:24:47.058Z] ---> job-cost.sh [2023-09-20T17:24:47.058Z] lf-activate-venv: SKIPPING [2023-09-20T17:24:47.058Z] INFO: No Stack... [2023-09-20T17:24:47.316Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:24:47.576Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:24:47.888Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives/cost.csv [2023-09-20T17:24:47.888Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:24:47.931Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] [2023-09-20T17:24:47.936Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] did not exist. Created. [2023-09-20T17:24:47.936Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:24:48.332Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:24:48.383Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:24:48.418Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:24:48.495Z] $ docker stop --time=1 6a467c2c69e31190a3e84b3352b1fce5c7a67171a935365b7c1e913cc356c618 [2023-09-20T17:24:49.663Z] $ docker rm -f --volumes 6a467c2c69e31190a3e84b3352b1fce5c7a67171a935365b7c1e913cc356c618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:26:10.699Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6746 in /w/workspace/gexfoundry_device-mqtt-go_PR-627 [Pipeline] { [Pipeline] ws [2023-09-20T17:26:10.756Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-09-20T17:26:10.835Z] The recommended git tool is: git [2023-09-20T17:26:17.771Z] using credential edgex-jenkins-ssh [2023-09-20T17:26:17.788Z] Cloning the remote Git repository [2023-09-20T17:26:17.857Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-20T17:26:17.993Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-09-20T17:26:18.354Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-20T17:26:18.355Z] > git --version # timeout=10 [2023-09-20T17:26:18.389Z] > git --version # 'git version 2.25.1' [2023-09-20T17:26:18.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:26:18.609Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:26:19.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-20T17:26:19.935Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:26:21.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-20T17:26:21.189Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-20T17:26:21.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:26:21.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T17:26:21.815Z] Merging remotes/origin/main commit dc471bab23d8bb68ec889611181b9f9035c4a73d into PR head commit 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [2023-09-20T17:26:22.161Z] Merge succeeded, producing 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [2023-09-20T17:26:22.161Z] Checking out Revision 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 (PR-627) [2023-09-20T17:26:21.843Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:26:21.925Z] > git checkout -f 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 # timeout=10 [2023-09-20T17:26:22.029Z] > git remote # timeout=10 [2023-09-20T17:26:22.051Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T17:26:22.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:26:22.101Z] > git merge dc471bab23d8bb68ec889611181b9f9035c4a73d # timeout=10 [2023-09-20T17:26:22.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T17:26:22.171Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:26:22.190Z] > git checkout -f 7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 # timeout=10 [2023-09-20T17:26:25.848Z] Commit message: "ci: add automated release workflow on tag creation" [2023-09-20T17:26:25.921Z] > git --version # timeout=10 [2023-09-20T17:26:25.932Z] > git --version # 'git version 2.25.1' [2023-09-20T17:26:25.950Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:26:27.138Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:26:27.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:26:27.138Z] Dload Upload Total Spent Left Speed [2023-09-20T17:26:27.138Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-09-20T17:26:27.986Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:26:28.360Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:26:28.360Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:26:28.360Z] { [2023-09-20T17:26:28.360Z] "registry-mirrors": [ [2023-09-20T17:26:28.360Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:26:28.360Z] ], [2023-09-20T17:26:28.360Z] "bip": "10.250.0.254/24", [2023-09-20T17:26:28.360Z] "hosts": [ [2023-09-20T17:26:28.360Z] "tcp://0.0.0.0:5555", [2023-09-20T17:26:28.360Z] "unix:///var/run/docker.sock" [2023-09-20T17:26:28.360Z] ], [2023-09-20T17:26:28.360Z] "mtu": 1458, [2023-09-20T17:26:28.360Z] "selinux-enabled": true, [2023-09-20T17:26:28.360Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:26:28.360Z] } [Pipeline] sh [2023-09-20T17:26:28.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:26:29.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:26:47.612Z] provisioning config files... [2023-09-20T17:26:47.651Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6864377266702522056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:26:48.101Z] ---> docker-login.sh [2023-09-20T17:26:48.101Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:26:48.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:49.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:49.002Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:49.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:49.002Z] [2023-09-20T17:26:49.002Z] Login Succeeded [2023-09-20T17:26:49.002Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:26:49.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:49.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:49.279Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:49.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:49.279Z] [2023-09-20T17:26:49.279Z] Login Succeeded [2023-09-20T17:26:49.279Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:26:49.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:49.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:49.837Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:49.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:49.837Z] [2023-09-20T17:26:49.837Z] Login Succeeded [2023-09-20T17:26:49.837Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:26:50.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:50.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:50.390Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:50.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:50.390Z] [2023-09-20T17:26:50.390Z] Login Succeeded [2023-09-20T17:26:50.390Z] docker.io [2023-09-20T17:26:50.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:26:51.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:26:51.778Z] Configure a credential helper to remove this warning. See [2023-09-20T17:26:51.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:26:51.778Z] [2023-09-20T17:26:51.778Z] Login Succeeded [2023-09-20T17:26:51.778Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:26:51.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:26:52.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:26:52.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:26:52.403Z] ========================================================= [2023-09-20T17:26:52.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:26:52.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:26:52.942Z] + 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-09-20T17:26:53.220Z] Sending build context to Docker daemon 3.358MB [2023-09-20T17:26:53.220Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:26:53.220Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:26:53.494Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:26:53.494Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:26:53.494Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:26:53.494Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:26:53.494Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:26:53.494Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:26:53.494Z] 17808c966233: Pulling fs layer [2023-09-20T17:26:53.494Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:26:53.494Z] f0e02332f6b5: Waiting [2023-09-20T17:26:53.494Z] cefa15bbcfad: Waiting [2023-09-20T17:26:53.494Z] 17808c966233: Waiting [2023-09-20T17:26:53.494Z] 5d54e960e981: Verifying Checksum [2023-09-20T17:26:53.494Z] 5d54e960e981: Download complete [2023-09-20T17:26:53.494Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:26:53.494Z] f0e02332f6b5: Download complete [2023-09-20T17:26:53.772Z] cefa15bbcfad: Verifying Checksum [2023-09-20T17:26:53.772Z] cefa15bbcfad: Download complete [2023-09-20T17:26:53.772Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T17:26:53.772Z] 9fda8d8052c6: Download complete [2023-09-20T17:26:54.387Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:26:54.387Z] f4c1fc716caa: Download complete [2023-09-20T17:26:54.663Z] 9fda8d8052c6: Pull complete [2023-09-20T17:26:55.265Z] 5d54e960e981: Pull complete [2023-09-20T17:26:55.538Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T17:26:55.538Z] c4a7e357bf2a: Download complete [2023-09-20T17:26:56.527Z] 17808c966233: Download complete [2023-09-20T17:27:08.944Z] c4a7e357bf2a: Pull complete [2023-09-20T17:27:08.944Z] f0e02332f6b5: Pull complete [2023-09-20T17:27:08.944Z] cefa15bbcfad: Pull complete [2023-09-20T17:27:15.687Z] 17808c966233: Pull complete [2023-09-20T17:27:16.286Z] f4c1fc716caa: Pull complete [2023-09-20T17:27:16.286Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:27:16.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:27:16.286Z] ---> ea914061e18c [2023-09-20T17:27:16.286Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:27:18.910Z] ---> Running in 41811ee33b8c [2023-09-20T17:27:18.910Z] Removing intermediate container 41811ee33b8c [2023-09-20T17:27:18.910Z] ---> 71e5c7438693 [2023-09-20T17:27:18.910Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:27:18.910Z] ---> Running in 20a10904e27f [2023-09-20T17:27:19.186Z] Removing intermediate container 20a10904e27f [2023-09-20T17:27:19.186Z] ---> 48d8a390e395 [2023-09-20T17:27:19.186Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:27:19.463Z] ---> Running in 823618086fce [2023-09-20T17:27:19.736Z] Removing intermediate container 823618086fce [2023-09-20T17:27:19.736Z] ---> f047d4bd1286 [2023-09-20T17:27:19.736Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:27:20.012Z] ---> Running in d513d629b7db [2023-09-20T17:27:20.288Z] Removing intermediate container d513d629b7db [2023-09-20T17:27:20.288Z] ---> 68b93ef084ac [2023-09-20T17:27:20.288Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:27:20.288Z] ---> Running in f2e737fd40d1 [2023-09-20T17:27:21.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:27:22.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:27:23.779Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:27:23.779Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:27:23.779Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:27:24.054Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:27:24.054Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:27:24.054Z] OK: 270 MiB in 56 packages [2023-09-20T17:27:25.264Z] Removing intermediate container f2e737fd40d1 [2023-09-20T17:27:25.264Z] ---> 63302374023e [2023-09-20T17:27:25.264Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-20T17:27:25.539Z] ---> Running in e2cfe3c3ec32 [2023-09-20T17:27:25.811Z] Removing intermediate container e2cfe3c3ec32 [2023-09-20T17:27:25.811Z] ---> 2ada53bcbb17 [2023-09-20T17:27:25.811Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:27:26.410Z] ---> 6bc702cad058 [2023-09-20T17:27:26.410Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:27:26.688Z] ---> Running in 132401a795cc [2023-09-20T17:28:48.454Z] Removing intermediate container 132401a795cc [2023-09-20T17:28:48.454Z] ---> c0756eb74bde [2023-09-20T17:28:48.454Z] Step 11/12 : COPY . . [2023-09-20T17:28:48.454Z] ---> 989515e91a2b [2023-09-20T17:28:48.454Z] Step 12/12 : RUN $MAKE [2023-09-20T17:28:48.454Z] ---> Running in 70417d8e60ac [2023-09-20T17:28:48.454Z] noop [2023-09-20T17:28:48.454Z] Removing intermediate container 70417d8e60ac [2023-09-20T17:28:48.454Z] ---> 10ad56935585 [2023-09-20T17:28:48.454Z] Successfully built 10ad56935585 [2023-09-20T17:28:48.454Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:28:48.943Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:28:48.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:28:49.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-6746 does not seem to be running inside a container [2023-09-20T17:28:49.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:28:50.924Z] $ docker top dab0e8ac256fbddc7e1eae6d089c8ddfde2694d24e78373382e490ec40de1c66 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:28:51.876Z] + go version [2023-09-20T17:28:51.876Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:28:51.978Z] $ docker stop --time=1 dab0e8ac256fbddc7e1eae6d089c8ddfde2694d24e78373382e490ec40de1c66 [2023-09-20T17:28:53.725Z] $ docker rm -f --volumes dab0e8ac256fbddc7e1eae6d089c8ddfde2694d24e78373382e490ec40de1c66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:28:54.619Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:28:54.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:28:54.918Z] prd-ubuntu20.04-docker-arm64-4c-16g-6746 does not seem to be running inside a container [2023-09-20T17:28:55.013Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:28:56.425Z] $ docker top 83e08eef33bae807d99d72be295b153487271ad5ab5cd290070607653af862bc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:28:57.341Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:28:58.067Z] + make test [2023-09-20T17:28:58.067Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:29:03.445Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-20T17:31:55.318Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-20T17:31:55.318Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-20T17:31:55.318Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.109s coverage: 22.8% of statements [2023-09-20T17:31:55.318Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:31:55.318Z] go vet ./... [2023-09-20T17:32:22.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:32:22.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:32:22.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:32:22.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:32:22.145Z] $ docker stop --time=1 83e08eef33bae807d99d72be295b153487271ad5ab5cd290070607653af862bc [2023-09-20T17:32:24.171Z] $ docker rm -f --volumes 83e08eef33bae807d99d72be295b153487271ad5ab5cd290070607653af862bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:32:25.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:32:25.707Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:32:26.340Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:32:26.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:32:27.305Z] + ls -al . [2023-09-20T17:32:27.305Z] total 184 [2023-09-20T17:32:27.305Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:29 . [2023-09-20T17:32:27.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 .. [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:26 .dockerignore [2023-09-20T17:32:27.305Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:26 .git [2023-09-20T17:32:27.305Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 .github [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 17:26 .gitignore [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:26 .golangci.yml [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 20 17:26 Attribution.txt [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 20 17:26 CHANGELOG.md [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 20 17:26 Dockerfile [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:26 GOVERNANCE.md [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 20 17:26 Jenkinsfile [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:26 LICENSE [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 20 17:26 Makefile [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 17:26 OWNERS.md [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 20 17:26 README.md [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:22 VERSION [2023-09-20T17:32:27.305Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 bin [2023-09-20T17:32:27.305Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 cmd [2023-09-20T17:32:27.305Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 20 17:31 coverage.out [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 3821 Sep 20 17:26 go.mod [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 17:26 go.sum [2023-09-20T17:32:27.305Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 internal [2023-09-20T17:32:27.305Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 mock [2023-09-20T17:32:27.305Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 snap [2023-09-20T17:32:27.305Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 20 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:32:27.734Z] + 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=7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 --label arch=arm64 --label version=0.0.0 . [2023-09-20T17:32:28.006Z] Sending build context to Docker daemon 3.378MB [2023-09-20T17:32:28.006Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:32:28.006Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-20T17:32:28.006Z] ---> 10ad56935585 [2023-09-20T17:32:28.006Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:32:28.276Z] ---> Running in eae12a4e26c0 [2023-09-20T17:32:28.550Z] Removing intermediate container eae12a4e26c0 [2023-09-20T17:32:28.550Z] ---> 4c9e3ca51e0d [2023-09-20T17:32:28.550Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:32:28.820Z] ---> Running in 3b472a71bb17 [2023-09-20T17:32:29.171Z] Removing intermediate container 3b472a71bb17 [2023-09-20T17:32:29.171Z] ---> a7df24bb0bf4 [2023-09-20T17:32:29.171Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T17:32:29.171Z] ---> Running in 55f56887c081 [2023-09-20T17:32:29.454Z] Removing intermediate container 55f56887c081 [2023-09-20T17:32:29.454Z] ---> 32d55239884a [2023-09-20T17:32:29.454Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:32:29.727Z] ---> Running in 8f51ec8a183e [2023-09-20T17:32:30.014Z] Removing intermediate container 8f51ec8a183e [2023-09-20T17:32:30.014Z] ---> bba166aa1bde [2023-09-20T17:32:30.014Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:32:30.292Z] ---> Running in 834c0eceecd0 [2023-09-20T17:32:31.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:32:31.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:32:33.311Z] OK: 270 MiB in 56 packages [2023-09-20T17:32:34.738Z] Removing intermediate container 834c0eceecd0 [2023-09-20T17:32:34.738Z] ---> 8ac6931bc596 [2023-09-20T17:32:34.738Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-20T17:32:34.738Z] ---> Running in 7fd0f9f49e3b [2023-09-20T17:32:34.738Z] Removing intermediate container 7fd0f9f49e3b [2023-09-20T17:32:34.738Z] ---> 3f8072b3e6ab [2023-09-20T17:32:34.738Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-20T17:32:35.331Z] ---> c7c6f5bd5cca [2023-09-20T17:32:35.331Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:32:35.609Z] ---> Running in eb7aa383cac9 [2023-09-20T17:32:38.212Z] Removing intermediate container eb7aa383cac9 [2023-09-20T17:32:38.212Z] ---> dbd5d797c38e [2023-09-20T17:32:38.212Z] Step 11/24 : COPY . . [2023-09-20T17:32:39.201Z] ---> 2b2a08ad2364 [2023-09-20T17:32:39.201Z] Step 12/24 : RUN $MAKE [2023-09-20T17:32:39.201Z] ---> Running in c73c047c277c [2023-09-20T17:32:40.176Z] 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-20T17:35:02.044Z] Removing intermediate container c73c047c277c [2023-09-20T17:35:02.044Z] ---> 3fb08da24fb9 [2023-09-20T17:35:02.044Z] Step 13/24 : FROM alpine:3.18 [2023-09-20T17:35:02.318Z] 3.18: Pulling from library/alpine [2023-09-20T17:35:02.318Z] 9fda8d8052c6: Already exists [2023-09-20T17:35:02.592Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:35:02.592Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:35:02.592Z] ---> f6648c04cd6c [2023-09-20T17:35:02.592Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-20T17:35:02.592Z] ---> Running in a7e36dee3dd4 [2023-09-20T17:35:02.869Z] Removing intermediate container a7e36dee3dd4 [2023-09-20T17:35:02.869Z] ---> a78b813027fd [2023-09-20T17:35:02.869Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-20T17:35:03.141Z] ---> Running in 9914d8085603 [2023-09-20T17:35:04.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:35:04.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:35:06.149Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T17:35:06.149Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:35:06.149Z] OK: 8 MiB in 16 packages [2023-09-20T17:35:07.586Z] Removing intermediate container 9914d8085603 [2023-09-20T17:35:07.586Z] ---> 2f4143afc9fa [2023-09-20T17:35:07.586Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-20T17:35:11.872Z] ---> c1047b46944a [2023-09-20T17:35:11.872Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-20T17:35:12.465Z] ---> 4cf2282cbc83 [2023-09-20T17:35:12.465Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-20T17:35:13.056Z] ---> 40f2a598f172 [2023-09-20T17:35:13.056Z] Step 19/24 : EXPOSE 59982 [2023-09-20T17:35:13.056Z] ---> Running in 1a618244f679 [2023-09-20T17:35:13.328Z] Removing intermediate container 1a618244f679 [2023-09-20T17:35:13.328Z] ---> 488176e21ba1 [2023-09-20T17:35:13.328Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-20T17:35:13.328Z] ---> Running in 50a71eef7b18 [2023-09-20T17:35:13.921Z] Removing intermediate container 50a71eef7b18 [2023-09-20T17:35:13.921Z] ---> ce9495cda074 [2023-09-20T17:35:13.921Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T17:35:13.921Z] ---> Running in f8f29f5b5361 [2023-09-20T17:35:14.198Z] Removing intermediate container f8f29f5b5361 [2023-09-20T17:35:14.199Z] ---> cd0630921bec [2023-09-20T17:35:14.199Z] Step 22/24 : LABEL arch=arm64 [2023-09-20T17:35:14.475Z] ---> Running in 2af2e84af645 [2023-09-20T17:35:14.745Z] Removing intermediate container 2af2e84af645 [2023-09-20T17:35:14.745Z] ---> 78706281b842 [2023-09-20T17:35:14.745Z] Step 23/24 : LABEL git_sha=7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [2023-09-20T17:35:14.745Z] ---> Running in 058625478bf7 [2023-09-20T17:35:15.021Z] Removing intermediate container 058625478bf7 [2023-09-20T17:35:15.021Z] ---> acf983f0dccc [2023-09-20T17:35:15.021Z] Step 24/24 : LABEL version=0.0.0 [2023-09-20T17:35:15.295Z] ---> Running in 5cf6f4ef2a2b [2023-09-20T17:35:15.563Z] Removing intermediate container 5cf6f4ef2a2b [2023-09-20T17:35:15.563Z] ---> 000c98849bfa [2023-09-20T17:35:15.563Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:35:15.563Z] Successfully built 000c98849bfa [2023-09-20T17:35:15.563Z] 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-09-20T17:35:16.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:35:16.566Z] [2023-09-20T17:35:16.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:35:17.018Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:35:17.292Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:35:17.292Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:35:17.292Z] 04944245beec: Pulling fs layer [2023-09-20T17:35:17.292Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:35:17.292Z] 765212b225bb: Pulling fs layer [2023-09-20T17:35:17.292Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:35:17.292Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:35:17.292Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:35:17.292Z] 765212b225bb: Waiting [2023-09-20T17:35:17.292Z] f23df028b6ca: Waiting [2023-09-20T17:35:17.292Z] d65c8cfc05b1: Waiting [2023-09-20T17:35:17.292Z] 2437ff75d9bd: Waiting [2023-09-20T17:35:17.292Z] 04944245beec: Verifying Checksum [2023-09-20T17:35:17.292Z] 04944245beec: Download complete [2023-09-20T17:35:17.292Z] 765212b225bb: Verifying Checksum [2023-09-20T17:35:17.292Z] 765212b225bb: Download complete [2023-09-20T17:35:17.292Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:35:17.292Z] f23df028b6ca: Download complete [2023-09-20T17:35:17.567Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:35:17.567Z] d65c8cfc05b1: Download complete [2023-09-20T17:35:17.567Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:35:17.567Z] 699f458cf7ca: Download complete [2023-09-20T17:35:17.841Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:35:17.841Z] 8998bd30e6a1: Download complete [2023-09-20T17:35:20.444Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:35:20.444Z] 2437ff75d9bd: Download complete [2023-09-20T17:35:22.413Z] 8998bd30e6a1: Pull complete [2023-09-20T17:35:22.687Z] 04944245beec: Pull complete [2023-09-20T17:35:24.109Z] 699f458cf7ca: Pull complete [2023-09-20T17:35:24.394Z] 765212b225bb: Pull complete [2023-09-20T17:35:25.366Z] f23df028b6ca: Pull complete [2023-09-20T17:35:25.637Z] d65c8cfc05b1: Pull complete [2023-09-20T17:35:40.655Z] 2437ff75d9bd: Pull complete [2023-09-20T17:35:40.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:35:40.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:35:40.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:35:41.030Z] prd-ubuntu20.04-docker-arm64-4c-16g-6746 does not seem to be running inside a container [2023-09-20T17:35:41.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T17:35:44.341Z] $ docker top f9655e6f6b38b14bf1e81dd3432ed2206023f0146db38d2469d5b9ffa2c57bbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:45.273Z] ---> job-cost.sh [2023-09-20T17:35:45.273Z] lf-activate-venv: SKIPPING [2023-09-20T17:35:45.273Z] INFO: No Stack... [2023-09-20T17:35:45.860Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:35:46.449Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:35:47.120Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-09-20T17:35:47.120Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:35:47.233Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] [2023-09-20T17:35:47.242Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] did not exist. Created. [2023-09-20T17:35:47.242Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:35:48.159Z] /w/workspace/device-mqtt-go/1@tmp/durable-8156eb6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:35:48.852Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:35:48.892Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:35:48.954Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:35:48.977Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-627-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:35:49.070Z] $ docker stop --time=1 f9655e6f6b38b14bf1e81dd3432ed2206023f0146db38d2469d5b9ffa2c57bbd [2023-09-20T17:35:51.777Z] $ docker rm -f --volumes f9655e6f6b38b14bf1e81dd3432ed2206023f0146db38d2469d5b9ffa2c57bbd [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-09-20T17:35:52.773Z] provisioning config files... [2023-09-20T17:35:52.781Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/config11448663933149540263tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:35:53.119Z] + set +x [2023-09-20T17:35:53.119Z] + curl -s https://codecov.io/bash [2023-09-20T17:35:53.119Z] + bash -s -- [2023-09-20T17:35:53.119Z] [2023-09-20T17:35:53.119Z] _____ _ [2023-09-20T17:35:53.119Z] / ____| | | [2023-09-20T17:35:53.119Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:35:53.119Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:35:53.119Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:35:53.119Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:35:53.119Z] Bash-1.0.6 [2023-09-20T17:35:53.119Z] [2023-09-20T17:35:53.119Z] [2023-09-20T17:35:53.119Z] ==> git version 2.25.1 found [2023-09-20T17:35:53.119Z] ==> 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-09-20T17:35:53.119Z] Release-Date: 2020-01-08 [2023-09-20T17:35:53.119Z] 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-09-20T17:35:53.119Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:35:53.119Z] ==> Jenkins CI detected. [2023-09-20T17:35:53.119Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-627 [2023-09-20T17:35:53.119Z] project root: . [2023-09-20T17:35:53.119Z] --> token set from env [2023-09-20T17:35:53.119Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:35:53.119Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:35:53.119Z] ==> Python coveragepy not found [2023-09-20T17:35:53.119Z] ==> Searching for coverage reports in: [2023-09-20T17:35:53.119Z] + . [2023-09-20T17:35:53.119Z] -> Found 1 reports [2023-09-20T17:35:53.119Z] ==> Detecting git/mercurial file structure [2023-09-20T17:35:53.119Z] ==> Reading reports [2023-09-20T17:35:53.119Z] + ./coverage.out bytes=18506 [2023-09-20T17:35:53.119Z] ==> Appending adjustments [2023-09-20T17:35:53.119Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:35:53.385Z] + Found adjustments [2023-09-20T17:35:53.385Z] ==> Gzipping contents [2023-09-20T17:35:53.385Z] 4.0K /tmp/codecov.F3FjWn.gz [2023-09-20T17:35:53.385Z] ==> Uploading reports [2023-09-20T17:35:53.385Z] url: https://codecov.io [2023-09-20T17:35:53.385Z] query: branch=PR-627&commit=7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-627%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2023-09-20T17:35:53.385Z] -> Pinging Codecov [2023-09-20T17:35:53.385Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-627&commit=7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-627%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2023-09-20T17:35:53.385Z] -> Uploading to [2023-09-20T17:35:53.385Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7D719EC7BBE17E464838252E33014C33/7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9/724647ea-4c59-401a-a92a-0b8541646720.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cfa092d5cdf8fbaf30fabd729673deeb223354ed084baa60274f4a09a5cb5f5 [2023-09-20T17:35:53.385Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:35:53.385Z] Dload Upload Total Spent Left Speed [2023-09-20T17:35:53.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17306 --:--:-- --:--:-- --:--:-- 17306 [2023-09-20T17:35:53.646Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7b36b08afcb678adb2f3795fb5abdedf4fd6d0d9 [Pipeline] } [2023-09-20T17:35:53.671Z] 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-09-20T17:35:55.477Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives ] [2023-09-20T17:35:55.477Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives [2023-09-20T17:35:55.477Z] total 16 [2023-09-20T17:35:55.477Z] drwxr-xr-x 3 root root 4096 Sep 20 17:24 . [2023-09-20T17:35:55.477Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:24 .. [2023-09-20T17:35:55.477Z] drwxr-xr-x 2 root root 4096 Sep 20 17:24 cost [2023-09-20T17:35:55.477Z] -rw-r--r-- 1 root root 86 Sep 20 17:24 cost.csv [2023-09-20T17:35:55.477Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives [2023-09-20T17:35:55.477Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives [2023-09-20T17:35:55.477Z] total 16 [2023-09-20T17:35:55.477Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:24 . [2023-09-20T17:35:55.477Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:24 .. [2023-09-20T17:35:55.477Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:24 cost [2023-09-20T17:35:55.477Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:55.802Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:56.684Z] ---> package-listing.sh [2023-09-20T17:35:56.684Z] ++ facter osfamily [2023-09-20T17:35:56.684Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:35:56.684Z] + OS_FAMILY=debian [2023-09-20T17:35:56.684Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-627 [2023-09-20T17:35:56.684Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:35:56.684Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:35:56.684Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:35:56.684Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:35:56.684Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-627 ']' [2023-09-20T17:35:56.684Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:35:56.684Z] + case "${OS_FAMILY}" in [2023-09-20T17:35:56.684Z] + dpkg -l [2023-09-20T17:35:56.684Z] + grep '^ii' [2023-09-20T17:35:56.943Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:35:56.943Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:35:56.943Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:35:56.943Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-627 ']' [2023-09-20T17:35:56.943Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives/ [2023-09-20T17:35:56.943Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-627/archives/ [Pipeline] echo [2023-09-20T17:35:56.974Z] 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-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T17:35:57.265Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:35:57.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:35:57.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:35:58.039Z] prd-ubuntu20.04-docker-8c-8g-6735 does not seem to be running inside a container [2023-09-20T17:35:58.058Z] $ 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-627/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-627 -v /w/workspace/gexfoundry_device-mqtt-go_PR-627:/w/workspace/gexfoundry_device-mqtt-go_PR-627:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:35:58.230Z] $ docker top d2abacd01eb529c17499557003ae1c3f7322d64adc5f3eb12123af410b12fdbf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:35:58.621Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:35:58.928Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:35:59.236Z] + ls /var/log/sa-host [2023-09-20T17:35:59.236Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:35:59.373Z] provisioning config files... [2023-09-20T17:35:59.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-627@tmp/config15672082664733708496tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:35:59.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:35:59.735Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:35:59.768Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:36:00.161Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:36:00.189Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:36:00.504Z] ---> sudo-logs.sh [2023-09-20T17:36:00.504Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:36:00.590Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:36:00.904Z] ---> job-cost.sh [2023-09-20T17:36:00.904Z] lf-activate-venv: SKIPPING [2023-09-20T17:36:00.904Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:36:00.904Z] INFO: Retrieving Stack Cost... [2023-09-20T17:36:01.163Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:36:01.427Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:36:01.711Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:36:02.023Z] ---> logs-deploy.sh [2023-09-20T17:36:02.024Z] lf-activate-venv: SKIPPING [2023-09-20T17:36:02.024Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-627/1 [2023-09-20T17:36:02.024Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:36:02.960Z] Archives upload complete. [2023-09-20T17:36:02.960Z] INFO: archiving logs to Nexus