Pull request #649 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 ejlee3 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 9b9a80a41f53a862d540b29915a9bd774ae33a94+2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 (757ab208c064f742bec035219c43ba38d0d0e4ee) 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-ssh5755014757570695854.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh4608443608948816472.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-649/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-649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh366201609976075536.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-649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9766717467404451788.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh17806133181518602304.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-649/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-649/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14724023551550339843.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1837 in /w/workspace/gexfoundry_device-mqtt-go_PR-649 [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-649 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 9b9a80a41f53a862d540b29915a9bd774ae33a94 Merge succeeded, producing 9b9a80a41f53a862d540b29915a9bd774ae33a94 Checking out Revision 9b9a80a41f53a862d540b29915a9bd774ae33a94 (PR-649) > 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/649/head:refs/remotes/origin/PR-649 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b9a80a41f53a862d540b29915a9bd774ae33a94 # 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 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b9a80a41f53a862d540b29915a9bd774ae33a94 # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T18:55:43.717Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T18:55:43.925Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T18:55:44.047Z] ========================================================= [2023-11-28T18:55:44.047Z] EdgeX Global Pipelines Version Info [2023-11-28T18:55:44.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:55:44.799Z] ------------------- [2023-11-28T18:55:44.799Z] stable info: [2023-11-28T18:55:44.799Z] ------------------- [2023-11-28T18:55:44.799Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T18:55:44.799Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:55:44.799Z] Message: update stable to v1.0.258 [2023-11-28T18:55:45.370Z] ------------------- [2023-11-28T18:55:45.370Z] experimental info: [2023-11-28T18:55:45.370Z] ------------------- [2023-11-28T18:55:45.370Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T18:55:45.370Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:55:45.370Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T18:55:45.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-28T18:55:45.646Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-28T18:55:45.700Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T18:55:45.756Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T18:55:45.816Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T18:55:45.878Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T18:55:45.934Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T18:55:45.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-28T18:55:46.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T18:55:46.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T18:55:46.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T18:55:46.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-28T18:55:46.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T18:55:46.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T18:55:46.450Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:55:46.512Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:55:46.579Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:55:46.654Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:55:46.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T18:55:46.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T18:55:46.849Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-28T18:55:46.919Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-28T18:55:46.992Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T18:55:47.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T18:55:47.132Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T18:55:47.208Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T18:55:47.277Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T18:55:47.349Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-649 [Pipeline] echo [2023-11-28T18:55:47.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-649 [Pipeline] echo [2023-11-28T18:55:47.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-649 [Pipeline] echo [2023-11-28T18:55:47.570Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b9a80a41f53a862d540b29915a9bd774ae33a94 [Pipeline] echo [2023-11-28T18:55:47.644Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b9a80a [Pipeline] echo [2023-11-28T18:55:47.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:55:47.895Z] provisioning config files... [2023-11-28T18:55:47.909Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/config8064215965445792575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:55:48.313Z] ---> ****-login.sh [2023-11-28T18:55:48.313Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:55:48.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:55:48.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:55:48.572Z] Configure a credential helper to remove this warning. See [2023-11-28T18:55:48.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:55:48.572Z] [2023-11-28T18:55:48.572Z] Login Succeeded [2023-11-28T18:55:48.572Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:55:48.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:55:48.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:55:48.832Z] Configure a credential helper to remove this warning. See [2023-11-28T18:55:48.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:55:48.832Z] [2023-11-28T18:55:48.832Z] Login Succeeded [2023-11-28T18:55:48.832Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:55:48.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:55:48.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:55:48.832Z] Configure a credential helper to remove this warning. See [2023-11-28T18:55:48.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:55:48.832Z] [2023-11-28T18:55:48.832Z] Login Succeeded [2023-11-28T18:55:48.832Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:55:48.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:55:48.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:55:48.832Z] Configure a credential helper to remove this warning. See [2023-11-28T18:55:48.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:55:48.833Z] [2023-11-28T18:55:48.833Z] Login Succeeded [2023-11-28T18:55:48.833Z] ****.io [2023-11-28T18:55:49.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:55:49.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:55:49.093Z] Configure a credential helper to remove this warning. See [2023-11-28T18:55:49.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:55:49.093Z] [2023-11-28T18:55:49.093Z] Login Succeeded [2023-11-28T18:55:49.093Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:55:49.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T18:55:49.895Z] + git rev-list -1 --merges 9b9a80a41f53a862d540b29915a9bd774ae33a94~1..9b9a80a41f53a862d540b29915a9bd774ae33a94 [Pipeline] echo [2023-11-28T18:55:49.938Z] -----------> git rev-list -1 --merges 9b9a80a41f53a862d540b29915a9bd774ae33a94~1..9b9a80a41f53a862d540b29915a9bd774ae33a94 9b9a80a41f53a862d540b29915a9bd774ae33a94 [false] [Pipeline] sh [2023-11-28T18:55:50.270Z] + git log --format=format:%s -1 9b9a80a41f53a862d540b29915a9bd774ae33a94 [Pipeline] echo [2023-11-28T18:55:50.303Z] ========================================================= [2023-11-28T18:55:50.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T18:55:50.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:55:50.797Z] + git log --format=format:%s -1 9b9a80a41f53a862d540b29915a9bd774ae33a94 [Pipeline] echo [2023-11-28T18:55:50.832Z] [semverPrep] GIT_COMMIT: 9b9a80a41f53a862d540b29915a9bd774ae33a94, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo [2023-11-28T18:55:50.888Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T18:55:51.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:55:51.311Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T18:55:51.311Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T18:55:51.311Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T18:55:51.311Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-11-28T18:55:51.311Z] -a /etc/ssh/ssh_known_hosts [2023-11-28T18:55:51.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:55:51.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:55:51.747Z] [2023-11-28T18:55:51.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:55:52.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:55:52.156Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T18:55:52.156Z] b85a868b505f: Pulling fs layer [2023-11-28T18:55:52.156Z] e2be974225ed: Pulling fs layer [2023-11-28T18:55:52.156Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T18:55:52.156Z] 988bab9f4d93: Pulling fs layer [2023-11-28T18:55:52.156Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T18:55:52.156Z] eaf3925da568: Pulling fs layer [2023-11-28T18:55:52.156Z] bab4dde63d76: Pulling fs layer [2023-11-28T18:55:52.156Z] bde34c3a00c8: Pulling fs layer [2023-11-28T18:55:52.156Z] b352a97aabf1: Pulling fs layer [2023-11-28T18:55:52.156Z] 4872d77fe225: Pulling fs layer [2023-11-28T18:55:52.156Z] 5851b861e8e6: Pulling fs layer [2023-11-28T18:55:52.156Z] eaf3925da568: Waiting [2023-11-28T18:55:52.156Z] bde34c3a00c8: Waiting [2023-11-28T18:55:52.156Z] bab4dde63d76: Waiting [2023-11-28T18:55:52.156Z] 4872d77fe225: Waiting [2023-11-28T18:55:52.156Z] b352a97aabf1: Waiting [2023-11-28T18:55:52.156Z] 5851b861e8e6: Waiting [2023-11-28T18:55:52.156Z] 1469e6f7b9e6: Waiting [2023-11-28T18:55:52.156Z] 988bab9f4d93: Waiting [2023-11-28T18:55:52.156Z] e2be974225ed: Verifying Checksum [2023-11-28T18:55:52.156Z] e2be974225ed: Download complete [2023-11-28T18:55:52.156Z] 988bab9f4d93: Verifying Checksum [2023-11-28T18:55:52.156Z] 988bab9f4d93: Download complete [2023-11-28T18:55:52.156Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T18:55:52.156Z] 1469e6f7b9e6: Download complete [2023-11-28T18:55:52.156Z] eaf3925da568: Verifying Checksum [2023-11-28T18:55:52.156Z] eaf3925da568: Download complete [2023-11-28T18:55:52.156Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T18:55:52.156Z] 339a4e72a1f5: Download complete [2023-11-28T18:55:52.414Z] bde34c3a00c8: Verifying Checksum [2023-11-28T18:55:52.414Z] bde34c3a00c8: Download complete [2023-11-28T18:55:52.414Z] b352a97aabf1: Download complete [2023-11-28T18:55:52.414Z] 4872d77fe225: Download complete [2023-11-28T18:55:52.414Z] 5851b861e8e6: Verifying Checksum [2023-11-28T18:55:52.414Z] 5851b861e8e6: Download complete [2023-11-28T18:55:52.414Z] b85a868b505f: Download complete [2023-11-28T18:55:52.673Z] bab4dde63d76: Verifying Checksum [2023-11-28T18:55:52.673Z] bab4dde63d76: Download complete [2023-11-28T18:55:53.611Z] b85a868b505f: Pull complete [2023-11-28T18:55:53.611Z] e2be974225ed: Pull complete [2023-11-28T18:55:54.183Z] 339a4e72a1f5: Pull complete [2023-11-28T18:55:54.183Z] 988bab9f4d93: Pull complete [2023-11-28T18:55:54.442Z] 1469e6f7b9e6: Pull complete [2023-11-28T18:55:54.442Z] eaf3925da568: Pull complete [2023-11-28T18:55:55.819Z] bab4dde63d76: Pull complete [2023-11-28T18:55:56.079Z] bde34c3a00c8: Pull complete [2023-11-28T18:55:56.079Z] b352a97aabf1: Pull complete [2023-11-28T18:55:56.342Z] 4872d77fe225: Pull complete [2023-11-28T18:55:56.342Z] 5851b861e8e6: Pull complete [2023-11-28T18:55:56.342Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T18:55:56.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:55:56.342Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:55:56.686Z] prd-ubuntu20.04-docker-8c-8g-1837 does not seem to be running inside a container [2023-11-28T18:55:56.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-649 -v /w/workspace/gexfoundry_device-mqtt-go_PR-649:/w/workspace/gexfoundry_device-mqtt-go_PR-649:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-649@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-11-28T18:56:00.053Z] $ docker top 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 -eo pid,comm [2023-11-28T18:56:00.103Z] 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-11-28T18:56:00.103Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:56:00.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:56:00.409Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:56:00.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:56:00.517Z] $ docker exec 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 ssh-agent [2023-11-28T18:56:00.611Z] SSH_AUTH_SOCK=/tmp/ssh-awYf3mWVjPBC/agent.32 [2023-11-28T18:56:00.611Z] SSH_AGENT_PID=38 [2023-11-28T18:56:00.617Z] Running ssh-add (command line suppressed) [2023-11-28T18:56:00.707Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/private_key_2839757142407494553.key (/w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/private_key_2839757142407494553.key) [2023-11-28T18:56:00.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:56:01.071Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T18:56:01.095Z] $ docker exec --env ******** --env ******** 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 ssh-agent -k [2023-11-28T18:56:01.189Z] unset SSH_AUTH_SOCK; [2023-11-28T18:56:01.189Z] unset SSH_AGENT_PID; [2023-11-28T18:56:01.189Z] echo Agent pid 38 killed; [2023-11-28T18:56:01.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T18:56:01.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:56:01.335Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:56:01.428Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:56:01.428Z] $ docker exec 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 ssh-agent [2023-11-28T18:56:01.529Z] SSH_AUTH_SOCK=/tmp/ssh-gR8iZHJwOXlU/agent.70 [2023-11-28T18:56:01.529Z] SSH_AGENT_PID=76 [2023-11-28T18:56:01.534Z] Running ssh-add (command line suppressed) [2023-11-28T18:56:01.628Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/private_key_15054438178928024955.key (/w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/private_key_15054438178928024955.key) [2023-11-28T18:56:01.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:56:01.997Z] + git semver init [2023-11-28T18:56:02.256Z] 2023-11-28 18:56:02,148 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T18:56:02.256Z] 2023-11-28 18:56:02,149 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver [2023-11-28T18:56:02.256Z] 2023-11-28 18:56:02,149 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver [2023-11-28T18:56:02.256Z] 2023-11-28 18:56:02,149 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-649, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,399 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-649/.git/info/exclude [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,400 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver/PR-649 with force:False [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,400 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver/PR-649 [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,404 [execute] INFO git cat-file --batch-check [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,410 [execute] INFO git cat-file --batch [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:56:03.632Z] 2023-11-28 18:56:03,415 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-649/.semver/PR-649 [2023-11-28T18:56:03.632Z] 0.0.0 [Pipeline] } [2023-11-28T18:56:03.655Z] $ docker exec --env ******** --env ******** 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 ssh-agent -k [2023-11-28T18:56:03.743Z] unset SSH_AUTH_SOCK; [2023-11-28T18:56:03.744Z] unset SSH_AGENT_PID; [2023-11-28T18:56:03.744Z] echo Agent pid 76 killed; [2023-11-28T18:56:03.755Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:56:04.277Z] + git semver [Pipeline] } [2023-11-28T18:56:04.558Z] $ docker stop --time=1 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 [2023-11-28T18:56:05.846Z] $ docker rm -f --volumes 34fb82012d351af4f8652ccf910c43b926c42d2e5e95b8ab9be50f40676a1e13 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:56:06.367Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T18:56:06.700Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T18:56:06.750Z] [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-11-28T18:56:07.874Z] provisioning config files... [2023-11-28T18:56:07.883Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/config1952032922341395149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:56:08.282Z] ---> ****-login.sh [2023-11-28T18:56:08.282Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:56:08.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:56:08.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:56:08.282Z] Configure a credential helper to remove this warning. See [2023-11-28T18:56:08.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:56:08.282Z] [2023-11-28T18:56:08.282Z] Login Succeeded [2023-11-28T18:56:08.282Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:56:08.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:56:08.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:56:08.282Z] Configure a credential helper to remove this warning. See [2023-11-28T18:56:08.282Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:56:08.282Z] [2023-11-28T18:56:08.282Z] Login Succeeded [2023-11-28T18:56:08.282Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:56:08.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:56:08.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:56:08.543Z] Configure a credential helper to remove this warning. See [2023-11-28T18:56:08.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:56:08.543Z] [2023-11-28T18:56:08.543Z] Login Succeeded [2023-11-28T18:56:08.543Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:56:08.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:56:08.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:56:08.543Z] Configure a credential helper to remove this warning. See [2023-11-28T18:56:08.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:56:08.544Z] [2023-11-28T18:56:08.544Z] Login Succeeded [2023-11-28T18:56:08.544Z] ****.io [2023-11-28T18:56:08.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:56:08.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:56:08.803Z] Configure a credential helper to remove this warning. See [2023-11-28T18:56:08.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:56:08.803Z] [2023-11-28T18:56:08.803Z] Login Succeeded [2023-11-28T18:56:08.803Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:56:08.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:56:09.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:56:09.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:56:09.280Z] ========================================================= [2023-11-28T18:56:09.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T18:56:09.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:56:09.853Z] + 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-11-28T18:56:09.853Z] Sending build context to Docker daemon 17.33MB [2023-11-28T18:56:09.853Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:56:09.853Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T18:56:09.853Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T18:56:09.853Z] 7264a8db6415: Pulling fs layer [2023-11-28T18:56:09.853Z] c4d48a809fc2: Pulling fs layer [2023-11-28T18:56:09.853Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T18:56:09.853Z] ad3a456e5733: Pulling fs layer [2023-11-28T18:56:09.853Z] 69c7f0334f64: Pulling fs layer [2023-11-28T18:56:09.853Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T18:56:09.853Z] ce7588e14bc9: Pulling fs layer [2023-11-28T18:56:09.853Z] b5e4710f87ac: Pulling fs layer [2023-11-28T18:56:09.853Z] ad3a456e5733: Waiting [2023-11-28T18:56:09.853Z] 69c7f0334f64: Waiting [2023-11-28T18:56:09.853Z] ce7588e14bc9: Waiting [2023-11-28T18:56:09.853Z] 1f1c1a5573a3: Waiting [2023-11-28T18:56:09.853Z] b5e4710f87ac: Waiting [2023-11-28T18:56:09.853Z] c4d48a809fc2: Download complete [2023-11-28T18:56:09.854Z] ad3a456e5733: Verifying Checksum [2023-11-28T18:56:09.854Z] ad3a456e5733: Download complete [2023-11-28T18:56:10.114Z] 69c7f0334f64: Verifying Checksum [2023-11-28T18:56:10.114Z] 69c7f0334f64: Download complete [2023-11-28T18:56:10.114Z] 7264a8db6415: Verifying Checksum [2023-11-28T18:56:10.114Z] 7264a8db6415: Download complete [2023-11-28T18:56:10.114Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T18:56:10.114Z] 1f1c1a5573a3: Download complete [2023-11-28T18:56:10.114Z] 7264a8db6415: Pull complete [2023-11-28T18:56:10.375Z] c4d48a809fc2: Pull complete [2023-11-28T18:56:10.375Z] b5e4710f87ac: Verifying Checksum [2023-11-28T18:56:10.375Z] b5e4710f87ac: Download complete [2023-11-28T18:56:10.375Z] 4f1c88b9dad5: Download complete [2023-11-28T18:56:10.941Z] ce7588e14bc9: Download complete [2023-11-28T18:56:14.229Z] 4f1c88b9dad5: Pull complete [2023-11-28T18:56:14.229Z] ad3a456e5733: Pull complete [2023-11-28T18:56:14.229Z] 69c7f0334f64: Pull complete [2023-11-28T18:56:14.229Z] 1f1c1a5573a3: Pull complete [2023-11-28T18:56:16.135Z] ce7588e14bc9: Pull complete [2023-11-28T18:56:16.704Z] b5e4710f87ac: Pull complete [2023-11-28T18:56:16.704Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T18:56:16.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T18:56:16.704Z] ---> 88b5674ff536 [2023-11-28T18:56:16.704Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:56:20.915Z] ---> Running in 67f39d7e71e5 [2023-11-28T18:56:20.915Z] Removing intermediate container 67f39d7e71e5 [2023-11-28T18:56:20.915Z] ---> 4480132048bb [2023-11-28T18:56:20.915Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:56:20.915Z] ---> Running in cbd1827eab21 [2023-11-28T18:56:20.915Z] Removing intermediate container cbd1827eab21 [2023-11-28T18:56:20.915Z] ---> 60f493721fa0 [2023-11-28T18:56:20.915Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T18:56:20.915Z] ---> Running in a27844ab5999 [2023-11-28T18:56:20.915Z] Removing intermediate container a27844ab5999 [2023-11-28T18:56:20.915Z] ---> 9cd7edc2e0b9 [2023-11-28T18:56:20.915Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:56:20.915Z] ---> Running in 4db76a53fcff [2023-11-28T18:56:20.915Z] Removing intermediate container 4db76a53fcff [2023-11-28T18:56:20.915Z] ---> 7a68d7c52043 [2023-11-28T18:56:20.915Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:56:20.915Z] ---> Running in b8104a269bd8 [2023-11-28T18:56:21.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:56:21.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:56:21.440Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T18:56:21.440Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T18:56:21.440Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T18:56:21.440Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T18:56:21.716Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:56:21.716Z] OK: 268 MiB in 56 packages [2023-11-28T18:56:21.975Z] Removing intermediate container b8104a269bd8 [2023-11-28T18:56:21.975Z] ---> 9034a6b6a221 [2023-11-28T18:56:21.975Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-28T18:56:21.975Z] ---> Running in e9fc2bdc11c9 [2023-11-28T18:56:21.975Z] Removing intermediate container e9fc2bdc11c9 [2023-11-28T18:56:21.975Z] ---> 4780b490edc2 [2023-11-28T18:56:21.975Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T18:56:22.234Z] ---> 8222e18678f8 [2023-11-28T18:56:22.234Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:56:22.234Z] ---> Running in 3a4866cb34bd [2023-11-28T18:56:22.477Z] Still waiting to schedule task [2023-11-28T18:56:22.478Z] ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:56:22.478Z] ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:56:22.478Z] ‘prd-ubuntu20.04-docker-8c-8g-1865’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:56:22.478Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1844’ is offline [2023-11-28T18:57:01.071Z] Removing intermediate container 3a4866cb34bd [2023-11-28T18:57:01.071Z] ---> f6a036037f99 [2023-11-28T18:57:01.071Z] Step 11/12 : COPY . . [2023-11-28T18:57:01.071Z] ---> 79825ab4c6a8 [2023-11-28T18:57:01.071Z] Step 12/12 : RUN $MAKE [2023-11-28T18:57:01.071Z] ---> Running in 9142c121bd6c [2023-11-28T18:57:01.071Z] noop [2023-11-28T18:57:01.071Z] Removing intermediate container 9142c121bd6c [2023-11-28T18:57:01.071Z] ---> 50f27e846b77 [2023-11-28T18:57:01.071Z] Successfully built 50f27e846b77 [2023-11-28T18:57:01.071Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:57:01.601Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:57:01.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:57:01.808Z] prd-ubuntu20.04-docker-8c-8g-1837 does not seem to be running inside a container [2023-11-28T18:57:01.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-649 -v /w/workspace/gexfoundry_device-mqtt-go_PR-649:/w/workspace/gexfoundry_device-mqtt-go_PR-649:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-649@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-11-28T18:57:02.159Z] $ docker top 68a360639addd7934c6d6049e7120549ab21ec0c44ded50b51a8abf24dbc0907 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:57:02.607Z] + go version [2023-11-28T18:57:02.607Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T18:57:02.637Z] $ docker stop --time=1 68a360639addd7934c6d6049e7120549ab21ec0c44ded50b51a8abf24dbc0907 [2023-11-28T18:57:03.942Z] $ docker rm -f --volumes 68a360639addd7934c6d6049e7120549ab21ec0c44ded50b51a8abf24dbc0907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:57:04.940Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:57:04.940Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:57:05.148Z] prd-ubuntu20.04-docker-8c-8g-1837 does not seem to be running inside a container [2023-11-28T18:57:05.172Z] $ 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-649 -v /w/workspace/gexfoundry_device-mqtt-go_PR-649:/w/workspace/gexfoundry_device-mqtt-go_PR-649:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-649@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-11-28T18:57:05.493Z] $ docker top 89292aafa21d3bcc17b49b08338e88a55d61686f87993a86a10679c5bcae491b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:57:05.943Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-649 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:57:06.375Z] + make test [2023-11-28T18:57:06.375Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T18:57:07.749Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-28T18:57:17.717Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-28T18:57:17.718Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-28T18:57:17.718Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements [2023-11-28T18:57:25.833Z] go vet ./... [2023-11-28T18:57:29.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:57:29.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:57:29.197Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:57:29.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:57:29.296Z] $ docker stop --time=1 89292aafa21d3bcc17b49b08338e88a55d61686f87993a86a10679c5bcae491b [2023-11-28T18:57:32.423Z] $ docker rm -f --volumes 89292aafa21d3bcc17b49b08338e88a55d61686f87993a86a10679c5bcae491b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:57:33.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:57:33.096Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T18:57:33.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:57:34.289Z] + ls -al . [2023-11-28T18:57:34.289Z] total 184 [2023-11-28T18:57:34.289Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 18:57 . [2023-11-28T18:57:34.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:55 .. [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 18:55 .dockerignore [2023-11-28T18:57:34.289Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:57 .git [2023-11-28T18:57:34.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:55 .github [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 18:55 .gitignore [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:55 .golangci.yml [2023-11-28T18:57:34.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:56 .semver [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 28 18:55 Attribution.txt [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 28 18:55 CHANGELOG.md [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 28 18:55 Dockerfile [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:55 GOVERNANCE.md [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 28 18:55 Jenkinsfile [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 18:55 LICENSE [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 28 18:55 Makefile [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 18:55 OWNERS.md [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 28 18:55 README.md [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:56 VERSION [2023-11-28T18:57:34.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:55 bin [2023-11-28T18:57:34.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:55 cmd [2023-11-28T18:57:34.289Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 28 18:57 coverage.out [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 3817 Nov 28 18:55 go.mod [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 18:55 go.sum [2023-11-28T18:57:34.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:55 internal [2023-11-28T18:57:34.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:55 mock [2023-11-28T18:57:34.289Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 28 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:57:34.763Z] + 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=9b9a80a41f53a862d540b29915a9bd774ae33a94 --label arch=amd64 --label version=0.0.0 . [2023-11-28T18:57:34.763Z] Sending build context to Docker daemon 17.35MB [2023-11-28T18:57:34.763Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:57:34.763Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-28T18:57:34.763Z] ---> 50f27e846b77 [2023-11-28T18:57:34.763Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-28T18:57:35.023Z] ---> Running in e1bcf222a5e5 [2023-11-28T18:57:35.288Z] Removing intermediate container e1bcf222a5e5 [2023-11-28T18:57:35.288Z] ---> 285c006dd49d [2023-11-28T18:57:35.288Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T18:57:35.288Z] ---> Running in 8949c1ad4ba5 [2023-11-28T18:57:35.288Z] Removing intermediate container 8949c1ad4ba5 [2023-11-28T18:57:35.288Z] ---> 7d796bc92726 [2023-11-28T18:57:35.288Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T18:57:35.288Z] ---> Running in da85b8e9beca [2023-11-28T18:57:35.288Z] Removing intermediate container da85b8e9beca [2023-11-28T18:57:35.288Z] ---> b99e2ade11ad [2023-11-28T18:57:35.288Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T18:57:35.288Z] ---> Running in 84163d2afd34 [2023-11-28T18:57:35.550Z] Removing intermediate container 84163d2afd34 [2023-11-28T18:57:35.550Z] ---> 9716284fa434 [2023-11-28T18:57:35.550Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T18:57:35.550Z] ---> Running in a45796874ba8 [2023-11-28T18:57:35.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:57:35.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:57:36.383Z] OK: 268 MiB in 56 packages [2023-11-28T18:57:36.642Z] Removing intermediate container a45796874ba8 [2023-11-28T18:57:36.642Z] ---> e1109e122955 [2023-11-28T18:57:36.642Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-28T18:57:36.642Z] ---> Running in 2b4ed7ddc869 [2023-11-28T18:57:36.642Z] Removing intermediate container 2b4ed7ddc869 [2023-11-28T18:57:36.642Z] ---> e22cad11f6cc [2023-11-28T18:57:36.642Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-28T18:57:36.903Z] ---> fb776e46821b [2023-11-28T18:57:36.903Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:57:36.903Z] ---> Running in 7eec9b06adee [2023-11-28T18:57:37.474Z] Removing intermediate container 7eec9b06adee [2023-11-28T18:57:37.474Z] ---> ec749f070979 [2023-11-28T18:57:37.474Z] Step 11/25 : COPY . . [2023-11-28T18:57:38.418Z] ---> 6b1cd46b9d3c [2023-11-28T18:57:38.418Z] Step 12/25 : RUN $MAKE [2023-11-28T18:57:38.418Z] ---> Running in e77f61ed138f [2023-11-28T18:57:38.418Z] 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.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-28T18:58:00.423Z] Removing intermediate container e77f61ed138f [2023-11-28T18:58:00.423Z] ---> d4230aa619e9 [2023-11-28T18:58:00.423Z] Step 13/25 : FROM alpine:3.18 [2023-11-28T18:58:00.423Z] 3.18: Pulling from library/alpine [2023-11-28T18:58:00.423Z] 96526aa774ef: Pulling fs layer [2023-11-28T18:58:00.423Z] 96526aa774ef: Verifying Checksum [2023-11-28T18:58:00.423Z] 96526aa774ef: Download complete [2023-11-28T18:58:00.423Z] 96526aa774ef: Pull complete [2023-11-28T18:58:00.423Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:58:00.423Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:58:00.423Z] ---> 8ca4688f4f35 [2023-11-28T18:58:00.423Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-28T18:58:00.423Z] ---> Running in a12d0b175260 [2023-11-28T18:58:00.423Z] Removing intermediate container a12d0b175260 [2023-11-28T18:58:00.423Z] ---> cd06d50c0a5d [2023-11-28T18:58:00.423Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-28T18:58:00.423Z] ---> Running in 9aa4114fe548 [2023-11-28T18:58:00.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:58:00.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:58:00.423Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T18:58:00.423Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:58:00.423Z] OK: 7 MiB in 16 packages [2023-11-28T18:58:00.423Z] Removing intermediate container 9aa4114fe548 [2023-11-28T18:58:00.423Z] ---> ab8efd6a70e7 [2023-11-28T18:58:00.423Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-28T18:58:00.423Z] ---> Running in fdd98629c8cf [2023-11-28T18:58:00.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:58:00.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:58:00.941Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:58:00.941Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:58:00.941Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:58:00.941Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:58:00.941Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:58:00.941Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:58:00.941Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:58:00.941Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:58:00.941Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:58:00.941Z] OK: 7 MiB in 16 packages [2023-11-28T18:58:01.510Z] Removing intermediate container fdd98629c8cf [2023-11-28T18:58:01.510Z] ---> 3dd3824ffae6 [2023-11-28T18:58:01.510Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-28T18:58:02.446Z] ---> ea4a4eafba06 [2023-11-28T18:58:02.446Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-28T18:58:02.446Z] ---> 2abdad899398 [2023-11-28T18:58:02.446Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-28T18:58:02.705Z] ---> 53deb55ba78c [2023-11-28T18:58:02.705Z] Step 20/25 : EXPOSE 59982 [2023-11-28T18:58:02.705Z] ---> Running in 0c4d0414c1f0 [2023-11-28T18:58:02.705Z] Removing intermediate container 0c4d0414c1f0 [2023-11-28T18:58:02.705Z] ---> 54208de90794 [2023-11-28T18:58:02.705Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-28T18:58:02.705Z] ---> Running in c98f4a6a30e2 [2023-11-28T18:58:02.705Z] Removing intermediate container c98f4a6a30e2 [2023-11-28T18:58:02.705Z] ---> 1edd5a8d7387 [2023-11-28T18:58:02.705Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T18:58:02.705Z] ---> Running in 9c23db69703d [2023-11-28T18:58:02.963Z] Removing intermediate container 9c23db69703d [2023-11-28T18:58:02.963Z] ---> 28a4eb98fa0d [2023-11-28T18:58:02.963Z] Step 23/25 : LABEL arch=amd64 [2023-11-28T18:58:02.963Z] ---> Running in ebb7d80849cb [2023-11-28T18:58:02.963Z] Removing intermediate container ebb7d80849cb [2023-11-28T18:58:02.963Z] ---> 3f7df17ba216 [2023-11-28T18:58:02.963Z] Step 24/25 : LABEL git_sha=9b9a80a41f53a862d540b29915a9bd774ae33a94 [2023-11-28T18:58:02.963Z] ---> Running in e0f6946b221d [2023-11-28T18:58:02.963Z] Removing intermediate container e0f6946b221d [2023-11-28T18:58:02.963Z] ---> ba6d0ee551cc [2023-11-28T18:58:02.963Z] Step 25/25 : LABEL version=0.0.0 [2023-11-28T18:58:02.963Z] ---> Running in 79d759acbea7 [2023-11-28T18:58:03.222Z] Removing intermediate container 79d759acbea7 [2023-11-28T18:58:03.222Z] ---> ffe6c1d120d3 [2023-11-28T18:58:03.222Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:58:03.222Z] Successfully built ffe6c1d120d3 [2023-11-28T18:58:03.222Z] 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-11-28T18:58:04.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:58:04.469Z] [2023-11-28T18:58:04.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:58:04.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:58:04.890Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T18:58:04.890Z] 5eb5b503b376: Pulling fs layer [2023-11-28T18:58:04.890Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T18:58:04.890Z] ec43610c2a17: Pulling fs layer [2023-11-28T18:58:04.890Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T18:58:04.890Z] 33b1e0a273af: Pulling fs layer [2023-11-28T18:58:04.890Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T18:58:04.890Z] 2f39f015ded8: Pulling fs layer [2023-11-28T18:58:04.890Z] 3a2ae6a8a46f: Waiting [2023-11-28T18:58:04.890Z] 5d3b04190fa2: Waiting [2023-11-28T18:58:04.890Z] 33b1e0a273af: Waiting [2023-11-28T18:58:04.890Z] 2f39f015ded8: Waiting [2023-11-28T18:58:04.890Z] 5c69ac0246d0: Verifying Checksum [2023-11-28T18:58:04.890Z] 5c69ac0246d0: Download complete [2023-11-28T18:58:04.890Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T18:58:04.890Z] 3a2ae6a8a46f: Download complete [2023-11-28T18:58:04.890Z] 33b1e0a273af: Verifying Checksum [2023-11-28T18:58:04.890Z] 33b1e0a273af: Download complete [2023-11-28T18:58:04.890Z] ec43610c2a17: Verifying Checksum [2023-11-28T18:58:04.890Z] ec43610c2a17: Download complete [2023-11-28T18:58:05.157Z] 5d3b04190fa2: Download complete [2023-11-28T18:58:05.157Z] 5eb5b503b376: Download complete [2023-11-28T18:58:05.722Z] 2f39f015ded8: Verifying Checksum [2023-11-28T18:58:05.722Z] 2f39f015ded8: Download complete [2023-11-28T18:58:06.287Z] 5eb5b503b376: Pull complete [2023-11-28T18:58:06.547Z] 5c69ac0246d0: Pull complete [2023-11-28T18:58:06.807Z] ec43610c2a17: Pull complete [2023-11-28T18:58:06.807Z] 3a2ae6a8a46f: Pull complete [2023-11-28T18:58:07.065Z] 33b1e0a273af: Pull complete [2023-11-28T18:58:07.065Z] 5d3b04190fa2: Pull complete [2023-11-28T18:58:11.249Z] 2f39f015ded8: Pull complete [2023-11-28T18:58:11.249Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T18:58:11.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:58:11.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:58:11.599Z] prd-ubuntu20.04-docker-8c-8g-1837 does not seem to be running inside a container [2023-11-28T18:58:11.624Z] $ 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-649 -v /w/workspace/gexfoundry_device-mqtt-go_PR-649:/w/workspace/gexfoundry_device-mqtt-go_PR-649:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-649@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-11-28T18:58:15.538Z] $ docker top 85992b1351a91d28e43b4c49ae3e4455e25d83d81309a4065566ac43ca86ab81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:58:16.051Z] ---> job-cost.sh [2023-11-28T18:58:16.052Z] lf-activate-venv: SKIPPING [2023-11-28T18:58:16.052Z] INFO: No Stack... [2023-11-28T18:58:16.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:58:16.880Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T18:58:17.202Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives/cost.csv [2023-11-28T18:58:17.202Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T18:58:17.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] [2023-11-28T18:58:17.252Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] did not exist. Created. [2023-11-28T18:58:17.252Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T18:58:17.721Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T18:58:17.772Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T18:58:17.843Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T18:58:17.993Z] $ docker stop --time=1 85992b1351a91d28e43b4c49ae3e4455e25d83d81309a4065566ac43ca86ab81 [2023-11-28T18:58:19.156Z] $ docker rm -f --volumes 85992b1351a91d28e43b4c49ae3e4455e25d83d81309a4065566ac43ca86ab81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T19:37:14.953Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3964 in /w/workspace/gexfoundry_device-mqtt-go_PR-649 [Pipeline] { [Pipeline] ws [2023-11-28T19:37:15.052Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-11-28T19:37:16.195Z] The recommended git tool is: git [2023-11-28T19:37:21.809Z] using credential edgex-jenkins-ssh [2023-11-28T19:37:21.828Z] Cloning the remote Git repository [2023-11-28T19:37:21.881Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-28T19:37:21.994Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-11-28T19:37:22.180Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-28T19:37:22.182Z] > git --version # timeout=10 [2023-11-28T19:37:22.208Z] > git --version # 'git version 2.25.1' [2023-11-28T19:37:22.212Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:37:22.416Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:37:24.390Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-28T19:37:24.426Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:37:25.997Z] Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 9b9a80a41f53a862d540b29915a9bd774ae33a94 [2023-11-28T19:37:26.272Z] Merge succeeded, producing 9b9a80a41f53a862d540b29915a9bd774ae33a94 [2023-11-28T19:37:26.272Z] Checking out Revision 9b9a80a41f53a862d540b29915a9bd774ae33a94 (PR-649) [2023-11-28T19:37:25.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-28T19:37:25.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-28T19:37:25.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:37:25.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/649/head:refs/remotes/origin/PR-649 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T19:37:26.013Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:37:26.083Z] > git checkout -f 9b9a80a41f53a862d540b29915a9bd774ae33a94 # timeout=10 [2023-11-28T19:37:26.167Z] > git remote # timeout=10 [2023-11-28T19:37:26.188Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T19:37:26.206Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:37:26.220Z] > git merge 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 [2023-11-28T19:37:26.250Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T19:37:26.277Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:37:26.293Z] > git checkout -f 9b9a80a41f53a862d540b29915a9bd774ae33a94 # timeout=10 [2023-11-28T19:37:29.888Z] Commit message: "build: Update to latest 3.2.0 dev go-mods" [2023-11-28T19:37:29.940Z] > git --version # timeout=10 [2023-11-28T19:37:29.951Z] > git --version # 'git version 2.25.1' [2023-11-28T19:37:29.972Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:37:31.329Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T19:37:31.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:37:31.329Z] Dload Upload Total Spent Left Speed [2023-11-28T19:37:31.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 221k 0 --:--:-- --:--:-- --:--:-- 225k [Pipeline] sh [2023-11-28T19:37:31.673Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T19:37:32.026Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T19:37:32.026Z] + sudo tee /etc/docker/daemon.new [2023-11-28T19:37:32.026Z] { [2023-11-28T19:37:32.026Z] "registry-mirrors": [ [2023-11-28T19:37:32.026Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T19:37:32.026Z] ], [2023-11-28T19:37:32.026Z] "bip": "10.250.0.254/24", [2023-11-28T19:37:32.026Z] "hosts": [ [2023-11-28T19:37:32.026Z] "tcp://0.0.0.0:5555", [2023-11-28T19:37:32.026Z] "unix:///var/run/docker.sock" [2023-11-28T19:37:32.026Z] ], [2023-11-28T19:37:32.026Z] "mtu": 1458, [2023-11-28T19:37:32.026Z] "selinux-enabled": true, [2023-11-28T19:37:32.026Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T19:37:32.026Z] } [Pipeline] sh [2023-11-28T19:37:32.369Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T19:37:32.723Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:37:51.103Z] provisioning config files... [2023-11-28T19:37:51.136Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2099551365957733329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:37:51.679Z] ---> ****-login.sh [2023-11-28T19:37:51.679Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:37:52.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:52.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:52.273Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:52.274Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:52.274Z] [2023-11-28T19:37:52.274Z] Login Succeeded [2023-11-28T19:37:52.274Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:37:52.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:52.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:52.818Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:52.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:52.818Z] [2023-11-28T19:37:52.818Z] Login Succeeded [2023-11-28T19:37:52.818Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:37:53.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:53.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:53.088Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:53.088Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:53.088Z] [2023-11-28T19:37:53.088Z] Login Succeeded [2023-11-28T19:37:53.088Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:37:53.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:53.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:53.631Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:53.631Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:53.631Z] [2023-11-28T19:37:53.631Z] Login Succeeded [2023-11-28T19:37:53.631Z] ****.io [2023-11-28T19:37:53.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:37:53.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:37:53.920Z] Configure a credential helper to remove this warning. See [2023-11-28T19:37:53.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:37:53.920Z] [2023-11-28T19:37:53.920Z] Login Succeeded [2023-11-28T19:37:53.944Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:37:53.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:37:54.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:37:54.616Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:37:54.694Z] ========================================================= [2023-11-28T19:37:54.694Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T19:37:54.694Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:37:55.376Z] + 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-11-28T19:37:55.646Z] Sending build context to Docker daemon 8.778MB [2023-11-28T19:37:55.915Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:37:55.915Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-28T19:37:55.915Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T19:37:55.915Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T19:37:55.915Z] 5d54e960e981: Pulling fs layer [2023-11-28T19:37:55.915Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T19:37:55.915Z] f0e02332f6b5: Pulling fs layer [2023-11-28T19:37:55.915Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T19:37:55.915Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T19:37:55.915Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T19:37:55.915Z] f0e02332f6b5: Waiting [2023-11-28T19:37:55.915Z] 94ae7d8d031c: Waiting [2023-11-28T19:37:55.915Z] 0c6a40ed1a82: Waiting [2023-11-28T19:37:55.915Z] 872ee5b61b7b: Waiting [2023-11-28T19:37:55.915Z] 5d54e960e981: Download complete [2023-11-28T19:37:56.191Z] f0e02332f6b5: Verifying Checksum [2023-11-28T19:37:56.191Z] f0e02332f6b5: Download complete [2023-11-28T19:37:56.191Z] 872ee5b61b7b: Download complete [2023-11-28T19:37:56.191Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T19:37:56.191Z] 9fda8d8052c6: Download complete [2023-11-28T19:37:56.473Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T19:37:56.473Z] 94ae7d8d031c: Download complete [2023-11-28T19:37:57.076Z] 9fda8d8052c6: Pull complete [2023-11-28T19:37:57.663Z] 5d54e960e981: Pull complete [2023-11-28T19:37:57.934Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T19:37:57.934Z] c4a7e357bf2a: Download complete [2023-11-28T19:37:58.904Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T19:37:58.904Z] 0c6a40ed1a82: Download complete [2023-11-28T19:38:11.250Z] c4a7e357bf2a: Pull complete [2023-11-28T19:38:11.250Z] f0e02332f6b5: Pull complete [2023-11-28T19:38:11.250Z] 872ee5b61b7b: Pull complete [2023-11-28T19:38:19.482Z] 0c6a40ed1a82: Pull complete [2023-11-28T19:38:21.437Z] 94ae7d8d031c: Pull complete [2023-11-28T19:38:21.437Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T19:38:21.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T19:38:21.437Z] ---> 86de565de09d [2023-11-28T19:38:21.437Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:38:23.387Z] ---> Running in e9ac0eb55f8f [2023-11-28T19:38:23.387Z] Removing intermediate container e9ac0eb55f8f [2023-11-28T19:38:23.387Z] ---> 88d5540cc28a [2023-11-28T19:38:23.387Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:38:23.387Z] ---> Running in cbbb7ef83196 [2023-11-28T19:38:23.978Z] Removing intermediate container cbbb7ef83196 [2023-11-28T19:38:23.978Z] ---> b103c44cb053 [2023-11-28T19:38:23.978Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:38:23.978Z] ---> Running in 2c815846c953 [2023-11-28T19:38:24.245Z] Removing intermediate container 2c815846c953 [2023-11-28T19:38:24.245Z] ---> 2811acaff713 [2023-11-28T19:38:24.245Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:38:24.245Z] ---> Running in 65be8a34e2cc [2023-11-28T19:38:24.830Z] Removing intermediate container 65be8a34e2cc [2023-11-28T19:38:24.830Z] ---> b64b5f8f0666 [2023-11-28T19:38:24.830Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:38:24.830Z] ---> Running in 280e5bceaa22 [2023-11-28T19:38:25.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:38:26.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:38:27.351Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-28T19:38:27.351Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-28T19:38:27.351Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-28T19:38:27.351Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-28T19:38:27.351Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:38:27.351Z] OK: 271 MiB in 56 packages [2023-11-28T19:38:28.316Z] Removing intermediate container 280e5bceaa22 [2023-11-28T19:38:28.316Z] ---> d720d7e7fa95 [2023-11-28T19:38:28.316Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-28T19:38:28.587Z] ---> Running in 5b492da79ab2 [2023-11-28T19:38:28.857Z] Removing intermediate container 5b492da79ab2 [2023-11-28T19:38:28.857Z] ---> 12b51898d506 [2023-11-28T19:38:28.857Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-28T19:38:29.459Z] ---> cba90abbc405 [2023-11-28T19:38:29.459Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:38:29.459Z] ---> Running in 9fb0ee0c58e6 [2023-11-28T19:39:51.088Z] Removing intermediate container 9fb0ee0c58e6 [2023-11-28T19:39:51.088Z] ---> c391ed2f1ad5 [2023-11-28T19:39:51.088Z] Step 11/12 : COPY . . [2023-11-28T19:39:51.088Z] ---> f3def9ff6131 [2023-11-28T19:39:51.088Z] Step 12/12 : RUN $MAKE [2023-11-28T19:39:51.088Z] ---> Running in ca7ee60bc15d [2023-11-28T19:39:51.088Z] noop [2023-11-28T19:39:51.088Z] Removing intermediate container ca7ee60bc15d [2023-11-28T19:39:51.088Z] ---> 1e57bd6a1506 [2023-11-28T19:39:51.088Z] Successfully built 1e57bd6a1506 [2023-11-28T19:39:51.088Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:39:51.692Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:39:51.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:39:52.069Z] prd-ubuntu20.04-docker-arm64-4c-16g-3964 does not seem to be running inside a container [2023-11-28T19:39:52.143Z] $ 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-11-28T19:39:53.391Z] $ docker top fd0f96d7422e31a3af8b904e6d572bc45623bd86e027561fa6daade3e0054770 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:39:54.375Z] + go version [2023-11-28T19:39:54.375Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T19:39:54.406Z] $ docker stop --time=1 fd0f96d7422e31a3af8b904e6d572bc45623bd86e027561fa6daade3e0054770 [2023-11-28T19:39:56.075Z] $ docker rm -f --volumes fd0f96d7422e31a3af8b904e6d572bc45623bd86e027561fa6daade3e0054770 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:39:57.317Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:39:57.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:39:57.672Z] prd-ubuntu20.04-docker-arm64-4c-16g-3964 does not seem to be running inside a container [2023-11-28T19:39:57.736Z] $ 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-11-28T19:40:00.855Z] $ docker top 2964425d02c04b8fc481270ed8097052a139938a805fc9524db981d82e1568a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:40:01.842Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:40:02.585Z] + make test [2023-11-28T19:40:02.585Z] go test ./... -coverprofile=coverage.out ./... [2023-11-28T19:40:06.844Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-28T19:41:43.513Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-28T19:41:46.140Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-28T19:41:46.140Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements [2023-11-28T19:41:46.724Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T19:41:46.724Z] go vet ./... [2023-11-28T19:42:19.001Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:42:19.001Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:42:19.001Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:42:19.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:42:19.711Z] $ docker stop --time=1 2964425d02c04b8fc481270ed8097052a139938a805fc9524db981d82e1568a6 [2023-11-28T19:42:21.764Z] $ docker rm -f --volumes 2964425d02c04b8fc481270ed8097052a139938a805fc9524db981d82e1568a6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:42:23.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:42:23.241Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T19:42:23.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:42:24.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:42:25.341Z] + ls -al . [2023-11-28T19:42:25.341Z] total 180 [2023-11-28T19:42:25.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:40 . [2023-11-28T19:42:25.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:37 .. [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 19:37 .dockerignore [2023-11-28T19:42:25.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:37 .git [2023-11-28T19:42:25.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:37 .github [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 19:37 .gitignore [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:37 .golangci.yml [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 28 19:37 Attribution.txt [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 28 19:37 CHANGELOG.md [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 28 19:37 Dockerfile [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:37 GOVERNANCE.md [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 28 19:37 Jenkinsfile [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:37 LICENSE [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 28 19:37 Makefile [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 19:37 OWNERS.md [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 28 19:37 README.md [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:56 VERSION [2023-11-28T19:42:25.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:37 bin [2023-11-28T19:42:25.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:37 cmd [2023-11-28T19:42:25.341Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 28 19:41 coverage.out [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 3817 Nov 28 19:37 go.mod [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 19:37 go.sum [2023-11-28T19:42:25.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:37 internal [2023-11-28T19:42:25.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:37 mock [2023-11-28T19:42:25.341Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 28 19:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:42:25.880Z] + 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=9b9a80a41f53a862d540b29915a9bd774ae33a94 --label arch=arm64 --label version=0.0.0 . [2023-11-28T19:42:26.504Z] Sending build context to Docker daemon 8.797MB [2023-11-28T19:42:26.504Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:42:26.504Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-28T19:42:26.504Z] ---> 1e57bd6a1506 [2023-11-28T19:42:26.504Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-28T19:42:26.806Z] ---> Running in e0bc209a53ae [2023-11-28T19:42:27.096Z] Removing intermediate container e0bc209a53ae [2023-11-28T19:42:27.096Z] ---> 7380a80e86ce [2023-11-28T19:42:27.096Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-28T19:42:27.375Z] ---> Running in 5c6c844f1430 [2023-11-28T19:42:27.653Z] Removing intermediate container 5c6c844f1430 [2023-11-28T19:42:27.653Z] ---> 94d84c1a785c [2023-11-28T19:42:27.653Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-28T19:42:27.653Z] ---> Running in 8f48250932da [2023-11-28T19:42:28.254Z] Removing intermediate container 8f48250932da [2023-11-28T19:42:28.254Z] ---> 2f8217a1f469 [2023-11-28T19:42:28.254Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-28T19:42:28.254Z] ---> Running in aeeb0c878779 [2023-11-28T19:42:28.525Z] Removing intermediate container aeeb0c878779 [2023-11-28T19:42:28.525Z] ---> 772e88abd861 [2023-11-28T19:42:28.525Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-28T19:42:28.525Z] ---> Running in ecea87db2be3 [2023-11-28T19:42:29.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:42:30.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:42:31.635Z] OK: 271 MiB in 56 packages [2023-11-28T19:42:33.609Z] Removing intermediate container ecea87db2be3 [2023-11-28T19:42:33.609Z] ---> 52fcae599f0d [2023-11-28T19:42:33.609Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-28T19:42:33.877Z] ---> Running in dfebf6e0bc65 [2023-11-28T19:42:34.145Z] Removing intermediate container dfebf6e0bc65 [2023-11-28T19:42:34.145Z] ---> b843d72cb1b8 [2023-11-28T19:42:34.145Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-28T19:42:36.108Z] ---> ae12c60fb18c [2023-11-28T19:42:36.108Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:42:36.108Z] ---> Running in 2383f83a247e [2023-11-28T19:42:42.788Z] Removing intermediate container 2383f83a247e [2023-11-28T19:42:42.788Z] ---> b98668c0c6f5 [2023-11-28T19:42:42.788Z] Step 11/25 : COPY . . [2023-11-28T19:42:44.745Z] ---> 262c4d3d419d [2023-11-28T19:42:44.746Z] Step 12/25 : RUN $MAKE [2023-11-28T19:42:45.016Z] ---> Running in 11303bfa596c [2023-11-28T19:42:47.610Z] 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.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-28T19:44:54.350Z] Removing intermediate container 11303bfa596c [2023-11-28T19:44:54.350Z] ---> 90c7dc37acf7 [2023-11-28T19:44:54.350Z] Step 13/25 : FROM alpine:3.18 [2023-11-28T19:44:54.350Z] 3.18: Pulling from library/alpine [2023-11-28T19:44:54.350Z] 579b34f0a95b: Pulling fs layer [2023-11-28T19:44:54.350Z] 579b34f0a95b: Verifying Checksum [2023-11-28T19:44:54.350Z] 579b34f0a95b: Download complete [2023-11-28T19:44:54.350Z] 579b34f0a95b: Pull complete [2023-11-28T19:44:54.350Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:44:54.350Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:44:54.350Z] ---> 3cc203321400 [2023-11-28T19:44:54.350Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-28T19:44:54.350Z] ---> Running in 2b2ea88345b3 [2023-11-28T19:44:54.350Z] Removing intermediate container 2b2ea88345b3 [2023-11-28T19:44:54.350Z] ---> eaf8e8429048 [2023-11-28T19:44:54.350Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:44:54.350Z] ---> Running in 4661d8934bd6 [2023-11-28T19:44:54.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:44:54.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:44:54.350Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:44:54.350Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:44:54.350Z] OK: 8 MiB in 16 packages [2023-11-28T19:44:54.350Z] Removing intermediate container 4661d8934bd6 [2023-11-28T19:44:54.350Z] ---> 3c5a0ad6e0c7 [2023-11-28T19:44:54.350Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-28T19:44:54.350Z] ---> Running in 7b58a09fd78b [2023-11-28T19:44:54.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:44:54.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:44:54.350Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:44:54.350Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:44:54.350Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:44:54.350Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:44:54.350Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:44:54.350Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:44:54.350Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:44:54.350Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:44:54.350Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:44:54.350Z] OK: 8 MiB in 16 packages [2023-11-28T19:44:55.760Z] Removing intermediate container 7b58a09fd78b [2023-11-28T19:44:55.760Z] ---> 0323ea37ee21 [2023-11-28T19:44:55.760Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-28T19:44:57.183Z] ---> b349bfef7611 [2023-11-28T19:44:57.183Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-28T19:44:57.769Z] ---> bd21532a1d2e [2023-11-28T19:44:57.769Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-28T19:44:58.358Z] ---> 36bf1e4853bc [2023-11-28T19:44:58.358Z] Step 20/25 : EXPOSE 59982 [2023-11-28T19:44:58.358Z] ---> Running in 0a6b0a37d458 [2023-11-28T19:44:58.625Z] Removing intermediate container 0a6b0a37d458 [2023-11-28T19:44:58.625Z] ---> 9fddf5180c4f [2023-11-28T19:44:58.625Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-28T19:44:58.625Z] ---> Running in 9e6de3bd21b9 [2023-11-28T19:44:58.892Z] Removing intermediate container 9e6de3bd21b9 [2023-11-28T19:44:58.892Z] ---> 95328676ef00 [2023-11-28T19:44:58.892Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-28T19:44:59.164Z] ---> Running in 609b7d797ab1 [2023-11-28T19:44:59.434Z] Removing intermediate container 609b7d797ab1 [2023-11-28T19:44:59.434Z] ---> 43dcad646449 [2023-11-28T19:44:59.434Z] Step 23/25 : LABEL arch=arm64 [2023-11-28T19:44:59.434Z] ---> Running in c46d9e6fc8fd [2023-11-28T19:44:59.702Z] Removing intermediate container c46d9e6fc8fd [2023-11-28T19:44:59.702Z] ---> d650c8b6dd09 [2023-11-28T19:44:59.702Z] Step 24/25 : LABEL git_sha=9b9a80a41f53a862d540b29915a9bd774ae33a94 [2023-11-28T19:44:59.975Z] ---> Running in 6fc84bc3dca0 [2023-11-28T19:45:00.245Z] Removing intermediate container 6fc84bc3dca0 [2023-11-28T19:45:00.245Z] ---> ecdaae3cf329 [2023-11-28T19:45:00.245Z] Step 25/25 : LABEL version=0.0.0 [2023-11-28T19:45:00.245Z] ---> Running in 0dd5fa68d550 [2023-11-28T19:45:00.513Z] Removing intermediate container 0dd5fa68d550 [2023-11-28T19:45:00.513Z] ---> e7b165dbe050 [2023-11-28T19:45:00.513Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:45:00.513Z] Successfully built e7b165dbe050 [2023-11-28T19:45:00.513Z] 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-11-28T19:45:01.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:45:01.848Z] [2023-11-28T19:45:01.848Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:45:02.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:45:02.577Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T19:45:02.577Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T19:45:02.577Z] 04944245beec: Pulling fs layer [2023-11-28T19:45:02.577Z] 699f458cf7ca: Pulling fs layer [2023-11-28T19:45:02.577Z] 765212b225bb: Pulling fs layer [2023-11-28T19:45:02.577Z] f23df028b6ca: Pulling fs layer [2023-11-28T19:45:02.577Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T19:45:02.577Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T19:45:02.577Z] f23df028b6ca: Waiting [2023-11-28T19:45:02.577Z] d65c8cfc05b1: Waiting [2023-11-28T19:45:02.577Z] 2437ff75d9bd: Waiting [2023-11-28T19:45:02.577Z] 765212b225bb: Waiting [2023-11-28T19:45:02.577Z] 04944245beec: Verifying Checksum [2023-11-28T19:45:02.577Z] 04944245beec: Download complete [2023-11-28T19:45:02.577Z] 765212b225bb: Verifying Checksum [2023-11-28T19:45:02.577Z] 765212b225bb: Download complete [2023-11-28T19:45:02.577Z] f23df028b6ca: Verifying Checksum [2023-11-28T19:45:02.577Z] f23df028b6ca: Download complete [2023-11-28T19:45:02.577Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T19:45:02.577Z] d65c8cfc05b1: Download complete [2023-11-28T19:45:02.847Z] 699f458cf7ca: Verifying Checksum [2023-11-28T19:45:02.847Z] 699f458cf7ca: Download complete [2023-11-28T19:45:03.117Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T19:45:03.117Z] 8998bd30e6a1: Download complete [2023-11-28T19:45:07.410Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T19:45:07.410Z] 2437ff75d9bd: Download complete [2023-11-28T19:45:07.677Z] 8998bd30e6a1: Pull complete [2023-11-28T19:45:08.266Z] 04944245beec: Pull complete [2023-11-28T19:45:09.682Z] 699f458cf7ca: Pull complete [2023-11-28T19:45:09.682Z] 765212b225bb: Pull complete [2023-11-28T19:45:10.641Z] f23df028b6ca: Pull complete [2023-11-28T19:45:10.910Z] d65c8cfc05b1: Pull complete [2023-11-28T19:45:29.126Z] 2437ff75d9bd: Pull complete [2023-11-28T19:45:29.126Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T19:45:29.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:45:29.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:45:29.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-3964 does not seem to be running inside a container [2023-11-28T19:45:29.713Z] $ 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-11-28T19:45:35.432Z] $ docker top 045e98da718a7ffdff238f06a8c1736dd7b38ee5e8921db668f1f5b5e0e7aaab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:36.434Z] ---> job-cost.sh [2023-11-28T19:45:36.435Z] lf-activate-venv: SKIPPING [2023-11-28T19:45:36.435Z] INFO: No Stack... [2023-11-28T19:45:36.702Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T19:45:37.668Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:45:38.334Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-11-28T19:45:38.334Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:45:38.418Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] [2023-11-28T19:45:38.423Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] did not exist. Created. [2023-11-28T19:45:38.424Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:45:39.265Z] /w/workspace/device-mqtt-go/1@tmp/durable-935e4bce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T19:45:39.944Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T19:45:39.995Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T19:45:40.052Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:45:40.092Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-649-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:45:40.266Z] $ docker stop --time=1 045e98da718a7ffdff238f06a8c1736dd7b38ee5e8921db668f1f5b5e0e7aaab [2023-11-28T19:45:41.843Z] $ docker rm -f --volumes 045e98da718a7ffdff238f06a8c1736dd7b38ee5e8921db668f1f5b5e0e7aaab [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-11-28T19:45:43.962Z] provisioning config files... [2023-11-28T19:45:43.969Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/config12267481661507848918tmp [Pipeline] { [Pipeline] sh [2023-11-28T19:45:44.413Z] + set +x [2023-11-28T19:45:44.413Z] + bash -s -- [2023-11-28T19:45:44.413Z] + curl -s https://codecov.io/bash [2023-11-28T19:45:44.413Z] [2023-11-28T19:45:44.413Z] _____ _ [2023-11-28T19:45:44.413Z] / ____| | | [2023-11-28T19:45:44.413Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T19:45:44.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T19:45:44.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T19:45:44.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T19:45:44.413Z] Bash-1.0.6 [2023-11-28T19:45:44.413Z] [2023-11-28T19:45:44.413Z] [2023-11-28T19:45:44.413Z] ==> git version 2.25.1 found [2023-11-28T19:45:44.413Z] ==> 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-11-28T19:45:44.413Z] Release-Date: 2020-01-08 [2023-11-28T19:45:44.413Z] 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-11-28T19:45:44.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T19:45:44.414Z] ==> Jenkins CI detected. [2023-11-28T19:45:44.414Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-649 [2023-11-28T19:45:44.414Z] project root: . [2023-11-28T19:45:44.414Z] --> token set from env [2023-11-28T19:45:44.414Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T19:45:44.414Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T19:45:44.414Z] ==> Python coveragepy not found [2023-11-28T19:45:44.414Z] ==> Searching for coverage reports in: [2023-11-28T19:45:44.414Z] + . [2023-11-28T19:45:44.414Z] -> Found 1 reports [2023-11-28T19:45:44.673Z] ==> Detecting git/mercurial file structure [2023-11-28T19:45:44.673Z] ==> Reading reports [2023-11-28T19:45:44.673Z] + ./coverage.out bytes=18506 [2023-11-28T19:45:44.673Z] ==> Appending adjustments [2023-11-28T19:45:44.673Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T19:45:44.673Z] + Found adjustments [2023-11-28T19:45:44.673Z] ==> Gzipping contents [2023-11-28T19:45:44.673Z] 4.0K /tmp/codecov.a5PfPp.gz [2023-11-28T19:45:44.673Z] ==> Uploading reports [2023-11-28T19:45:44.673Z] url: https://codecov.io [2023-11-28T19:45:44.673Z] query: branch=PR-649&commit=9b9a80a41f53a862d540b29915a9bd774ae33a94&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-649%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=649&job=&cmd_args= [2023-11-28T19:45:44.673Z] -> Pinging Codecov [2023-11-28T19:45:44.674Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-649&commit=9b9a80a41f53a862d540b29915a9bd774ae33a94&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-649%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=649&job=&cmd_args= [2023-11-28T19:45:44.674Z] -> Uploading to [2023-11-28T19:45:44.674Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/7D719EC7BBE17E464838252E33014C33/9b9a80a41f53a862d540b29915a9bd774ae33a94/4e16f16c-a9d8-4a16-9c05-178f23c455c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T194544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=608b725f68481378e13303bb7566ef3e05821440da4234154c9ac46f4c8a8dbe [2023-11-28T19:45:44.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:45:44.936Z] Dload Upload Total Spent Left Speed [2023-11-28T19:45:44.936Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12003 --:--:-- --:--:-- --:--:-- 12003 [2023-11-28T19:45:45.196Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/9b9a80a41f53a862d540b29915a9bd774ae33a94 [Pipeline] } [2023-11-28T19:45:45.226Z] 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-11-28T19:45:48.520Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives ] [2023-11-28T19:45:48.520Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives [2023-11-28T19:45:48.520Z] total 16 [2023-11-28T19:45:48.520Z] drwxr-xr-x 3 root root 4096 Nov 28 18:58 . [2023-11-28T19:45:48.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 18:58 .. [2023-11-28T19:45:48.520Z] drwxr-xr-x 2 root root 4096 Nov 28 18:58 cost [2023-11-28T19:45:48.520Z] -rw-r--r-- 1 root root 86 Nov 28 18:58 cost.csv [2023-11-28T19:45:48.520Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives [2023-11-28T19:45:48.520Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives [2023-11-28T19:45:48.520Z] total 16 [2023-11-28T19:45:48.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:58 . [2023-11-28T19:45:48.520Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 18:58 .. [2023-11-28T19:45:48.520Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:58 cost [2023-11-28T19:45:48.520Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 28 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:48.851Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:49.740Z] ---> package-listing.sh [2023-11-28T19:45:49.741Z] ++ facter osfamily [2023-11-28T19:45:49.741Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T19:45:49.999Z] + OS_FAMILY=debian [2023-11-28T19:45:49.999Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-649 [2023-11-28T19:45:49.999Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T19:45:49.999Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T19:45:49.999Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T19:45:49.999Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T19:45:49.999Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-649 ']' [2023-11-28T19:45:49.999Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T19:45:49.999Z] + case "${OS_FAMILY}" in [2023-11-28T19:45:49.999Z] + dpkg -l [2023-11-28T19:45:49.999Z] + grep '^ii' [2023-11-28T19:45:49.999Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T19:45:49.999Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T19:45:49.999Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T19:45:49.999Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-649 ']' [2023-11-28T19:45:49.999Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives/ [2023-11-28T19:45:49.999Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-649/archives/ [Pipeline] echo [2023-11-28T19:45:50.027Z] 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-649/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T19:45:50.319Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:45:50.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:45:50.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:45:51.290Z] prd-ubuntu20.04-docker-8c-8g-1837 does not seem to be running inside a container [2023-11-28T19:45:51.373Z] $ 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-649/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-649 -v /w/workspace/gexfoundry_device-mqtt-go_PR-649:/w/workspace/gexfoundry_device-mqtt-go_PR-649:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-649@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-11-28T19:45:51.698Z] $ docker top b67eda6e8c0d92f102f316a76e729b3d9e414a370078c81942c8bbe3f5bc8e69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:45:52.266Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T19:45:52.573Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T19:45:52.885Z] + ls /var/log/sa-host [2023-11-28T19:45:52.885Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:45:53.079Z] provisioning config files... [2023-11-28T19:45:53.089Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-649@tmp/config8556652689637996193tmp [Pipeline] { [Pipeline] echo [2023-11-28T19:45:53.255Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:53.568Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T19:45:53.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:54.106Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T19:45:54.140Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:54.456Z] ---> sudo-logs.sh [2023-11-28T19:45:54.456Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T19:45:54.611Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:54.926Z] ---> job-cost.sh [2023-11-28T19:45:54.926Z] lf-activate-venv: SKIPPING [2023-11-28T19:45:54.926Z] DEBUG: total: 0.2199999988079071 [2023-11-28T19:45:54.926Z] INFO: Retrieving Stack Cost... [2023-11-28T19:45:55.187Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:45:55.453Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T19:45:55.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:45:55.797Z] ---> logs-deploy.sh [2023-11-28T19:45:55.797Z] lf-activate-venv: SKIPPING [2023-11-28T19:45:55.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-649/1 [2023-11-28T19:45:55.797Z] INFO: archiving workspace using pattern(s): [2023-11-28T19:45:56.737Z] Archives upload complete. [2023-11-28T19:45:56.737Z] INFO: archiving logs to Nexus