Pull request #691 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4+cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (ae0830a2684947b55c8edbe0201e6d621b3e122a) 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-ssh15843369375843910863.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh3785888861018556934.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 f3350a1713306dce7682ed7e37d5774890d03277 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-691/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-691/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11937650289415245124.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-691/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2576910917993275369.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh16156665256388147027.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-691/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-691/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9391837161846222206.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 f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8471’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8472’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-8823’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-8824’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8857’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8858 in /w/workspace/gexfoundry_device-mqtt-go_PR-691 [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-691 # 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/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 Merge succeeded, producing c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 Checking out Revision c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 (PR-691) 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 f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:30:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:16 ========================================================= 01:30:16 EdgeX Global Pipelines Version Info 01:30:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:30:17 ------------------- 01:30:17 stable info: 01:30:17 ------------------- 01:30:17 Commited By: Cherry Wang cherry@iotechsys.com 01:30:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:30:17 Message: update stable to v1.0.263 01:30:17 ------------------- 01:30:17 experimental info: 01:30:17 ------------------- 01:30:17 Commited By: Cherry Wang cherry@iotechsys.com 01:30:17 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 01:30:17 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:30:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:30:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:30:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-691 [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-691 [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-691 [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c67a989 [Pipeline] echo 01:30:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:19 provisioning config files... 01:30:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/config5047411056805426403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:20 ---> ****-login.sh 01:30:20 nexus3.edgexfoundry.org:10001 01:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:20 Configure a credential helper to remove this warning. See 01:30:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:20 01:30:20 Login Succeeded 01:30:20 nexus3.edgexfoundry.org:10002 01:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:20 Configure a credential helper to remove this warning. See 01:30:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:20 01:30:20 Login Succeeded 01:30:20 nexus3.edgexfoundry.org:10003 01:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:20 Configure a credential helper to remove this warning. See 01:30:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:20 01:30:20 Login Succeeded 01:30:20 nexus3.edgexfoundry.org:10004 01:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:20 Configure a credential helper to remove this warning. See 01:30:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:20 01:30:20 Login Succeeded 01:30:20 ****.io 01:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:24 Configure a credential helper to remove this warning. See 01:30:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:24 01:30:24 Login Succeeded 01:30:24 ---> ****-login.sh ends [Pipeline] } 01:30:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:30:25 + git rev-list -1 --merges c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4~1..c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 [Pipeline] echo 01:30:25 -----------> git rev-list -1 --merges c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4~1..c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 [false] [Pipeline] sh 01:30:25 + git log --format=format:%s -1 c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 [Pipeline] echo 01:30:25 ========================================================= 01:30:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:30:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:26 + git log --format=format:%s -1 c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 [Pipeline] echo 01:30:26 [semverPrep] GIT_COMMIT: c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:30:26 [semverPrep] This is not a build commit. [Pipeline] sh 01:30:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:30:26 + grep -v github /etc/ssh/ssh_known_hosts 01:30:26 + [ -e /tmp/ssh_known_hosts ] 01:30:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:30:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:30:26 + sudo tee -a /etc/ssh/ssh_known_hosts 01:30:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:27 01:30:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:27 0.1.4: Pulling from edgex-devops/py-git-semver 01:30:27 b85a868b505f: Pulling fs layer 01:30:27 e2be974225ed: Pulling fs layer 01:30:27 339a4e72a1f5: Pulling fs layer 01:30:27 988bab9f4d93: Pulling fs layer 01:30:27 1469e6f7b9e6: Pulling fs layer 01:30:27 eaf3925da568: Pulling fs layer 01:30:27 bab4dde63d76: Pulling fs layer 01:30:27 bde34c3a00c8: Pulling fs layer 01:30:27 b352a97aabf1: Pulling fs layer 01:30:27 4872d77fe225: Pulling fs layer 01:30:27 5851b861e8e6: Pulling fs layer 01:30:27 988bab9f4d93: Waiting 01:30:27 bde34c3a00c8: Waiting 01:30:27 5851b861e8e6: Waiting 01:30:27 b352a97aabf1: Waiting 01:30:27 4872d77fe225: Waiting 01:30:27 eaf3925da568: Waiting 01:30:27 bab4dde63d76: Waiting 01:30:27 e2be974225ed: Download complete 01:30:27 988bab9f4d93: Download complete 01:30:27 1469e6f7b9e6: Verifying Checksum 01:30:27 1469e6f7b9e6: Download complete 01:30:27 eaf3925da568: Verifying Checksum 01:30:27 eaf3925da568: Download complete 01:30:27 339a4e72a1f5: Verifying Checksum 01:30:27 339a4e72a1f5: Download complete 01:30:27 bde34c3a00c8: Download complete 01:30:27 b352a97aabf1: Download complete 01:30:27 4872d77fe225: Download complete 01:30:27 5851b861e8e6: Download complete 01:30:27 b85a868b505f: Verifying Checksum 01:30:27 b85a868b505f: Download complete 01:30:28 bab4dde63d76: Verifying Checksum 01:30:28 bab4dde63d76: Download complete 01:30:29 b85a868b505f: Pull complete 01:30:29 e2be974225ed: Pull complete 01:30:29 339a4e72a1f5: Pull complete 01:30:29 988bab9f4d93: Pull complete 01:30:30 1469e6f7b9e6: Pull complete 01:30:30 eaf3925da568: Pull complete 01:30:32 bab4dde63d76: Pull complete 01:30:32 bde34c3a00c8: Pull complete 01:30:32 b352a97aabf1: Pull complete 01:30:32 4872d77fe225: Pull complete 01:30:32 5851b861e8e6: Pull complete 01:30:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:32 prd-ubuntu20.04-docker-8c-8g-8858 does not seem to be running inside a container 01:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-691 -v /w/workspace/gexfoundry_device-mqtt-go_PR-691:/w/workspace/gexfoundry_device-mqtt-go_PR-691:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-691@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 01:30:35 $ docker top 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c -eo pid,comm 01:30:35 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). 01:30:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:35 [ssh-agent] Looking for ssh-agent implementation... 01:30:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:35 $ docker exec 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c ssh-agent 01:30:35 SSH_AUTH_SOCK=/tmp/ssh-G9L7e7qmlyJx/agent.32 01:30:35 SSH_AGENT_PID=38 01:30:35 Running ssh-add (command line suppressed) 01:30:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/private_key_12852610157251722486.key (/w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/private_key_12852610157251722486.key) 01:30:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:36 + git tag --points-at HEAD [Pipeline] } 01:30:36 $ docker exec --env ******** --env ******** 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c ssh-agent -k 01:30:36 unset SSH_AUTH_SOCK; 01:30:36 unset SSH_AGENT_PID; 01:30:36 echo Agent pid 38 killed; 01:30:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:36 [ssh-agent] Looking for ssh-agent implementation... 01:30:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:36 $ docker exec 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c ssh-agent 01:30:36 SSH_AUTH_SOCK=/tmp/ssh-qTAAROhS96fY/agent.71 01:30:36 SSH_AGENT_PID=77 01:30:36 Running ssh-add (command line suppressed) 01:30:36 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/private_key_10003322190386326226.key (/w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/private_key_10003322190386326226.key) 01:30:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:37 + git semver init 01:30:37 2024-08-28 01:30:37,438 [run_init] DEBUG init version:0.0.0 force:False 01:30:37 2024-08-28 01:30:37,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver 01:30:37 2024-08-28 01:30:37,439 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver 01:30:37 2024-08-28 01:30:37,439 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-691, universal_newlines=False, shell=None, istream=None) 01:30:39 2024-08-28 01:30:39,198 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-691/.git/info/exclude 01:30:39 2024-08-28 01:30:39,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver/PR-691 with force:False 01:30:39 2024-08-28 01:30:39,199 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver/PR-691 01:30:39 2024-08-28 01:30:39,203 [execute] INFO git cat-file --batch-check 01:30:39 2024-08-28 01:30:39,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver, universal_newlines=False, shell=None, istream=) 01:30:39 2024-08-28 01:30:39,210 [execute] INFO git cat-file --batch 01:30:39 2024-08-28 01:30:39,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver, universal_newlines=False, shell=None, istream=) 01:30:39 2024-08-28 01:30:39,216 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-691/.semver/PR-691 01:30:39 0.0.0 [Pipeline] } 01:30:39 $ docker exec --env ******** --env ******** 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c ssh-agent -k 01:30:39 unset SSH_AUTH_SOCK; 01:30:39 unset SSH_AGENT_PID; 01:30:39 echo Agent pid 77 killed; 01:30:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:40 + git semver [Pipeline] } 01:30:40 $ docker stop --time=1 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c 01:30:41 $ docker rm -f --volumes 5c6955fd31d54c387902267a272d9c3d46db11e682cf9585451f489afbbca18c [Pipeline] // withDockerContainer [Pipeline] sh 01:30:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:42 Stashed 1 file(s) [Pipeline] echo 01:30:42 [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 01:30:43 provisioning config files... 01:30:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/config18217532287971217437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:43 ---> ****-login.sh 01:30:43 nexus3.edgexfoundry.org:10001 01:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:43 Configure a credential helper to remove this warning. See 01:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:43 01:30:43 Login Succeeded 01:30:43 nexus3.edgexfoundry.org:10002 01:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:43 Configure a credential helper to remove this warning. See 01:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:43 01:30:43 Login Succeeded 01:30:43 nexus3.edgexfoundry.org:10003 01:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:43 Configure a credential helper to remove this warning. See 01:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:43 01:30:43 Login Succeeded 01:30:43 nexus3.edgexfoundry.org:10004 01:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:43 Configure a credential helper to remove this warning. See 01:30:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:43 01:30:43 Login Succeeded 01:30:43 ****.io 01:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:30:44 Configure a credential helper to remove this warning. See 01:30:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:30:44 01:30:44 Login Succeeded 01:30:44 ---> ****-login.sh ends [Pipeline] } 01:30:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:30:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:30:44 ========================================================= 01:30:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:30:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:45 + 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 . 01:30:45 Sending build context to Docker daemon 20.84MB 01:30:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:30:45 Step 2/12 : FROM ${BASE} AS builder 01:30:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:45 619be1103602: Pulling fs layer 01:30:45 7862e08f4a3e: Pulling fs layer 01:30:45 5df492c9dc93: Pulling fs layer 01:30:45 7629e6793208: Pulling fs layer 01:30:45 4f4fb700ef54: Pulling fs layer 01:30:45 fb5054dd5b73: Pulling fs layer 01:30:45 eeca6798cff9: Pulling fs layer 01:30:45 aa269ceb94a6: Pulling fs layer 01:30:45 ada007ff1a6a: Pulling fs layer 01:30:45 4f4fb700ef54: Waiting 01:30:45 eeca6798cff9: Waiting 01:30:45 fb5054dd5b73: Waiting 01:30:45 aa269ceb94a6: Waiting 01:30:45 ada007ff1a6a: Waiting 01:30:45 7862e08f4a3e: Download complete 01:30:45 7629e6793208: Download complete 01:30:45 4f4fb700ef54: Verifying Checksum 01:30:45 4f4fb700ef54: Download complete 01:30:45 fb5054dd5b73: Verifying Checksum 01:30:45 fb5054dd5b73: Download complete 01:30:45 619be1103602: Verifying Checksum 01:30:45 619be1103602: Download complete 01:30:45 eeca6798cff9: Verifying Checksum 01:30:45 eeca6798cff9: Download complete 01:30:45 ada007ff1a6a: Verifying Checksum 01:30:45 ada007ff1a6a: Download complete 01:30:45 619be1103602: Pull complete 01:30:45 7862e08f4a3e: Pull complete 01:30:45 5df492c9dc93: Verifying Checksum 01:30:45 5df492c9dc93: Download complete 01:30:46 aa269ceb94a6: Verifying Checksum 01:30:46 aa269ceb94a6: Download complete 01:30:49 5df492c9dc93: Pull complete 01:30:49 7629e6793208: Pull complete 01:30:49 4f4fb700ef54: Pull complete 01:30:49 fb5054dd5b73: Pull complete 01:30:49 eeca6798cff9: Pull complete 01:30:52 aa269ceb94a6: Pull complete 01:30:52 ada007ff1a6a: Pull complete 01:30:52 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:30:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:30:52 ---> f489d0715acc 01:30:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:30:56 ---> Running in c20384399c18 01:30:56 Removing intermediate container c20384399c18 01:30:56 ---> 6e1a9dad1d05 01:30:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:56 ---> Running in 670d4ef6b638 01:30:56 Removing intermediate container 670d4ef6b638 01:30:56 ---> da56d7c9a47f 01:30:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:56 ---> Running in 0bbc27faa9a9 01:30:56 Removing intermediate container 0bbc27faa9a9 01:30:56 ---> 3bdd10f3ec0e 01:30:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:56 ---> Running in 0a46ee14e617 01:30:56 Removing intermediate container 0a46ee14e617 01:30:56 ---> 0bf8d85be55b 01:30:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:56 ---> Running in 7912f8fca3f3 01:30:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:30:57 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:30:57 (2/4) Installing libedit (20221030.3.1-r1) 01:30:57 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:30:57 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:30:57 Executing busybox-1.36.1-r5.trigger 01:30:57 OK: 268 MiB in 56 packages 01:30:57 Still waiting to schedule task 01:30:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8856’ 01:30:57 Removing intermediate container 7912f8fca3f3 01:30:57 ---> af40318d50fa 01:30:57 Step 8/12 : WORKDIR /device-mqtt-go 01:30:57 ---> Running in f8e153d73443 01:30:57 Removing intermediate container f8e153d73443 01:30:57 ---> d6b9925386c0 01:30:57 Step 9/12 : COPY go.mod vendor* ./ 01:30:57 ---> 2e24de0afaf8 01:30:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:57 ---> Running in f2c23fd4b374 01:32:05 Removing intermediate container f2c23fd4b374 01:32:05 ---> e2c0af721330 01:32:05 Step 11/12 : COPY . . 01:32:05 ---> 17ada219c2e3 01:32:05 Step 12/12 : RUN $MAKE 01:32:05 ---> Running in b00b37a27fb4 01:32:05 noop 01:32:05 Removing intermediate container b00b37a27fb4 01:32:05 ---> 56ca816c3686 01:32:05 Successfully built 56ca816c3686 01:32:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:06 + docker inspect -f . ci-base-image-x86_64 01:32:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:06 prd-ubuntu20.04-docker-8c-8g-8858 does not seem to be running inside a container 01:32:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-691 -v /w/workspace/gexfoundry_device-mqtt-go_PR-691:/w/workspace/gexfoundry_device-mqtt-go_PR-691:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-691@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 01:32:07 $ docker top fd454b7c691ec1e1cdc701b67ff0eff9d0bb9b1dd0032dc1a3d2a21ee75a6185 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:07 + go version 01:32:07 go version go1.21.9 linux/amd64 [Pipeline] } 01:32:07 $ docker stop --time=1 fd454b7c691ec1e1cdc701b67ff0eff9d0bb9b1dd0032dc1a3d2a21ee75a6185 01:32:08 $ docker rm -f --volumes fd454b7c691ec1e1cdc701b67ff0eff9d0bb9b1dd0032dc1a3d2a21ee75a6185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:09 + docker inspect -f . ci-base-image-x86_64 01:32:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:09 prd-ubuntu20.04-docker-8c-8g-8858 does not seem to be running inside a container 01:32:09 $ 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-691 -v /w/workspace/gexfoundry_device-mqtt-go_PR-691:/w/workspace/gexfoundry_device-mqtt-go_PR-691:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-691@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 01:32:10 $ docker top 9c1faae0e817411649450b0e5b7356482ee94de69d0414d7b1c20e2bd4c8ebe5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-691 [Pipeline] fileExists [Pipeline] sh 01:32:11 + make test 01:32:11 go test ./... -coverprofile=coverage.out ./... 01:32:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:32:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:32:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:32:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 01:32:38 go vet ./... 01:32:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:44 ./bin/test-attribution-txt.sh 01:32:44 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:32:44 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:32:44 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:32:44 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:32:44 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:32:44 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:32:44 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:32:44 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:32:44 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:32:44 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:32:44 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:32:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:32:44 $ docker stop --time=1 9c1faae0e817411649450b0e5b7356482ee94de69d0414d7b1c20e2bd4c8ebe5 01:32:46 $ docker rm -f --volumes 9c1faae0e817411649450b0e5b7356482ee94de69d0414d7b1c20e2bd4c8ebe5 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:32:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:47 + ls -al . 01:32:47 total 252 01:32:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 28 01:32 . 01:32:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 01:30 .. 01:32:47 -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 01:30 .dockerignore 01:32:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 01:32 .git 01:32:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 01:30 .github 01:32:47 -rw-rw-r-- 1 jenkins jenkins 264 Aug 28 01:30 .gitignore 01:32:47 -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 01:30 .golangci.yml 01:32:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 01:30 .semver 01:32:47 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 28 01:30 Attribution.txt 01:32:47 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 28 01:30 CHANGELOG.md 01:32:47 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 28 01:30 Dockerfile 01:32:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 01:30 GOVERNANCE.md 01:32:47 -rw-rw-r-- 1 jenkins jenkins 657 Aug 28 01:30 Jenkinsfile 01:32:47 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 01:30 LICENSE 01:32:47 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 28 01:30 Makefile 01:32:47 -rw-rw-r-- 1 jenkins jenkins 620 Aug 28 01:30 OWNERS.md 01:32:47 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 28 01:30 README.md 01:32:47 -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 01:30 VERSION 01:32:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 01:30 bin 01:32:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 01:30 cmd 01:32:47 -rw-r--r-- 1 jenkins jenkins 18506 Aug 28 01:32 coverage.out 01:32:47 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 28 01:30 go.mod 01:32:47 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 28 01:30 go.sum 01:32:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 01:30 internal 01:32:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 01:30 mock 01:32:47 -rw-rw-r-- 1 jenkins jenkins 227 Aug 28 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:48 + 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=c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 --label arch=amd64 --label version=0.0.0 . 01:32:48 Sending build context to Docker daemon 20.86MB 01:32:48 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:32:48 Step 2/25 : FROM ${BASE} AS builder 01:32:48 ---> 56ca816c3686 01:32:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:32:48 ---> Running in e338d56a749d 01:32:48 Removing intermediate container e338d56a749d 01:32:48 ---> 9b418c2d2740 01:32:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:48 ---> Running in 40af745784a9 01:32:48 Removing intermediate container 40af745784a9 01:32:48 ---> 2366972913cc 01:32:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:32:48 ---> Running in b4a0bc165c8b 01:32:48 Removing intermediate container b4a0bc165c8b 01:32:48 ---> f59dea24de49 01:32:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:32:48 ---> Running in 147127987b6b 01:32:49 Removing intermediate container 147127987b6b 01:32:49 ---> 79a84b87c820 01:32:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:49 ---> Running in e0dd9958cc0c 01:32:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:32:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:32:49 OK: 268 MiB in 56 packages 01:32:49 Removing intermediate container e0dd9958cc0c 01:32:49 ---> 8e5bad7eca3b 01:32:49 Step 8/25 : WORKDIR /device-mqtt-go 01:32:49 ---> Running in f05f59f595c2 01:32:49 Removing intermediate container f05f59f595c2 01:32:49 ---> c2c81e5f3268 01:32:49 Step 9/25 : COPY go.mod vendor* ./ 01:32:50 ---> 9eb753cdf2a2 01:32:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:50 ---> Running in ab5e0a923538 01:32:50 Removing intermediate container ab5e0a923538 01:32:50 ---> 21109b84ab8a 01:32:50 Step 11/25 : COPY . . 01:32:51 ---> c7b5408fa721 01:32:51 Step 12/25 : RUN $MAKE 01:32:51 ---> Running in 2c082cfe67b5 01:32:51 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.34" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:33:24 Removing intermediate container 2c082cfe67b5 01:33:24 ---> b370b41e185a 01:33:24 Step 13/25 : FROM alpine:3.18 01:33:24 3.18: Pulling from library/alpine 01:33:24 930bdd4d222e: Pulling fs layer 01:33:24 930bdd4d222e: Verifying Checksum 01:33:24 930bdd4d222e: Download complete 01:33:24 930bdd4d222e: Pull complete 01:33:24 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:33:24 Status: Downloaded newer image for alpine:3.18 01:33:24 ---> 18f865063206 01:33:24 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:33:24 ---> Running in caf115ede47c 01:33:24 Removing intermediate container caf115ede47c 01:33:24 ---> fd0cffb5698b 01:33:24 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:33:24 ---> Running in 991fc0b80d89 01:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:33:24 (1/1) Installing dumb-init (1.2.5-r2) 01:33:24 Executing busybox-1.36.1-r7.trigger 01:33:24 OK: 7 MiB in 16 packages 01:33:24 Removing intermediate container 991fc0b80d89 01:33:24 ---> b1b5e8b78054 01:33:24 Step 16/25 : RUN apk --no-cache upgrade 01:33:24 ---> Running in 6bc17e5c04e0 01:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:33:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:33:24 OK: 7 MiB in 16 packages 01:33:25 Removing intermediate container 6bc17e5c04e0 01:33:25 ---> 6bee4eb478b1 01:33:25 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:33:26 ---> 062f871e7f4f 01:33:26 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:33:26 ---> 974210eb646b 01:33:26 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:33:26 ---> 03c51c277f37 01:33:26 Step 20/25 : EXPOSE 59982 01:33:26 ---> Running in dc653dbe36d2 01:33:26 Removing intermediate container dc653dbe36d2 01:33:26 ---> d3db2095c10a 01:33:26 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:33:26 ---> Running in 3aa6d09a3185 01:33:26 Removing intermediate container 3aa6d09a3185 01:33:26 ---> a29e192170f5 01:33:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:33:26 ---> Running in 7daff206fad3 01:33:26 Removing intermediate container 7daff206fad3 01:33:26 ---> ce367232ead4 01:33:26 Step 23/25 : LABEL arch=amd64 01:33:26 ---> Running in 84c7b18ff1e9 01:33:26 Removing intermediate container 84c7b18ff1e9 01:33:26 ---> c47133485283 01:33:26 Step 24/25 : LABEL git_sha=c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 01:33:26 ---> Running in 1a07b64bf88c 01:33:26 Removing intermediate container 1a07b64bf88c 01:33:26 ---> a187308e65e5 01:33:26 Step 25/25 : LABEL version=0.0.0 01:33:26 ---> Running in 5272f04660ee 01:33:26 Removing intermediate container 5272f04660ee 01:33:26 ---> cb3493ef7345 01:33:26 [Warning] One or more build-args [ARCH] were not consumed 01:33:27 Successfully built cb3493ef7345 01:33:27 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:28 01:33:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:28 latest: Pulling from edgex-lftools-log-publisher 01:33:28 5eb5b503b376: Pulling fs layer 01:33:28 5c69ac0246d0: Pulling fs layer 01:33:28 ec43610c2a17: Pulling fs layer 01:33:28 3a2ae6a8a46f: Pulling fs layer 01:33:28 33b1e0a273af: Pulling fs layer 01:33:28 5d3b04190fa2: Pulling fs layer 01:33:28 2f39f015ded8: Pulling fs layer 01:33:28 3a2ae6a8a46f: Waiting 01:33:28 33b1e0a273af: Waiting 01:33:28 5d3b04190fa2: Waiting 01:33:28 2f39f015ded8: Waiting 01:33:28 5c69ac0246d0: Verifying Checksum 01:33:28 5c69ac0246d0: Download complete 01:33:28 3a2ae6a8a46f: Verifying Checksum 01:33:28 3a2ae6a8a46f: Download complete 01:33:28 33b1e0a273af: Verifying Checksum 01:33:28 33b1e0a273af: Download complete 01:33:28 ec43610c2a17: Verifying Checksum 01:33:28 ec43610c2a17: Download complete 01:33:28 5d3b04190fa2: Verifying Checksum 01:33:28 5d3b04190fa2: Download complete 01:33:28 5eb5b503b376: Verifying Checksum 01:33:28 5eb5b503b376: Download complete 01:33:29 2f39f015ded8: Download complete 01:33:29 5eb5b503b376: Pull complete 01:33:29 5c69ac0246d0: Pull complete 01:33:30 ec43610c2a17: Pull complete 01:33:30 3a2ae6a8a46f: Pull complete 01:33:30 33b1e0a273af: Pull complete 01:33:30 5d3b04190fa2: Pull complete 01:33:34 2f39f015ded8: Pull complete 01:33:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:35 prd-ubuntu20.04-docker-8c-8g-8858 does not seem to be running inside a container 01:33:35 $ 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-691 -v /w/workspace/gexfoundry_device-mqtt-go_PR-691:/w/workspace/gexfoundry_device-mqtt-go_PR-691:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-691@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 01:33:39 $ docker top 19523ae13220308ef8d8a0ad7fe5e355c4f1e2acf3fcb23878c622a28e941077 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:40 ---> job-cost.sh 01:33:40 lf-activate-venv: SKIPPING 01:33:40 INFO: No Stack... 01:33:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:40 INFO: Archiving Costs [Pipeline] sh 01:33:41 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives/cost.csv 01:33:41 + cut -d, -f6 [Pipeline] lock 01:33:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] 01:33:41 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] did not exist. Created. 01:33:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:33:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:33:41 Stashed 1 file(s) [Pipeline] } 01:33:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:33:41 $ docker stop --time=1 19523ae13220308ef8d8a0ad7fe5e355c4f1e2acf3fcb23878c622a28e941077 01:33:43 $ docker rm -f --volumes 19523ae13220308ef8d8a0ad7fe5e355c4f1e2acf3fcb23878c622a28e941077 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:34:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8859 in /w/workspace/gexfoundry_device-mqtt-go_PR-691 [Pipeline] { [Pipeline] ws 01:34:26 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:34:27 The recommended git tool is: git 01:34:36 using credential edgex-jenkins-ssh 01:34:41 Cloning the remote Git repository 01:34:41 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:34:41 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:34:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:34:41 > git --version # timeout=10 01:34:41 > git --version # 'git version 2.25.1' 01:34:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:34:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:34:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:34:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/691/head:refs/remotes/origin/PR-691 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:34:46 Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 01:34:46 Merge succeeded, producing c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 01:34:46 Checking out Revision c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 (PR-691) 01:34:47 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:34:47 > git --version # timeout=10 01:34:47 > git --version # 'git version 2.25.1' 01:34:47 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 01:34:46 > git config core.sparsecheckout # timeout=10 01:34:46 > git checkout -f c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 # timeout=10 01:34:46 > git remote # timeout=10 01:34:46 > git config --get remote.origin.url # timeout=10 01:34:46 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:46 > git merge cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 01:34:46 > git rev-parse HEAD^{commit} # timeout=10 01:34:46 > git config core.sparsecheckout # timeout=10 01:34:46 > git checkout -f c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:34:52 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:52 Dload Upload Total Spent Left Speed 01:34:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 01:34:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:34:53 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 01:34:53 01:34:53 { 01:34:53 "registry-mirrors": [ 01:34:53 "https://nexus3.edgexfoundry.org:10001" 01:34:53 ], 01:34:53 "bip": "10.250.0.254/24", 01:34:53 "hosts": [ 01:34:53 "tcp://0.0.0.0:5555", 01:34:53 "unix:///var/run/docker.sock" 01:34:53 ], 01:34:53 "mtu": 1458, 01:34:53 "selinux-enabled": true, 01:34:53 "seccomp-profile": "/etc/docker/seccomp.json" 01:34:53 } [Pipeline] sh 01:34:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:34:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:12 provisioning config files... 01:35:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17502559390225627398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:12 ---> ****-login.sh 01:35:12 nexus3.edgexfoundry.org:10001 01:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:13 Configure a credential helper to remove this warning. See 01:35:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:13 01:35:13 Login Succeeded 01:35:13 nexus3.edgexfoundry.org:10002 01:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:14 Configure a credential helper to remove this warning. See 01:35:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:14 01:35:14 Login Succeeded 01:35:14 nexus3.edgexfoundry.org:10003 01:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:14 Configure a credential helper to remove this warning. See 01:35:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:14 01:35:14 Login Succeeded 01:35:14 nexus3.edgexfoundry.org:10004 01:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:14 Configure a credential helper to remove this warning. See 01:35:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:14 01:35:14 Login Succeeded 01:35:14 ****.io 01:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:35:16 Configure a credential helper to remove this warning. See 01:35:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:35:16 01:35:16 Login Succeeded 01:35:16 ---> ****-login.sh ends [Pipeline] } 01:35:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:35:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:35:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:35:17 ========================================================= 01:35:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:35:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:17 + 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 . 01:35:18 Sending build context to Docker daemon 10.53MB 01:35:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:35:18 Step 2/12 : FROM ${BASE} AS builder 01:35:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:35:18 c6b39de5b339: Pulling fs layer 01:35:18 a69c41024577: Pulling fs layer 01:35:18 d6de4b400683: Pulling fs layer 01:35:18 35cb2a7552d0: Pulling fs layer 01:35:18 4f4fb700ef54: Pulling fs layer 01:35:18 464afbd9ba4c: Pulling fs layer 01:35:18 00f215d4a9da: Pulling fs layer 01:35:18 d496ad576159: Pulling fs layer 01:35:18 464afbd9ba4c: Waiting 01:35:18 00f215d4a9da: Waiting 01:35:18 35cb2a7552d0: Waiting 01:35:18 4f4fb700ef54: Waiting 01:35:18 d496ad576159: Waiting 01:35:18 a69c41024577: Verifying Checksum 01:35:18 a69c41024577: Download complete 01:35:18 35cb2a7552d0: Verifying Checksum 01:35:18 35cb2a7552d0: Download complete 01:35:18 4f4fb700ef54: Verifying Checksum 01:35:18 4f4fb700ef54: Download complete 01:35:18 c6b39de5b339: Verifying Checksum 01:35:18 c6b39de5b339: Download complete 01:35:18 464afbd9ba4c: Verifying Checksum 01:35:18 464afbd9ba4c: Download complete 01:35:18 d496ad576159: Verifying Checksum 01:35:18 d496ad576159: Download complete 01:35:19 c6b39de5b339: Pull complete 01:35:20 a69c41024577: Pull complete 01:35:20 d6de4b400683: Verifying Checksum 01:35:20 d6de4b400683: Download complete 01:35:21 00f215d4a9da: Verifying Checksum 01:35:21 00f215d4a9da: Download complete 01:35:34 d6de4b400683: Pull complete 01:35:34 35cb2a7552d0: Pull complete 01:35:34 4f4fb700ef54: Pull complete 01:35:34 464afbd9ba4c: Pull complete 01:35:44 00f215d4a9da: Pull complete 01:35:45 d496ad576159: Pull complete 01:35:45 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:35:45 ---> f246e2811388 01:35:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:35:46 ---> Running in 55742c82bfda 01:35:46 Removing intermediate container 55742c82bfda 01:35:46 ---> 8addd81388f2 01:35:46 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:35:47 ---> Running in 855439c0069a 01:35:47 Removing intermediate container 855439c0069a 01:35:47 ---> b062dc5533e6 01:35:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:35:47 ---> Running in 4855c8586831 01:35:47 Removing intermediate container 4855c8586831 01:35:47 ---> dcacffdd19f3 01:35:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:35:47 ---> Running in e1a96da69b82 01:35:47 Removing intermediate container e1a96da69b82 01:35:47 ---> b8af4557ad42 01:35:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:48 ---> Running in e8847938c5c0 01:35:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:35:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:35:50 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:35:50 (2/4) Installing libedit (20221030.3.1-r1) 01:35:50 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:35:50 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:35:50 Executing busybox-1.36.1-r5.trigger 01:35:50 OK: 271 MiB in 56 packages 01:35:52 Removing intermediate container e8847938c5c0 01:35:52 ---> 4a6e3aa8659d 01:35:52 Step 8/12 : WORKDIR /device-mqtt-go 01:35:52 ---> Running in 8cf4a9551e07 01:35:52 Removing intermediate container 8cf4a9551e07 01:35:52 ---> 1b7a48973e08 01:35:52 Step 9/12 : COPY go.mod vendor* ./ 01:35:52 ---> b40edbef4c16 01:35:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:52 ---> Running in 9ddfd4cc7746 01:37:59 Removing intermediate container 9ddfd4cc7746 01:37:59 ---> 3a1051793c29 01:37:59 Step 11/12 : COPY . . 01:37:59 ---> 960f9bf1f2ba 01:37:59 Step 12/12 : RUN $MAKE 01:37:59 ---> Running in 6c085a762034 01:37:59 noop 01:37:59 Removing intermediate container 6c085a762034 01:37:59 ---> 0d588474693d 01:37:59 Successfully built 0d588474693d 01:37:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:00 + docker inspect -f . ci-base-image-arm64 01:38:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:00 prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container 01:38:00 $ 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 01:38:01 $ docker top bf48efc4b02843c1f9c621b02fe36c062b7e9ce03a7371dd6f427959a09aa46c -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:02 + go version 01:38:02 go version go1.21.9 linux/arm64 [Pipeline] } 01:38:02 $ docker stop --time=1 bf48efc4b02843c1f9c621b02fe36c062b7e9ce03a7371dd6f427959a09aa46c 01:38:04 $ docker rm -f --volumes bf48efc4b02843c1f9c621b02fe36c062b7e9ce03a7371dd6f427959a09aa46c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:05 + docker inspect -f . ci-base-image-arm64 01:38:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:05 prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container 01:38:05 $ 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 01:38:06 $ docker top 76bdbbe22a65a3e15583c2d7d896094d03cc942ef776de00fa2e088c31bf1836 -eo pid,comm [Pipeline] { [Pipeline] sh 01:38:07 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:38:08 + make test 01:38:08 go test ./... -coverprofile=coverage.out ./... 01:38:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:41:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:41:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:41:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.8% of statements 01:41:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:41:39 go vet ./... 01:42:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:26 ./bin/test-attribution-txt.sh 01:42:26 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:42:26 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:42:26 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:42:26 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:42:26 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:42:26 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:42:26 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:42:26 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:42:26 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:42:26 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:42:26 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:42:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:42:28 $ docker stop --time=1 76bdbbe22a65a3e15583c2d7d896094d03cc942ef776de00fa2e088c31bf1836 01:42:30 $ docker rm -f --volumes 76bdbbe22a65a3e15583c2d7d896094d03cc942ef776de00fa2e088c31bf1836 [Pipeline] // withDockerContainer [Pipeline] sh 01:42:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:32 Warning: overwriting stash ‘coverage-report’ 01:42:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:42:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:33 + ls -al . 01:42:33 total 248 01:42:33 drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 01:38 . 01:42:33 drwxrwxr-x 4 jenkins jenkins 4096 Aug 28 01:34 .. 01:42:33 -rw-rw-r-- 1 jenkins jenkins 140 Aug 28 01:34 .dockerignore 01:42:33 drwxrwxr-x 8 jenkins jenkins 4096 Aug 28 01:34 .git 01:42:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 01:34 .github 01:42:33 -rw-rw-r-- 1 jenkins jenkins 264 Aug 28 01:34 .gitignore 01:42:33 -rw-rw-r-- 1 jenkins jenkins 41 Aug 28 01:34 .golangci.yml 01:42:33 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 28 01:34 Attribution.txt 01:42:33 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 28 01:34 CHANGELOG.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 28 01:34 Dockerfile 01:42:33 -rw-rw-r-- 1 jenkins jenkins 677 Aug 28 01:34 GOVERNANCE.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 657 Aug 28 01:34 Jenkinsfile 01:42:33 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 28 01:34 LICENSE 01:42:33 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 28 01:34 Makefile 01:42:33 -rw-rw-r-- 1 jenkins jenkins 620 Aug 28 01:34 OWNERS.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 28 01:34 README.md 01:42:33 -rw-rw-r-- 1 jenkins jenkins 5 Aug 28 01:30 VERSION 01:42:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 01:34 bin 01:42:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 01:34 cmd 01:42:33 -rw-r--r-- 1 jenkins jenkins 18506 Aug 28 01:41 coverage.out 01:42:33 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 28 01:34 go.mod 01:42:33 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 28 01:34 go.sum 01:42:33 drwxrwxr-x 3 jenkins jenkins 4096 Aug 28 01:34 internal 01:42:33 drwxrwxr-x 2 jenkins jenkins 4096 Aug 28 01:34 mock 01:42:33 -rw-rw-r-- 1 jenkins jenkins 227 Aug 28 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + 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=c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 --label arch=arm64 --label version=0.0.0 . 01:42:34 Sending build context to Docker daemon 10.55MB 01:42:34 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:42:34 Step 2/25 : FROM ${BASE} AS builder 01:42:34 ---> 0d588474693d 01:42:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:42:34 ---> Running in 070736108b29 01:42:34 Removing intermediate container 070736108b29 01:42:34 ---> 161b92aaba90 01:42:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:35 ---> Running in f12241a97570 01:42:35 Removing intermediate container f12241a97570 01:42:35 ---> 3e4fb966aab8 01:42:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:42:35 ---> Running in 30f6be7dc561 01:42:35 Removing intermediate container 30f6be7dc561 01:42:35 ---> fbc784594176 01:42:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:42:35 ---> Running in 2291e3cafd76 01:42:36 Removing intermediate container 2291e3cafd76 01:42:36 ---> cb857ed3ec5a 01:42:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:36 ---> Running in 2bff7ebc7823 01:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:42:38 OK: 271 MiB in 56 packages 01:42:39 Removing intermediate container 2bff7ebc7823 01:42:39 ---> 64d0b423dbfd 01:42:39 Step 8/25 : WORKDIR /device-mqtt-go 01:42:39 ---> Running in ea125f43ae54 01:42:40 Removing intermediate container ea125f43ae54 01:42:40 ---> edf53ad26a67 01:42:40 Step 9/25 : COPY go.mod vendor* ./ 01:42:40 ---> 6cd7d9cba0f7 01:42:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:40 ---> Running in 9e3b400031d6 01:42:43 Removing intermediate container 9e3b400031d6 01:42:43 ---> 67fc8374bf8f 01:42:43 Step 11/25 : COPY . . 01:42:44 ---> 048345ec86a6 01:42:44 Step 12/25 : RUN $MAKE 01:42:44 ---> Running in cd50d0840d39 01:42:45 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.34" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:46:36 Removing intermediate container cd50d0840d39 01:46:36 ---> 96782b377c8d 01:46:36 Step 13/25 : FROM alpine:3.18 01:46:36 3.18: Pulling from library/alpine 01:46:36 4983c3fe2029: Pulling fs layer 01:46:36 4983c3fe2029: Download complete 01:46:36 4983c3fe2029: Pull complete 01:46:36 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:46:36 Status: Downloaded newer image for alpine:3.18 01:46:36 ---> a0237000ae83 01:46:36 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:46:36 ---> Running in ed1f59b56018 01:46:36 Removing intermediate container ed1f59b56018 01:46:36 ---> 8048a3dd5a84 01:46:36 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:46:36 ---> Running in 943a3f95bf36 01:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:46:36 (1/1) Installing dumb-init (1.2.5-r2) 01:46:36 Executing busybox-1.36.1-r7.trigger 01:46:36 OK: 8 MiB in 16 packages 01:46:36 Removing intermediate container 943a3f95bf36 01:46:36 ---> ae1db3f95ebd 01:46:36 Step 16/25 : RUN apk --no-cache upgrade 01:46:36 ---> Running in 3819b3bd6d43 01:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:46:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:46:36 OK: 8 MiB in 16 packages 01:46:36 Removing intermediate container 3819b3bd6d43 01:46:36 ---> 2426161a8d26 01:46:36 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:46:36 ---> 033dcd47ddea 01:46:36 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:46:36 ---> 3cb56a5c836f 01:46:36 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:46:36 ---> 6837553671dc 01:46:36 Step 20/25 : EXPOSE 59982 01:46:36 ---> Running in 73ca4e65f94f 01:46:36 Removing intermediate container 73ca4e65f94f 01:46:36 ---> a1d84239bb79 01:46:36 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:46:36 ---> Running in 9d5e83b656d2 01:46:36 Removing intermediate container 9d5e83b656d2 01:46:36 ---> e213837c61a1 01:46:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:46:36 ---> Running in 8d52229ff8e8 01:46:36 Removing intermediate container 8d52229ff8e8 01:46:36 ---> d828599523cc 01:46:36 Step 23/25 : LABEL arch=arm64 01:46:36 ---> Running in 343f63b3f019 01:46:37 Removing intermediate container 343f63b3f019 01:46:37 ---> f3ce99b1d63b 01:46:37 Step 24/25 : LABEL git_sha=c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 01:46:37 ---> Running in e7c33b0f70b6 01:46:37 Removing intermediate container e7c33b0f70b6 01:46:37 ---> 49dcb62cdda4 01:46:37 Step 25/25 : LABEL version=0.0.0 01:46:37 ---> Running in 5a311e30de5e 01:46:38 Removing intermediate container 5a311e30de5e 01:46:38 ---> 8109dbd63a13 01:46:38 [Warning] One or more build-args [ARCH] were not consumed 01:46:38 Successfully built 8109dbd63a13 01:46:38 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:39 01:46:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:46:39 arm64: Pulling from edgex-lftools-log-publisher 01:46:39 8998bd30e6a1: Pulling fs layer 01:46:39 04944245beec: Pulling fs layer 01:46:39 699f458cf7ca: Pulling fs layer 01:46:39 765212b225bb: Pulling fs layer 01:46:39 f23df028b6ca: Pulling fs layer 01:46:39 d65c8cfc05b1: Pulling fs layer 01:46:39 2437ff75d9bd: Pulling fs layer 01:46:39 765212b225bb: Waiting 01:46:39 f23df028b6ca: Waiting 01:46:39 d65c8cfc05b1: Waiting 01:46:39 2437ff75d9bd: Waiting 01:46:39 04944245beec: Verifying Checksum 01:46:39 04944245beec: Download complete 01:46:39 765212b225bb: Download complete 01:46:39 f23df028b6ca: Verifying Checksum 01:46:39 f23df028b6ca: Download complete 01:46:39 d65c8cfc05b1: Verifying Checksum 01:46:40 699f458cf7ca: Verifying Checksum 01:46:40 699f458cf7ca: Download complete 01:46:40 8998bd30e6a1: Verifying Checksum 01:46:40 8998bd30e6a1: Download complete 01:46:42 2437ff75d9bd: Download complete 01:46:45 8998bd30e6a1: Pull complete 01:46:45 04944245beec: Pull complete 01:46:47 699f458cf7ca: Pull complete 01:46:47 765212b225bb: Pull complete 01:46:48 f23df028b6ca: Pull complete 01:46:48 d65c8cfc05b1: Pull complete 01:47:06 2437ff75d9bd: Pull complete 01:47:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:47:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:07 prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container 01:47:07 $ 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 01:47:10 $ docker top 2eee8f7d8bc3a9679137c4e00a5f594ffaba7102533ca7f62cd877e106473a37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:10 ---> job-cost.sh 01:47:11 lf-activate-venv: SKIPPING 01:47:11 INFO: No Stack... 01:47:11 INFO: Retrieving Pricing Info for: v3-standard-4 01:47:12 INFO: Archiving Costs [Pipeline] sh 01:47:12 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:47:12 + cut -d, -f6 [Pipeline] lock 01:47:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] 01:47:12 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] did not exist. Created. 01:47:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:47:13 /w/workspace/device-mqtt-go/1@tmp/durable-488dcd17/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:47:14 + echo total: 0.10999999940395355 [Pipeline] stash 01:47:14 Warning: overwriting stash ‘stack-cost’ 01:47:14 Stashed 1 file(s) [Pipeline] } 01:47:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-691-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:47:14 $ docker stop --time=1 2eee8f7d8bc3a9679137c4e00a5f594ffaba7102533ca7f62cd877e106473a37 01:47:16 $ docker rm -f --volumes 2eee8f7d8bc3a9679137c4e00a5f594ffaba7102533ca7f62cd877e106473a37 [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 01:47:17 provisioning config files... 01:47:17 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/config13306653498220206227tmp [Pipeline] { [Pipeline] sh 01:47:17 + set +x 01:47:17 + curl -s https://codecov.io/bash 01:47:17 + bash -s -- 01:47:17 01:47:17 _____ _ 01:47:17 / ____| | | 01:47:17 | | ___ __| | ___ ___ _____ __ 01:47:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:47:17 | |___| (_) | (_| | __/ (_| (_) \ V / 01:47:17 \_____\___/ \__,_|\___|\___\___/ \_/ 01:47:17 Bash-1.0.6 01:47:17 01:47:17 01:47:17 ==> git version 2.25.1 found 01:47:17 ==> 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 01:47:17 Release-Date: 2020-01-08 01:47:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:47:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:47:17 ==> Jenkins CI detected. 01:47:17 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-691 01:47:17 project root: . 01:47:17 --> token set from env 01:47:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:47:17 ==> Running gcov in . (disable via -X gcov) 01:47:17 ==> Python coveragepy not found 01:47:17 ==> Searching for coverage reports in: 01:47:17 + . 01:47:17 -> Found 1 reports 01:47:17 ==> Detecting git/mercurial file structure 01:47:17 ==> Reading reports 01:47:17 + ./coverage.out bytes=18506 01:47:17 ==> Appending adjustments 01:47:17 https://docs.codecov.io/docs/fixing-reports 01:47:17 + Found adjustments 01:47:17 ==> Gzipping contents 01:47:17 4.0K /tmp/codecov.GbLnCR.gz 01:47:17 ==> Uploading reports 01:47:17 url: https://codecov.io 01:47:17 query: branch=PR-691&commit=c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-691%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=691&job=&cmd_args= 01:47:17 -> Pinging Codecov 01:47:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-691&commit=c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-691%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=691&job=&cmd_args= 01:47:18 -> Uploading to 01:47:18 https://storage.googleapis.com/codecov/v4/raw/2024-08-28/7D719EC7BBE17E464838252E33014C33/c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4/9e631c9b-2783-4c07-8a68-a423cf6eeb69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240828%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240828T014718Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e1276a45ebc294469244e1da5d5ee360fb113060613b1d9d4f28c62bcf1faa4 01:47:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:47:18 Dload Upload Total Spent Left Speed 01:47:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12444 --:--:-- --:--:-- --:--:-- 12444 01:47:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c67a9892d6d2bca819f5f0b420131ec7fc5f9bc4 [Pipeline] } 01:47:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:47:20 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives ] 01:47:20 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives 01:47:20 total 16 01:47:20 drwxr-xr-x 3 root root 4096 Aug 28 01:33 . 01:47:20 drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 01:33 .. 01:47:20 drwxr-xr-x 2 root root 4096 Aug 28 01:33 cost 01:47:20 -rw-r--r-- 1 root root 86 Aug 28 01:33 cost.csv 01:47:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives 01:47:20 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives 01:47:20 total 16 01:47:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 28 01:33 . 01:47:20 drwxrwxr-x 10 jenkins jenkins 4096 Aug 28 01:33 .. 01:47:20 drwxr-xr-x 2 jenkins jenkins 4096 Aug 28 01:33 cost 01:47:20 -rw-r--r-- 1 jenkins jenkins 86 Aug 28 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:47:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:47:22 ---> package-listing.sh 01:47:22 ++ facter osfamily 01:47:22 ++ tr '[:upper:]' '[:lower:]' 01:47:22 + OS_FAMILY=debian 01:47:22 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-691 01:47:22 + START_PACKAGES=/tmp/packages_start.txt 01:47:22 + END_PACKAGES=/tmp/packages_end.txt 01:47:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:47:22 + PACKAGES=/tmp/packages_start.txt 01:47:22 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-691 ']' 01:47:22 + PACKAGES=/tmp/packages_end.txt 01:47:22 + case "${OS_FAMILY}" in 01:47:22 + dpkg -l 01:47:22 + grep '^ii' 01:47:22 + '[' -f /tmp/packages_start.txt ']' 01:47:22 + '[' -f /tmp/packages_end.txt ']' 01:47:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:47:22 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-691 ']' 01:47:22 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives/ 01:47:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-691/archives/ [Pipeline] echo 01:47:22 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-691/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:47:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:23 prd-ubuntu20.04-docker-8c-8g-8858 does not seem to be running inside a container 01:47:23 $ 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-691/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-691 -v /w/workspace/gexfoundry_device-mqtt-go_PR-691:/w/workspace/gexfoundry_device-mqtt-go_PR-691:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-691@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 01:47:23 $ docker top 21aec96c65528ac626f507cd52a048aeeb4afdfc6dd439c9184492766067e88b -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:23 + touch /tmp/pre-build-complete [Pipeline] sh 01:47:24 + mkdir -p /var/log/sysstat [Pipeline] sh 01:47:24 + ls /var/log/sa-host 01:47:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:24 provisioning config files... 01:47:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-691@tmp/config18387642599432698653tmp [Pipeline] { [Pipeline] echo 01:47:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:47:25 ---> create-netrc.sh [Pipeline] } 01:47:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:47:25 ---> python-tools-install.sh [Pipeline] echo 01:47:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:47:26 ---> sudo-logs.sh 01:47:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:47:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:47:26 ---> job-cost.sh 01:47:26 lf-activate-venv: SKIPPING 01:47:26 DEBUG: total: 0.2199999988079071 01:47:26 INFO: Retrieving Stack Cost... 01:47:27 INFO: Retrieving Pricing Info for: v3-standard-8 01:47:27 INFO: Archiving Costs [Pipeline] echo 01:47:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:47:27 ---> logs-deploy.sh 01:47:27 lf-activate-venv: SKIPPING 01:47:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-691/1 01:47:27 INFO: archiving workspace using pattern(s): 01:47:28 Archives upload complete. 01:47:28 INFO: archiving logs to Nexus