Pull request #650 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a2954d58d420981404086a0e4506a1a5bdc8ceeb+972a1f6392fb66aca512ab6e37eb1188ace4c45a (23915b49f522a845549507993bf6cb3fc4a93fac) 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-ssh15098404247631217757.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-ssh8940917570409213696.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-650/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-650/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12069718717726531172.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-650/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9650256709803015738.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-ssh17230852533451761338.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-650/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-650/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11018914389072555372.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 ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8930’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8925’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8932 in /w/workspace/gexfoundry_device-mqtt-go_PR-650 [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-650 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 972a1f6392fb66aca512ab6e37eb1188ace4c45a into PR head commit a2954d58d420981404086a0e4506a1a5bdc8ceeb Merge succeeded, producing a2954d58d420981404086a0e4506a1a5bdc8ceeb Checking out Revision a2954d58d420981404086a0e4506a1a5bdc8ceeb (PR-650) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0" 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-29T01:27:36.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-29T01:27:36.704Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a2954d58d420981404086a0e4506a1a5bdc8ceeb # 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 972a1f6392fb66aca512ab6e37eb1188ace4c45a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2954d58d420981404086a0e4506a1a5bdc8ceeb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-29T01:27:36.826Z] ========================================================= [2023-11-29T01:27:36.826Z] EdgeX Global Pipelines Version Info [2023-11-29T01:27:36.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:27:37.950Z] ------------------- [2023-11-29T01:27:37.950Z] stable info: [2023-11-29T01:27:37.950Z] ------------------- [2023-11-29T01:27:37.950Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-29T01:27:37.950Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-29T01:27:37.950Z] Message: update stable to v1.0.258 [2023-11-29T01:27:38.210Z] ------------------- [2023-11-29T01:27:38.210Z] experimental info: [2023-11-29T01:27:38.210Z] ------------------- [2023-11-29T01:27:38.210Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-29T01:27:38.210Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-29T01:27:38.210Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-29T01:27:38.441Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-29T01:27:38.503Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-29T01:27:38.563Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-29T01:27:38.621Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-29T01:27:38.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-29T01:27:38.741Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-29T01:27:38.796Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-29T01:27:38.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-29T01:27:38.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-29T01:27:38.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-29T01:27:39.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-29T01:27:39.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-29T01:27:39.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-29T01:27:39.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-29T01:27:39.331Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-29T01:27:39.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-29T01:27:39.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-29T01:27:39.530Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-29T01:27:39.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-29T01:27:39.710Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-29T01:27:39.785Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-29T01:27:39.853Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-29T01:27:39.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-29T01:27:39.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-29T01:27:40.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-29T01:27:40.142Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-29T01:27:40.220Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-29T01:27:40.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo [2023-11-29T01:27:40.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo [2023-11-29T01:27:40.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo [2023-11-29T01:27:40.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2954d58d420981404086a0e4506a1a5bdc8ceeb [Pipeline] echo [2023-11-29T01:27:40.585Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2954d5 [Pipeline] echo [2023-11-29T01:27:40.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T01:27:40.847Z] provisioning config files... [2023-11-29T01:27:40.863Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/config3744887835365598650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:27:41.273Z] ---> ****-login.sh [2023-11-29T01:27:41.273Z] nexus3.edgexfoundry.org:10001 [2023-11-29T01:27:41.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:27:41.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:27:41.534Z] Configure a credential helper to remove this warning. See [2023-11-29T01:27:41.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:27:41.534Z] [2023-11-29T01:27:41.534Z] Login Succeeded [2023-11-29T01:27:41.534Z] nexus3.edgexfoundry.org:10002 [2023-11-29T01:27:41.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:27:41.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:27:41.534Z] Configure a credential helper to remove this warning. See [2023-11-29T01:27:41.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:27:41.535Z] [2023-11-29T01:27:41.535Z] Login Succeeded [2023-11-29T01:27:41.535Z] nexus3.edgexfoundry.org:10003 [2023-11-29T01:27:41.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:27:41.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:27:41.795Z] Configure a credential helper to remove this warning. See [2023-11-29T01:27:41.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:27:41.795Z] [2023-11-29T01:27:41.795Z] Login Succeeded [2023-11-29T01:27:41.795Z] nexus3.edgexfoundry.org:10004 [2023-11-29T01:27:41.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:27:41.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:27:41.796Z] Configure a credential helper to remove this warning. See [2023-11-29T01:27:41.796Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:27:41.796Z] [2023-11-29T01:27:41.796Z] Login Succeeded [2023-11-29T01:27:41.796Z] ****.io [2023-11-29T01:27:42.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:27:42.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:27:42.318Z] Configure a credential helper to remove this warning. See [2023-11-29T01:27:42.318Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:27:42.318Z] [2023-11-29T01:27:42.318Z] Login Succeeded [2023-11-29T01:27:42.318Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T01:27:42.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-29T01:27:43.142Z] + git rev-list -1 --merges a2954d58d420981404086a0e4506a1a5bdc8ceeb~1..a2954d58d420981404086a0e4506a1a5bdc8ceeb [Pipeline] echo [2023-11-29T01:27:43.187Z] -----------> git rev-list -1 --merges a2954d58d420981404086a0e4506a1a5bdc8ceeb~1..a2954d58d420981404086a0e4506a1a5bdc8ceeb a2954d58d420981404086a0e4506a1a5bdc8ceeb [false] [Pipeline] sh [2023-11-29T01:27:43.515Z] + git log --format=format:%s -1 a2954d58d420981404086a0e4506a1a5bdc8ceeb [Pipeline] echo [2023-11-29T01:27:43.551Z] ========================================================= [2023-11-29T01:27:43.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-29T01:27:43.551Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-29T01:27:44.050Z] + git log --format=format:%s -1 a2954d58d420981404086a0e4506a1a5bdc8ceeb [Pipeline] echo [2023-11-29T01:27:44.083Z] [semverPrep] GIT_COMMIT: a2954d58d420981404086a0e4506a1a5bdc8ceeb, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0 [Pipeline] echo [2023-11-29T01:27:44.138Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-29T01:27:44.566Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-29T01:27:44.566Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-29T01:27:44.566Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-29T01:27:44.566Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-29T01:27:44.566Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-29T01:27:44.566Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-29T01:27:44.566Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:27:45.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T01:27:45.089Z] [2023-11-29T01:27:45.089Z] 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-29T01:27:45.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T01:27:45.483Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-29T01:27:45.483Z] b85a868b505f: Pulling fs layer [2023-11-29T01:27:45.483Z] e2be974225ed: Pulling fs layer [2023-11-29T01:27:45.483Z] 339a4e72a1f5: Pulling fs layer [2023-11-29T01:27:45.483Z] 988bab9f4d93: Pulling fs layer [2023-11-29T01:27:45.483Z] 1469e6f7b9e6: Pulling fs layer [2023-11-29T01:27:45.483Z] eaf3925da568: Pulling fs layer [2023-11-29T01:27:45.483Z] bab4dde63d76: Pulling fs layer [2023-11-29T01:27:45.483Z] bde34c3a00c8: Pulling fs layer [2023-11-29T01:27:45.483Z] b352a97aabf1: Pulling fs layer [2023-11-29T01:27:45.483Z] 4872d77fe225: Pulling fs layer [2023-11-29T01:27:45.483Z] 5851b861e8e6: Pulling fs layer [2023-11-29T01:27:45.483Z] eaf3925da568: Waiting [2023-11-29T01:27:45.483Z] bab4dde63d76: Waiting [2023-11-29T01:27:45.483Z] bde34c3a00c8: Waiting [2023-11-29T01:27:45.483Z] b352a97aabf1: Waiting [2023-11-29T01:27:45.483Z] 4872d77fe225: Waiting [2023-11-29T01:27:45.483Z] 5851b861e8e6: Waiting [2023-11-29T01:27:45.483Z] 1469e6f7b9e6: Waiting [2023-11-29T01:27:45.483Z] 988bab9f4d93: Waiting [2023-11-29T01:27:45.483Z] e2be974225ed: Verifying Checksum [2023-11-29T01:27:45.483Z] e2be974225ed: Download complete [2023-11-29T01:27:45.483Z] 988bab9f4d93: Verifying Checksum [2023-11-29T01:27:45.483Z] 988bab9f4d93: Download complete [2023-11-29T01:27:45.742Z] 339a4e72a1f5: Verifying Checksum [2023-11-29T01:27:45.742Z] 339a4e72a1f5: Download complete [2023-11-29T01:27:45.742Z] eaf3925da568: Verifying Checksum [2023-11-29T01:27:45.742Z] eaf3925da568: Download complete [2023-11-29T01:27:45.742Z] 1469e6f7b9e6: Verifying Checksum [2023-11-29T01:27:45.742Z] 1469e6f7b9e6: Download complete [2023-11-29T01:27:45.742Z] bde34c3a00c8: Verifying Checksum [2023-11-29T01:27:45.742Z] bde34c3a00c8: Download complete [2023-11-29T01:27:45.742Z] b352a97aabf1: Download complete [2023-11-29T01:27:45.742Z] 4872d77fe225: Verifying Checksum [2023-11-29T01:27:45.742Z] 4872d77fe225: Download complete [2023-11-29T01:27:45.742Z] 5851b861e8e6: Verifying Checksum [2023-11-29T01:27:45.742Z] 5851b861e8e6: Download complete [2023-11-29T01:27:45.742Z] b85a868b505f: Verifying Checksum [2023-11-29T01:27:45.742Z] b85a868b505f: Download complete [2023-11-29T01:27:46.002Z] bab4dde63d76: Verifying Checksum [2023-11-29T01:27:46.002Z] bab4dde63d76: Download complete [2023-11-29T01:27:46.936Z] b85a868b505f: Pull complete [2023-11-29T01:27:46.936Z] e2be974225ed: Pull complete [2023-11-29T01:27:47.503Z] 339a4e72a1f5: Pull complete [2023-11-29T01:27:47.503Z] 988bab9f4d93: Pull complete [2023-11-29T01:27:47.762Z] 1469e6f7b9e6: Pull complete [2023-11-29T01:27:48.020Z] eaf3925da568: Pull complete [2023-11-29T01:27:49.928Z] bab4dde63d76: Pull complete [2023-11-29T01:27:49.928Z] bde34c3a00c8: Pull complete [2023-11-29T01:27:50.190Z] b352a97aabf1: Pull complete [2023-11-29T01:27:50.190Z] 4872d77fe225: Pull complete [2023-11-29T01:27:50.451Z] 5851b861e8e6: Pull complete [2023-11-29T01:27:50.451Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-29T01:27:50.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-29T01:27:50.451Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:27:50.804Z] prd-ubuntu20.04-docker-8c-8g-8932 does not seem to be running inside a container [2023-11-29T01:27:50.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-650 -v /w/workspace/gexfoundry_device-mqtt-go_PR-650:/w/workspace/gexfoundry_device-mqtt-go_PR-650:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-29T01:27:55.100Z] $ docker top 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 -eo pid,comm [2023-11-29T01:27:55.157Z] 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-29T01:27:55.157Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-29T01:27:55.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T01:27:55.349Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T01:27:55.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T01:27:55.463Z] $ docker exec 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 ssh-agent [2023-11-29T01:27:55.574Z] SSH_AUTH_SOCK=/tmp/ssh-BHS0BQzhciYQ/agent.32 [2023-11-29T01:27:55.574Z] SSH_AGENT_PID=38 [2023-11-29T01:27:55.581Z] Running ssh-add (command line suppressed) [2023-11-29T01:27:55.679Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/private_key_9366201190462779166.key (/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/private_key_9366201190462779166.key) [2023-11-29T01:27:55.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T01:27:56.057Z] + git tag --points-at HEAD [Pipeline] } [2023-11-29T01:27:56.084Z] $ docker exec --env ******** --env ******** 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 ssh-agent -k [2023-11-29T01:27:56.185Z] unset SSH_AUTH_SOCK; [2023-11-29T01:27:56.186Z] unset SSH_AGENT_PID; [2023-11-29T01:27:56.186Z] echo Agent pid 38 killed; [2023-11-29T01:27:56.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-29T01:27:56.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-29T01:27:56.332Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-29T01:27:56.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-29T01:27:56.504Z] $ docker exec 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 ssh-agent [2023-11-29T01:27:56.621Z] SSH_AUTH_SOCK=/tmp/ssh-yIt9LkeVqjcE/agent.70 [2023-11-29T01:27:56.621Z] SSH_AGENT_PID=76 [2023-11-29T01:27:56.625Z] Running ssh-add (command line suppressed) [2023-11-29T01:27:56.730Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/private_key_3624051373735656465.key (/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/private_key_3624051373735656465.key) [2023-11-29T01:27:56.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-29T01:27:57.098Z] + git semver init [2023-11-29T01:27:57.358Z] 2023-11-29 01:27:57,263 [run_init] DEBUG init version:0.0.0 force:False [2023-11-29T01:27:57.358Z] 2023-11-29 01:27:57,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver [2023-11-29T01:27:57.358Z] 2023-11-29 01:27:57,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver [2023-11-29T01:27:57.358Z] 2023-11-29 01:27:57,264 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-650, universal_newlines=False, shell=None, istream=None) [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,678 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-650/.git/info/exclude [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,679 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver/PR-650 with force:False [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,679 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver/PR-650 [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,683 [execute] INFO git cat-file --batch-check [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver, universal_newlines=False, shell=None, istream=) [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,689 [execute] INFO git cat-file --batch [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver, universal_newlines=False, shell=None, istream=) [2023-11-29T01:27:58.740Z] 2023-11-29 01:27:58,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-650/.semver/PR-650 [2023-11-29T01:27:58.740Z] 0.0.0 [Pipeline] } [2023-11-29T01:27:58.764Z] $ docker exec --env ******** --env ******** 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 ssh-agent -k [2023-11-29T01:27:58.848Z] unset SSH_AUTH_SOCK; [2023-11-29T01:27:58.849Z] unset SSH_AGENT_PID; [2023-11-29T01:27:58.849Z] echo Agent pid 76 killed; [2023-11-29T01:27:58.859Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-29T01:27:59.375Z] + git semver [Pipeline] } [2023-11-29T01:27:59.657Z] $ docker stop --time=1 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 [2023-11-29T01:28:00.958Z] $ docker rm -f --volumes 00939c84ef508a92baaec29be33d8adf3fcde572c001b565ed9416dbb6f98ae3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T01:28:01.410Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-29T01:28:01.724Z] Stashed 1 file(s) [Pipeline] echo [2023-11-29T01:28:01.741Z] [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-29T01:28:02.645Z] provisioning config files... [2023-11-29T01:28:02.655Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/config18310601316955106300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:28:03.050Z] ---> ****-login.sh [2023-11-29T01:28:03.050Z] nexus3.edgexfoundry.org:10001 [2023-11-29T01:28:03.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:28:03.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:28:03.050Z] Configure a credential helper to remove this warning. See [2023-11-29T01:28:03.050Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:28:03.050Z] [2023-11-29T01:28:03.050Z] Login Succeeded [2023-11-29T01:28:03.050Z] nexus3.edgexfoundry.org:10002 [2023-11-29T01:28:03.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:28:03.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:28:03.050Z] Configure a credential helper to remove this warning. See [2023-11-29T01:28:03.050Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:28:03.050Z] [2023-11-29T01:28:03.050Z] Login Succeeded [2023-11-29T01:28:03.050Z] nexus3.edgexfoundry.org:10003 [2023-11-29T01:28:03.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:28:03.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:28:03.311Z] Configure a credential helper to remove this warning. See [2023-11-29T01:28:03.311Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:28:03.311Z] [2023-11-29T01:28:03.311Z] Login Succeeded [2023-11-29T01:28:03.311Z] nexus3.edgexfoundry.org:10004 [2023-11-29T01:28:03.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:28:03.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:28:03.311Z] Configure a credential helper to remove this warning. See [2023-11-29T01:28:03.312Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:28:03.312Z] [2023-11-29T01:28:03.312Z] Login Succeeded [2023-11-29T01:28:03.312Z] ****.io [2023-11-29T01:28:03.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:28:03.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:28:03.572Z] Configure a credential helper to remove this warning. See [2023-11-29T01:28:03.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:28:03.572Z] [2023-11-29T01:28:03.572Z] Login Succeeded [2023-11-29T01:28:03.572Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T01:28:03.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-29T01:28:03.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T01:28:03.979Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T01:28:04.033Z] ========================================================= [2023-11-29T01:28:04.033Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-29T01:28:04.033Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:28:04.602Z] + 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-29T01:28:04.602Z] Sending build context to Docker daemon 17.31MB [2023-11-29T01:28:04.602Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T01:28:04.602Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-29T01:28:04.861Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-29T01:28:04.861Z] 7264a8db6415: Pulling fs layer [2023-11-29T01:28:04.861Z] c4d48a809fc2: Pulling fs layer [2023-11-29T01:28:04.861Z] 4f1c88b9dad5: Pulling fs layer [2023-11-29T01:28:04.861Z] ad3a456e5733: Pulling fs layer [2023-11-29T01:28:04.862Z] 69c7f0334f64: Pulling fs layer [2023-11-29T01:28:04.862Z] 1f1c1a5573a3: Pulling fs layer [2023-11-29T01:28:04.862Z] ce7588e14bc9: Pulling fs layer [2023-11-29T01:28:04.862Z] b5e4710f87ac: Pulling fs layer [2023-11-29T01:28:04.862Z] 69c7f0334f64: Waiting [2023-11-29T01:28:04.862Z] 1f1c1a5573a3: Waiting [2023-11-29T01:28:04.862Z] ce7588e14bc9: Waiting [2023-11-29T01:28:04.862Z] b5e4710f87ac: Waiting [2023-11-29T01:28:04.862Z] ad3a456e5733: Waiting [2023-11-29T01:28:04.862Z] c4d48a809fc2: Verifying Checksum [2023-11-29T01:28:04.862Z] c4d48a809fc2: Download complete [2023-11-29T01:28:04.862Z] ad3a456e5733: Verifying Checksum [2023-11-29T01:28:04.862Z] ad3a456e5733: Download complete [2023-11-29T01:28:04.862Z] 7264a8db6415: Verifying Checksum [2023-11-29T01:28:04.862Z] 7264a8db6415: Download complete [2023-11-29T01:28:04.862Z] 69c7f0334f64: Verifying Checksum [2023-11-29T01:28:04.862Z] 69c7f0334f64: Download complete [2023-11-29T01:28:04.862Z] 1f1c1a5573a3: Verifying Checksum [2023-11-29T01:28:04.862Z] 1f1c1a5573a3: Download complete [2023-11-29T01:28:04.862Z] 7264a8db6415: Pull complete [2023-11-29T01:28:05.121Z] c4d48a809fc2: Pull complete [2023-11-29T01:28:05.121Z] b5e4710f87ac: Verifying Checksum [2023-11-29T01:28:05.121Z] b5e4710f87ac: Download complete [2023-11-29T01:28:05.121Z] 4f1c88b9dad5: Verifying Checksum [2023-11-29T01:28:05.121Z] 4f1c88b9dad5: Download complete [2023-11-29T01:28:05.692Z] ce7588e14bc9: Verifying Checksum [2023-11-29T01:28:05.692Z] ce7588e14bc9: Download complete [2023-11-29T01:28:08.224Z] 4f1c88b9dad5: Pull complete [2023-11-29T01:28:08.224Z] ad3a456e5733: Pull complete [2023-11-29T01:28:08.486Z] 69c7f0334f64: Pull complete [2023-11-29T01:28:08.486Z] 1f1c1a5573a3: Pull complete [2023-11-29T01:28:11.022Z] ce7588e14bc9: Pull complete [2023-11-29T01:28:11.281Z] b5e4710f87ac: Pull complete [2023-11-29T01:28:11.281Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-29T01:28:11.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-29T01:28:11.281Z] ---> 88b5674ff536 [2023-11-29T01:28:11.281Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-29T01:28:15.476Z] ---> Running in 1bf1b77ae555 [2023-11-29T01:28:15.476Z] Removing intermediate container 1bf1b77ae555 [2023-11-29T01:28:15.476Z] ---> f98d38403f68 [2023-11-29T01:28:15.476Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T01:28:15.476Z] ---> Running in ae04e5ac6e5a [2023-11-29T01:28:15.734Z] Removing intermediate container ae04e5ac6e5a [2023-11-29T01:28:15.734Z] ---> 281247b32d47 [2023-11-29T01:28:15.734Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T01:28:15.734Z] ---> Running in 9d45f331a915 [2023-11-29T01:28:15.734Z] Removing intermediate container 9d45f331a915 [2023-11-29T01:28:15.734Z] ---> 05884906902e [2023-11-29T01:28:15.734Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T01:28:15.734Z] ---> Running in 3a42ebaefa54 [2023-11-29T01:28:15.734Z] Removing intermediate container 3a42ebaefa54 [2023-11-29T01:28:15.734Z] ---> 87c7e1472d79 [2023-11-29T01:28:15.734Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T01:28:15.994Z] ---> Running in 6e89fa7dc5b5 [2023-11-29T01:28:16.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T01:28:16.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T01:28:16.513Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-29T01:28:16.513Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-29T01:28:16.513Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-29T01:28:16.513Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-29T01:28:16.774Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T01:28:16.774Z] OK: 268 MiB in 56 packages [2023-11-29T01:28:17.034Z] Removing intermediate container 6e89fa7dc5b5 [2023-11-29T01:28:17.034Z] ---> dd1e14d52782 [2023-11-29T01:28:17.034Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-29T01:28:17.034Z] ---> Running in 4801adadb1de [2023-11-29T01:28:17.293Z] Removing intermediate container 4801adadb1de [2023-11-29T01:28:17.293Z] ---> 119ca9187b63 [2023-11-29T01:28:17.293Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-29T01:28:17.293Z] ---> 68fb89791dad [2023-11-29T01:28:17.293Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T01:28:17.293Z] ---> Running in 0c1e81673cd8 [2023-11-29T01:28:17.402Z] Still waiting to schedule task [2023-11-29T01:28:17.402Z] ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-29T01:28:17.402Z] ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-29T01:28:17.402Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8925’ is offline [2023-11-29T01:28:17.403Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8933’ is offline [2023-11-29T01:29:13.803Z] Removing intermediate container 0c1e81673cd8 [2023-11-29T01:29:13.803Z] ---> 2c7e4c5737d7 [2023-11-29T01:29:13.803Z] Step 11/12 : COPY . . [2023-11-29T01:29:13.803Z] ---> b007c98c483b [2023-11-29T01:29:13.803Z] Step 12/12 : RUN $MAKE [2023-11-29T01:29:13.803Z] ---> Running in ffbaacf1df0c [2023-11-29T01:29:13.803Z] noop [2023-11-29T01:29:13.803Z] Removing intermediate container ffbaacf1df0c [2023-11-29T01:29:13.803Z] ---> c25a8ebf2a80 [2023-11-29T01:29:13.803Z] Successfully built c25a8ebf2a80 [2023-11-29T01:29:13.803Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:29:14.341Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-29T01:29:14.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:29:14.564Z] prd-ubuntu20.04-docker-8c-8g-8932 does not seem to be running inside a container [2023-11-29T01:29:14.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-650 -v /w/workspace/gexfoundry_device-mqtt-go_PR-650:/w/workspace/gexfoundry_device-mqtt-go_PR-650:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-29T01:29:14.947Z] $ docker top 624be2bee36fe01d557aee03d56131c9fc67253c003411eb6c91ffbd8aadc9d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T01:29:15.394Z] + go version [2023-11-29T01:29:15.394Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-29T01:29:15.421Z] $ docker stop --time=1 624be2bee36fe01d557aee03d56131c9fc67253c003411eb6c91ffbd8aadc9d3 [2023-11-29T01:29:16.689Z] $ docker rm -f --volumes 624be2bee36fe01d557aee03d56131c9fc67253c003411eb6c91ffbd8aadc9d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:29:17.665Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-29T01:29:17.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:29:17.894Z] prd-ubuntu20.04-docker-8c-8g-8932 does not seem to be running inside a container [2023-11-29T01:29:17.926Z] $ 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-650 -v /w/workspace/gexfoundry_device-mqtt-go_PR-650:/w/workspace/gexfoundry_device-mqtt-go_PR-650:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-29T01:29:18.252Z] $ docker top 2e8c4514929ecb2fd9551c354e9a7bc5d707e10bc79eeeaa6670a91c7a435aab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T01:29:18.698Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-650 [Pipeline] fileExists [Pipeline] sh [2023-11-29T01:29:19.082Z] + make test [2023-11-29T01:29:19.082Z] go test ./... -coverprofile=coverage.out ./... [2023-11-29T01:29:20.459Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-29T01:29:30.429Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-29T01:29:30.429Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-29T01:29:30.429Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-11-29T01:29:38.599Z] go vet ./... [2023-11-29T01:29:41.923Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-29T01:29:41.923Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-29T01:29:41.923Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-29T01:29:41.960Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-29T01:29:42.017Z] $ docker stop --time=1 2e8c4514929ecb2fd9551c354e9a7bc5d707e10bc79eeeaa6670a91c7a435aab [2023-11-29T01:29:46.030Z] $ docker rm -f --volumes 2e8c4514929ecb2fd9551c354e9a7bc5d707e10bc79eeeaa6670a91c7a435aab [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T01:29:46.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-29T01:29:46.732Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-29T01:29:47.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-29T01:29:47.959Z] + ls -al . [2023-11-29T01:29:47.959Z] total 184 [2023-11-29T01:29:47.959Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 01:29 . [2023-11-29T01:29:47.959Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 01:27 .. [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 01:27 .dockerignore [2023-11-29T01:29:47.959Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 01:29 .git [2023-11-29T01:29:47.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:27 .github [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 01:27 .gitignore [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 01:27 .golangci.yml [2023-11-29T01:29:47.959Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 01:27 .semver [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 29 01:27 Attribution.txt [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 29 01:27 CHANGELOG.md [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 29 01:27 Dockerfile [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 01:27 GOVERNANCE.md [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 29 01:27 Jenkinsfile [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 01:27 LICENSE [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 29 01:27 Makefile [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 01:27 OWNERS.md [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 29 01:27 README.md [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 29 01:28 VERSION [2023-11-29T01:29:47.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 01:27 bin [2023-11-29T01:29:47.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:27 cmd [2023-11-29T01:29:47.959Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 29 01:29 coverage.out [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 3817 Nov 29 01:27 go.mod [2023-11-29T01:29:47.959Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 01:27 go.sum [2023-11-29T01:29:47.959Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:27 internal [2023-11-29T01:29:47.959Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 01:27 mock [2023-11-29T01:29:47.960Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 29 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:29:48.422Z] + 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=a2954d58d420981404086a0e4506a1a5bdc8ceeb --label arch=amd64 --label version=0.0.0 . [2023-11-29T01:29:48.422Z] Sending build context to Docker daemon 17.33MB [2023-11-29T01:29:48.422Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T01:29:48.422Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-29T01:29:48.422Z] ---> c25a8ebf2a80 [2023-11-29T01:29:48.422Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-29T01:29:48.991Z] ---> Running in 60af434c3cb3 [2023-11-29T01:29:48.991Z] Removing intermediate container 60af434c3cb3 [2023-11-29T01:29:48.991Z] ---> 4ac005ca104d [2023-11-29T01:29:48.991Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T01:29:48.991Z] ---> Running in 762c73f3038f [2023-11-29T01:29:48.991Z] Removing intermediate container 762c73f3038f [2023-11-29T01:29:48.991Z] ---> f65a76dad156 [2023-11-29T01:29:48.991Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T01:29:48.991Z] ---> Running in b2496350da02 [2023-11-29T01:29:49.253Z] Removing intermediate container b2496350da02 [2023-11-29T01:29:49.253Z] ---> 4f8d9102ed9a [2023-11-29T01:29:49.253Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T01:29:49.253Z] ---> Running in f815ebb09669 [2023-11-29T01:29:49.253Z] Removing intermediate container f815ebb09669 [2023-11-29T01:29:49.253Z] ---> 1d1cadf8aa34 [2023-11-29T01:29:49.253Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T01:29:49.253Z] ---> Running in c711ceae2e61 [2023-11-29T01:29:49.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T01:29:49.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T01:29:50.048Z] OK: 268 MiB in 56 packages [2023-11-29T01:29:50.314Z] Removing intermediate container c711ceae2e61 [2023-11-29T01:29:50.314Z] ---> 7640477c2f0c [2023-11-29T01:29:50.314Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-29T01:29:50.314Z] ---> Running in 10b7923b565b [2023-11-29T01:29:50.574Z] Removing intermediate container 10b7923b565b [2023-11-29T01:29:50.574Z] ---> 0b2b97f783f8 [2023-11-29T01:29:50.574Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-29T01:29:50.574Z] ---> 8023e38d3bcd [2023-11-29T01:29:50.574Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T01:29:50.574Z] ---> Running in 965ca818fcac [2023-11-29T01:29:51.146Z] Removing intermediate container 965ca818fcac [2023-11-29T01:29:51.146Z] ---> e5451c6a96f7 [2023-11-29T01:29:51.146Z] Step 11/25 : COPY . . [2023-11-29T01:29:52.120Z] ---> c8c33fa91600 [2023-11-29T01:29:52.120Z] Step 12/25 : RUN $MAKE [2023-11-29T01:29:52.120Z] ---> Running in 16b8c93c8e11 [2023-11-29T01:29:52.382Z] 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-29T01:30:18.971Z] Removing intermediate container 16b8c93c8e11 [2023-11-29T01:30:18.971Z] ---> bcc4c4443e7e [2023-11-29T01:30:18.971Z] Step 13/25 : FROM alpine:3.18 [2023-11-29T01:30:18.971Z] 3.18: Pulling from library/alpine [2023-11-29T01:30:18.971Z] 96526aa774ef: Pulling fs layer [2023-11-29T01:30:18.971Z] 96526aa774ef: Verifying Checksum [2023-11-29T01:30:18.971Z] 96526aa774ef: Download complete [2023-11-29T01:30:18.971Z] 96526aa774ef: Pull complete [2023-11-29T01:30:18.971Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-29T01:30:18.971Z] Status: Downloaded newer image for alpine:3.18 [2023-11-29T01:30:18.971Z] ---> 8ca4688f4f35 [2023-11-29T01:30:18.971Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-29T01:30:18.971Z] ---> Running in f666a347b94d [2023-11-29T01:30:18.971Z] Removing intermediate container f666a347b94d [2023-11-29T01:30:18.971Z] ---> 055db513e53b [2023-11-29T01:30:18.971Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-29T01:30:18.971Z] ---> Running in c26d80ee14ad [2023-11-29T01:30:18.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T01:30:18.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T01:30:18.971Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-29T01:30:18.971Z] Executing busybox-1.36.1-r2.trigger [2023-11-29T01:30:18.971Z] OK: 7 MiB in 16 packages [2023-11-29T01:30:18.971Z] Removing intermediate container c26d80ee14ad [2023-11-29T01:30:18.971Z] ---> d928e36e1622 [2023-11-29T01:30:18.971Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-29T01:30:18.971Z] ---> Running in ee8a7b276694 [2023-11-29T01:30:18.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-29T01:30:18.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-29T01:30:18.971Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T01:30:18.971Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T01:30:18.971Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-29T01:30:18.971Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T01:30:18.971Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T01:30:18.971Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T01:30:18.971Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T01:30:18.971Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T01:30:18.971Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T01:30:18.971Z] OK: 7 MiB in 16 packages [2023-11-29T01:30:18.971Z] Removing intermediate container ee8a7b276694 [2023-11-29T01:30:18.971Z] ---> ae38f1399940 [2023-11-29T01:30:18.971Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-29T01:30:19.922Z] ---> c211b2ced5f0 [2023-11-29T01:30:19.922Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-29T01:30:20.181Z] ---> c44c06a3569c [2023-11-29T01:30:20.181Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-29T01:30:20.181Z] ---> f20c2711b670 [2023-11-29T01:30:20.181Z] Step 20/25 : EXPOSE 59982 [2023-11-29T01:30:20.181Z] ---> Running in c6747972c603 [2023-11-29T01:30:20.438Z] Removing intermediate container c6747972c603 [2023-11-29T01:30:20.438Z] ---> 42c9e2f6fdc4 [2023-11-29T01:30:20.438Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-29T01:30:20.438Z] ---> Running in 4799cebfb6e4 [2023-11-29T01:30:20.438Z] Removing intermediate container 4799cebfb6e4 [2023-11-29T01:30:20.438Z] ---> bb2b07f798db [2023-11-29T01:30:20.438Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-29T01:30:20.438Z] ---> Running in a59c11ef4e70 [2023-11-29T01:30:20.438Z] Removing intermediate container a59c11ef4e70 [2023-11-29T01:30:20.438Z] ---> 00c091a872d2 [2023-11-29T01:30:20.438Z] Step 23/25 : LABEL arch=amd64 [2023-11-29T01:30:20.697Z] ---> Running in 0aa36583ecde [2023-11-29T01:30:20.697Z] Removing intermediate container 0aa36583ecde [2023-11-29T01:30:20.697Z] ---> 297f59aa4312 [2023-11-29T01:30:20.697Z] Step 24/25 : LABEL git_sha=a2954d58d420981404086a0e4506a1a5bdc8ceeb [2023-11-29T01:30:20.697Z] ---> Running in 5c7a52182cc2 [2023-11-29T01:30:20.697Z] Removing intermediate container 5c7a52182cc2 [2023-11-29T01:30:20.697Z] ---> f3b628dfb431 [2023-11-29T01:30:20.697Z] Step 25/25 : LABEL version=0.0.0 [2023-11-29T01:30:20.697Z] ---> Running in aa3e663c3c2b [2023-11-29T01:30:20.955Z] Removing intermediate container aa3e663c3c2b [2023-11-29T01:30:20.955Z] ---> cf3a65a6c2c5 [2023-11-29T01:30:20.955Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-29T01:30:20.955Z] Successfully built cf3a65a6c2c5 [2023-11-29T01:30:20.955Z] 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-29T01:30:22.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T01:30:22.172Z] [2023-11-29T01:30:22.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:30:22.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T01:30:22.589Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-29T01:30:22.589Z] 5eb5b503b376: Pulling fs layer [2023-11-29T01:30:22.589Z] 5c69ac0246d0: Pulling fs layer [2023-11-29T01:30:22.589Z] ec43610c2a17: Pulling fs layer [2023-11-29T01:30:22.589Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-29T01:30:22.589Z] 33b1e0a273af: Pulling fs layer [2023-11-29T01:30:22.589Z] 5d3b04190fa2: Pulling fs layer [2023-11-29T01:30:22.589Z] 2f39f015ded8: Pulling fs layer [2023-11-29T01:30:22.589Z] 3a2ae6a8a46f: Waiting [2023-11-29T01:30:22.589Z] 33b1e0a273af: Waiting [2023-11-29T01:30:22.589Z] 5d3b04190fa2: Waiting [2023-11-29T01:30:22.589Z] 2f39f015ded8: Waiting [2023-11-29T01:30:22.589Z] 5c69ac0246d0: Verifying Checksum [2023-11-29T01:30:22.589Z] 5c69ac0246d0: Download complete [2023-11-29T01:30:22.589Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-29T01:30:22.589Z] 3a2ae6a8a46f: Download complete [2023-11-29T01:30:22.589Z] 33b1e0a273af: Verifying Checksum [2023-11-29T01:30:22.589Z] 33b1e0a273af: Download complete [2023-11-29T01:30:22.589Z] 5d3b04190fa2: Verifying Checksum [2023-11-29T01:30:22.589Z] 5d3b04190fa2: Download complete [2023-11-29T01:30:22.846Z] ec43610c2a17: Verifying Checksum [2023-11-29T01:30:22.846Z] ec43610c2a17: Download complete [2023-11-29T01:30:22.846Z] 5eb5b503b376: Verifying Checksum [2023-11-29T01:30:22.846Z] 5eb5b503b376: Download complete [2023-11-29T01:30:23.413Z] 2f39f015ded8: Download complete [2023-11-29T01:30:24.350Z] 5eb5b503b376: Pull complete [2023-11-29T01:30:24.350Z] 5c69ac0246d0: Pull complete [2023-11-29T01:30:24.916Z] ec43610c2a17: Pull complete [2023-11-29T01:30:24.916Z] 3a2ae6a8a46f: Pull complete [2023-11-29T01:30:25.177Z] 33b1e0a273af: Pull complete [2023-11-29T01:30:25.536Z] 5d3b04190fa2: Pull complete [2023-11-29T01:30:30.795Z] 2f39f015ded8: Pull complete [2023-11-29T01:30:30.795Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-29T01:30:30.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T01:30:30.795Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:30:31.162Z] prd-ubuntu20.04-docker-8c-8g-8932 does not seem to be running inside a container [2023-11-29T01:30:31.192Z] $ 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-650 -v /w/workspace/gexfoundry_device-mqtt-go_PR-650:/w/workspace/gexfoundry_device-mqtt-go_PR-650:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-29T01:30:36.353Z] $ docker top b36cb676f5a3867bda294cb3faacbefedba144753fb95d9b95df899406f7585d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:30:36.886Z] ---> job-cost.sh [2023-11-29T01:30:36.886Z] lf-activate-venv: SKIPPING [2023-11-29T01:30:36.886Z] INFO: No Stack... [2023-11-29T01:30:37.145Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-29T01:30:37.403Z] INFO: Archiving Costs [Pipeline] sh [2023-11-29T01:30:37.715Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives/cost.csv [2023-11-29T01:30:37.715Z] + cut -d, -f6 [Pipeline] lock [2023-11-29T01:30:37.757Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] [2023-11-29T01:30:37.762Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] did not exist. Created. [2023-11-29T01:30:37.762Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-29T01:30:38.218Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-29T01:30:38.268Z] Stashed 1 file(s) [Pipeline] } [2023-11-29T01:30:38.337Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-29T01:30:38.490Z] $ docker stop --time=1 b36cb676f5a3867bda294cb3faacbefedba144753fb95d9b95df899406f7585d [2023-11-29T01:30:39.702Z] $ docker rm -f --volumes b36cb676f5a3867bda294cb3faacbefedba144753fb95d9b95df899406f7585d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-29T01:36:58.344Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9011 in /w/workspace/gexfoundry_device-mqtt-go_PR-650 [Pipeline] { [Pipeline] ws [2023-11-29T01:36:58.435Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-11-29T01:37:01.592Z] The recommended git tool is: git [2023-11-29T01:37:07.809Z] using credential edgex-jenkins-ssh [2023-11-29T01:37:07.833Z] Cloning the remote Git repository [2023-11-29T01:37:07.891Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-29T01:37:08.002Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-11-29T01:37:08.153Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-29T01:37:08.155Z] > git --version # timeout=10 [2023-11-29T01:37:08.175Z] > git --version # 'git version 2.25.1' [2023-11-29T01:37:08.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-29T01:37:08.336Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-29T01:37:10.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-29T01:37:10.395Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-29T01:37:11.941Z] Merging remotes/origin/main commit 972a1f6392fb66aca512ab6e37eb1188ace4c45a into PR head commit a2954d58d420981404086a0e4506a1a5bdc8ceeb [2023-11-29T01:37:11.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-29T01:37:11.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-29T01:37:11.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-29T01:37:11.396Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-29T01:37:11.962Z] > git config core.sparsecheckout # timeout=10 [2023-11-29T01:37:12.235Z] Merge succeeded, producing a2954d58d420981404086a0e4506a1a5bdc8ceeb [2023-11-29T01:37:12.236Z] Checking out Revision a2954d58d420981404086a0e4506a1a5bdc8ceeb (PR-650) [2023-11-29T01:37:12.766Z] Commit message: "build(deps): bump github.com/spf13/cast from 1.5.1 to 1.6.0" [2023-11-29T01:37:12.817Z] > git --version # timeout=10 [2023-11-29T01:37:12.828Z] > git --version # 'git version 2.25.1' [2023-11-29T01:37:12.846Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-11-29T01:37:12.033Z] > git checkout -f a2954d58d420981404086a0e4506a1a5bdc8ceeb # timeout=10 [2023-11-29T01:37:12.121Z] > git remote # timeout=10 [2023-11-29T01:37:12.141Z] > git config --get remote.origin.url # timeout=10 [2023-11-29T01:37:12.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-29T01:37:12.188Z] > git merge 972a1f6392fb66aca512ab6e37eb1188ace4c45a # timeout=10 [2023-11-29T01:37:12.220Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-29T01:37:12.245Z] > git config core.sparsecheckout # timeout=10 [2023-11-29T01:37:12.263Z] > git checkout -f a2954d58d420981404086a0e4506a1a5bdc8ceeb # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-29T01:37:14.139Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-29T01:37:14.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-29T01:37:14.139Z] Dload Upload Total Spent Left Speed [2023-11-29T01:37:14.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93250 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh [2023-11-29T01:37:14.496Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-29T01:37:14.874Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-29T01:37:14.874Z] + sudo tee /etc/docker/daemon.new [2023-11-29T01:37:14.874Z] { [2023-11-29T01:37:14.874Z] "registry-mirrors": [ [2023-11-29T01:37:14.874Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-29T01:37:14.874Z] ], [2023-11-29T01:37:14.874Z] "bip": "10.250.0.254/24", [2023-11-29T01:37:14.874Z] "hosts": [ [2023-11-29T01:37:14.874Z] "tcp://0.0.0.0:5555", [2023-11-29T01:37:14.874Z] "unix:///var/run/docker.sock" [2023-11-29T01:37:14.874Z] ], [2023-11-29T01:37:14.874Z] "mtu": 1458, [2023-11-29T01:37:14.874Z] "selinux-enabled": true, [2023-11-29T01:37:14.874Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-29T01:37:14.874Z] } [Pipeline] sh [2023-11-29T01:37:15.220Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-29T01:37:15.583Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T01:37:33.988Z] provisioning config files... [2023-11-29T01:37:34.019Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4095145830113207911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:37:34.554Z] ---> ****-login.sh [2023-11-29T01:37:34.554Z] nexus3.edgexfoundry.org:10001 [2023-11-29T01:37:34.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:37:35.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:37:35.097Z] Configure a credential helper to remove this warning. See [2023-11-29T01:37:35.097Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:37:35.097Z] [2023-11-29T01:37:35.097Z] Login Succeeded [2023-11-29T01:37:35.097Z] nexus3.edgexfoundry.org:10002 [2023-11-29T01:37:35.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:37:35.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:37:35.637Z] Configure a credential helper to remove this warning. See [2023-11-29T01:37:35.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:37:35.637Z] [2023-11-29T01:37:35.637Z] Login Succeeded [2023-11-29T01:37:35.637Z] nexus3.edgexfoundry.org:10003 [2023-11-29T01:37:35.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:37:35.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:37:35.909Z] Configure a credential helper to remove this warning. See [2023-11-29T01:37:35.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:37:35.909Z] [2023-11-29T01:37:35.909Z] Login Succeeded [2023-11-29T01:37:35.909Z] nexus3.edgexfoundry.org:10004 [2023-11-29T01:37:36.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:37:36.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:37:36.189Z] Configure a credential helper to remove this warning. See [2023-11-29T01:37:36.189Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:37:36.189Z] [2023-11-29T01:37:36.189Z] Login Succeeded [2023-11-29T01:37:36.189Z] ****.io [2023-11-29T01:37:36.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-29T01:37:37.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-29T01:37:37.431Z] Configure a credential helper to remove this warning. See [2023-11-29T01:37:37.432Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-29T01:37:37.432Z] [2023-11-29T01:37:37.432Z] Login Succeeded [2023-11-29T01:37:37.432Z] ---> ****-login.sh ends [Pipeline] } [2023-11-29T01:37:37.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-29T01:37:38.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T01:37:38.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-29T01:37:38.185Z] ========================================================= [2023-11-29T01:37:38.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-29T01:37:38.185Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:37:38.957Z] + 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-29T01:37:39.227Z] Sending build context to Docker daemon 8.759MB [2023-11-29T01:37:39.227Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T01:37:39.227Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-29T01:37:39.498Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-29T01:37:39.498Z] 9fda8d8052c6: Pulling fs layer [2023-11-29T01:37:39.498Z] 5d54e960e981: Pulling fs layer [2023-11-29T01:37:39.498Z] c4a7e357bf2a: Pulling fs layer [2023-11-29T01:37:39.498Z] f0e02332f6b5: Pulling fs layer [2023-11-29T01:37:39.498Z] 872ee5b61b7b: Pulling fs layer [2023-11-29T01:37:39.498Z] 0c6a40ed1a82: Pulling fs layer [2023-11-29T01:37:39.498Z] 94ae7d8d031c: Pulling fs layer [2023-11-29T01:37:39.498Z] f0e02332f6b5: Waiting [2023-11-29T01:37:39.498Z] 872ee5b61b7b: Waiting [2023-11-29T01:37:39.498Z] 0c6a40ed1a82: Waiting [2023-11-29T01:37:39.498Z] 94ae7d8d031c: Waiting [2023-11-29T01:37:39.498Z] 5d54e960e981: Download complete [2023-11-29T01:37:39.498Z] f0e02332f6b5: Verifying Checksum [2023-11-29T01:37:39.498Z] f0e02332f6b5: Download complete [2023-11-29T01:37:39.498Z] 872ee5b61b7b: Verifying Checksum [2023-11-29T01:37:39.498Z] 872ee5b61b7b: Download complete [2023-11-29T01:37:39.770Z] 9fda8d8052c6: Verifying Checksum [2023-11-29T01:37:39.770Z] 9fda8d8052c6: Download complete [2023-11-29T01:37:40.044Z] 94ae7d8d031c: Verifying Checksum [2023-11-29T01:37:40.044Z] 94ae7d8d031c: Download complete [2023-11-29T01:37:40.632Z] 9fda8d8052c6: Pull complete [2023-11-29T01:37:41.223Z] 5d54e960e981: Pull complete [2023-11-29T01:37:41.494Z] c4a7e357bf2a: Verifying Checksum [2023-11-29T01:37:41.494Z] c4a7e357bf2a: Download complete [2023-11-29T01:37:42.463Z] 0c6a40ed1a82: Verifying Checksum [2023-11-29T01:37:42.463Z] 0c6a40ed1a82: Download complete [2023-11-29T01:37:54.888Z] c4a7e357bf2a: Pull complete [2023-11-29T01:37:54.888Z] f0e02332f6b5: Pull complete [2023-11-29T01:37:54.888Z] 872ee5b61b7b: Pull complete [2023-11-29T01:38:03.142Z] 0c6a40ed1a82: Pull complete [2023-11-29T01:38:07.419Z] 94ae7d8d031c: Pull complete [2023-11-29T01:38:07.419Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-29T01:38:07.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-29T01:38:07.419Z] ---> 86de565de09d [2023-11-29T01:38:07.419Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-29T01:38:07.687Z] ---> Running in dd9d7528609a [2023-11-29T01:38:07.956Z] Removing intermediate container dd9d7528609a [2023-11-29T01:38:07.956Z] ---> a14dc357aa7b [2023-11-29T01:38:07.956Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T01:38:07.956Z] ---> Running in 339ba40d533b [2023-11-29T01:38:08.311Z] Removing intermediate container 339ba40d533b [2023-11-29T01:38:08.311Z] ---> d45b7c720ecd [2023-11-29T01:38:08.311Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T01:38:08.311Z] ---> Running in c68cdd1bd55c [2023-11-29T01:38:08.929Z] Removing intermediate container c68cdd1bd55c [2023-11-29T01:38:08.929Z] ---> cb5c9e7574db [2023-11-29T01:38:08.929Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T01:38:08.929Z] ---> Running in 0fa791c53e2e [2023-11-29T01:38:09.211Z] Removing intermediate container 0fa791c53e2e [2023-11-29T01:38:09.211Z] ---> ed04de996682 [2023-11-29T01:38:09.211Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T01:38:09.492Z] ---> Running in eca1e34f9ce7 [2023-11-29T01:38:10.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T01:38:11.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T01:38:12.152Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-29T01:38:12.152Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-29T01:38:12.152Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-29T01:38:12.419Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-29T01:38:12.419Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T01:38:12.419Z] OK: 271 MiB in 56 packages [2023-11-29T01:38:13.407Z] Removing intermediate container eca1e34f9ce7 [2023-11-29T01:38:13.407Z] ---> 664ea6857c6c [2023-11-29T01:38:13.407Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-29T01:38:13.677Z] ---> Running in 5d3c7987c81f [2023-11-29T01:38:13.945Z] Removing intermediate container 5d3c7987c81f [2023-11-29T01:38:13.945Z] ---> 31fdec95bf35 [2023-11-29T01:38:13.945Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-29T01:38:14.536Z] ---> 3348d69bc6fa [2023-11-29T01:38:14.536Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T01:38:14.536Z] ---> Running in 99ffd0373e85 [2023-11-29T01:39:36.172Z] Removing intermediate container 99ffd0373e85 [2023-11-29T01:39:36.172Z] ---> 6a6c20d0ceea [2023-11-29T01:39:36.172Z] Step 11/12 : COPY . . [2023-11-29T01:39:36.172Z] ---> f0dc983dc0ea [2023-11-29T01:39:36.172Z] Step 12/12 : RUN $MAKE [2023-11-29T01:39:36.172Z] ---> Running in 786ffc74281b [2023-11-29T01:39:36.172Z] noop [2023-11-29T01:39:36.172Z] Removing intermediate container 786ffc74281b [2023-11-29T01:39:36.172Z] ---> 046bfab1236a [2023-11-29T01:39:36.172Z] Successfully built 046bfab1236a [2023-11-29T01:39:36.172Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:39:36.762Z] + docker inspect -f . ci-base-image-arm64 [2023-11-29T01:39:36.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:39:37.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-9011 does not seem to be running inside a container [2023-11-29T01:39:37.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-29T01:39:38.420Z] $ docker top f94f60028c16eeddbb7002425091bbba3d4ab23dca616c8ee3777eb125eb331c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T01:39:39.423Z] + go version [2023-11-29T01:39:39.423Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-29T01:39:39.471Z] $ docker stop --time=1 f94f60028c16eeddbb7002425091bbba3d4ab23dca616c8ee3777eb125eb331c [2023-11-29T01:39:41.131Z] $ docker rm -f --volumes f94f60028c16eeddbb7002425091bbba3d4ab23dca616c8ee3777eb125eb331c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:39:42.370Z] + docker inspect -f . ci-base-image-arm64 [2023-11-29T01:39:42.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:39:42.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-9011 does not seem to be running inside a container [2023-11-29T01:39:42.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-29T01:39:43.928Z] $ docker top 5b5fcb976ce8d3782c3d0f9081bb262ecfa9546455831e69cf21d0cd3f675655 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T01:39:44.536Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-29T01:39:45.225Z] + make test [2023-11-29T01:39:45.492Z] go test ./... -coverprofile=coverage.out ./... [2023-11-29T01:39:53.699Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-29T01:41:30.330Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-29T01:41:30.330Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-29T01:41:30.330Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.131s coverage: 22.8% of statements [2023-11-29T01:41:30.330Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-29T01:41:30.330Z] go vet ./... [2023-11-29T01:41:57.699Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-29T01:41:57.699Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-29T01:41:57.699Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-29T01:41:58.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-29T01:41:58.087Z] $ docker stop --time=1 5b5fcb976ce8d3782c3d0f9081bb262ecfa9546455831e69cf21d0cd3f675655 [2023-11-29T01:42:02.546Z] $ docker rm -f --volumes 5b5fcb976ce8d3782c3d0f9081bb262ecfa9546455831e69cf21d0cd3f675655 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-29T01:42:03.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-29T01:42:03.927Z] Warning: overwriting stash ‘coverage-report’ [2023-11-29T01:42:04.379Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-29T01:42:05.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-29T01:42:05.563Z] + ls -al . [2023-11-29T01:42:05.563Z] total 180 [2023-11-29T01:42:05.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 01:39 . [2023-11-29T01:42:05.563Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 01:37 .. [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 01:37 .dockerignore [2023-11-29T01:42:05.563Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 01:37 .git [2023-11-29T01:42:05.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:37 .github [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 01:37 .gitignore [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 01:37 .golangci.yml [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 29 01:37 Attribution.txt [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 29 01:37 CHANGELOG.md [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 29 01:37 Dockerfile [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 01:37 GOVERNANCE.md [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 29 01:37 Jenkinsfile [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 01:37 LICENSE [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 29 01:37 Makefile [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 01:37 OWNERS.md [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 29 01:37 README.md [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 29 01:28 VERSION [2023-11-29T01:42:05.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 01:37 bin [2023-11-29T01:42:05.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:37 cmd [2023-11-29T01:42:05.563Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 29 01:41 coverage.out [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 3817 Nov 29 01:37 go.mod [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 01:37 go.sum [2023-11-29T01:42:05.563Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 01:37 internal [2023-11-29T01:42:05.563Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 01:37 mock [2023-11-29T01:42:05.563Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 29 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:42:06.076Z] + 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=a2954d58d420981404086a0e4506a1a5bdc8ceeb --label arch=arm64 --label version=0.0.0 . [2023-11-29T01:42:06.342Z] Sending build context to Docker daemon 8.778MB [2023-11-29T01:42:06.613Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-29T01:42:06.613Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-29T01:42:06.613Z] ---> 046bfab1236a [2023-11-29T01:42:06.613Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-29T01:42:06.885Z] ---> Running in dad10b3c4050 [2023-11-29T01:42:07.152Z] Removing intermediate container dad10b3c4050 [2023-11-29T01:42:07.152Z] ---> 2f97c8018bc4 [2023-11-29T01:42:07.152Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-29T01:42:07.152Z] ---> Running in 5c0eb786d73d [2023-11-29T01:42:07.737Z] Removing intermediate container 5c0eb786d73d [2023-11-29T01:42:07.737Z] ---> 9c2919d20cab [2023-11-29T01:42:07.737Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-29T01:42:07.737Z] ---> Running in af7a1b968390 [2023-11-29T01:42:08.005Z] Removing intermediate container af7a1b968390 [2023-11-29T01:42:08.005Z] ---> 035f15527d99 [2023-11-29T01:42:08.005Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-29T01:42:08.005Z] ---> Running in 1395a1f3f645 [2023-11-29T01:42:08.272Z] Removing intermediate container 1395a1f3f645 [2023-11-29T01:42:08.272Z] ---> 7722a1e86328 [2023-11-29T01:42:08.272Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-29T01:42:08.545Z] ---> Running in 833ba5309a6f [2023-11-29T01:42:09.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T01:42:09.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T01:42:11.187Z] OK: 271 MiB in 56 packages [2023-11-29T01:42:16.540Z] Removing intermediate container 833ba5309a6f [2023-11-29T01:42:16.540Z] ---> bfe1a1436bfb [2023-11-29T01:42:16.540Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-29T01:42:16.807Z] ---> Running in 45d0ae3851e2 [2023-11-29T01:42:17.076Z] Removing intermediate container 45d0ae3851e2 [2023-11-29T01:42:17.076Z] ---> 56bd11fb5246 [2023-11-29T01:42:17.076Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-29T01:42:19.029Z] ---> 002127384dd8 [2023-11-29T01:42:19.029Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-29T01:42:19.029Z] ---> Running in c6c393eccceb [2023-11-29T01:42:22.397Z] Removing intermediate container c6c393eccceb [2023-11-29T01:42:22.397Z] ---> c411094a2528 [2023-11-29T01:42:22.397Z] Step 11/25 : COPY . . [2023-11-29T01:42:24.340Z] ---> 12b5cd94f2ab [2023-11-29T01:42:24.340Z] Step 12/25 : RUN $MAKE [2023-11-29T01:42:24.340Z] ---> Running in aa6abc3362ec [2023-11-29T01:42:26.938Z] 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-29T01:44:18.616Z] Removing intermediate container aa6abc3362ec [2023-11-29T01:44:18.616Z] ---> ba502ffe98b5 [2023-11-29T01:44:18.616Z] Step 13/25 : FROM alpine:3.18 [2023-11-29T01:44:18.616Z] 3.18: Pulling from library/alpine [2023-11-29T01:44:18.616Z] 579b34f0a95b: Pulling fs layer [2023-11-29T01:44:18.616Z] 579b34f0a95b: Verifying Checksum [2023-11-29T01:44:18.616Z] 579b34f0a95b: Download complete [2023-11-29T01:44:18.616Z] 579b34f0a95b: Pull complete [2023-11-29T01:44:18.616Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-29T01:44:18.616Z] Status: Downloaded newer image for alpine:3.18 [2023-11-29T01:44:18.616Z] ---> 3cc203321400 [2023-11-29T01:44:18.616Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-29T01:44:18.616Z] ---> Running in 0bdfec64a73d [2023-11-29T01:44:18.616Z] Removing intermediate container 0bdfec64a73d [2023-11-29T01:44:18.616Z] ---> 8f925cad5cf6 [2023-11-29T01:44:18.616Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-29T01:44:18.616Z] ---> Running in d4ca20931286 [2023-11-29T01:44:18.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T01:44:18.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T01:44:18.616Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-29T01:44:18.616Z] Executing busybox-1.36.1-r2.trigger [2023-11-29T01:44:18.616Z] OK: 8 MiB in 16 packages [2023-11-29T01:44:18.885Z] Removing intermediate container d4ca20931286 [2023-11-29T01:44:18.885Z] ---> b36aa496e482 [2023-11-29T01:44:18.885Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-29T01:44:18.885Z] ---> Running in f87ce862e4c8 [2023-11-29T01:44:19.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-29T01:44:20.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-29T01:44:21.087Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T01:44:21.087Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T01:44:21.087Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-29T01:44:21.087Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T01:44:21.087Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T01:44:21.353Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-29T01:44:21.353Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-29T01:44:21.353Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-29T01:44:21.353Z] Executing busybox-1.36.1-r5.trigger [2023-11-29T01:44:21.353Z] OK: 8 MiB in 16 packages [2023-11-29T01:44:22.759Z] Removing intermediate container f87ce862e4c8 [2023-11-29T01:44:22.759Z] ---> fcd08780f090 [2023-11-29T01:44:22.759Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-29T01:44:27.011Z] ---> 9693ff6f9a8f [2023-11-29T01:44:27.011Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-29T01:44:27.597Z] ---> 2fae653a6bad [2023-11-29T01:44:27.597Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-29T01:44:27.865Z] ---> 3b5e6d1cd664 [2023-11-29T01:44:27.865Z] Step 20/25 : EXPOSE 59982 [2023-11-29T01:44:28.131Z] ---> Running in f9ce266df39b [2023-11-29T01:44:28.399Z] Removing intermediate container f9ce266df39b [2023-11-29T01:44:28.399Z] ---> 8ab0106904b6 [2023-11-29T01:44:28.399Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-29T01:44:28.399Z] ---> Running in ed1349d1c8f2 [2023-11-29T01:44:28.667Z] Removing intermediate container ed1349d1c8f2 [2023-11-29T01:44:28.667Z] ---> f9c921c3dc97 [2023-11-29T01:44:28.667Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-29T01:44:28.667Z] ---> Running in e5c88f2539f7 [2023-11-29T01:44:28.935Z] Removing intermediate container e5c88f2539f7 [2023-11-29T01:44:28.935Z] ---> 843f898f2d3c [2023-11-29T01:44:28.935Z] Step 23/25 : LABEL arch=arm64 [2023-11-29T01:44:29.207Z] ---> Running in f31c2394049f [2023-11-29T01:44:29.477Z] Removing intermediate container f31c2394049f [2023-11-29T01:44:29.477Z] ---> 3900ca8c6b86 [2023-11-29T01:44:29.477Z] Step 24/25 : LABEL git_sha=a2954d58d420981404086a0e4506a1a5bdc8ceeb [2023-11-29T01:44:29.477Z] ---> Running in 38fc321fc477 [2023-11-29T01:44:29.750Z] Removing intermediate container 38fc321fc477 [2023-11-29T01:44:29.750Z] ---> 4177665a4ffa [2023-11-29T01:44:29.750Z] Step 25/25 : LABEL version=0.0.0 [2023-11-29T01:44:29.750Z] ---> Running in 9b3767b90215 [2023-11-29T01:44:30.334Z] Removing intermediate container 9b3767b90215 [2023-11-29T01:44:30.334Z] ---> 93c74c716a2c [2023-11-29T01:44:30.334Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-29T01:44:30.334Z] Successfully built 93c74c716a2c [2023-11-29T01:44:30.334Z] 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-29T01:44:31.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-29T01:44:31.645Z] [2023-11-29T01:44:31.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:44:32.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-29T01:44:32.110Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-29T01:44:32.110Z] 8998bd30e6a1: Pulling fs layer [2023-11-29T01:44:32.110Z] 04944245beec: Pulling fs layer [2023-11-29T01:44:32.110Z] 699f458cf7ca: Pulling fs layer [2023-11-29T01:44:32.110Z] 765212b225bb: Pulling fs layer [2023-11-29T01:44:32.110Z] f23df028b6ca: Pulling fs layer [2023-11-29T01:44:32.110Z] d65c8cfc05b1: Pulling fs layer [2023-11-29T01:44:32.110Z] 2437ff75d9bd: Pulling fs layer [2023-11-29T01:44:32.110Z] 765212b225bb: Waiting [2023-11-29T01:44:32.110Z] f23df028b6ca: Waiting [2023-11-29T01:44:32.110Z] d65c8cfc05b1: Waiting [2023-11-29T01:44:32.110Z] 2437ff75d9bd: Waiting [2023-11-29T01:44:32.381Z] 04944245beec: Verifying Checksum [2023-11-29T01:44:32.381Z] 04944245beec: Download complete [2023-11-29T01:44:32.381Z] 765212b225bb: Verifying Checksum [2023-11-29T01:44:32.381Z] 765212b225bb: Download complete [2023-11-29T01:44:32.381Z] f23df028b6ca: Download complete [2023-11-29T01:44:32.381Z] d65c8cfc05b1: Verifying Checksum [2023-11-29T01:44:32.381Z] d65c8cfc05b1: Download complete [2023-11-29T01:44:32.649Z] 699f458cf7ca: Verifying Checksum [2023-11-29T01:44:32.649Z] 699f458cf7ca: Download complete [2023-11-29T01:44:32.918Z] 8998bd30e6a1: Verifying Checksum [2023-11-29T01:44:32.918Z] 8998bd30e6a1: Download complete [2023-11-29T01:44:35.498Z] 2437ff75d9bd: Download complete [2023-11-29T01:44:37.447Z] 8998bd30e6a1: Pull complete [2023-11-29T01:44:37.714Z] 04944245beec: Pull complete [2023-11-29T01:44:43.186Z] 699f458cf7ca: Pull complete [2023-11-29T01:44:43.455Z] 765212b225bb: Pull complete [2023-11-29T01:44:44.415Z] f23df028b6ca: Pull complete [2023-11-29T01:44:44.682Z] d65c8cfc05b1: Pull complete [2023-11-29T01:45:02.884Z] 2437ff75d9bd: Pull complete [2023-11-29T01:45:02.884Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-29T01:45:02.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-29T01:45:02.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:45:03.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-9011 does not seem to be running inside a container [2023-11-29T01:45:03.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-29T01:45:06.179Z] $ docker top df0cac359cf59105f3ef1f8498156664c155de93052e6ab503de27af7939d2f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:07.177Z] ---> job-cost.sh [2023-11-29T01:45:07.177Z] lf-activate-venv: SKIPPING [2023-11-29T01:45:07.177Z] INFO: No Stack... [2023-11-29T01:45:07.443Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-29T01:45:08.407Z] INFO: Archiving Costs [Pipeline] sh [2023-11-29T01:45:09.078Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-11-29T01:45:09.078Z] + cut -d, -f6 [Pipeline] lock [2023-11-29T01:45:09.163Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] [2023-11-29T01:45:09.167Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] did not exist. Created. [2023-11-29T01:45:09.168Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-29T01:45:09.995Z] /w/workspace/device-mqtt-go/1@tmp/durable-118254cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-29T01:45:10.668Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-29T01:45:10.704Z] Warning: overwriting stash ‘stack-cost’ [2023-11-29T01:45:10.749Z] Stashed 1 file(s) [Pipeline] } [2023-11-29T01:45:10.802Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-650-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-29T01:45:10.988Z] $ docker stop --time=1 df0cac359cf59105f3ef1f8498156664c155de93052e6ab503de27af7939d2f6 [2023-11-29T01:45:12.538Z] $ docker rm -f --volumes df0cac359cf59105f3ef1f8498156664c155de93052e6ab503de27af7939d2f6 [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-29T01:45:14.526Z] provisioning config files... [2023-11-29T01:45:14.533Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/config11764687450092517743tmp [Pipeline] { [Pipeline] sh [2023-11-29T01:45:14.984Z] + set +x [2023-11-29T01:45:14.984Z] + bash -s -- [2023-11-29T01:45:14.984Z] + curl -s https://codecov.io/bash [2023-11-29T01:45:14.984Z] [2023-11-29T01:45:14.984Z] _____ _ [2023-11-29T01:45:14.984Z] / ____| | | [2023-11-29T01:45:14.984Z] | | ___ __| | ___ ___ _____ __ [2023-11-29T01:45:14.984Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-29T01:45:14.984Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-29T01:45:14.984Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-29T01:45:14.984Z] Bash-1.0.6 [2023-11-29T01:45:14.984Z] [2023-11-29T01:45:14.984Z] [2023-11-29T01:45:14.984Z] ==> git version 2.25.1 found [2023-11-29T01:45:14.984Z] ==> 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-29T01:45:14.984Z] Release-Date: 2020-01-08 [2023-11-29T01:45:14.984Z] 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-29T01:45:14.984Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-29T01:45:14.984Z] ==> Jenkins CI detected. [2023-11-29T01:45:14.984Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-650 [2023-11-29T01:45:14.984Z] project root: . [2023-11-29T01:45:14.984Z] --> token set from env [2023-11-29T01:45:14.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-29T01:45:14.984Z] ==> Running gcov in . (disable via -X gcov) [2023-11-29T01:45:14.984Z] ==> Python coveragepy not found [2023-11-29T01:45:14.984Z] ==> Searching for coverage reports in: [2023-11-29T01:45:14.984Z] + . [2023-11-29T01:45:14.984Z] -> Found 1 reports [2023-11-29T01:45:14.984Z] ==> Detecting git/mercurial file structure [2023-11-29T01:45:15.245Z] ==> Reading reports [2023-11-29T01:45:15.245Z] + ./coverage.out bytes=18506 [2023-11-29T01:45:15.245Z] ==> Appending adjustments [2023-11-29T01:45:15.245Z] https://docs.codecov.io/docs/fixing-reports [2023-11-29T01:45:15.245Z] + Found adjustments [2023-11-29T01:45:15.245Z] ==> Gzipping contents [2023-11-29T01:45:15.245Z] 4.0K /tmp/codecov.l7ckoS.gz [2023-11-29T01:45:15.245Z] ==> Uploading reports [2023-11-29T01:45:15.245Z] url: https://codecov.io [2023-11-29T01:45:15.245Z] query: branch=PR-650&commit=a2954d58d420981404086a0e4506a1a5bdc8ceeb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-650%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=650&job=&cmd_args= [2023-11-29T01:45:15.245Z] -> Pinging Codecov [2023-11-29T01:45:15.246Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-650&commit=a2954d58d420981404086a0e4506a1a5bdc8ceeb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-650%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=650&job=&cmd_args= [2023-11-29T01:45:15.506Z] -> Uploading to [2023-11-29T01:45:15.506Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-29/7D719EC7BBE17E464838252E33014C33/a2954d58d420981404086a0e4506a1a5bdc8ceeb/6968725b-5ef0-4c8f-a86b-e486372c8a46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231129T014515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6d1eba5a716740b6976d4447f0bc4bc107927c7f3b97898ac08296dda7426d5a [2023-11-29T01:45:15.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-29T01:45:15.506Z] Dload Upload Total Spent Left Speed [2023-11-29T01:45:15.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14588 --:--:-- --:--:-- --:--:-- 14519 100 3049 0 0 100 3049 0 13085 --:--:-- --:--:-- --:--:-- 13029 [2023-11-29T01:45:15.766Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a2954d58d420981404086a0e4506a1a5bdc8ceeb [Pipeline] } [2023-11-29T01:45:15.807Z] 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-29T01:45:19.063Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives ] [2023-11-29T01:45:19.063Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives [2023-11-29T01:45:19.063Z] total 16 [2023-11-29T01:45:19.064Z] drwxr-xr-x 3 root root 4096 Nov 29 01:30 . [2023-11-29T01:45:19.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 01:30 .. [2023-11-29T01:45:19.064Z] drwxr-xr-x 2 root root 4096 Nov 29 01:30 cost [2023-11-29T01:45:19.064Z] -rw-r--r-- 1 root root 86 Nov 29 01:30 cost.csv [2023-11-29T01:45:19.064Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives [2023-11-29T01:45:19.064Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives [2023-11-29T01:45:19.064Z] total 16 [2023-11-29T01:45:19.064Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 01:30 . [2023-11-29T01:45:19.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 01:30 .. [2023-11-29T01:45:19.064Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 01:30 cost [2023-11-29T01:45:19.064Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 29 01:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:19.394Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:20.296Z] ---> package-listing.sh [2023-11-29T01:45:20.296Z] ++ facter osfamily [2023-11-29T01:45:20.296Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-29T01:45:20.558Z] + OS_FAMILY=debian [2023-11-29T01:45:20.558Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-650 [2023-11-29T01:45:20.558Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-29T01:45:20.558Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-29T01:45:20.558Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-29T01:45:20.558Z] + PACKAGES=/tmp/packages_start.txt [2023-11-29T01:45:20.558Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-650 ']' [2023-11-29T01:45:20.558Z] + PACKAGES=/tmp/packages_end.txt [2023-11-29T01:45:20.558Z] + case "${OS_FAMILY}" in [2023-11-29T01:45:20.558Z] + dpkg -l [2023-11-29T01:45:20.558Z] + grep '^ii' [2023-11-29T01:45:20.558Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-29T01:45:20.558Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-29T01:45:20.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-29T01:45:20.558Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-650 ']' [2023-11-29T01:45:20.558Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives/ [2023-11-29T01:45:20.558Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-650/archives/ [Pipeline] echo [2023-11-29T01:45:20.591Z] 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-650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-29T01:45:20.886Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-29T01:45:21.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-29T01:45:21.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-29T01:45:21.829Z] prd-ubuntu20.04-docker-8c-8g-8932 does not seem to be running inside a container [2023-11-29T01:45:21.863Z] $ 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-650/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-650 -v /w/workspace/gexfoundry_device-mqtt-go_PR-650:/w/workspace/gexfoundry_device-mqtt-go_PR-650:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-29T01:45:22.057Z] $ docker top e9681cba264badb46d7e10eb007eb8c8ad97860e219642958837d510a5b60640 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-29T01:45:22.565Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-29T01:45:22.879Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-29T01:45:23.194Z] + ls /var/log/sa-host [2023-11-29T01:45:23.194Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-29T01:45:23.372Z] provisioning config files... [2023-11-29T01:45:23.382Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-650@tmp/config14725279689889041458tmp [Pipeline] { [Pipeline] echo [2023-11-29T01:45:23.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:23.835Z] ---> create-netrc.sh [Pipeline] } [2023-11-29T01:45:23.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:24.373Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-29T01:45:24.413Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:24.734Z] ---> sudo-logs.sh [2023-11-29T01:45:24.734Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-29T01:45:24.872Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:25.187Z] ---> job-cost.sh [2023-11-29T01:45:25.187Z] lf-activate-venv: SKIPPING [2023-11-29T01:45:25.187Z] DEBUG: total: 0.2199999988079071 [2023-11-29T01:45:25.187Z] INFO: Retrieving Stack Cost... [2023-11-29T01:45:25.757Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-29T01:45:26.017Z] INFO: Archiving Costs [Pipeline] echo [2023-11-29T01:45:26.049Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-29T01:45:26.367Z] ---> logs-deploy.sh [2023-11-29T01:45:26.367Z] lf-activate-venv: SKIPPING [2023-11-29T01:45:26.367Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-650/1 [2023-11-29T01:45:26.367Z] INFO: archiving workspace using pattern(s): [2023-11-29T01:45:27.308Z] Archives upload complete. [2023-11-29T01:45:27.567Z] INFO: archiving logs to Nexus