Pull request #673 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 0dd432c564210030875d0d0d9a4ed3f8d6934600+6c8369be06a5c5a29b6c14d39caafaee9c646641 (bf511c13b6a049492704e08a1419b677826ba7f2) 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-ssh12400753079007792982.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh2718227943389999510.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-673/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-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1077863189837290943.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-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5381960347602864993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh308529649578453696.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-673/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-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9072564181820193080.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-679’ Running on prd-ubuntu20.04-docker-8c-8g-681 in /w/workspace/gexfoundry_device-mqtt-go_PR-673 [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-673 # 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/673/head:refs/remotes/origin/PR-673 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit 6c8369be06a5c5a29b6c14d39caafaee9c646641 into PR head commit 0dd432c564210030875d0d0d9a4ed3f8d6934600 Merge succeeded, producing 0dd432c564210030875d0d0d9a4ed3f8d6934600 Checking out Revision 0dd432c564210030875d0d0d9a4ed3f8d6934600 (PR-673) Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # 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 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T07:56:09.044Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T07:56:09.266Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T07:56:09.390Z] ========================================================= [2024-05-24T07:56:09.390Z] EdgeX Global Pipelines Version Info [2024-05-24T07:56:09.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T07:56:10.162Z] ------------------- [2024-05-24T07:56:10.162Z] No tag info for: stable [2024-05-24T07:56:10.731Z] ------------------- [2024-05-24T07:56:10.731Z] experimental info: [2024-05-24T07:56:10.731Z] ------------------- [2024-05-24T07:56:10.731Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T07:56:10.731Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T07:56:10.731Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T07:56:10.960Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-05-24T07:56:11.012Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-05-24T07:56:11.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T07:56:11.131Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T07:56:11.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T07:56:11.259Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T07:56:11.319Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T07:56:11.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-24T07:56:11.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T07:56:11.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T07:56:11.563Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T07:56:11.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-05-24T07:56:11.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T07:56:11.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T07:56:11.811Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T07:56:11.866Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T07:56:11.924Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T07:56:11.980Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T07:56:12.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T07:56:12.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T07:56:12.163Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-24T07:56:12.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-24T07:56:12.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T07:56:12.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T07:56:12.396Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T07:56:12.452Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T07:56:12.511Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T07:56:12.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-673 [Pipeline] echo [2024-05-24T07:56:12.625Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-673 [Pipeline] echo [2024-05-24T07:56:12.683Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-673 [Pipeline] echo [2024-05-24T07:56:12.743Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo [2024-05-24T07:56:12.801Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dd432c [Pipeline] echo [2024-05-24T07:56:12.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T07:56:13.020Z] provisioning config files... [2024-05-24T07:56:13.035Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config15603165517017864518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T07:56:13.434Z] ---> ****-login.sh [2024-05-24T07:56:13.435Z] nexus3.edgexfoundry.org:10001 [2024-05-24T07:56:13.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:13.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:13.694Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:13.694Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:13.694Z] [2024-05-24T07:56:13.694Z] Login Succeeded [2024-05-24T07:56:13.694Z] nexus3.edgexfoundry.org:10002 [2024-05-24T07:56:13.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:13.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:13.695Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:13.695Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:13.695Z] [2024-05-24T07:56:13.695Z] Login Succeeded [2024-05-24T07:56:13.695Z] nexus3.edgexfoundry.org:10003 [2024-05-24T07:56:13.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:13.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:13.955Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:13.955Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:13.955Z] [2024-05-24T07:56:13.955Z] Login Succeeded [2024-05-24T07:56:13.955Z] nexus3.edgexfoundry.org:10004 [2024-05-24T07:56:13.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:13.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:13.955Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:13.955Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:13.955Z] [2024-05-24T07:56:13.955Z] Login Succeeded [2024-05-24T07:56:13.955Z] ****.io [2024-05-24T07:56:13.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:14.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:14.216Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:14.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:14.216Z] [2024-05-24T07:56:14.216Z] Login Succeeded [2024-05-24T07:56:14.216Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T07:56:14.248Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T07:56:14.969Z] + git rev-list -1 --merges 0dd432c564210030875d0d0d9a4ed3f8d6934600~1..0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo [2024-05-24T07:56:15.019Z] -----------> git rev-list -1 --merges 0dd432c564210030875d0d0d9a4ed3f8d6934600~1..0dd432c564210030875d0d0d9a4ed3f8d6934600 0dd432c564210030875d0d0d9a4ed3f8d6934600 [false] [Pipeline] sh [2024-05-24T07:56:15.343Z] + git log --format=format:%s -1 0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo [2024-05-24T07:56:15.383Z] ========================================================= [2024-05-24T07:56:15.383Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T07:56:15.383Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T07:56:15.861Z] + git log --format=format:%s -1 0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] echo [2024-05-24T07:56:15.905Z] [semverPrep] GIT_COMMIT: 0dd432c564210030875d0d0d9a4ed3f8d6934600, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo [2024-05-24T07:56:15.956Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T07:56:16.384Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T07:56:16.384Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T07:56:16.384Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T07:56:16.384Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T07:56:16.384Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2024-05-24T07:56:16.384Z] tee -a /etc/ssh/ssh_known_hosts [2024-05-24T07:56:16.384Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:56:16.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T07:56:16.907Z] [2024-05-24T07:56:16.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:56:17.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T07:56:17.302Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T07:56:17.302Z] b85a868b505f: Pulling fs layer [2024-05-24T07:56:17.302Z] e2be974225ed: Pulling fs layer [2024-05-24T07:56:17.302Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T07:56:17.302Z] 988bab9f4d93: Pulling fs layer [2024-05-24T07:56:17.302Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T07:56:17.302Z] eaf3925da568: Pulling fs layer [2024-05-24T07:56:17.302Z] bab4dde63d76: Pulling fs layer [2024-05-24T07:56:17.302Z] bde34c3a00c8: Pulling fs layer [2024-05-24T07:56:17.302Z] b352a97aabf1: Pulling fs layer [2024-05-24T07:56:17.302Z] 4872d77fe225: Pulling fs layer [2024-05-24T07:56:17.302Z] 5851b861e8e6: Pulling fs layer [2024-05-24T07:56:17.302Z] 1469e6f7b9e6: Waiting [2024-05-24T07:56:17.302Z] eaf3925da568: Waiting [2024-05-24T07:56:17.302Z] bab4dde63d76: Waiting [2024-05-24T07:56:17.302Z] bde34c3a00c8: Waiting [2024-05-24T07:56:17.302Z] b352a97aabf1: Waiting [2024-05-24T07:56:17.302Z] 4872d77fe225: Waiting [2024-05-24T07:56:17.302Z] 5851b861e8e6: Waiting [2024-05-24T07:56:17.302Z] 988bab9f4d93: Waiting [2024-05-24T07:56:17.302Z] e2be974225ed: Verifying Checksum [2024-05-24T07:56:17.302Z] e2be974225ed: Download complete [2024-05-24T07:56:17.302Z] 988bab9f4d93: Verifying Checksum [2024-05-24T07:56:17.302Z] 988bab9f4d93: Download complete [2024-05-24T07:56:17.302Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T07:56:17.302Z] 339a4e72a1f5: Download complete [2024-05-24T07:56:17.302Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T07:56:17.302Z] 1469e6f7b9e6: Download complete [2024-05-24T07:56:17.302Z] eaf3925da568: Verifying Checksum [2024-05-24T07:56:17.302Z] eaf3925da568: Download complete [2024-05-24T07:56:17.561Z] bde34c3a00c8: Download complete [2024-05-24T07:56:17.561Z] b352a97aabf1: Download complete [2024-05-24T07:56:17.561Z] 4872d77fe225: Verifying Checksum [2024-05-24T07:56:17.561Z] 4872d77fe225: Download complete [2024-05-24T07:56:17.561Z] 5851b861e8e6: Verifying Checksum [2024-05-24T07:56:17.561Z] 5851b861e8e6: Download complete [2024-05-24T07:56:17.561Z] b85a868b505f: Download complete [2024-05-24T07:56:17.819Z] bab4dde63d76: Verifying Checksum [2024-05-24T07:56:17.819Z] bab4dde63d76: Download complete [2024-05-24T07:56:18.753Z] b85a868b505f: Pull complete [2024-05-24T07:56:18.753Z] e2be974225ed: Pull complete [2024-05-24T07:56:19.320Z] 339a4e72a1f5: Pull complete [2024-05-24T07:56:19.320Z] 988bab9f4d93: Pull complete [2024-05-24T07:56:19.579Z] 1469e6f7b9e6: Pull complete [2024-05-24T07:56:19.579Z] eaf3925da568: Pull complete [2024-05-24T07:56:21.486Z] bab4dde63d76: Pull complete [2024-05-24T07:56:21.486Z] bde34c3a00c8: Pull complete [2024-05-24T07:56:21.486Z] b352a97aabf1: Pull complete [2024-05-24T07:56:21.486Z] 4872d77fe225: Pull complete [2024-05-24T07:56:21.486Z] 5851b861e8e6: Pull complete [2024-05-24T07:56:21.486Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T07:56:21.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T07:56:21.486Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T07:56:21.766Z] prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container [2024-05-24T07:56:21.794Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-24T07:56:24.915Z] $ docker top eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 -eo pid,comm [2024-05-24T07:56:24.966Z] 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). [2024-05-24T07:56:24.966Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T07:56:25.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T07:56:25.123Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T07:56:25.233Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T07:56:25.235Z] $ docker exec eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent [2024-05-24T07:56:25.347Z] SSH_AUTH_SOCK=/tmp/ssh-h8OODTtUo9gQ/agent.32 [2024-05-24T07:56:25.347Z] SSH_AGENT_PID=38 [2024-05-24T07:56:25.353Z] Running ssh-add (command line suppressed) [2024-05-24T07:56:25.457Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_12191195358660516813.key (/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_12191195358660516813.key) [2024-05-24T07:56:25.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T07:56:25.815Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T07:56:25.843Z] $ docker exec --env ******** --env ******** eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent -k [2024-05-24T07:56:25.929Z] unset SSH_AUTH_SOCK; [2024-05-24T07:56:25.929Z] unset SSH_AGENT_PID; [2024-05-24T07:56:25.929Z] echo Agent pid 38 killed; [2024-05-24T07:56:25.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T07:56:26.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T07:56:26.058Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T07:56:26.169Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T07:56:26.170Z] $ docker exec eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent [2024-05-24T07:56:26.279Z] SSH_AUTH_SOCK=/tmp/ssh-FGIX0GJUCIEd/agent.71 [2024-05-24T07:56:26.279Z] SSH_AGENT_PID=77 [2024-05-24T07:56:26.284Z] Running ssh-add (command line suppressed) [2024-05-24T07:56:26.371Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_17147831321158130277.key (/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/private_key_17147831321158130277.key) [2024-05-24T07:56:26.386Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T07:56:26.731Z] + git semver init [2024-05-24T07:56:26.991Z] 2024-05-24 07:56:26,922 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T07:56:26.991Z] 2024-05-24 07:56:26,923 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver [2024-05-24T07:56:26.991Z] 2024-05-24 07:56:26,923 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver [2024-05-24T07:56:26.991Z] 2024-05-24 07:56:26,923 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-673, universal_newlines=False, shell=None, istream=None) [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,834 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.git/info/exclude [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,834 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver/PR-673 with force:False [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,835 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver/PR-673 [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,839 [execute] INFO git cat-file --batch-check [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,844 [execute] INFO git cat-file --batch [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T07:56:27.928Z] 2024-05-24 07:56:27,849 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-673/.semver/PR-673 [2024-05-24T07:56:27.928Z] 0.0.0 [Pipeline] } [2024-05-24T07:56:27.953Z] $ docker exec --env ******** --env ******** eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 ssh-agent -k [2024-05-24T07:56:28.046Z] unset SSH_AUTH_SOCK; [2024-05-24T07:56:28.046Z] unset SSH_AGENT_PID; [2024-05-24T07:56:28.046Z] echo Agent pid 77 killed; [2024-05-24T07:56:28.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T07:56:28.527Z] + git semver [Pipeline] } [2024-05-24T07:56:28.817Z] $ docker stop --time=1 eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 [2024-05-24T07:56:30.105Z] $ docker rm -f --volumes eaa72c1eed207754200c3494ef9fdca98c0e6ccb706c4f6c13c1681060737ae6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T07:56:30.533Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T07:56:30.818Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T07:56:30.841Z] [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 [2024-05-24T07:56:31.544Z] provisioning config files... [2024-05-24T07:56:31.554Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config13763886645920319667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T07:56:31.938Z] ---> ****-login.sh [2024-05-24T07:56:31.938Z] nexus3.edgexfoundry.org:10001 [2024-05-24T07:56:31.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:31.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:31.938Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:31.938Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:31.938Z] [2024-05-24T07:56:31.938Z] Login Succeeded [2024-05-24T07:56:31.938Z] nexus3.edgexfoundry.org:10002 [2024-05-24T07:56:31.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:31.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:31.938Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:31.938Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:31.938Z] [2024-05-24T07:56:31.938Z] Login Succeeded [2024-05-24T07:56:31.938Z] nexus3.edgexfoundry.org:10003 [2024-05-24T07:56:32.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:32.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:32.197Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:32.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:32.197Z] [2024-05-24T07:56:32.197Z] Login Succeeded [2024-05-24T07:56:32.197Z] nexus3.edgexfoundry.org:10004 [2024-05-24T07:56:32.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:32.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:32.197Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:32.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:32.197Z] [2024-05-24T07:56:32.197Z] Login Succeeded [2024-05-24T07:56:32.197Z] ****.io [2024-05-24T07:56:32.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:56:32.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:56:32.457Z] Configure a credential helper to remove this warning. See [2024-05-24T07:56:32.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:56:32.457Z] [2024-05-24T07:56:32.457Z] Login Succeeded [2024-05-24T07:56:32.457Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T07:56:32.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T07:56:32.725Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T07:56:33.048Z] + grep ^go [0-9].[0-9]* go.mod+ [2024-05-24T07:56:33.048Z] cut -d -f 2 [Pipeline] echo [2024-05-24T07:56:33.094Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T07:56:33.137Z] ========================================================= [2024-05-24T07:56:33.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-24T07:56:33.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:56:33.669Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-24T07:56:33.928Z] Sending build context to Docker daemon 46.36MB [2024-05-24T07:56:33.928Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T07:56:33.928Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T07:56:33.928Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-24T07:56:33.928Z] 619be1103602: Pulling fs layer [2024-05-24T07:56:33.928Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T07:56:33.928Z] 5df492c9dc93: Pulling fs layer [2024-05-24T07:56:33.928Z] 7629e6793208: Pulling fs layer [2024-05-24T07:56:33.928Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T07:56:33.928Z] 8de7f028bff5: Pulling fs layer [2024-05-24T07:56:33.928Z] 44042ff1420b: Pulling fs layer [2024-05-24T07:56:33.928Z] 5cdaf54b7214: Pulling fs layer [2024-05-24T07:56:33.928Z] 38f3e5a9071a: Pulling fs layer [2024-05-24T07:56:33.928Z] 7629e6793208: Waiting [2024-05-24T07:56:33.928Z] 8de7f028bff5: Waiting [2024-05-24T07:56:33.928Z] 4f4fb700ef54: Waiting [2024-05-24T07:56:33.928Z] 44042ff1420b: Waiting [2024-05-24T07:56:33.928Z] 38f3e5a9071a: Waiting [2024-05-24T07:56:34.187Z] 7862e08f4a3e: Verifying Checksum [2024-05-24T07:56:34.187Z] 7862e08f4a3e: Download complete [2024-05-24T07:56:34.187Z] 7629e6793208: Verifying Checksum [2024-05-24T07:56:34.187Z] 7629e6793208: Download complete [2024-05-24T07:56:34.187Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T07:56:34.187Z] 4f4fb700ef54: Download complete [2024-05-24T07:56:34.187Z] 8de7f028bff5: Verifying Checksum [2024-05-24T07:56:34.187Z] 8de7f028bff5: Download complete [2024-05-24T07:56:34.187Z] 619be1103602: Verifying Checksum [2024-05-24T07:56:34.187Z] 619be1103602: Download complete [2024-05-24T07:56:34.187Z] 44042ff1420b: Verifying Checksum [2024-05-24T07:56:34.187Z] 44042ff1420b: Download complete [2024-05-24T07:56:34.187Z] 619be1103602: Pull complete [2024-05-24T07:56:34.446Z] 38f3e5a9071a: Verifying Checksum [2024-05-24T07:56:34.446Z] 38f3e5a9071a: Download complete [2024-05-24T07:56:34.446Z] 7862e08f4a3e: Pull complete [2024-05-24T07:56:34.446Z] 5df492c9dc93: Verifying Checksum [2024-05-24T07:56:34.446Z] 5df492c9dc93: Download complete [2024-05-24T07:56:35.012Z] 5cdaf54b7214: Verifying Checksum [2024-05-24T07:56:35.012Z] 5cdaf54b7214: Download complete [2024-05-24T07:56:37.542Z] 5df492c9dc93: Pull complete [2024-05-24T07:56:37.542Z] 7629e6793208: Pull complete [2024-05-24T07:56:37.542Z] 4f4fb700ef54: Pull complete [2024-05-24T07:56:37.542Z] 8de7f028bff5: Pull complete [2024-05-24T07:56:37.542Z] 44042ff1420b: Pull complete [2024-05-24T07:56:40.069Z] 5cdaf54b7214: Pull complete [2024-05-24T07:56:40.328Z] 38f3e5a9071a: Pull complete [2024-05-24T07:56:40.328Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-24T07:56:40.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-24T07:56:40.328Z] ---> 60b93f829570 [2024-05-24T07:56:40.328Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T07:56:45.606Z] ---> Running in fd31345e2992 [2024-05-24T07:56:45.606Z] Removing intermediate container fd31345e2992 [2024-05-24T07:56:45.606Z] ---> dee4d4459e7c [2024-05-24T07:56:45.606Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T07:56:45.606Z] ---> Running in 80341bd08463 [2024-05-24T07:56:45.606Z] Removing intermediate container 80341bd08463 [2024-05-24T07:56:45.606Z] ---> 6652b9f89bbc [2024-05-24T07:56:45.606Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T07:56:45.606Z] ---> Running in 4b51ab4f2968 [2024-05-24T07:56:45.606Z] Removing intermediate container 4b51ab4f2968 [2024-05-24T07:56:45.606Z] ---> be1973373867 [2024-05-24T07:56:45.606Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T07:56:45.606Z] ---> Running in 05f2d70a7a03 [2024-05-24T07:56:45.606Z] Removing intermediate container 05f2d70a7a03 [2024-05-24T07:56:45.606Z] ---> 87b7b1f1ed98 [2024-05-24T07:56:45.606Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T07:56:45.606Z] ---> Running in 9fdb5316ef36 [2024-05-24T07:56:45.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T07:56:45.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T07:56:45.866Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T07:56:45.866Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T07:56:45.866Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T07:56:45.866Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T07:56:45.866Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T07:56:45.866Z] OK: 268 MiB in 56 packages [2024-05-24T07:56:46.328Z] Still waiting to schedule task [2024-05-24T07:56:46.329Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-680’ is offline [2024-05-24T07:56:46.434Z] Removing intermediate container 9fdb5316ef36 [2024-05-24T07:56:46.434Z] ---> 13defa97d4d7 [2024-05-24T07:56:46.434Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-24T07:56:46.434Z] ---> Running in 92ec4aef2eaf [2024-05-24T07:56:46.434Z] Removing intermediate container 92ec4aef2eaf [2024-05-24T07:56:46.434Z] ---> f51f4d46c2b5 [2024-05-24T07:56:46.434Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T07:56:48.338Z] ---> 8a939624ca7a [2024-05-24T07:56:48.338Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T07:56:48.338Z] ---> Running in 2ed827fc0102 [2024-05-24T07:57:20.413Z] Removing intermediate container 2ed827fc0102 [2024-05-24T07:57:20.413Z] ---> 68734c611d08 [2024-05-24T07:57:20.413Z] Step 11/12 : COPY . . [2024-05-24T07:57:20.413Z] ---> d78b2b2e5859 [2024-05-24T07:57:20.413Z] Step 12/12 : RUN $MAKE [2024-05-24T07:57:20.413Z] ---> Running in 6a239cff8f36 [2024-05-24T07:57:20.413Z] noop [2024-05-24T07:57:20.413Z] Removing intermediate container 6a239cff8f36 [2024-05-24T07:57:20.413Z] ---> 1ec5a8ac90a3 [2024-05-24T07:57:20.413Z] Successfully built 1ec5a8ac90a3 [2024-05-24T07:57:20.413Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:57:20.884Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T07:57:20.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T07:57:21.055Z] prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container [2024-05-24T07:57:21.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T07:57:21.409Z] $ docker top 3966836fa104d29c809676d2952a9bd895530cc4007a09f36bed9a4edb84042a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T07:57:21.826Z] + go version [2024-05-24T07:57:21.826Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T07:57:21.859Z] $ docker stop --time=1 3966836fa104d29c809676d2952a9bd895530cc4007a09f36bed9a4edb84042a [2024-05-24T07:57:23.123Z] $ docker rm -f --volumes 3966836fa104d29c809676d2952a9bd895530cc4007a09f36bed9a4edb84042a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:57:23.908Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T07:57:23.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T07:57:24.081Z] prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container [2024-05-24T07:57:24.109Z] $ 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-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T07:57:24.413Z] $ docker top 1a6578a25cf99de8ff47ea20271b910d4e5bb885baf81d9f9706e93f749e42f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T07:57:24.824Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-673 [Pipeline] fileExists [Pipeline] sh [2024-05-24T07:57:25.196Z] + make test [2024-05-24T07:57:25.196Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T07:57:26.569Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-24T07:57:36.530Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-24T07:57:36.531Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-24T07:57:36.531Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements [2024-05-24T07:57:43.091Z] go vet ./... [2024-05-24T07:57:45.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T07:57:45.617Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T07:57:45.617Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T07:57:45.664Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T07:57:46.049Z] + go mod tidy [Pipeline] } [2024-05-24T07:57:46.330Z] $ docker stop --time=1 1a6578a25cf99de8ff47ea20271b910d4e5bb885baf81d9f9706e93f749e42f5 [2024-05-24T07:57:50.354Z] $ docker rm -f --volumes 1a6578a25cf99de8ff47ea20271b910d4e5bb885baf81d9f9706e93f749e42f5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T07:57:50.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T07:57:51.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-24T07:57:51.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T07:57:52.142Z] + ls -al . [2024-05-24T07:57:52.142Z] total 188 [2024-05-24T07:57:52.142Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 07:57 . [2024-05-24T07:57:52.142Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 07:56 .. [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 07:56 .dockerignore [2024-05-24T07:57:52.142Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 07:57 .git [2024-05-24T07:57:52.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:56 .github [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 07:56 .gitignore [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 07:56 .golangci.yml [2024-05-24T07:57:52.142Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 07:56 .semver [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 24 07:56 Attribution.txt [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 24 07:56 CHANGELOG.md [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 24 07:56 Dockerfile [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 07:56 GOVERNANCE.md [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 657 May 24 07:56 Jenkinsfile [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 07:56 LICENSE [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 24 07:56 Makefile [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 07:56 OWNERS.md [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 24 07:56 README.md [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 07:56 VERSION [2024-05-24T07:57:52.142Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:56 bin [2024-05-24T07:57:52.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:56 cmd [2024-05-24T07:57:52.142Z] -rw-r--r-- 1 jenkins jenkins 18506 May 24 07:57 coverage.out [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 24 07:56 go.mod [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 07:56 go.sum [2024-05-24T07:57:52.142Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:56 internal [2024-05-24T07:57:52.142Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:56 mock [2024-05-24T07:57:52.142Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 07:56 vendor [2024-05-24T07:57:52.142Z] -rw-rw-r-- 1 jenkins jenkins 227 May 24 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:57:52.564Z] + 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=0dd432c564210030875d0d0d9a4ed3f8d6934600 --label arch=amd64 --label version=0.0.0 . [2024-05-24T07:57:52.823Z] Sending build context to Docker daemon 46.38MB [2024-05-24T07:57:52.823Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T07:57:52.823Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-24T07:57:52.823Z] ---> 1ec5a8ac90a3 [2024-05-24T07:57:52.823Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-24T07:57:53.390Z] ---> Running in 3eee23776a79 [2024-05-24T07:57:53.390Z] Removing intermediate container 3eee23776a79 [2024-05-24T07:57:53.390Z] ---> dd0f10c038ab [2024-05-24T07:57:53.390Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T07:57:53.648Z] ---> Running in 60d7ae9dafd5 [2024-05-24T07:57:53.648Z] Removing intermediate container 60d7ae9dafd5 [2024-05-24T07:57:53.648Z] ---> 9faebc580805 [2024-05-24T07:57:53.648Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T07:57:53.648Z] ---> Running in 0746330fd2ca [2024-05-24T07:57:53.648Z] Removing intermediate container 0746330fd2ca [2024-05-24T07:57:53.648Z] ---> c32793fa3833 [2024-05-24T07:57:53.648Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T07:57:53.648Z] ---> Running in d662a70d147c [2024-05-24T07:57:53.648Z] Removing intermediate container d662a70d147c [2024-05-24T07:57:53.648Z] ---> 6af596973f7a [2024-05-24T07:57:53.648Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T07:57:53.906Z] ---> Running in 331dec26003b [2024-05-24T07:57:54.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T07:57:54.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T07:57:54.423Z] OK: 268 MiB in 56 packages [2024-05-24T07:57:54.683Z] Removing intermediate container 331dec26003b [2024-05-24T07:57:54.683Z] ---> 047642ef9f88 [2024-05-24T07:57:54.683Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-24T07:57:54.942Z] ---> Running in fe7cef2e4417 [2024-05-24T07:57:54.942Z] Removing intermediate container fe7cef2e4417 [2024-05-24T07:57:54.942Z] ---> fb91420a97ee [2024-05-24T07:57:54.942Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-24T07:57:56.849Z] ---> 19eb4dcc5166 [2024-05-24T07:57:56.849Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T07:57:56.849Z] ---> Running in 92807f967444 [2024-05-24T07:57:57.108Z] skipping... [2024-05-24T07:57:57.368Z] Removing intermediate container 92807f967444 [2024-05-24T07:57:57.368Z] ---> ba57a62b1e3a [2024-05-24T07:57:57.368Z] Step 11/25 : COPY . . [2024-05-24T07:57:59.897Z] ---> 08537eee87d5 [2024-05-24T07:57:59.897Z] Step 12/25 : RUN $MAKE [2024-05-24T07:57:59.897Z] ---> Running in bb01dcdebebe [2024-05-24T07:57:59.897Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-05-24T07:58:20.649Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-682 in /w/workspace/gexfoundry_device-mqtt-go_PR-673 [Pipeline] { [Pipeline] ws [2024-05-24T07:58:20.721Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-05-24T07:58:20.802Z] The recommended git tool is: git [2024-05-24T07:58:21.821Z] Removing intermediate container bb01dcdebebe [2024-05-24T07:58:21.821Z] ---> f2b36aff4302 [2024-05-24T07:58:21.821Z] Step 13/25 : FROM alpine:3.18 [2024-05-24T07:58:21.821Z] 3.18: Pulling from library/alpine [2024-05-24T07:58:21.821Z] 619be1103602: Already exists [2024-05-24T07:58:21.821Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T07:58:21.821Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T07:58:21.821Z] ---> d3782b16ccc9 [2024-05-24T07:58:21.821Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-24T07:58:21.821Z] ---> Running in 19cdcce134d1 [2024-05-24T07:58:21.821Z] Removing intermediate container 19cdcce134d1 [2024-05-24T07:58:21.821Z] ---> 4cc3b80312fb [2024-05-24T07:58:21.821Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-24T07:58:21.821Z] ---> Running in baa629449e7f [2024-05-24T07:58:21.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T07:58:21.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T07:58:21.821Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T07:58:21.821Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T07:58:21.821Z] OK: 7 MiB in 16 packages [2024-05-24T07:58:21.821Z] Removing intermediate container baa629449e7f [2024-05-24T07:58:21.821Z] ---> e3fdfe126185 [2024-05-24T07:58:21.821Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-24T07:58:21.821Z] ---> Running in 9079640c82e1 [2024-05-24T07:58:21.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T07:58:21.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T07:58:21.821Z] Upgrading critical system libraries and apk-tools: [2024-05-24T07:58:21.821Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T07:58:21.821Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T07:58:21.821Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T07:58:21.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T07:58:21.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T07:58:21.821Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T07:58:21.821Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T07:58:21.821Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T07:58:21.821Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T07:58:21.821Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T07:58:21.821Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T07:58:21.821Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T07:58:21.821Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T07:58:21.821Z] OK: 7 MiB in 16 packages [2024-05-24T07:58:21.821Z] Removing intermediate container 9079640c82e1 [2024-05-24T07:58:21.821Z] ---> 3d64f322925f [2024-05-24T07:58:21.821Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-24T07:58:22.080Z] ---> b1ed2e3ad893 [2024-05-24T07:58:22.080Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-24T07:58:22.338Z] ---> bcaba5ef4f81 [2024-05-24T07:58:22.338Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-24T07:58:22.338Z] ---> e19950c417ca [2024-05-24T07:58:22.338Z] Step 20/25 : EXPOSE 59982 [2024-05-24T07:58:22.338Z] ---> Running in f5862a433faa [2024-05-24T07:58:22.597Z] Removing intermediate container f5862a433faa [2024-05-24T07:58:22.597Z] ---> ae00aa37a482 [2024-05-24T07:58:22.597Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-24T07:58:22.597Z] ---> Running in f98376542d32 [2024-05-24T07:58:22.597Z] Removing intermediate container f98376542d32 [2024-05-24T07:58:22.597Z] ---> 34ba2e50f09f [2024-05-24T07:58:22.597Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T07:58:22.597Z] ---> Running in d3cdb4827004 [2024-05-24T07:58:22.597Z] Removing intermediate container d3cdb4827004 [2024-05-24T07:58:22.597Z] ---> 1fd0748e1c3a [2024-05-24T07:58:22.597Z] Step 23/25 : LABEL arch=amd64 [2024-05-24T07:58:22.597Z] ---> Running in 03aa04825d25 [2024-05-24T07:58:22.854Z] Removing intermediate container 03aa04825d25 [2024-05-24T07:58:22.854Z] ---> eb9fbe1db246 [2024-05-24T07:58:22.854Z] Step 24/25 : LABEL git_sha=0dd432c564210030875d0d0d9a4ed3f8d6934600 [2024-05-24T07:58:22.854Z] ---> Running in 25a7b039c149 [2024-05-24T07:58:22.854Z] Removing intermediate container 25a7b039c149 [2024-05-24T07:58:22.854Z] ---> 9376e6453020 [2024-05-24T07:58:22.854Z] Step 25/25 : LABEL version=0.0.0 [2024-05-24T07:58:22.854Z] ---> Running in 90652f0fc097 [2024-05-24T07:58:22.854Z] Removing intermediate container 90652f0fc097 [2024-05-24T07:58:22.854Z] ---> d960e576c58a [2024-05-24T07:58:22.854Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T07:58:23.112Z] Successfully built d960e576c58a [2024-05-24T07:58:23.112Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:58:24.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T07:58:24.107Z] [2024-05-24T07:58:24.107Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:58:24.491Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T07:58:24.491Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T07:58:24.491Z] 5eb5b503b376: Pulling fs layer [2024-05-24T07:58:24.491Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T07:58:24.491Z] ec43610c2a17: Pulling fs layer [2024-05-24T07:58:24.491Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T07:58:24.491Z] 33b1e0a273af: Pulling fs layer [2024-05-24T07:58:24.491Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T07:58:24.491Z] 2f39f015ded8: Pulling fs layer [2024-05-24T07:58:24.491Z] 3a2ae6a8a46f: Waiting [2024-05-24T07:58:24.491Z] 33b1e0a273af: Waiting [2024-05-24T07:58:24.491Z] 5d3b04190fa2: Waiting [2024-05-24T07:58:24.491Z] 2f39f015ded8: Waiting [2024-05-24T07:58:24.491Z] 5c69ac0246d0: Verifying Checksum [2024-05-24T07:58:24.491Z] 5c69ac0246d0: Download complete [2024-05-24T07:58:24.491Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-24T07:58:24.491Z] 33b1e0a273af: Verifying Checksum [2024-05-24T07:58:24.491Z] 33b1e0a273af: Download complete [2024-05-24T07:58:24.491Z] 5d3b04190fa2: Verifying Checksum [2024-05-24T07:58:24.491Z] 5d3b04190fa2: Download complete [2024-05-24T07:58:24.491Z] ec43610c2a17: Verifying Checksum [2024-05-24T07:58:24.491Z] ec43610c2a17: Download complete [2024-05-24T07:58:24.749Z] 5eb5b503b376: Download complete [2024-05-24T07:58:25.315Z] 2f39f015ded8: Verifying Checksum [2024-05-24T07:58:25.315Z] 2f39f015ded8: Download complete [2024-05-24T07:58:25.553Z] using credential edgex-jenkins-ssh [2024-05-24T07:58:25.573Z] Cloning the remote Git repository [2024-05-24T07:58:25.618Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-24T07:58:25.703Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-05-24T07:58:25.879Z] 5eb5b503b376: Pull complete [2024-05-24T07:58:25.879Z] 5c69ac0246d0: Pull complete [2024-05-24T07:58:26.137Z] ec43610c2a17: Pull complete [2024-05-24T07:58:26.395Z] 3a2ae6a8a46f: Pull complete [2024-05-24T07:58:26.395Z] 33b1e0a273af: Pull complete [2024-05-24T07:58:26.653Z] 5d3b04190fa2: Pull complete [2024-05-24T07:58:25.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-24T07:58:25.835Z] > git --version # timeout=10 [2024-05-24T07:58:25.855Z] > git --version # 'git version 2.25.1' [2024-05-24T07:58:25.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T07:58:25.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T07:58:27.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-05-24T07:58:27.612Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T07:58:28.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-05-24T07:58:28.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-24T07:58:28.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T07:58:28.518Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-24T07:58:29.996Z] Merging remotes/origin/napa commit 6c8369be06a5c5a29b6c14d39caafaee9c646641 into PR head commit 0dd432c564210030875d0d0d9a4ed3f8d6934600 [2024-05-24T07:58:30.836Z] 2f39f015ded8: Pull complete [2024-05-24T07:58:30.836Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T07:58:30.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T07:58:30.836Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-05-24T07:58:30.020Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T07:58:30.108Z] > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T07:58:31.078Z] Merge succeeded, producing 0dd432c564210030875d0d0d9a4ed3f8d6934600 [2024-05-24T07:58:31.078Z] Checking out Revision 0dd432c564210030875d0d0d9a4ed3f8d6934600 (PR-673) [2024-05-24T07:58:31.112Z] prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container [2024-05-24T07:58:31.140Z] $ 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-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T07:58:30.973Z] > git remote # timeout=10 [2024-05-24T07:58:30.996Z] > git config --get remote.origin.url # timeout=10 [2024-05-24T07:58:31.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T07:58:31.031Z] > git merge 6c8369be06a5c5a29b6c14d39caafaee9c646641 # timeout=10 [2024-05-24T07:58:31.063Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-24T07:58:31.087Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T07:58:31.102Z] > git checkout -f 0dd432c564210030875d0d0d9a4ed3f8d6934600 # timeout=10 [2024-05-24T07:58:32.666Z] Commit message: "build: Bump SDK to v3.1.1" [2024-05-24T07:58:32.715Z] > git --version # timeout=10 [2024-05-24T07:58:32.726Z] > git --version # 'git version 2.25.1' [2024-05-24T07:58:32.740Z] fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T07:58:36.626Z] $ docker top 310d55db9f34a68a28b7afa14c5d757ada24d41e4149fff350bc71bdb2c77cf0 -eo pid,comm [2024-05-24T07:58:36.699Z] [2024-05-24T07:58:36.699Z] GitHub has been notified of this commit’s build result [2024-05-24T07:58:36.699Z] [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-05-24T07:58:37.106Z] ---> job-cost.sh [2024-05-24T07:58:37.106Z] lf-activate-venv: SKIPPING [2024-05-24T07:58:37.106Z] INFO: No Stack... [Pipeline] sh [2024-05-24T07:58:37.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T07:58:37.696Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T07:58:37.696Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T07:58:37.696Z] Dload Upload Total Spent Left Speed [2024-05-24T07:58:37.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [2024-05-24T07:58:37.933Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T07:58:38.050Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T07:58:38.251Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives/cost.csv [2024-05-24T07:58:38.252Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T07:58:38.301Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [2024-05-24T07:58:38.307Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] did not exist. Created. [2024-05-24T07:58:38.313Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-05-24T07:58:38.392Z] + sudo tee /etc/docker/daemon.new [2024-05-24T07:58:38.392Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-24T07:58:38.392Z] { [2024-05-24T07:58:38.392Z] "registry-mirrors": [ [2024-05-24T07:58:38.392Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T07:58:38.392Z] ], [2024-05-24T07:58:38.393Z] "bip": "10.250.0.254/24", [2024-05-24T07:58:38.393Z] "hosts": [ [2024-05-24T07:58:38.393Z] "tcp://0.0.0.0:5555", [2024-05-24T07:58:38.393Z] "unix:///var/run/docker.sock" [2024-05-24T07:58:38.393Z] ], [2024-05-24T07:58:38.393Z] "mtu": 1458, [2024-05-24T07:58:38.393Z] "selinux-enabled": true, [2024-05-24T07:58:38.393Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T07:58:38.393Z] } [Pipeline] sh [Pipeline] sh [2024-05-24T07:58:38.799Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2024-05-24T07:58:38.826Z] + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash [2024-05-24T07:58:38.996Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T07:58:39.016Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T07:58:39.113Z] $ docker stop --time=1 310d55db9f34a68a28b7afa14c5d757ada24d41e4149fff350bc71bdb2c77cf0 [2024-05-24T07:58:39.158Z] + sudo service docker restart [2024-05-24T07:58:40.263Z] $ docker rm -f --volumes 310d55db9f34a68a28b7afa14c5d757ada24d41e4149fff350bc71bdb2c77cf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T07:58:57.490Z] provisioning config files... [2024-05-24T07:58:57.519Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config616992490866937096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T07:58:58.004Z] ---> ****-login.sh [2024-05-24T07:58:58.004Z] nexus3.edgexfoundry.org:10001 [2024-05-24T07:58:58.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:58:58.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:58:58.545Z] Configure a credential helper to remove this warning. See [2024-05-24T07:58:58.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:58:58.545Z] [2024-05-24T07:58:58.545Z] Login Succeeded [2024-05-24T07:58:58.545Z] nexus3.edgexfoundry.org:10002 [2024-05-24T07:58:58.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:58:59.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:58:59.085Z] Configure a credential helper to remove this warning. See [2024-05-24T07:58:59.085Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:58:59.085Z] [2024-05-24T07:58:59.085Z] Login Succeeded [2024-05-24T07:58:59.085Z] nexus3.edgexfoundry.org:10003 [2024-05-24T07:58:59.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:58:59.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:58:59.369Z] Configure a credential helper to remove this warning. See [2024-05-24T07:58:59.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:58:59.369Z] [2024-05-24T07:58:59.369Z] Login Succeeded [2024-05-24T07:58:59.369Z] nexus3.edgexfoundry.org:10004 [2024-05-24T07:58:59.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:58:59.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:58:59.637Z] Configure a credential helper to remove this warning. See [2024-05-24T07:58:59.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:58:59.637Z] [2024-05-24T07:58:59.637Z] Login Succeeded [2024-05-24T07:58:59.637Z] ****.io [2024-05-24T07:58:59.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T07:59:00.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T07:59:00.174Z] Configure a credential helper to remove this warning. See [2024-05-24T07:59:00.174Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T07:59:00.174Z] [2024-05-24T07:59:00.174Z] Login Succeeded [2024-05-24T07:59:00.174Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T07:59:00.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T07:59:00.676Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T07:59:01.038Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-24T07:59:01.038Z] + cut -d -f 2 [Pipeline] echo [2024-05-24T07:59:01.130Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T07:59:01.185Z] ========================================================= [2024-05-24T07:59:01.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-24T07:59:01.185Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T07:59:01.778Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-24T07:59:04.380Z] Sending build context to Docker daemon 38.96MB [2024-05-24T07:59:04.380Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T07:59:04.380Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T07:59:04.380Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T07:59:04.380Z] c6b39de5b339: Pulling fs layer [2024-05-24T07:59:04.380Z] a69c41024577: Pulling fs layer [2024-05-24T07:59:04.380Z] d6de4b400683: Pulling fs layer [2024-05-24T07:59:04.380Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T07:59:04.380Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T07:59:04.380Z] 9e011611b7f5: Pulling fs layer [2024-05-24T07:59:04.380Z] 3bd174042beb: Pulling fs layer [2024-05-24T07:59:04.380Z] 4476f39b5e91: Pulling fs layer [2024-05-24T07:59:04.380Z] 4f4fb700ef54: Waiting [2024-05-24T07:59:04.380Z] 9e011611b7f5: Waiting [2024-05-24T07:59:04.380Z] 3bd174042beb: Waiting [2024-05-24T07:59:04.380Z] 4476f39b5e91: Waiting [2024-05-24T07:59:04.380Z] 35cb2a7552d0: Waiting [2024-05-24T07:59:04.380Z] a69c41024577: Verifying Checksum [2024-05-24T07:59:04.380Z] a69c41024577: Download complete [2024-05-24T07:59:04.380Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T07:59:04.380Z] 35cb2a7552d0: Download complete [2024-05-24T07:59:04.380Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T07:59:04.380Z] 4f4fb700ef54: Download complete [2024-05-24T07:59:04.380Z] c6b39de5b339: Verifying Checksum [2024-05-24T07:59:04.380Z] c6b39de5b339: Download complete [2024-05-24T07:59:04.380Z] 9e011611b7f5: Verifying Checksum [2024-05-24T07:59:04.380Z] 9e011611b7f5: Download complete [2024-05-24T07:59:04.648Z] 4476f39b5e91: Verifying Checksum [2024-05-24T07:59:04.648Z] 4476f39b5e91: Download complete [2024-05-24T07:59:05.239Z] c6b39de5b339: Pull complete [2024-05-24T07:59:05.823Z] a69c41024577: Pull complete [2024-05-24T07:59:06.091Z] d6de4b400683: Verifying Checksum [2024-05-24T07:59:06.091Z] d6de4b400683: Download complete [2024-05-24T07:59:07.056Z] 3bd174042beb: Verifying Checksum [2024-05-24T07:59:07.056Z] 3bd174042beb: Download complete [2024-05-24T07:59:19.375Z] d6de4b400683: Pull complete [2024-05-24T07:59:19.375Z] 35cb2a7552d0: Pull complete [2024-05-24T07:59:19.375Z] 4f4fb700ef54: Pull complete [2024-05-24T07:59:19.375Z] 9e011611b7f5: Pull complete [2024-05-24T07:59:27.572Z] 3bd174042beb: Pull complete [2024-05-24T07:59:29.513Z] 4476f39b5e91: Pull complete [2024-05-24T07:59:29.513Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-24T07:59:29.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-24T07:59:29.513Z] ---> 981a0608b64a [2024-05-24T07:59:29.513Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T07:59:31.448Z] ---> Running in 3fc2adddbe8c [2024-05-24T07:59:31.448Z] Removing intermediate container 3fc2adddbe8c [2024-05-24T07:59:31.448Z] ---> 7faf7c852b0e [2024-05-24T07:59:31.448Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T07:59:31.448Z] ---> Running in 5bcbbb9b5978 [2024-05-24T07:59:32.035Z] Removing intermediate container 5bcbbb9b5978 [2024-05-24T07:59:32.035Z] ---> b6fb6348b16b [2024-05-24T07:59:32.035Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T07:59:32.035Z] ---> Running in d463c97fa94b [2024-05-24T07:59:32.302Z] Removing intermediate container d463c97fa94b [2024-05-24T07:59:32.302Z] ---> 49eeef100ba1 [2024-05-24T07:59:32.302Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T07:59:32.302Z] ---> Running in a95e9a7c8232 [2024-05-24T07:59:32.570Z] Removing intermediate container a95e9a7c8232 [2024-05-24T07:59:32.570Z] ---> 1e05a2b6b179 [2024-05-24T07:59:32.570Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T07:59:32.570Z] ---> Running in a7fbed6568ab [2024-05-24T07:59:33.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T07:59:34.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T07:59:35.204Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T07:59:35.204Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T07:59:35.204Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T07:59:35.204Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T07:59:35.204Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T07:59:35.204Z] OK: 271 MiB in 56 packages [2024-05-24T07:59:36.622Z] Removing intermediate container a7fbed6568ab [2024-05-24T07:59:36.622Z] ---> b4a42a4fb4e1 [2024-05-24T07:59:36.622Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-24T07:59:36.622Z] ---> Running in 64d4f7fe6fbf [2024-05-24T07:59:36.622Z] Removing intermediate container 64d4f7fe6fbf [2024-05-24T07:59:36.622Z] ---> 173dff901ffb [2024-05-24T07:59:36.622Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T07:59:43.287Z] ---> 4e894ce01cbd [2024-05-24T07:59:43.287Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T07:59:43.287Z] ---> Running in deb32e458b0a [2024-05-24T08:00:39.693Z] Removing intermediate container deb32e458b0a [2024-05-24T08:00:39.693Z] ---> b5fb082e3083 [2024-05-24T08:00:39.693Z] Step 11/12 : COPY . . [2024-05-24T08:00:43.043Z] ---> fbb74360c0b7 [2024-05-24T08:00:43.043Z] Step 12/12 : RUN $MAKE [2024-05-24T08:00:43.043Z] ---> Running in 4988d0cf6caa [2024-05-24T08:00:43.627Z] noop [2024-05-24T08:00:44.211Z] Removing intermediate container 4988d0cf6caa [2024-05-24T08:00:44.211Z] ---> 9ba7a2a1104f [2024-05-24T08:00:44.476Z] Successfully built 9ba7a2a1104f [2024-05-24T08:00:44.476Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:00:45.124Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:00:45.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:00:45.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-682 does not seem to be running inside a container [2024-05-24T08:00:45.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T08:00:46.702Z] $ docker top 4ae12d29d721ffb46f5bc9c5ce33d861bf58df150c0cf4d7a30b2324de4df996 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:00:47.591Z] + go version [2024-05-24T08:00:47.591Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T08:00:47.635Z] $ docker stop --time=1 4ae12d29d721ffb46f5bc9c5ce33d861bf58df150c0cf4d7a30b2324de4df996 [2024-05-24T08:00:49.215Z] $ docker rm -f --volumes 4ae12d29d721ffb46f5bc9c5ce33d861bf58df150c0cf4d7a30b2324de4df996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:00:50.171Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:00:50.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:00:50.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-682 does not seem to be running inside a container [2024-05-24T08:00:50.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T08:00:51.743Z] $ docker top 526c87cc51365e29fa1789dd21e51297424542cb4be17b780fc55b0f6d757b61 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:00:52.699Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:00:53.432Z] + make test [2024-05-24T08:00:53.432Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:00:56.034Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-24T08:02:47.763Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-24T08:02:47.763Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-24T08:02:47.763Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 22.8% of statements [2024-05-24T08:02:47.763Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T08:02:47.763Z] go vet ./... [2024-05-24T08:03:14.498Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:03:14.498Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:03:14.498Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:03:14.548Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:03:14.968Z] + go mod tidy [Pipeline] } [2024-05-24T08:03:18.339Z] $ docker stop --time=1 526c87cc51365e29fa1789dd21e51297424542cb4be17b780fc55b0f6d757b61 [2024-05-24T08:03:20.207Z] $ docker rm -f --volumes 526c87cc51365e29fa1789dd21e51297424542cb4be17b780fc55b0f6d757b61 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:03:21.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:03:21.600Z] Warning: overwriting stash ‘coverage-report’ [2024-05-24T08:03:22.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:03:23.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:03:23.428Z] + ls -al . [2024-05-24T08:03:23.428Z] total 184 [2024-05-24T08:03:23.428Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:00 . [2024-05-24T08:03:23.428Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 07:58 .. [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 07:58 .dockerignore [2024-05-24T08:03:23.428Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 07:58 .git [2024-05-24T08:03:23.428Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:58 .github [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 07:58 .gitignore [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 07:58 .golangci.yml [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 24 07:58 Attribution.txt [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 24 07:58 CHANGELOG.md [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 24 07:58 Dockerfile [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 07:58 GOVERNANCE.md [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 657 May 24 07:58 Jenkinsfile [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 07:58 LICENSE [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 24 07:58 Makefile [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 07:58 OWNERS.md [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 24 07:58 README.md [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 07:56 VERSION [2024-05-24T08:03:23.428Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:58 bin [2024-05-24T08:03:23.428Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:58 cmd [2024-05-24T08:03:23.428Z] -rw-r--r-- 1 jenkins jenkins 18506 May 24 08:02 coverage.out [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 24 07:58 go.mod [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 07:58 go.sum [2024-05-24T08:03:23.428Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 07:58 internal [2024-05-24T08:03:23.428Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 07:58 mock [2024-05-24T08:03:23.428Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 07:58 vendor [2024-05-24T08:03:23.428Z] -rw-rw-r-- 1 jenkins jenkins 227 May 24 07:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:03:23.890Z] + 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=0dd432c564210030875d0d0d9a4ed3f8d6934600 --label arch=arm64 --label version=0.0.0 . [2024-05-24T08:03:26.478Z] Sending build context to Docker daemon 38.98MB [2024-05-24T08:03:26.478Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:03:26.478Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-24T08:03:26.478Z] ---> 9ba7a2a1104f [2024-05-24T08:03:26.478Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:03:26.478Z] ---> Running in d15abbde9e85 [2024-05-24T08:03:26.478Z] Removing intermediate container d15abbde9e85 [2024-05-24T08:03:26.478Z] ---> f1f68d295359 [2024-05-24T08:03:26.478Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:03:26.478Z] ---> Running in dd22b47010d2 [2024-05-24T08:03:26.743Z] Removing intermediate container dd22b47010d2 [2024-05-24T08:03:26.743Z] ---> 0cec43806706 [2024-05-24T08:03:26.743Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:03:27.008Z] ---> Running in b3c30fedda50 [2024-05-24T08:03:27.273Z] Removing intermediate container b3c30fedda50 [2024-05-24T08:03:27.273Z] ---> e04919649357 [2024-05-24T08:03:27.273Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:03:27.273Z] ---> Running in e18225be0f49 [2024-05-24T08:03:27.537Z] Removing intermediate container e18225be0f49 [2024-05-24T08:03:27.537Z] ---> 73601c5c4dcf [2024-05-24T08:03:27.537Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:03:27.537Z] ---> Running in a4f997fc4d69 [2024-05-24T08:03:28.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:03:29.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:03:30.025Z] OK: 271 MiB in 56 packages [2024-05-24T08:03:30.979Z] Removing intermediate container a4f997fc4d69 [2024-05-24T08:03:30.979Z] ---> 963d1bbf97fb [2024-05-24T08:03:30.979Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-24T08:03:30.979Z] ---> Running in 3c0085f4b598 [2024-05-24T08:03:30.979Z] Removing intermediate container 3c0085f4b598 [2024-05-24T08:03:30.979Z] ---> 346aec0845df [2024-05-24T08:03:30.979Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-24T08:03:37.720Z] ---> 7b44d87ddef0 [2024-05-24T08:03:37.720Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:03:37.720Z] ---> Running in 7d6f9e582547 [2024-05-24T08:03:38.687Z] skipping... [2024-05-24T08:03:39.275Z] Removing intermediate container 7d6f9e582547 [2024-05-24T08:03:39.275Z] ---> 90f731570eac [2024-05-24T08:03:39.275Z] Step 11/25 : COPY . . [2024-05-24T08:03:47.475Z] ---> 821d957e6b50 [2024-05-24T08:03:47.475Z] Step 12/25 : RUN $MAKE [2024-05-24T08:03:47.475Z] ---> Running in b8ac15fdb1df [2024-05-24T08:03:47.475Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-05-24T08:05:54.114Z] Removing intermediate container b8ac15fdb1df [2024-05-24T08:05:54.114Z] ---> 59fe44e3befc [2024-05-24T08:05:54.114Z] Step 13/25 : FROM alpine:3.18 [2024-05-24T08:05:54.114Z] 3.18: Pulling from library/alpine [2024-05-24T08:05:54.114Z] c6b39de5b339: Already exists [2024-05-24T08:05:54.114Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:05:54.114Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:05:54.114Z] ---> 33abbf032149 [2024-05-24T08:05:54.114Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-24T08:05:54.114Z] ---> Running in 1b5c52081368 [2024-05-24T08:05:54.114Z] Removing intermediate container 1b5c52081368 [2024-05-24T08:05:54.114Z] ---> dadcc6dd15f0 [2024-05-24T08:05:54.114Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:05:54.114Z] ---> Running in 7c25ce4ef644 [2024-05-24T08:05:54.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:05:54.114Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:05:55.066Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:05:55.066Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:05:55.066Z] OK: 8 MiB in 16 packages [2024-05-24T08:05:56.025Z] Removing intermediate container 7c25ce4ef644 [2024-05-24T08:05:56.025Z] ---> c1ea672376bc [2024-05-24T08:05:56.025Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-24T08:05:56.025Z] ---> Running in 3fb2264a8e7c [2024-05-24T08:05:56.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:05:57.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:05:58.205Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:05:58.205Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:05:58.205Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:05:58.205Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:05:58.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:05:58.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:05:59.430Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:05:59.430Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:05:59.430Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:05:59.430Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:05:59.430Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:05:59.697Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:05:59.697Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:05:59.697Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:05:59.697Z] OK: 8 MiB in 16 packages [2024-05-24T08:06:00.656Z] Removing intermediate container 3fb2264a8e7c [2024-05-24T08:06:00.656Z] ---> 1374bf33ed49 [2024-05-24T08:06:00.656Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-24T08:06:02.593Z] ---> e55970ad14ea [2024-05-24T08:06:02.593Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-24T08:06:02.860Z] ---> 173d7a0147fe [2024-05-24T08:06:02.860Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-24T08:06:03.438Z] ---> 14d551504193 [2024-05-24T08:06:03.438Z] Step 20/25 : EXPOSE 59982 [2024-05-24T08:06:03.438Z] ---> Running in 610b70231497 [2024-05-24T08:06:03.702Z] Removing intermediate container 610b70231497 [2024-05-24T08:06:03.702Z] ---> 1999fc255f9c [2024-05-24T08:06:03.702Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-24T08:06:03.702Z] ---> Running in 37324b3dcbf5 [2024-05-24T08:06:03.966Z] Removing intermediate container 37324b3dcbf5 [2024-05-24T08:06:03.966Z] ---> d36de830bf82 [2024-05-24T08:06:03.966Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:06:03.966Z] ---> Running in c8bcac7ebde7 [2024-05-24T08:06:04.230Z] Removing intermediate container c8bcac7ebde7 [2024-05-24T08:06:04.230Z] ---> 7dd4cc591ad2 [2024-05-24T08:06:04.230Z] Step 23/25 : LABEL arch=arm64 [2024-05-24T08:06:04.494Z] ---> Running in c7f2bb519b3b [2024-05-24T08:06:04.760Z] Removing intermediate container c7f2bb519b3b [2024-05-24T08:06:04.760Z] ---> 102de47538a9 [2024-05-24T08:06:04.760Z] Step 24/25 : LABEL git_sha=0dd432c564210030875d0d0d9a4ed3f8d6934600 [2024-05-24T08:06:04.760Z] ---> Running in c810099b280c [2024-05-24T08:06:05.026Z] Removing intermediate container c810099b280c [2024-05-24T08:06:05.026Z] ---> 7095ae48bd28 [2024-05-24T08:06:05.026Z] Step 25/25 : LABEL version=0.0.0 [2024-05-24T08:06:05.026Z] ---> Running in d71ba52ebd12 [2024-05-24T08:06:05.290Z] Removing intermediate container d71ba52ebd12 [2024-05-24T08:06:05.290Z] ---> 92fa944671f6 [2024-05-24T08:06:05.290Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:06:05.868Z] Successfully built 92fa944671f6 [2024-05-24T08:06:05.868Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:06:06.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:06:06.794Z] [2024-05-24T08:06:06.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:06:07.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:06:07.227Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T08:06:07.227Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T08:06:07.227Z] 04944245beec: Pulling fs layer [2024-05-24T08:06:07.227Z] 699f458cf7ca: Pulling fs layer [2024-05-24T08:06:07.227Z] 765212b225bb: Pulling fs layer [2024-05-24T08:06:07.227Z] f23df028b6ca: Pulling fs layer [2024-05-24T08:06:07.227Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T08:06:07.227Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T08:06:07.227Z] 765212b225bb: Waiting [2024-05-24T08:06:07.227Z] f23df028b6ca: Waiting [2024-05-24T08:06:07.227Z] d65c8cfc05b1: Waiting [2024-05-24T08:06:07.227Z] 2437ff75d9bd: Waiting [2024-05-24T08:06:07.491Z] 04944245beec: Verifying Checksum [2024-05-24T08:06:07.491Z] 04944245beec: Download complete [2024-05-24T08:06:07.491Z] 765212b225bb: Verifying Checksum [2024-05-24T08:06:07.491Z] 765212b225bb: Download complete [2024-05-24T08:06:07.491Z] f23df028b6ca: Verifying Checksum [2024-05-24T08:06:07.491Z] f23df028b6ca: Download complete [2024-05-24T08:06:07.491Z] d65c8cfc05b1: Verifying Checksum [2024-05-24T08:06:07.491Z] d65c8cfc05b1: Download complete [2024-05-24T08:06:07.756Z] 699f458cf7ca: Verifying Checksum [2024-05-24T08:06:07.756Z] 699f458cf7ca: Download complete [2024-05-24T08:06:08.023Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T08:06:08.023Z] 8998bd30e6a1: Download complete [2024-05-24T08:06:10.590Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T08:06:10.590Z] 2437ff75d9bd: Download complete [2024-05-24T08:06:12.540Z] 8998bd30e6a1: Pull complete [2024-05-24T08:06:13.125Z] 04944245beec: Pull complete [2024-05-24T08:06:14.526Z] 699f458cf7ca: Pull complete [2024-05-24T08:06:14.791Z] 765212b225bb: Pull complete [2024-05-24T08:06:15.746Z] f23df028b6ca: Pull complete [2024-05-24T08:06:15.746Z] d65c8cfc05b1: Pull complete [2024-05-24T08:06:33.926Z] 2437ff75d9bd: Pull complete [2024-05-24T08:06:33.926Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T08:06:33.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:06:33.926Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:06:34.288Z] prd-ubuntu20.04-docker-arm64-4c-16g-682 does not seem to be running inside a container [2024-05-24T08:06:34.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-24T08:06:37.019Z] $ docker top 0a4fa3eccc50b3d32385a1188a0a689b5d13fcdf265c529698c8301f9bbdacbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:37.943Z] ---> job-cost.sh [2024-05-24T08:06:37.943Z] lf-activate-venv: SKIPPING [2024-05-24T08:06:37.943Z] INFO: No Stack... [2024-05-24T08:06:38.208Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T08:06:39.163Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:06:39.833Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-05-24T08:06:39.834Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:06:39.886Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [2024-05-24T08:06:39.892Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] did not exist. Created. [2024-05-24T08:06:39.898Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:06:40.333Z] /w/workspace/device-mqtt-go/1@tmp/durable-fd6ab8e5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T08:06:41.262Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T08:06:41.305Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T08:06:41.700Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:06:41.721Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-673-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:06:41.829Z] $ docker stop --time=1 0a4fa3eccc50b3d32385a1188a0a689b5d13fcdf265c529698c8301f9bbdacbf [2024-05-24T08:06:43.358Z] $ docker rm -f --volumes 0a4fa3eccc50b3d32385a1188a0a689b5d13fcdf265c529698c8301f9bbdacbf [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 [2024-05-24T08:06:44.554Z] provisioning config files... [2024-05-24T08:06:44.575Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config516623386656589710tmp [Pipeline] { [Pipeline] sh [2024-05-24T08:06:44.965Z] + set +x [2024-05-24T08:06:44.965Z] + curl -s https://codecov.io/bash [2024-05-24T08:06:44.965Z] + bash -s -- [2024-05-24T08:06:44.965Z] [2024-05-24T08:06:44.965Z] _____ _ [2024-05-24T08:06:44.965Z] / ____| | | [2024-05-24T08:06:44.965Z] | | ___ __| | ___ ___ _____ __ [2024-05-24T08:06:44.965Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-24T08:06:44.965Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-24T08:06:44.965Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-24T08:06:44.965Z] Bash-1.0.6 [2024-05-24T08:06:44.965Z] [2024-05-24T08:06:44.965Z] [2024-05-24T08:06:44.965Z] ==> git version 2.25.1 found [2024-05-24T08:06:44.965Z] ==> 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 [2024-05-24T08:06:44.965Z] Release-Date: 2020-01-08 [2024-05-24T08:06:44.965Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-24T08:06:44.965Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-24T08:06:44.965Z] ==> Jenkins CI detected. [2024-05-24T08:06:44.965Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-673 [2024-05-24T08:06:44.965Z] project root: . [2024-05-24T08:06:44.965Z] --> token set from env [2024-05-24T08:06:44.965Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-24T08:06:44.965Z] ==> Running gcov in . (disable via -X gcov) [2024-05-24T08:06:44.965Z] ==> Python coveragepy not found [2024-05-24T08:06:44.965Z] ==> Searching for coverage reports in: [2024-05-24T08:06:44.965Z] + . [2024-05-24T08:06:44.965Z] -> Found 1 reports [2024-05-24T08:06:44.965Z] ==> Detecting git/mercurial file structure [2024-05-24T08:06:45.223Z] ==> Reading reports [2024-05-24T08:06:45.223Z] + ./coverage.out bytes=18506 [2024-05-24T08:06:45.223Z] ==> Appending adjustments [2024-05-24T08:06:45.223Z] https://docs.codecov.io/docs/fixing-reports [2024-05-24T08:06:45.223Z] + Found adjustments [2024-05-24T08:06:45.223Z] ==> Gzipping contents [2024-05-24T08:06:45.223Z] 16K /tmp/codecov.qvd83F.gz [2024-05-24T08:06:45.223Z] ==> Uploading reports [2024-05-24T08:06:45.223Z] url: https://codecov.io [2024-05-24T08:06:45.223Z] query: branch=PR-673&commit=0dd432c564210030875d0d0d9a4ed3f8d6934600&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-673%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=673&job=&cmd_args= [2024-05-24T08:06:45.223Z] -> Pinging Codecov [2024-05-24T08:06:45.224Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-673&commit=0dd432c564210030875d0d0d9a4ed3f8d6934600&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-673%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=673&job=&cmd_args= [2024-05-24T08:06:45.483Z] -> Uploading to [2024-05-24T08:06:45.483Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-24/7D719EC7BBE17E464838252E33014C33/0dd432c564210030875d0d0d9a4ed3f8d6934600/adca11ea-d98f-45b0-9dee-cf59fc775049.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T080645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc7b79f18fde62d86d42bd6545ce7f0a3c5ee72340a57a108c13630073c8517f [2024-05-24T08:06:45.483Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:06:45.483Z] Dload Upload Total Spent Left Speed [2024-05-24T08:06:45.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14845 0 0 100 14845 0 73128 --:--:-- --:--:-- --:--:-- 72769 100 14845 0 0 100 14845 0 57538 --:--:-- --:--:-- --:--:-- 57316 [2024-05-24T08:06:45.743Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0dd432c564210030875d0d0d9a4ed3f8d6934600 [Pipeline] } [2024-05-24T08:06:45.769Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-24T08:06:48.010Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives ] [2024-05-24T08:06:48.010Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives [2024-05-24T08:06:48.010Z] total 16 [2024-05-24T08:06:48.010Z] drwxr-xr-x 3 root root 4096 May 24 07:58 . [2024-05-24T08:06:48.010Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 07:58 .. [2024-05-24T08:06:48.010Z] drwxr-xr-x 2 root root 4096 May 24 07:58 cost [2024-05-24T08:06:48.010Z] -rw-r--r-- 1 root root 86 May 24 07:58 cost.csv [2024-05-24T08:06:48.010Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives [2024-05-24T08:06:48.010Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives [2024-05-24T08:06:48.010Z] total 16 [2024-05-24T08:06:48.010Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 07:58 . [2024-05-24T08:06:48.010Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 07:58 .. [2024-05-24T08:06:48.010Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 07:58 cost [2024-05-24T08:06:48.010Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:48.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:49.239Z] ---> package-listing.sh [2024-05-24T08:06:49.239Z] ++ facter osfamily [2024-05-24T08:06:49.239Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T08:06:49.497Z] + OS_FAMILY=debian [2024-05-24T08:06:49.497Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-673 [2024-05-24T08:06:49.497Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T08:06:49.497Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T08:06:49.497Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T08:06:49.497Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T08:06:49.497Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-673 ']' [2024-05-24T08:06:49.497Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T08:06:49.497Z] + case "${OS_FAMILY}" in [2024-05-24T08:06:49.497Z] + dpkg -l [2024-05-24T08:06:49.497Z] + grep '^ii' [2024-05-24T08:06:49.497Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T08:06:49.497Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T08:06:49.497Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T08:06:49.497Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-673 ']' [2024-05-24T08:06:49.497Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives/ [2024-05-24T08:06:49.497Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-673/archives/ [Pipeline] echo [2024-05-24T08:06:49.540Z] 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-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T08:06:49.837Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:06:50.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:06:50.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:06:50.651Z] prd-ubuntu20.04-docker-8c-8g-681 does not seem to be running inside a container [2024-05-24T08:06:50.679Z] $ 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-673/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-673 -v /w/workspace/gexfoundry_device-mqtt-go_PR-673:/w/workspace/gexfoundry_device-mqtt-go_PR-673:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-673@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 [2024-05-24T08:06:50.860Z] $ docker top 5134d6b40f5f332757b0a37160e6ee7d35f67d1bd3a08d149f08bb90f7a0c4b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:06:51.269Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T08:06:51.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T08:06:51.903Z] + ls /var/log/sa-host [2024-05-24T08:06:51.903Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:06:52.132Z] provisioning config files... [2024-05-24T08:06:52.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-673@tmp/config2418221603434474973tmp [Pipeline] { [Pipeline] echo [2024-05-24T08:06:52.215Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:52.533Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T08:06:52.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:53.001Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T08:06:53.041Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:53.358Z] ---> sudo-logs.sh [2024-05-24T08:06:53.358Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T08:06:53.463Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:53.781Z] ---> job-cost.sh [2024-05-24T08:06:53.781Z] lf-activate-venv: SKIPPING [2024-05-24T08:06:53.781Z] DEBUG: total: 0.2199999988079071 [2024-05-24T08:06:53.781Z] INFO: Retrieving Stack Cost... [2024-05-24T08:06:54.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:06:54.606Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T08:06:54.646Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:06:54.971Z] ---> logs-deploy.sh [2024-05-24T08:06:54.972Z] lf-activate-venv: SKIPPING [2024-05-24T08:06:54.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-673/1 [2024-05-24T08:06:54.972Z] INFO: archiving workspace using pattern(s): [2024-05-24T08:06:55.910Z] Archives upload complete. [2024-05-24T08:06:55.910Z] INFO: archiving logs to Nexus