Pull request #654 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537+9b13877b5a91d7428adbfa2f1ba18137ccf7a444 (80032f122979b0ebc7ba863dde84bb0eb10279f5) 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-ssh8195564752089535170.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10559474832177741183.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-654/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-654/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7709319979395028169.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-654/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2160540038803463298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12954001032076316693.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-654/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-654/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11727068408033591568.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25089 in /w/workspace/gexfoundry_device-mqtt-go_PR-654 [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-654 # 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/654/head:refs/remotes/origin/PR-654 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 into PR head commit c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 Merge succeeded, producing c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 Checking out Revision c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 (PR-654) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:03:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # 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 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:03:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:03:23 ========================================================= 02:03:23 EdgeX Global Pipelines Version Info 02:03:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:03:24 ------------------- 02:03:24 stable info: 02:03:24 ------------------- 02:03:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:03:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:03:24 Message: update stable to v1.0.258 02:03:24 ------------------- 02:03:24 experimental info: 02:03:24 ------------------- 02:03:24 Commited By: **** collab-it+edgex@linuxfoundation.org 02:03:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:03:24 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:03:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:03:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-654 [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-654 [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-654 [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo 02:03:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2f0fc8 [Pipeline] echo 02:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:27 provisioning config files... 02:03:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config10463149340182834562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:27 ---> ****-login.sh 02:03:27 nexus3.edgexfoundry.org:10001 02:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:28 Configure a credential helper to remove this warning. See 02:03:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:28 02:03:28 Login Succeeded 02:03:28 nexus3.edgexfoundry.org:10002 02:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:28 Configure a credential helper to remove this warning. See 02:03:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:28 02:03:28 Login Succeeded 02:03:28 nexus3.edgexfoundry.org:10003 02:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:28 Configure a credential helper to remove this warning. See 02:03:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:28 02:03:28 Login Succeeded 02:03:28 nexus3.edgexfoundry.org:10004 02:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:28 Configure a credential helper to remove this warning. See 02:03:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:28 02:03:28 Login Succeeded 02:03:28 ****.io 02:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:28 Configure a credential helper to remove this warning. See 02:03:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:28 02:03:28 Login Succeeded 02:03:28 ---> ****-login.sh ends [Pipeline] } 02:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:03:29 + git rev-list -1 --merges c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537~1..c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo 02:03:29 -----------> git rev-list -1 --merges c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537~1..c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [false] [Pipeline] sh 02:03:29 + git log --format=format:%s -1 c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo 02:03:29 ========================================================= 02:03:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:03:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:30 + git log --format=format:%s -1 c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo 02:03:30 [semverPrep] GIT_COMMIT: c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:03:30 [semverPrep] This is not a build commit. [Pipeline] sh 02:03:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:30 + grep -v github /etc/ssh/ssh_known_hosts 02:03:30 + [ -e /tmp/ssh_known_hosts ] 02:03:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:03:30 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 02:03:30 -a /etc/ssh/ssh_known_hosts 02:03:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:31 02:03:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:31 0.1.4: Pulling from edgex-devops/py-git-semver 02:03:31 b85a868b505f: Pulling fs layer 02:03:31 e2be974225ed: Pulling fs layer 02:03:31 339a4e72a1f5: Pulling fs layer 02:03:31 988bab9f4d93: Pulling fs layer 02:03:31 1469e6f7b9e6: Pulling fs layer 02:03:31 eaf3925da568: Pulling fs layer 02:03:31 bab4dde63d76: Pulling fs layer 02:03:31 bde34c3a00c8: Pulling fs layer 02:03:31 b352a97aabf1: Pulling fs layer 02:03:31 1469e6f7b9e6: Waiting 02:03:31 4872d77fe225: Pulling fs layer 02:03:31 5851b861e8e6: Pulling fs layer 02:03:31 eaf3925da568: Waiting 02:03:31 bab4dde63d76: Waiting 02:03:31 bde34c3a00c8: Waiting 02:03:31 988bab9f4d93: Waiting 02:03:31 b352a97aabf1: Waiting 02:03:31 5851b861e8e6: Waiting 02:03:31 e2be974225ed: Download complete 02:03:31 988bab9f4d93: Verifying Checksum 02:03:31 988bab9f4d93: Download complete 02:03:31 1469e6f7b9e6: Verifying Checksum 02:03:31 1469e6f7b9e6: Download complete 02:03:31 eaf3925da568: Verifying Checksum 02:03:31 eaf3925da568: Download complete 02:03:31 339a4e72a1f5: Verifying Checksum 02:03:31 339a4e72a1f5: Download complete 02:03:32 bde34c3a00c8: Download complete 02:03:32 b352a97aabf1: Download complete 02:03:32 4872d77fe225: Download complete 02:03:32 5851b861e8e6: Verifying Checksum 02:03:32 5851b861e8e6: Download complete 02:03:32 b85a868b505f: Verifying Checksum 02:03:32 b85a868b505f: Download complete 02:03:32 bab4dde63d76: Verifying Checksum 02:03:32 bab4dde63d76: Download complete 02:03:33 b85a868b505f: Pull complete 02:03:33 e2be974225ed: Pull complete 02:03:33 339a4e72a1f5: Pull complete 02:03:33 988bab9f4d93: Pull complete 02:03:34 1469e6f7b9e6: Pull complete 02:03:34 eaf3925da568: Pull complete 02:03:36 bab4dde63d76: Pull complete 02:03:36 bde34c3a00c8: Pull complete 02:03:36 b352a97aabf1: Pull complete 02:03:36 4872d77fe225: Pull complete 02:03:36 5851b861e8e6: Pull complete 02:03:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:03:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:36 prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container 02:03:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:03:39 $ docker top 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 -eo pid,comm 02:03:39 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). 02:03:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:03:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:39 [ssh-agent] Looking for ssh-agent implementation... 02:03:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:39 $ docker exec 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent 02:03:40 SSH_AUTH_SOCK=/tmp/ssh-B1m8QlvNGfKp/agent.32 02:03:40 SSH_AGENT_PID=38 02:03:40 Running ssh-add (command line suppressed) 02:03:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_9210730150682470500.key (/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_9210730150682470500.key) 02:03:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:40 + git tag --points-at HEAD [Pipeline] } 02:03:40 $ docker exec --env ******** --env ******** 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent -k 02:03:40 unset SSH_AUTH_SOCK; 02:03:40 unset SSH_AGENT_PID; 02:03:40 echo Agent pid 38 killed; 02:03:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:03:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:03:40 [ssh-agent] Looking for ssh-agent implementation... 02:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:03:41 $ docker exec 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent 02:03:41 SSH_AUTH_SOCK=/tmp/ssh-x4KOv0xpGQHS/agent.70 02:03:41 SSH_AGENT_PID=76 02:03:41 Running ssh-add (command line suppressed) 02:03:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_8128541513075514601.key (/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_8128541513075514601.key) 02:03:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:03:41 + git semver init 02:03:41 2023-12-15 02:03:41,779 [run_init] DEBUG init version:0.0.0 force:False 02:03:41 2023-12-15 02:03:41,780 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver 02:03:41 2023-12-15 02:03:41,780 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver 02:03:41 2023-12-15 02:03:41,780 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-654, universal_newlines=False, shell=None, istream=None) 02:03:43 2023-12-15 02:03:42,840 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.git/info/exclude 02:03:43 2023-12-15 02:03:42,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver/PR-654 with force:False 02:03:43 2023-12-15 02:03:42,841 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver/PR-654 02:03:43 2023-12-15 02:03:42,845 [execute] INFO git cat-file --batch-check 02:03:43 2023-12-15 02:03:42,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver, universal_newlines=False, shell=None, istream=) 02:03:43 2023-12-15 02:03:42,853 [execute] INFO git cat-file --batch 02:03:43 2023-12-15 02:03:42,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver, universal_newlines=False, shell=None, istream=) 02:03:43 2023-12-15 02:03:42,859 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver/PR-654 02:03:43 0.0.0 [Pipeline] } 02:03:43 $ docker exec --env ******** --env ******** 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent -k 02:03:43 unset SSH_AUTH_SOCK; 02:03:43 unset SSH_AGENT_PID; 02:03:43 echo Agent pid 76 killed; 02:03:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:03:43 + git semver [Pipeline] } 02:03:44 $ docker stop --time=1 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 02:03:45 $ docker rm -f --volumes 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 [Pipeline] // withDockerContainer [Pipeline] sh 02:03:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:03:46 Stashed 1 file(s) [Pipeline] echo 02:03:46 [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 02:03:47 provisioning config files... 02:03:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config15199788886893040538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:47 ---> ****-login.sh 02:03:47 nexus3.edgexfoundry.org:10001 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:47 Configure a credential helper to remove this warning. See 02:03:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:47 02:03:47 Login Succeeded 02:03:47 nexus3.edgexfoundry.org:10002 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:47 Configure a credential helper to remove this warning. See 02:03:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:47 02:03:47 Login Succeeded 02:03:47 nexus3.edgexfoundry.org:10003 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:47 Configure a credential helper to remove this warning. See 02:03:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:47 02:03:47 Login Succeeded 02:03:47 nexus3.edgexfoundry.org:10004 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:47 Configure a credential helper to remove this warning. See 02:03:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:47 02:03:47 Login Succeeded 02:03:47 ****.io 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:48 Configure a credential helper to remove this warning. See 02:03:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:48 02:03:48 Login Succeeded 02:03:48 ---> ****-login.sh ends [Pipeline] } 02:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:03:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:03:48 ========================================================= 02:03:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:03:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:03:49 Sending build context to Docker daemon 14.88MB 02:03:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:03:49 Step 2/12 : FROM ${BASE} AS builder 02:03:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:03:49 7264a8db6415: Pulling fs layer 02:03:49 c4d48a809fc2: Pulling fs layer 02:03:49 4f1c88b9dad5: Pulling fs layer 02:03:49 ad3a456e5733: Pulling fs layer 02:03:49 69c7f0334f64: Pulling fs layer 02:03:49 1f1c1a5573a3: Pulling fs layer 02:03:49 ce7588e14bc9: Pulling fs layer 02:03:49 b5e4710f87ac: Pulling fs layer 02:03:49 1f1c1a5573a3: Waiting 02:03:49 ce7588e14bc9: Waiting 02:03:49 ad3a456e5733: Waiting 02:03:49 b5e4710f87ac: Waiting 02:03:49 69c7f0334f64: Waiting 02:03:49 c4d48a809fc2: Verifying Checksum 02:03:49 c4d48a809fc2: Download complete 02:03:49 ad3a456e5733: Verifying Checksum 02:03:49 ad3a456e5733: Download complete 02:03:49 7264a8db6415: Verifying Checksum 02:03:49 7264a8db6415: Download complete 02:03:49 69c7f0334f64: Verifying Checksum 02:03:49 69c7f0334f64: Download complete 02:03:49 1f1c1a5573a3: Verifying Checksum 02:03:49 1f1c1a5573a3: Download complete 02:03:49 7264a8db6415: Pull complete 02:03:49 b5e4710f87ac: Verifying Checksum 02:03:49 b5e4710f87ac: Download complete 02:03:49 c4d48a809fc2: Pull complete 02:03:49 4f1c88b9dad5: Verifying Checksum 02:03:49 4f1c88b9dad5: Download complete 02:03:50 ce7588e14bc9: Verifying Checksum 02:03:50 ce7588e14bc9: Download complete 02:03:53 4f1c88b9dad5: Pull complete 02:03:53 ad3a456e5733: Pull complete 02:03:53 69c7f0334f64: Pull complete 02:03:53 1f1c1a5573a3: Pull complete 02:03:56 ce7588e14bc9: Pull complete 02:03:56 b5e4710f87ac: Pull complete 02:03:56 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 02:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:03:56 ---> 88b5674ff536 02:03:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:04:01 Still waiting to schedule task 02:04:01 ‘prd-centos7-blackbox-4c-2g-24750’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:04:01 ‘prd-centos7-blackbox-4c-2g-24751’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:04:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-25086’ is offline 02:04:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-25090’ is offline 02:04:01 ---> Running in ed84880c77d3 02:04:01 Removing intermediate container ed84880c77d3 02:04:01 ---> 198da29825d5 02:04:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:04:01 ---> Running in f48131615714 02:04:01 Removing intermediate container f48131615714 02:04:01 ---> ac69859b36b2 02:04:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:04:01 ---> Running in 6ac33dcef5c3 02:04:01 Removing intermediate container 6ac33dcef5c3 02:04:01 ---> c7d60dac0ef8 02:04:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:04:01 ---> Running in 96c649831919 02:04:01 Removing intermediate container 96c649831919 02:04:01 ---> 428d51b6873f 02:04:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:04:01 ---> Running in 1e16371e358d 02:04:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:04:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:04:02 (2/4) Installing libedit (20221030.3.1-r1) 02:04:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:04:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:04:02 Executing busybox-1.36.1-r5.trigger 02:04:02 OK: 268 MiB in 56 packages 02:04:03 Removing intermediate container 1e16371e358d 02:04:03 ---> 197e9449d06d 02:04:03 Step 8/12 : WORKDIR /device-mqtt-go 02:04:03 ---> Running in 85dd5fd599d9 02:04:03 Removing intermediate container 85dd5fd599d9 02:04:03 ---> a0b61ff7965f 02:04:03 Step 9/12 : COPY go.mod vendor* ./ 02:04:03 ---> 466d2f295d90 02:04:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:03 ---> Running in cd98e2b6a3c8 02:04:49 Removing intermediate container cd98e2b6a3c8 02:04:49 ---> 15ceea4a394b 02:04:49 Step 11/12 : COPY . . 02:04:49 ---> 1d7feb15477c 02:04:49 Step 12/12 : RUN $MAKE 02:04:49 ---> Running in a73b35bacd16 02:04:49 noop 02:04:49 Removing intermediate container a73b35bacd16 02:04:49 ---> 6a9c05cec82a 02:04:49 Successfully built 6a9c05cec82a 02:04:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:50 + docker inspect -f . ci-base-image-x86_64 02:04:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:50 prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container 02:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:04:51 $ docker top 193eb00f478bc8752028ba4cf0b01d24f2c2e3ff96d8d39c0d7d1f46a49e856e -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:51 + go version 02:04:51 go version go1.21.0 linux/amd64 [Pipeline] } 02:04:51 $ docker stop --time=1 193eb00f478bc8752028ba4cf0b01d24f2c2e3ff96d8d39c0d7d1f46a49e856e 02:04:52 $ docker rm -f --volumes 193eb00f478bc8752028ba4cf0b01d24f2c2e3ff96d8d39c0d7d1f46a49e856e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:53 + docker inspect -f . ci-base-image-x86_64 02:04:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:53 prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container 02:04:53 $ 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-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:04:54 $ docker top b69ca7b01cbf82eedbe31f12af1e6dcf115cbf85a990b97604104eee12a304bf -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-654 [Pipeline] fileExists [Pipeline] sh 02:04:55 + make test 02:04:55 go test ./... -coverprofile=coverage.out ./... 02:04:56 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:05:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:05:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:05:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements 02:05:15 go vet ./... 02:05:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:05:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:05:18 ./bin/test-attribution-txt.sh [Pipeline] echo 02:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:05:18 $ docker stop --time=1 b69ca7b01cbf82eedbe31f12af1e6dcf115cbf85a990b97604104eee12a304bf 02:05:24 $ docker rm -f --volumes b69ca7b01cbf82eedbe31f12af1e6dcf115cbf85a990b97604104eee12a304bf [Pipeline] // withDockerContainer [Pipeline] sh 02:05:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:05:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:05:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:05:26 + ls -al . 02:05:26 total 184 02:05:26 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:04 . 02:05:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:03 .. 02:05:26 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:03 .dockerignore 02:05:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:05 .git 02:05:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:03 .github 02:05:26 -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:03 .gitignore 02:05:26 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:03 .golangci.yml 02:05:26 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:03 .semver 02:05:26 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 15 02:03 Attribution.txt 02:05:26 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 15 02:03 CHANGELOG.md 02:05:26 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 15 02:03 Dockerfile 02:05:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:03 GOVERNANCE.md 02:05:26 -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 02:03 Jenkinsfile 02:05:26 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:03 LICENSE 02:05:26 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 15 02:03 Makefile 02:05:26 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:03 OWNERS.md 02:05:26 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 15 02:03 README.md 02:05:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:03 VERSION 02:05:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:03 bin 02:05:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:03 cmd 02:05:26 -rw-r--r-- 1 jenkins jenkins 18506 Dec 15 02:05 coverage.out 02:05:26 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 15 02:03 go.mod 02:05:26 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:03 go.sum 02:05:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:03 internal 02:05:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:03 mock 02:05:26 -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:27 + 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=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 --label arch=amd64 --label version=0.0.0 . 02:05:27 Sending build context to Docker daemon 14.9MB 02:05:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:05:27 Step 2/25 : FROM ${BASE} AS builder 02:05:27 ---> 6a9c05cec82a 02:05:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:05:27 ---> Running in ac65b5d9908c 02:05:27 Removing intermediate container ac65b5d9908c 02:05:27 ---> 1c7c8b35a4a3 02:05:27 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:05:27 ---> Running in 0c9fee7f2c91 02:05:27 Removing intermediate container 0c9fee7f2c91 02:05:27 ---> 7aba186d23d9 02:05:27 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:05:27 ---> Running in 1f7e049f6e60 02:05:27 Removing intermediate container 1f7e049f6e60 02:05:27 ---> f59c5ea9d3ed 02:05:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:05:27 ---> Running in d1b0b5ad0623 02:05:28 Removing intermediate container d1b0b5ad0623 02:05:28 ---> 33cf85a9f343 02:05:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:05:28 ---> Running in 2a794e9292f5 02:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:05:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:05:28 OK: 268 MiB in 56 packages 02:05:28 Removing intermediate container 2a794e9292f5 02:05:28 ---> 8f16b28c7294 02:05:28 Step 8/25 : WORKDIR /device-mqtt-go 02:05:29 ---> Running in c0fbfafe77c9 02:05:29 Removing intermediate container c0fbfafe77c9 02:05:29 ---> 884b9173221a 02:05:29 Step 9/25 : COPY go.mod vendor* ./ 02:05:29 ---> c35dd8bf5d24 02:05:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:05:29 ---> Running in 8d527e2d7864 02:05:30 Removing intermediate container 8d527e2d7864 02:05:30 ---> f5b43e10af94 02:05:30 Step 11/25 : COPY . . 02:05:30 ---> 1190c4ece4fb 02:05:30 Step 12/25 : RUN $MAKE 02:05:30 ---> Running in b2d4fb86c765 02:05:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:05:52 Removing intermediate container b2d4fb86c765 02:05:52 ---> 4dc84aed49b5 02:05:52 Step 13/25 : FROM alpine:3.18 02:05:52 3.18: Pulling from library/alpine 02:05:52 c926b61bad3b: Pulling fs layer 02:05:52 c926b61bad3b: Verifying Checksum 02:05:52 c926b61bad3b: Download complete 02:05:52 c926b61bad3b: Pull complete 02:05:52 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:05:52 Status: Downloaded newer image for alpine:3.18 02:05:52 ---> b541f2080109 02:05:52 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:05:52 ---> Running in 905c91f06be0 02:05:52 Removing intermediate container 905c91f06be0 02:05:52 ---> dbb96a612d7c 02:05:52 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:05:52 ---> Running in 694a0be5c054 02:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:05:53 (1/1) Installing dumb-init (1.2.5-r2) 02:05:53 Executing busybox-1.36.1-r5.trigger 02:05:53 OK: 7 MiB in 16 packages 02:05:53 Removing intermediate container 694a0be5c054 02:05:53 ---> c75d2d8a91fe 02:05:53 Step 16/25 : RUN apk --no-cache upgrade 02:05:53 ---> Running in d812d1b14a14 02:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:05:53 OK: 7 MiB in 16 packages 02:05:54 Removing intermediate container d812d1b14a14 02:05:54 ---> 19bec4b2aa06 02:05:54 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:05:55 ---> 4b3ed216c88b 02:05:55 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:05:55 ---> 06e199a85a12 02:05:55 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:05:55 ---> 7ca8695ee5db 02:05:55 Step 20/25 : EXPOSE 59982 02:05:55 ---> Running in cf8ed54ae925 02:05:55 Removing intermediate container cf8ed54ae925 02:05:55 ---> 82f5d0804b36 02:05:55 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:05:55 ---> Running in 94797850f79d 02:05:55 Removing intermediate container 94797850f79d 02:05:55 ---> 95a19abc613e 02:05:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:05:55 ---> Running in f62a9a56269a 02:05:55 Removing intermediate container f62a9a56269a 02:05:55 ---> f48b65d3ef9b 02:05:55 Step 23/25 : LABEL arch=amd64 02:05:55 ---> Running in 2c05d50a21c2 02:05:55 Removing intermediate container 2c05d50a21c2 02:05:55 ---> e9779b0f0a9d 02:05:55 Step 24/25 : LABEL git_sha=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 02:05:55 ---> Running in a127ede86271 02:05:55 Removing intermediate container a127ede86271 02:05:55 ---> 9896541d02e0 02:05:55 Step 25/25 : LABEL version=0.0.0 02:05:55 ---> Running in 9dab61cd8fc3 02:05:55 Removing intermediate container 9dab61cd8fc3 02:05:55 ---> 105952ca4658 02:05:55 [Warning] One or more build-args [ARCH] were not consumed 02:05:55 Successfully built 105952ca4658 02:05:55 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:57 02:05:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:57 latest: Pulling from edgex-lftools-log-publisher 02:05:57 5eb5b503b376: Pulling fs layer 02:05:57 5c69ac0246d0: Pulling fs layer 02:05:57 ec43610c2a17: Pulling fs layer 02:05:57 3a2ae6a8a46f: Pulling fs layer 02:05:57 33b1e0a273af: Pulling fs layer 02:05:57 5d3b04190fa2: Pulling fs layer 02:05:57 2f39f015ded8: Pulling fs layer 02:05:57 3a2ae6a8a46f: Waiting 02:05:57 33b1e0a273af: Waiting 02:05:57 5d3b04190fa2: Waiting 02:05:57 2f39f015ded8: Waiting 02:05:57 5c69ac0246d0: Download complete 02:05:57 3a2ae6a8a46f: Verifying Checksum 02:05:57 3a2ae6a8a46f: Download complete 02:05:57 33b1e0a273af: Verifying Checksum 02:05:57 33b1e0a273af: Download complete 02:05:57 5d3b04190fa2: Verifying Checksum 02:05:57 5d3b04190fa2: Download complete 02:05:57 ec43610c2a17: Verifying Checksum 02:05:57 ec43610c2a17: Download complete 02:05:57 5eb5b503b376: Verifying Checksum 02:05:57 5eb5b503b376: Download complete 02:05:58 2f39f015ded8: Download complete 02:05:58 5eb5b503b376: Pull complete 02:05:59 5c69ac0246d0: Pull complete 02:05:59 ec43610c2a17: Pull complete 02:05:59 3a2ae6a8a46f: Pull complete 02:05:59 33b1e0a273af: Pull complete 02:05:59 5d3b04190fa2: Pull complete 02:06:04 2f39f015ded8: Pull complete 02:06:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:04 prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container 02:06:04 $ 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-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@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 02:06:08 $ docker top 3ac8bfd357074abe07ff82fafa9c0c7c4e9bb57ac2914f8cfb1d1c85c880a00d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:06:09 ---> job-cost.sh 02:06:09 lf-activate-venv: SKIPPING 02:06:09 INFO: No Stack... 02:06:09 INFO: Retrieving Pricing Info for: v3-standard-8 02:06:10 INFO: Archiving Costs [Pipeline] sh 02:06:10 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives/cost.csv 02:06:10 + cut -d, -f6 [Pipeline] lock 02:06:10 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] 02:06:10 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] did not exist. Created. 02:06:10 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:06:11 + echo total: 0.2199999988079071 [Pipeline] stash 02:06:11 Stashed 1 file(s) [Pipeline] } 02:06:11 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:06:11 $ docker stop --time=1 3ac8bfd357074abe07ff82fafa9c0c7c4e9bb57ac2914f8cfb1d1c85c880a00d 02:06:12 $ docker rm -f --volumes 3ac8bfd357074abe07ff82fafa9c0c7c4e9bb57ac2914f8cfb1d1c85c880a00d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:06:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25092 in /w/workspace/gexfoundry_device-mqtt-go_PR-654 [Pipeline] { [Pipeline] ws 02:06:54 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:06:57 The recommended git tool is: git 02:07:04 using credential edgex-jenkins-ssh 02:07:04 Cloning the remote Git repository 02:07:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:07:04 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:07:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:07:04 > git --version # timeout=10 02:07:04 > git --version # 'git version 2.25.1' 02:07:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:07:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:07:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:07:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:07:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:07:07 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:07:08 Merging remotes/origin/main commit 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 into PR head commit c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 02:07:08 Merge succeeded, producing c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 02:07:08 Checking out Revision c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 (PR-654) 02:07:08 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:07:08 > git --version # timeout=10 02:07:08 > git --version # 'git version 2.25.1' 02:07:08 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:07:08 > git config core.sparsecheckout # timeout=10 02:07:08 > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # timeout=10 02:07:08 > git remote # timeout=10 02:07:08 > git config --get remote.origin.url # timeout=10 02:07:08 using GIT_SSH to set credentials SSH Credentials for GitHub 02:07:08 > git merge 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 02:07:08 > git rev-parse HEAD^{commit} # timeout=10 02:07:08 > git config core.sparsecheckout # timeout=10 02:07:08 > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:07:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:07:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:07:10 Dload Upload Total Spent Left Speed 02:07:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 85689 0 --:--:-- --:--:-- --:--:-- 86272 [Pipeline] sh 02:07:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:07:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 02:07:10 sudo tee /etc/docker/daemon.new 02:07:10 { 02:07:10 "registry-mirrors": [ 02:07:10 "https://nexus3.edgexfoundry.org:10001" 02:07:10 ], 02:07:10 "bip": "10.250.0.254/24", 02:07:10 "hosts": [ 02:07:10 "tcp://0.0.0.0:5555", 02:07:10 "unix:///var/run/docker.sock" 02:07:10 ], 02:07:10 "mtu": 1458, 02:07:10 "selinux-enabled": true, 02:07:10 "seccomp-profile": "/etc/docker/seccomp.json" 02:07:10 } [Pipeline] sh 02:07:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:07:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:07:33 provisioning config files... 02:07:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17770832859595251137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:07:34 ---> ****-login.sh 02:07:34 nexus3.edgexfoundry.org:10001 02:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:35 Configure a credential helper to remove this warning. See 02:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:35 02:07:35 Login Succeeded 02:07:35 nexus3.edgexfoundry.org:10002 02:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:35 Configure a credential helper to remove this warning. See 02:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:35 02:07:35 Login Succeeded 02:07:35 nexus3.edgexfoundry.org:10003 02:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:35 Configure a credential helper to remove this warning. See 02:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:35 02:07:35 Login Succeeded 02:07:35 nexus3.edgexfoundry.org:10004 02:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:35 Configure a credential helper to remove this warning. See 02:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:35 02:07:35 Login Succeeded 02:07:35 ****.io 02:07:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:07:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:07:36 Configure a credential helper to remove this warning. See 02:07:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:07:36 02:07:36 Login Succeeded 02:07:36 ---> ****-login.sh ends [Pipeline] } 02:07:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:07:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:07:37 ========================================================= 02:07:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:07:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:07:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:07:39 #0 building with "default" instance using docker driver 02:07:39 02:07:39 #1 [internal] load .dockerignore 02:07:39 #1 transferring context: 182B 0.0s done 02:07:39 #1 DONE 0.1s 02:07:39 02:07:39 #2 [internal] load build definition from Dockerfile 02:07:39 #2 transferring dockerfile: 1.84kB done 02:07:39 #2 DONE 0.1s 02:07:39 02:07:39 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:07:39 #3 DONE 0.1s 02:07:39 02:07:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:07:39 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 02:07:39 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 02:07:39 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 02:07:39 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 02:07:39 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.06MB / 3.33MB 0.1s 02:07:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 02:07:39 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 02:07:39 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 02:07:39 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 02:07:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s 02:07:39 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 02:07:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 02:07:39 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 02:07:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 02:07:39 #4 ... 02:07:39 02:07:39 #5 [internal] load build context 02:07:39 #5 transferring context: 7.42MB 0.4s done 02:07:39 #5 DONE 0.4s 02:07:39 02:07:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 02:07:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 02:07:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.5s 02:07:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s 02:07:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 02:07:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s 02:07:39 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 02:07:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 02:07:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 02:07:39 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 02:07:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.07MB / 97.63MB 0.8s 02:07:39 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.22MB / 63.99MB 0.9s 02:07:39 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.9s 02:07:39 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 02:07:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s 02:07:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.33MB / 97.63MB 1.0s 02:07:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.38MB / 63.99MB 1.1s 02:07:40 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 02:07:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.2s 02:07:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.2s 02:07:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.4s 02:07:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.4s 02:07:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.5s 02:07:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.5s 02:07:40 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.6s 02:07:40 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 02:07:40 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 02:07:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.17MB / 97.63MB 1.8s 02:07:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 2.0s 02:07:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.82MB / 97.63MB 2.1s 02:07:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.11MB / 97.63MB 2.2s 02:07:41 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done 02:07:46 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 02:07:52 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s 02:07:57 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.3s done 02:07:59 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 02:07:59 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 02:07:59 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 02:08:05 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 02:08:08 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.1s done 02:08:08 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 02:08:09 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 02:08:09 #4 DONE 30.7s 02:08:10 02:08:10 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:08:10 #6 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:08:10 #6 1.102 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:08:12 #6 2.184 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:08:12 #6 2.231 (2/4) Installing libedit (20221030.3.1-r1) 02:08:12 #6 2.248 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:08:12 #6 2.317 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:08:12 #6 2.347 Executing busybox-1.36.1-r5.trigger 02:08:12 #6 2.380 OK: 271 MiB in 56 packages 02:08:14 #6 DONE 4.2s 02:08:14 02:08:14 #7 [builder 3/7] WORKDIR /device-mqtt-go 02:08:14 #7 DONE 0.1s 02:08:14 02:08:14 #8 [builder 4/7] COPY go.mod vendor* ./ 02:08:14 #8 DONE 0.1s 02:08:14 02:08:14 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:40 #9 DONE 24.4s 02:08:40 02:08:40 #10 [builder 6/7] COPY . . 02:08:40 #10 DONE 0.3s 02:08:40 02:08:40 #11 [builder 7/7] RUN echo noop 02:08:40 #11 0.635 noop 02:08:40 #11 DONE 0.7s 02:08:40 02:08:40 #12 exporting to image 02:08:40 #12 exporting layers 02:09:07 #12 exporting layers 23.8s done 02:09:07 #12 writing image sha256:21bc2ce156c2a825dcdfc413d8274b3dfd8b127fbb9442e4149cb7f0da0b3578 done 02:09:07 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 02:09:07 #12 DONE 23.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:08 + docker inspect -f . ci-base-image-arm64 02:09:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:08 prd-ubuntu20.04-docker-arm64-4c-16g-25092 does not seem to be running inside a container 02:09:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:09:11 $ docker top 9b29ae11c266376527cd415c3c30bbde1980e9d89e190e23d4f476a78a82847f -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:12 + go version 02:09:12 go version go1.21.0 linux/arm64 [Pipeline] } 02:09:12 $ docker stop --time=1 9b29ae11c266376527cd415c3c30bbde1980e9d89e190e23d4f476a78a82847f 02:09:14 $ docker rm -f --volumes 9b29ae11c266376527cd415c3c30bbde1980e9d89e190e23d4f476a78a82847f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:15 + docker inspect -f . ci-base-image-arm64 02:09:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:16 prd-ubuntu20.04-docker-arm64-4c-16g-25092 does not seem to be running inside a container 02:09:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:09:17 $ docker top 322a2134982b73c8c3390db4e4541459172cdf2ff83daee9580bf9d38ec5b0ee -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:17 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:09:18 + make test 02:09:18 go test ./... -coverprofile=coverage.out ./... 02:09:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 22.8% of statements 02:10:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:30 go vet ./... 02:10:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:42 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:10:42 $ docker stop --time=1 322a2134982b73c8c3390db4e4541459172cdf2ff83daee9580bf9d38ec5b0ee 02:10:44 $ docker rm -f --volumes 322a2134982b73c8c3390db4e4541459172cdf2ff83daee9580bf9d38ec5b0ee [Pipeline] // withDockerContainer [Pipeline] sh 02:10:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:45 Warning: overwriting stash ‘coverage-report’ 02:10:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:47 + ls -al . 02:10:47 total 180 02:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:09 . 02:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:07 .. 02:10:47 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:07 .dockerignore 02:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:07 .git 02:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:07 .github 02:10:47 -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:07 .gitignore 02:10:47 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:07 .golangci.yml 02:10:47 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 15 02:07 Attribution.txt 02:10:47 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 15 02:07 CHANGELOG.md 02:10:47 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 15 02:07 Dockerfile 02:10:47 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:07 GOVERNANCE.md 02:10:47 -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 02:07 Jenkinsfile 02:10:47 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:07 LICENSE 02:10:47 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 15 02:07 Makefile 02:10:47 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:07 OWNERS.md 02:10:47 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 15 02:07 README.md 02:10:47 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:03 VERSION 02:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:07 bin 02:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:07 cmd 02:10:47 -rw-r--r-- 1 jenkins jenkins 18506 Dec 15 02:10 coverage.out 02:10:47 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 15 02:07 go.mod 02:10:47 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:07 go.sum 02:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:07 internal 02:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:07 mock 02:10:47 -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 02:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:48 + 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=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 --label arch=arm64 --label version=0.0.0 . 02:10:51 #0 building with "default" instance using docker driver 02:10:51 02:10:51 #1 [internal] load build definition from Dockerfile 02:10:51 #1 transferring dockerfile: 1.84kB 0.0s done 02:10:51 #1 DONE 0.0s 02:10:51 02:10:51 #2 [internal] load .dockerignore 02:10:51 #2 transferring context: 182B 0.0s done 02:10:51 #2 DONE 0.0s 02:10:51 02:10:51 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:10:51 #3 DONE 0.0s 02:10:51 02:10:51 #4 [internal] load metadata for docker.io/library/alpine:3.18 02:10:51 #4 DONE 0.3s 02:10:51 02:10:51 #5 [internal] load build context 02:10:51 #5 transferring context: 26.09kB 0.1s done 02:10:51 #5 DONE 0.1s 02:10:51 02:10:51 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:10:51 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 02:10:51 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 02:10:51 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 02:10:51 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 02:10:51 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 02:10:51 #6 ... 02:10:51 02:10:51 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:10:51 #7 DONE 0.3s 02:10:51 02:10:51 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:10:51 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 02:10:51 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 02:10:51 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 02:10:52 #6 DONE 1.0s 02:10:52 02:10:52 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:10:52 #8 0.709 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:10:53 #8 1.060 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:10:54 #8 ... 02:10:54 02:10:54 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:10:54 #9 0.691 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:10:54 #9 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:10:54 #9 2.388 OK: 271 MiB in 56 packages 02:10:54 #9 DONE 2.7s 02:10:54 02:10:54 #10 [builder 3/7] WORKDIR /device-mqtt-go 02:10:54 #10 DONE 0.1s 02:10:54 02:10:54 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:10:54 #8 2.248 (1/1) Installing dumb-init (1.2.5-r2) 02:10:54 #8 2.264 Executing busybox-1.36.1-r5.trigger 02:10:54 #8 ... 02:10:54 02:10:54 #11 [builder 4/7] COPY go.mod vendor* ./ 02:10:54 #11 DONE 0.1s 02:10:54 02:10:54 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:10:54 #8 2.303 OK: 8 MiB in 16 packages 02:10:54 #8 DONE 2.7s 02:10:54 02:10:54 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:56 #12 DONE 1.5s 02:10:56 02:10:56 #13 [builder 6/7] COPY . . 02:10:56 #13 DONE 0.3s 02:10:56 02:10:56 #14 [stage-1 3/6] RUN apk --no-cache upgrade 02:10:56 #14 0.899 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:10:56 #14 1.373 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:10:57 #14 2.633 OK: 8 MiB in 16 packages 02:10:57 #14 DONE 3.0s 02:10:57 02:10:57 #15 [builder 7/7] RUN make build 02:10:57 #15 0.708 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:12:19 #15 DONE 79.2s 02:12:19 02:12:19 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 02:12:19 #16 DONE 0.7s 02:12:19 02:12:19 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 02:12:19 #17 DONE 0.1s 02:12:19 02:12:19 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 02:12:19 #18 DONE 0.1s 02:12:19 02:12:19 #19 exporting to image 02:12:19 #19 exporting layers 02:12:19 #19 exporting layers 0.3s done 02:12:19 #19 writing image sha256:2a4e5c41119f68ef51c72cd1750473065757e8a44dbe6bf8d684817b6f02ca5a done 02:12:19 #19 naming to docker.io/library/device-mqtt-arm64 done 02:12:19 #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:20 02:12:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:21 arm64: Pulling from edgex-lftools-log-publisher 02:12:21 8998bd30e6a1: Pulling fs layer 02:12:21 04944245beec: Pulling fs layer 02:12:21 699f458cf7ca: Pulling fs layer 02:12:21 765212b225bb: Pulling fs layer 02:12:21 f23df028b6ca: Pulling fs layer 02:12:21 d65c8cfc05b1: Pulling fs layer 02:12:21 2437ff75d9bd: Pulling fs layer 02:12:21 765212b225bb: Waiting 02:12:21 f23df028b6ca: Waiting 02:12:21 d65c8cfc05b1: Waiting 02:12:21 2437ff75d9bd: Waiting 02:12:21 04944245beec: Verifying Checksum 02:12:21 04944245beec: Download complete 02:12:21 765212b225bb: Verifying Checksum 02:12:21 765212b225bb: Download complete 02:12:21 f23df028b6ca: Verifying Checksum 02:12:21 f23df028b6ca: Download complete 02:12:21 d65c8cfc05b1: Verifying Checksum 02:12:21 d65c8cfc05b1: Download complete 02:12:21 699f458cf7ca: Verifying Checksum 02:12:21 699f458cf7ca: Download complete 02:12:22 8998bd30e6a1: Download complete 02:12:24 2437ff75d9bd: Verifying Checksum 02:12:24 2437ff75d9bd: Download complete 02:12:28 8998bd30e6a1: Pull complete 02:12:28 04944245beec: Pull complete 02:12:30 699f458cf7ca: Pull complete 02:12:30 765212b225bb: Pull complete 02:12:31 f23df028b6ca: Pull complete 02:12:31 d65c8cfc05b1: Pull complete 02:12:58 2437ff75d9bd: Pull complete 02:12:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:12:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:58 prd-ubuntu20.04-docker-arm64-4c-16g-25092 does not seem to be running inside a container 02:12:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:13:01 $ docker top 887b2b3a8ea6f9b4dfa7ef3e9d2225bc91398f5258919e989ba0edd040ada2eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:01 ---> job-cost.sh 02:13:02 lf-activate-venv: SKIPPING 02:13:02 INFO: No Stack... 02:13:02 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:03 INFO: Archiving Costs [Pipeline] sh 02:13:04 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:13:04 + cut -d, -f6 [Pipeline] lock 02:13:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] 02:13:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] did not exist. Created. 02:13:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:04 /w/workspace/device-mqtt-go/1@tmp/durable-8830055d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:13:05 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:05 Warning: overwriting stash ‘stack-cost’ 02:13:05 Stashed 1 file(s) [Pipeline] } 02:13:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:05 $ docker stop --time=1 887b2b3a8ea6f9b4dfa7ef3e9d2225bc91398f5258919e989ba0edd040ada2eb 02:13:06 $ docker rm -f --volumes 887b2b3a8ea6f9b4dfa7ef3e9d2225bc91398f5258919e989ba0edd040ada2eb [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 02:13:08 provisioning config files... 02:13:08 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config16924321226479850974tmp [Pipeline] { [Pipeline] sh 02:13:09 + set +x 02:13:09 + bash -s -- 02:13:09 + curl -s https://codecov.io/bash 02:13:09 02:13:09 _____ _ 02:13:09 / ____| | | 02:13:09 | | ___ __| | ___ ___ _____ __ 02:13:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:09 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:09 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:09 Bash-1.0.6 02:13:09 02:13:09 02:13:09 ==> git version 2.25.1 found 02:13:09 ==> 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 02:13:09 Release-Date: 2020-01-08 02:13:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:13:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:09 ==> Jenkins CI detected. 02:13:09 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-654 02:13:09 project root: . 02:13:09 --> token set from env 02:13:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:09 ==> Running gcov in . (disable via -X gcov) 02:13:09 ==> Python coveragepy not found 02:13:09 ==> Searching for coverage reports in: 02:13:09 + . 02:13:09 -> Found 1 reports 02:13:09 ==> Detecting git/mercurial file structure 02:13:09 ==> Reading reports 02:13:09 + ./coverage.out bytes=18506 02:13:09 ==> Appending adjustments 02:13:09 https://docs.codecov.io/docs/fixing-reports 02:13:09 + Found adjustments 02:13:09 ==> Gzipping contents 02:13:09 4.0K /tmp/codecov.lZXLQ3.gz 02:13:09 ==> Uploading reports 02:13:09 url: https://codecov.io 02:13:09 query: branch=PR-654&commit=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=654&job=&cmd_args= 02:13:09 -> Pinging Codecov 02:13:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-654&commit=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=654&job=&cmd_args= 02:13:09 -> Uploading to 02:13:09 https://storage.googleapis.com/codecov/v4/raw/2023-12-15/7D719EC7BBE17E464838252E33014C33/c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537/b56e0f52-db77-453a-8b20-9edaf8c08380.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T021309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8393c4d00c1cd1acf462f0bffc0347031fea19f57bb793d0344b09638de0bf0 02:13:09 % Total % Received % Xferd Average Speed Time Time Time Current 02:13:09 Dload Upload Total Spent Left Speed 02:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13029 --:--:-- --:--:-- --:--:-- 12974 02:13:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] } 02:13:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:13:13 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives ] 02:13:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives 02:13:13 total 16 02:13:13 drwxr-xr-x 3 root root 4096 Dec 15 02:06 . 02:13:13 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:06 .. 02:13:13 drwxr-xr-x 2 root root 4096 Dec 15 02:06 cost 02:13:13 -rw-r--r-- 1 root root 86 Dec 15 02:06 cost.csv 02:13:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives 02:13:13 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives 02:13:13 total 16 02:13:13 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:06 . 02:13:13 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:06 .. 02:13:13 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:06 cost 02:13:13 -rw-r--r-- 1 jenkins jenkins 86 Dec 15 02:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:13:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:13:14 ---> package-listing.sh 02:13:14 ++ facter osfamily 02:13:14 ++ tr '[:upper:]' '[:lower:]' 02:13:14 + OS_FAMILY=debian 02:13:14 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-654 02:13:14 + START_PACKAGES=/tmp/packages_start.txt 02:13:14 + END_PACKAGES=/tmp/packages_end.txt 02:13:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:13:14 + PACKAGES=/tmp/packages_start.txt 02:13:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-654 ']' 02:13:14 + PACKAGES=/tmp/packages_end.txt 02:13:14 + case "${OS_FAMILY}" in 02:13:14 + dpkg -l 02:13:14 + grep '^ii' 02:13:14 + '[' -f /tmp/packages_start.txt ']' 02:13:14 + '[' -f /tmp/packages_end.txt ']' 02:13:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:13:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-654 ']' 02:13:14 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives/ 02:13:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives/ [Pipeline] echo 02:13:14 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-654/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:13:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:16 prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container 02:13:16 $ 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-654/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-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:13:17 $ docker top 52cc72fadf20539eb5e0d7d998a319eb5487649b563fcfc89694bfa9211984f6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:13:17 + touch /tmp/pre-build-complete [Pipeline] sh 02:13:17 + mkdir -p /var/log/sysstat [Pipeline] sh 02:13:18 + ls /var/log/sa-host 02:13:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:13:18 provisioning config files... 02:13:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config15081101393360360696tmp [Pipeline] { [Pipeline] echo 02:13:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:13:18 ---> create-netrc.sh [Pipeline] } 02:13:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:13:20 ---> python-tools-install.sh [Pipeline] echo 02:13:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:13:20 ---> sudo-logs.sh 02:13:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:13:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:13:20 ---> job-cost.sh 02:13:20 lf-activate-venv: SKIPPING 02:13:20 DEBUG: total: 0.2199999988079071 02:13:20 INFO: Retrieving Stack Cost... 02:13:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:21 INFO: Archiving Costs [Pipeline] echo 02:13:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:13:22 ---> logs-deploy.sh 02:13:22 lf-activate-venv: SKIPPING 02:13:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-654/1 02:13:22 INFO: archiving workspace using pattern(s): 02:13:23 Archives upload complete. 02:13:23 INFO: archiving logs to Nexus