Pull request #682 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3c0c1f44ccde187048325c4457833014a4ed8d64+3641da765e3ecf514711d982b07869362341dd3b (c9ab76a5d1954746bb1ee6ef5437189bf75f98bb) 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-ssh7292305085896187623.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh9905312538920802168.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 590556114a56c6d90cc8043840e039c2f74196dc 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-682/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-682/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2899963072806881262.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-682/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16720518267164267182.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh13142026742500260783.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-682/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-682/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5109094937226189191.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6081 in /w/workspace/gexfoundry_device-mqtt-go_PR-682 [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-682 # 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 Merging remotes/origin/main commit 3641da765e3ecf514711d982b07869362341dd3b into PR head commit 3c0c1f44ccde187048325c4457833014a4ed8d64 Merge succeeded, producing 3c0c1f44ccde187048325c4457833014a4ed8d64 Checking out Revision 3c0c1f44ccde187048325c4457833014a4ed8d64 (PR-682) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/682/head:refs/remotes/origin/PR-682 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # 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 3641da765e3ecf514711d982b07869362341dd3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:36:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:36:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:05 ========================================================= 01:36:05 EdgeX Global Pipelines Version Info 01:36:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:06 ------------------- 01:36:06 stable info: 01:36:06 ------------------- 01:36:06 Commited By: Ginny Guan ginny@iotechsys.com 01:36:06 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:36:06 Message: update stable to v1.0.260 01:36:06 ------------------- 01:36:06 experimental info: 01:36:06 ------------------- 01:36:06 Commited By: Ginny Guan ginny@iotechsys.com 01:36:06 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:36:06 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-682 [Pipeline] echo 01:36:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-682 [Pipeline] echo 01:36:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-682 [Pipeline] echo 01:36:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo 01:36:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c0c1f4 [Pipeline] echo 01:36:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:09 provisioning config files... 01:36:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config8071023045125179400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:09 ---> ****-login.sh 01:36:09 nexus3.edgexfoundry.org:10001 01:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:10 Configure a credential helper to remove this warning. See 01:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:10 01:36:10 Login Succeeded 01:36:10 nexus3.edgexfoundry.org:10002 01:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:10 Configure a credential helper to remove this warning. See 01:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:10 01:36:10 Login Succeeded 01:36:10 nexus3.edgexfoundry.org:10003 01:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:10 Configure a credential helper to remove this warning. See 01:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:10 01:36:10 Login Succeeded 01:36:10 nexus3.edgexfoundry.org:10004 01:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:10 Configure a credential helper to remove this warning. See 01:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:10 01:36:10 Login Succeeded 01:36:10 ****.io 01:36:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:10 Configure a credential helper to remove this warning. See 01:36:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:10 01:36:10 Login Succeeded 01:36:10 ---> ****-login.sh ends [Pipeline] } 01:36:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:36:11 + git rev-list -1 --merges 3c0c1f44ccde187048325c4457833014a4ed8d64~1..3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo 01:36:11 -----------> git rev-list -1 --merges 3c0c1f44ccde187048325c4457833014a4ed8d64~1..3c0c1f44ccde187048325c4457833014a4ed8d64 3c0c1f44ccde187048325c4457833014a4ed8d64 [false] [Pipeline] sh 01:36:12 + git log --format=format:%s -1 3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo 01:36:12 ========================================================= 01:36:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:36:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:12 + git log --format=format:%s -1 3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] echo 01:36:12 [semverPrep] GIT_COMMIT: 3c0c1f44ccde187048325c4457833014a4ed8d64, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:36:12 [semverPrep] This is not a build commit. [Pipeline] sh 01:36:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:36:13 + grep -v github /etc/ssh/ssh_known_hosts 01:36:13 + [ -e /tmp/ssh_known_hosts ] 01:36:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:36:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:36:13 + sudo tee -a /etc/ssh/ssh_known_hosts 01:36:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:13 01:36:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:14 0.1.4: Pulling from edgex-devops/py-git-semver 01:36:14 b85a868b505f: Pulling fs layer 01:36:14 e2be974225ed: Pulling fs layer 01:36:14 339a4e72a1f5: Pulling fs layer 01:36:14 988bab9f4d93: Pulling fs layer 01:36:14 1469e6f7b9e6: Pulling fs layer 01:36:14 eaf3925da568: Pulling fs layer 01:36:14 988bab9f4d93: Waiting 01:36:14 bab4dde63d76: Pulling fs layer 01:36:14 bde34c3a00c8: Pulling fs layer 01:36:14 eaf3925da568: Waiting 01:36:14 b352a97aabf1: Pulling fs layer 01:36:14 1469e6f7b9e6: Waiting 01:36:14 bab4dde63d76: Waiting 01:36:14 4872d77fe225: Pulling fs layer 01:36:14 5851b861e8e6: Pulling fs layer 01:36:14 bde34c3a00c8: Waiting 01:36:14 b352a97aabf1: Waiting 01:36:14 4872d77fe225: Waiting 01:36:14 5851b861e8e6: Waiting 01:36:14 e2be974225ed: Verifying Checksum 01:36:14 e2be974225ed: Download complete 01:36:14 988bab9f4d93: Verifying Checksum 01:36:14 988bab9f4d93: Download complete 01:36:14 339a4e72a1f5: Verifying Checksum 01:36:14 339a4e72a1f5: Download complete 01:36:14 1469e6f7b9e6: Verifying Checksum 01:36:14 1469e6f7b9e6: Download complete 01:36:14 eaf3925da568: Download complete 01:36:14 bde34c3a00c8: Download complete 01:36:14 b352a97aabf1: Download complete 01:36:14 4872d77fe225: Verifying Checksum 01:36:14 4872d77fe225: Download complete 01:36:14 b85a868b505f: Verifying Checksum 01:36:14 b85a868b505f: Download complete 01:36:14 5851b861e8e6: Verifying Checksum 01:36:14 5851b861e8e6: Download complete 01:36:14 bab4dde63d76: Verifying Checksum 01:36:14 bab4dde63d76: Download complete 01:36:15 b85a868b505f: Pull complete 01:36:15 e2be974225ed: Pull complete 01:36:16 339a4e72a1f5: Pull complete 01:36:16 988bab9f4d93: Pull complete 01:36:16 1469e6f7b9e6: Pull complete 01:36:16 eaf3925da568: Pull complete 01:36:18 bab4dde63d76: Pull complete 01:36:18 bde34c3a00c8: Pull complete 01:36:18 b352a97aabf1: Pull complete 01:36:18 4872d77fe225: Pull complete 01:36:19 5851b861e8e6: Pull complete 01:36:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:19 prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container 01:36:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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:36:21 $ docker top 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 -eo pid,comm 01:36:21 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:36:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:36:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:21 [ssh-agent] Looking for ssh-agent implementation... 01:36:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:22 $ docker exec 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent 01:36:22 SSH_AUTH_SOCK=/tmp/ssh-okS2xBUbv6Bt/agent.32 01:36:22 SSH_AGENT_PID=38 01:36:22 Running ssh-add (command line suppressed) 01:36:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_11836933493720939291.key (/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_11836933493720939291.key) 01:36:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:22 + git tag --points-at HEAD [Pipeline] } 01:36:22 $ docker exec --env ******** --env ******** 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent -k 01:36:22 unset SSH_AUTH_SOCK; 01:36:22 unset SSH_AGENT_PID; 01:36:22 echo Agent pid 38 killed; 01:36:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:36:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:22 [ssh-agent] Looking for ssh-agent implementation... 01:36:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:23 $ docker exec 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent 01:36:23 SSH_AUTH_SOCK=/tmp/ssh-HC3EtxS3fSCw/agent.71 01:36:23 SSH_AGENT_PID=77 01:36:23 Running ssh-add (command line suppressed) 01:36:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_8359311285524678814.key (/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/private_key_8359311285524678814.key) 01:36:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:23 + git semver init 01:36:23 2024-07-22 01:36:23,855 [run_init] DEBUG init version:0.0.0 force:False 01:36:23 2024-07-22 01:36:23,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver 01:36:23 2024-07-22 01:36:23,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver 01:36:23 2024-07-22 01:36:23,856 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-682, universal_newlines=False, shell=None, istream=None) 01:36:25 2024-07-22 01:36:25,466 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.git/info/exclude 01:36:25 2024-07-22 01:36:25,467 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver/PR-682 with force:False 01:36:25 2024-07-22 01:36:25,467 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver/PR-682 01:36:25 2024-07-22 01:36:25,472 [execute] INFO git cat-file --batch-check 01:36:25 2024-07-22 01:36:25,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver, universal_newlines=False, shell=None, istream=) 01:36:25 2024-07-22 01:36:25,478 [execute] INFO git cat-file --batch 01:36:25 2024-07-22 01:36:25,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver, universal_newlines=False, shell=None, istream=) 01:36:25 2024-07-22 01:36:25,484 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-682/.semver/PR-682 01:36:25 0.0.0 [Pipeline] } 01:36:25 $ docker exec --env ******** --env ******** 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 ssh-agent -k 01:36:25 unset SSH_AUTH_SOCK; 01:36:25 unset SSH_AGENT_PID; 01:36:25 echo Agent pid 77 killed; 01:36:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:36:26 + git semver [Pipeline] } 01:36:26 $ docker stop --time=1 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 01:36:28 $ docker rm -f --volumes 574d5abf3e6b879b7ffd6abf9b0df6db2c569ae62ef087207ed38f4df9836665 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:36:28 Stashed 1 file(s) [Pipeline] echo 01:36:28 [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:36:29 provisioning config files... 01:36:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config6280629398136862311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:30 ---> ****-login.sh 01:36:30 nexus3.edgexfoundry.org:10001 01:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:30 Configure a credential helper to remove this warning. See 01:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:30 01:36:30 Login Succeeded 01:36:30 nexus3.edgexfoundry.org:10002 01:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:30 Configure a credential helper to remove this warning. See 01:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:30 01:36:30 Login Succeeded 01:36:30 nexus3.edgexfoundry.org:10003 01:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:30 Configure a credential helper to remove this warning. See 01:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:30 01:36:30 Login Succeeded 01:36:30 nexus3.edgexfoundry.org:10004 01:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:30 Configure a credential helper to remove this warning. See 01:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:30 01:36:30 Login Succeeded 01:36:30 ****.io 01:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:30 Configure a credential helper to remove this warning. See 01:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:30 01:36:30 Login Succeeded 01:36:30 ---> ****-login.sh ends [Pipeline] } 01:36:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:36:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:36:30 ========================================================= 01:36:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:36:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:31 + 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:36:31 Sending build context to Docker daemon 20.8MB 01:36:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:36:31 Step 2/12 : FROM ${BASE} AS builder 01:36:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:36:31 619be1103602: Pulling fs layer 01:36:31 7862e08f4a3e: Pulling fs layer 01:36:31 5df492c9dc93: Pulling fs layer 01:36:31 7629e6793208: Pulling fs layer 01:36:31 4f4fb700ef54: Pulling fs layer 01:36:31 fb5054dd5b73: Pulling fs layer 01:36:31 eeca6798cff9: Pulling fs layer 01:36:31 aa269ceb94a6: Pulling fs layer 01:36:31 ada007ff1a6a: Pulling fs layer 01:36:31 7629e6793208: Waiting 01:36:31 4f4fb700ef54: Waiting 01:36:31 fb5054dd5b73: Waiting 01:36:31 eeca6798cff9: Waiting 01:36:31 aa269ceb94a6: Waiting 01:36:31 ada007ff1a6a: Waiting 01:36:31 7862e08f4a3e: Verifying Checksum 01:36:31 7862e08f4a3e: Download complete 01:36:31 7629e6793208: Download complete 01:36:31 4f4fb700ef54: Verifying Checksum 01:36:31 4f4fb700ef54: Download complete 01:36:31 619be1103602: Verifying Checksum 01:36:31 619be1103602: Download complete 01:36:31 fb5054dd5b73: Verifying Checksum 01:36:31 fb5054dd5b73: Download complete 01:36:31 eeca6798cff9: Verifying Checksum 01:36:31 eeca6798cff9: Download complete 01:36:31 619be1103602: Pull complete 01:36:32 ada007ff1a6a: Download complete 01:36:32 7862e08f4a3e: Pull complete 01:36:32 5df492c9dc93: Verifying Checksum 01:36:32 5df492c9dc93: Download complete 01:36:32 aa269ceb94a6: Verifying Checksum 01:36:32 aa269ceb94a6: Download complete 01:36:35 5df492c9dc93: Pull complete 01:36:35 7629e6793208: Pull complete 01:36:35 4f4fb700ef54: Pull complete 01:36:35 fb5054dd5b73: Pull complete 01:36:35 eeca6798cff9: Pull complete 01:36:38 aa269ceb94a6: Pull complete 01:36:38 ada007ff1a6a: Pull complete 01:36:38 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:36:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:36:38 ---> f489d0715acc 01:36:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:36:41 ---> Running in a60c73c34752 01:36:41 Removing intermediate container a60c73c34752 01:36:41 ---> 5e9dd56fad0b 01:36:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:41 ---> Running in 159bf5dbce66 01:36:41 Removing intermediate container 159bf5dbce66 01:36:41 ---> 4da373ae16a0 01:36:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:36:41 ---> Running in de43ea61f43d 01:36:41 Removing intermediate container de43ea61f43d 01:36:41 ---> 01462496282c 01:36:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:36:41 ---> Running in cf4819d1726d 01:36:41 Removing intermediate container cf4819d1726d 01:36:41 ---> 968e5ff77348 01:36:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:41 ---> Running in 101b3f8558a3 01:36:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:36:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:36:42 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:36:42 (2/4) Installing libedit (20221030.3.1-r1) 01:36:42 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:36:42 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:36:42 Executing busybox-1.36.1-r5.trigger 01:36:42 OK: 268 MiB in 56 packages 01:36:43 Removing intermediate container 101b3f8558a3 01:36:43 ---> 4dd08362fb11 01:36:43 Step 8/12 : WORKDIR /device-mqtt-go 01:36:43 ---> Running in d910b0e2afe3 01:36:43 Removing intermediate container d910b0e2afe3 01:36:43 ---> 0f5645ad8455 01:36:43 Step 9/12 : COPY go.mod vendor* ./ 01:36:43 ---> 92b8a00e9935 01:36:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:43 ---> Running in 30aa80eee4b4 01:36:44 Still waiting to schedule task 01:36:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6079’ 01:37:39 Removing intermediate container 30aa80eee4b4 01:37:39 ---> 977cd159507c 01:37:39 Step 11/12 : COPY . . 01:37:39 ---> 0256874c1eef 01:37:39 Step 12/12 : RUN $MAKE 01:37:39 ---> Running in d63e647674a5 01:37:39 noop 01:37:39 Removing intermediate container d63e647674a5 01:37:39 ---> 0366b9662612 01:37:39 Successfully built 0366b9662612 01:37:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:40 + docker inspect -f . ci-base-image-x86_64 01:37:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:40 prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container 01:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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:37:40 $ docker top 679b70dc74ab927968d9d9e1526a5bf4b67a625ce614fa71a77d337b284726d7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:41 + go version 01:37:41 go version go1.21.9 linux/amd64 [Pipeline] } 01:37:41 $ docker stop --time=1 679b70dc74ab927968d9d9e1526a5bf4b67a625ce614fa71a77d337b284726d7 01:37:42 $ docker rm -f --volumes 679b70dc74ab927968d9d9e1526a5bf4b67a625ce614fa71a77d337b284726d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:43 + docker inspect -f . ci-base-image-x86_64 01:37:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:43 prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container 01:37:43 $ 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-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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:37:43 $ docker top 0639618f5783991aa689171ac3da7485cb33b8ce0a7a7bcf91d8068e96ea5075 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-682 [Pipeline] fileExists [Pipeline] sh 01:37:44 + make test 01:37:44 go test ./... -coverprofile=coverage.out ./... 01:37:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:38:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:38:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:38:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 01:38:18 go vet ./... 01:38:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:23 ./bin/test-attribution-txt.sh 01:38:23 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:38:23 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:38:23 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:38:23 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:38:23 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:38:23 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:38:23 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:38:23 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:38:23 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:38:23 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:38:23 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:38:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:38:23 $ docker stop --time=1 0639618f5783991aa689171ac3da7485cb33b8ce0a7a7bcf91d8068e96ea5075 01:38:27 $ docker rm -f --volumes 0639618f5783991aa689171ac3da7485cb33b8ce0a7a7bcf91d8068e96ea5075 [Pipeline] // withDockerContainer [Pipeline] sh 01:38:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:38:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:29 + ls -al . 01:38:29 total 252 01:38:29 drwxrwxr-x 9 jenkins jenkins 4096 Jul 22 01:37 . 01:38:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:35 .. 01:38:29 -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 01:36 .dockerignore 01:38:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:38 .git 01:38:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:36 .github 01:38:29 -rw-rw-r-- 1 jenkins jenkins 264 Jul 22 01:36 .gitignore 01:38:29 -rw-rw-r-- 1 jenkins jenkins 41 Jul 22 01:36 .golangci.yml 01:38:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:36 .semver 01:38:29 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 22 01:36 Attribution.txt 01:38:29 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 22 01:36 CHANGELOG.md 01:38:29 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 22 01:36 Dockerfile 01:38:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:36 GOVERNANCE.md 01:38:29 -rw-rw-r-- 1 jenkins jenkins 657 Jul 22 01:36 Jenkinsfile 01:38:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 01:36 LICENSE 01:38:29 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 22 01:36 Makefile 01:38:29 -rw-rw-r-- 1 jenkins jenkins 620 Jul 22 01:36 OWNERS.md 01:38:29 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 22 01:36 README.md 01:38:29 -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 01:36 VERSION 01:38:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:36 bin 01:38:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:36 cmd 01:38:29 -rw-r--r-- 1 jenkins jenkins 18506 Jul 22 01:38 coverage.out 01:38:29 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 22 01:36 go.mod 01:38:29 -rw-rw-r-- 1 jenkins jenkins 101671 Jul 22 01:36 go.sum 01:38:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:36 internal 01:38:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:36 mock 01:38:29 -rw-rw-r-- 1 jenkins jenkins 227 Jul 22 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:29 + 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=3c0c1f44ccde187048325c4457833014a4ed8d64 --label arch=amd64 --label version=0.0.0 . 01:38:29 Sending build context to Docker daemon 20.82MB 01:38:29 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:38:29 Step 2/25 : FROM ${BASE} AS builder 01:38:29 ---> 0366b9662612 01:38:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:38:29 ---> Running in 59be9c3a8de4 01:38:30 Removing intermediate container 59be9c3a8de4 01:38:30 ---> b9ae389fd790 01:38:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:38:30 ---> Running in b2ab3643d8f9 01:38:30 Removing intermediate container b2ab3643d8f9 01:38:30 ---> ff3ce797f5e2 01:38:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:38:30 ---> Running in e75831670bc3 01:38:30 Removing intermediate container e75831670bc3 01:38:30 ---> 86f866316332 01:38:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:38:30 ---> Running in 585afa57f619 01:38:30 Removing intermediate container 585afa57f619 01:38:30 ---> 5b1346727afa 01:38:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:30 ---> Running in ef933949c69d 01:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:38:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:38:31 OK: 268 MiB in 56 packages 01:38:31 Removing intermediate container ef933949c69d 01:38:31 ---> 29735524d7b5 01:38:31 Step 8/25 : WORKDIR /device-mqtt-go 01:38:31 ---> Running in 3641a2d2b5c2 01:38:31 Removing intermediate container 3641a2d2b5c2 01:38:31 ---> 176c7b6cda32 01:38:31 Step 9/25 : COPY go.mod vendor* ./ 01:38:31 ---> ed652f54920b 01:38:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:31 ---> Running in 8abf849e7167 01:38:32 Removing intermediate container 8abf849e7167 01:38:32 ---> 7735354ecf33 01:38:32 Step 11/25 : COPY . . 01:38:33 ---> 7edba06a65c6 01:38:33 Step 12/25 : RUN $MAKE 01:38:33 ---> Running in b55e905e8a98 01:38:33 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.25" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:39:12 Removing intermediate container b55e905e8a98 01:39:12 ---> 713c8506276e 01:39:12 Step 13/25 : FROM alpine:3.18 01:39:12 3.18: Pulling from library/alpine 01:39:12 73baa7ef167e: Pulling fs layer 01:39:12 73baa7ef167e: Verifying Checksum 01:39:12 73baa7ef167e: Download complete 01:39:12 73baa7ef167e: Pull complete 01:39:12 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 01:39:12 Status: Downloaded newer image for alpine:3.18 01:39:12 ---> 8fd7cac70a4a 01:39:12 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:39:12 ---> Running in 61036375fe77 01:39:12 Removing intermediate container 61036375fe77 01:39:12 ---> aa0323a4adf0 01:39:12 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:39:12 ---> Running in 4998e1ea97fb 01:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:12 (1/1) Installing dumb-init (1.2.5-r2) 01:39:12 Executing busybox-1.36.1-r7.trigger 01:39:12 OK: 7 MiB in 16 packages 01:39:12 Removing intermediate container 4998e1ea97fb 01:39:12 ---> 050a8417e673 01:39:12 Step 16/25 : RUN apk --no-cache upgrade 01:39:12 ---> Running in d04b604cbcd7 01:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:12 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 01:39:12 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 01:39:12 OK: 7 MiB in 16 packages 01:39:12 Removing intermediate container d04b604cbcd7 01:39:12 ---> 1027d6c5e7b0 01:39:12 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:39:12 ---> 1babb7b54080 01:39:12 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:39:12 ---> 074e15f649ae 01:39:12 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:39:12 ---> 8da31a0c5a78 01:39:12 Step 20/25 : EXPOSE 59982 01:39:12 ---> Running in aa3784680d9c 01:39:12 Removing intermediate container aa3784680d9c 01:39:12 ---> 020c757b141b 01:39:12 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:39:12 ---> Running in a0e3674460ee 01:39:12 Removing intermediate container a0e3674460ee 01:39:12 ---> a55c7312d70c 01:39:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:39:12 ---> Running in ac5cc9492c10 01:39:12 Removing intermediate container ac5cc9492c10 01:39:12 ---> eba797a23604 01:39:12 Step 23/25 : LABEL arch=amd64 01:39:12 ---> Running in 08ccc9fa9388 01:39:13 Removing intermediate container 08ccc9fa9388 01:39:13 ---> 0199d6395439 01:39:13 Step 24/25 : LABEL git_sha=3c0c1f44ccde187048325c4457833014a4ed8d64 01:39:13 ---> Running in 8a54c8b013f6 01:39:13 Removing intermediate container 8a54c8b013f6 01:39:13 ---> 5bcc417d431d 01:39:13 Step 25/25 : LABEL version=0.0.0 01:39:13 ---> Running in 3bf307a0b2e8 01:39:13 Removing intermediate container 3bf307a0b2e8 01:39:13 ---> fb2572017364 01:39:13 [Warning] One or more build-args [ARCH] were not consumed 01:39:13 Successfully built fb2572017364 01:39:13 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:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:14 01:39:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:14 latest: Pulling from edgex-lftools-log-publisher 01:39:14 5eb5b503b376: Pulling fs layer 01:39:14 5c69ac0246d0: Pulling fs layer 01:39:14 ec43610c2a17: Pulling fs layer 01:39:14 3a2ae6a8a46f: Pulling fs layer 01:39:14 3a2ae6a8a46f: Waiting 01:39:14 33b1e0a273af: Pulling fs layer 01:39:14 5d3b04190fa2: Pulling fs layer 01:39:14 2f39f015ded8: Pulling fs layer 01:39:14 33b1e0a273af: Waiting 01:39:14 5d3b04190fa2: Waiting 01:39:14 2f39f015ded8: Waiting 01:39:14 5c69ac0246d0: Verifying Checksum 01:39:14 5c69ac0246d0: Download complete 01:39:14 3a2ae6a8a46f: Verifying Checksum 01:39:14 3a2ae6a8a46f: Download complete 01:39:14 33b1e0a273af: Verifying Checksum 01:39:14 33b1e0a273af: Download complete 01:39:14 ec43610c2a17: Verifying Checksum 01:39:14 ec43610c2a17: Download complete 01:39:14 5d3b04190fa2: Verifying Checksum 01:39:14 5d3b04190fa2: Download complete 01:39:14 5eb5b503b376: Verifying Checksum 01:39:14 5eb5b503b376: Download complete 01:39:15 2f39f015ded8: Download complete 01:39:16 5eb5b503b376: Pull complete 01:39:16 5c69ac0246d0: Pull complete 01:39:16 ec43610c2a17: Pull complete 01:39:17 3a2ae6a8a46f: Pull complete 01:39:17 33b1e0a273af: Pull complete 01:39:17 5d3b04190fa2: Pull complete 01:39:23 2f39f015ded8: Pull complete 01:39:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:39:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:23 prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container 01:39:23 $ 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-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@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:39:33 $ docker top 8e56a1f00bb021194c2dd8722cd825ba00ba3c304f0c22529b5f4849fc365308 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:34 ---> job-cost.sh 01:39:34 lf-activate-venv: SKIPPING 01:39:34 INFO: No Stack... 01:39:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:34 INFO: Archiving Costs [Pipeline] sh 01:39:34 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives/cost.csv 01:39:34 + cut -d, -f6 [Pipeline] lock 01:39:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] 01:39:34 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] did not exist. Created. 01:39:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:39:35 + echo total: 0.2199999988079071 [Pipeline] stash 01:39:35 Stashed 1 file(s) [Pipeline] } 01:39:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:39:35 $ docker stop --time=1 8e56a1f00bb021194c2dd8722cd825ba00ba3c304f0c22529b5f4849fc365308 01:39:36 $ docker rm -f --volumes 8e56a1f00bb021194c2dd8722cd825ba00ba3c304f0c22529b5f4849fc365308 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:47:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6083 in /w/workspace/gexfoundry_device-mqtt-go_PR-682 [Pipeline] { [Pipeline] ws 01:47:28 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:47:28 The recommended git tool is: git 01:47:33 using credential edgex-jenkins-ssh 01:47:33 Cloning the remote Git repository 01:47:33 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:47:33 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:47:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:47:33 > git --version # timeout=10 01:47:33 > git --version # 'git version 2.25.1' 01:47:33 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:47:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:47:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:47:37 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:47:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/682/head:refs/remotes/origin/PR-682 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:47:37 Merging remotes/origin/main commit 3641da765e3ecf514711d982b07869362341dd3b into PR head commit 3c0c1f44ccde187048325c4457833014a4ed8d64 01:47:38 Merge succeeded, producing 3c0c1f44ccde187048325c4457833014a4ed8d64 01:47:38 Checking out Revision 3c0c1f44ccde187048325c4457833014a4ed8d64 (PR-682) 01:47:38 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:47:38 > git --version # timeout=10 01:47:38 > git --version # 'git version 2.25.1' 01:47:38 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 01:47:37 > git config core.sparsecheckout # timeout=10 01:47:38 > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # timeout=10 01:47:38 > git remote # timeout=10 01:47:38 > git config --get remote.origin.url # timeout=10 01:47:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:47:38 > git merge 3641da765e3ecf514711d982b07869362341dd3b # timeout=10 01:47:38 > git rev-parse HEAD^{commit} # timeout=10 01:47:38 > git config core.sparsecheckout # timeout=10 01:47:38 > git checkout -f 3c0c1f44ccde187048325c4457833014a4ed8d64 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:47:43 % Total % Received % Xferd Average Speed Time Time Time Current 01:47:43 Dload Upload Total Spent Left Speed 01:47:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 01:47:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:47:44 + sudo tee /etc/docker/daemon.new 01:47:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:47:44 { 01:47:44 "registry-mirrors": [ 01:47:44 "https://nexus3.edgexfoundry.org:10001" 01:47:44 ], 01:47:44 "bip": "10.250.0.254/24", 01:47:44 "hosts": [ 01:47:44 "tcp://0.0.0.0:5555", 01:47:44 "unix:///var/run/docker.sock" 01:47:44 ], 01:47:44 "mtu": 1458, 01:47:44 "selinux-enabled": true, 01:47:44 "seccomp-profile": "/etc/docker/seccomp.json" 01:47:44 } [Pipeline] sh 01:47:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:47:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:03 provisioning config files... 01:48:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6113095000578595339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:04 ---> ****-login.sh 01:48:04 nexus3.edgexfoundry.org:10001 01:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:04 Configure a credential helper to remove this warning. See 01:48:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:04 01:48:04 Login Succeeded 01:48:04 nexus3.edgexfoundry.org:10002 01:48:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:05 Configure a credential helper to remove this warning. See 01:48:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:05 01:48:05 Login Succeeded 01:48:05 nexus3.edgexfoundry.org:10003 01:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:05 Configure a credential helper to remove this warning. See 01:48:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:05 01:48:05 Login Succeeded 01:48:05 nexus3.edgexfoundry.org:10004 01:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:05 Configure a credential helper to remove this warning. See 01:48:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:05 01:48:05 Login Succeeded 01:48:05 ****.io 01:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:06 Configure a credential helper to remove this warning. See 01:48:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:06 01:48:06 Login Succeeded 01:48:06 ---> ****-login.sh ends [Pipeline] } 01:48:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:06 ========================================================= 01:48:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:48:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:07 + 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:48:07 Sending build context to Docker daemon 10.51MB 01:48:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:48:07 Step 2/12 : FROM ${BASE} AS builder 01:48:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:48:07 c6b39de5b339: Pulling fs layer 01:48:07 a69c41024577: Pulling fs layer 01:48:07 d6de4b400683: Pulling fs layer 01:48:07 35cb2a7552d0: Pulling fs layer 01:48:07 4f4fb700ef54: Pulling fs layer 01:48:07 464afbd9ba4c: Pulling fs layer 01:48:07 00f215d4a9da: Pulling fs layer 01:48:07 35cb2a7552d0: Waiting 01:48:07 4f4fb700ef54: Waiting 01:48:07 464afbd9ba4c: Waiting 01:48:07 00f215d4a9da: Waiting 01:48:07 d496ad576159: Pulling fs layer 01:48:07 a69c41024577: Verifying Checksum 01:48:07 a69c41024577: Download complete 01:48:07 35cb2a7552d0: Verifying Checksum 01:48:07 35cb2a7552d0: Download complete 01:48:08 4f4fb700ef54: Verifying Checksum 01:48:08 4f4fb700ef54: Download complete 01:48:08 464afbd9ba4c: Verifying Checksum 01:48:08 464afbd9ba4c: Download complete 01:48:08 c6b39de5b339: Verifying Checksum 01:48:08 c6b39de5b339: Download complete 01:48:08 d496ad576159: Verifying Checksum 01:48:08 d496ad576159: Download complete 01:48:09 c6b39de5b339: Pull complete 01:48:09 a69c41024577: Pull complete 01:48:10 d6de4b400683: Verifying Checksum 01:48:10 d6de4b400683: Download complete 01:48:11 00f215d4a9da: Verifying Checksum 01:48:11 00f215d4a9da: Download complete 01:48:23 d6de4b400683: Pull complete 01:48:23 35cb2a7552d0: Pull complete 01:48:23 4f4fb700ef54: Pull complete 01:48:23 464afbd9ba4c: Pull complete 01:48:33 00f215d4a9da: Pull complete 01:48:34 d496ad576159: Pull complete 01:48:34 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:48:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:48:34 ---> f246e2811388 01:48:34 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:48:35 ---> Running in 4a9b3a3315e5 01:48:35 Removing intermediate container 4a9b3a3315e5 01:48:35 ---> b2c9b3852a77 01:48:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:48:35 ---> Running in 18f5b0d7c24d 01:48:35 Removing intermediate container 18f5b0d7c24d 01:48:35 ---> fe60861aa22c 01:48:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:48:35 ---> Running in 656055d03ed1 01:48:36 Removing intermediate container 656055d03ed1 01:48:36 ---> 6c770e3936ac 01:48:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:48:36 ---> Running in 3378c378a964 01:48:36 Removing intermediate container 3378c378a964 01:48:36 ---> 80a641f1ed1e 01:48:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:36 ---> Running in 4553d275ef3c 01:48:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:48:39 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:48:39 (2/4) Installing libedit (20221030.3.1-r1) 01:48:39 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:48:39 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:48:39 Executing busybox-1.36.1-r5.trigger 01:48:39 OK: 271 MiB in 56 packages 01:48:40 Removing intermediate container 4553d275ef3c 01:48:40 ---> 8b6f4cd70866 01:48:40 Step 8/12 : WORKDIR /device-mqtt-go 01:48:40 ---> Running in 41fb8e9cd228 01:48:41 Removing intermediate container 41fb8e9cd228 01:48:41 ---> 53c5bed9a51c 01:48:41 Step 9/12 : COPY go.mod vendor* ./ 01:48:41 ---> b1b6b9e394b7 01:48:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:41 ---> Running in 9b170775ce1f 01:50:48 Removing intermediate container 9b170775ce1f 01:50:48 ---> 970871cee679 01:50:48 Step 11/12 : COPY . . 01:50:48 ---> c78b37cbd50d 01:50:48 Step 12/12 : RUN $MAKE 01:50:48 ---> Running in 7751b7608b2a 01:50:48 noop 01:50:48 Removing intermediate container 7751b7608b2a 01:50:48 ---> d1588290fd4b 01:50:48 Successfully built d1588290fd4b 01:50:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:49 + docker inspect -f . ci-base-image-arm64 01:50:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:49 prd-ubuntu20.04-docker-arm64-4c-16g-6083 does not seem to be running inside a container 01:50:49 $ 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 ******** ci-base-image-arm64 cat 01:50:50 $ docker top 0e0e4ffcffc45586edbb5e6231d946f6f77820772ca94e4f2a13fb5cad7ded99 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:51 + go version 01:50:51 go version go1.21.9 linux/arm64 [Pipeline] } 01:50:51 $ docker stop --time=1 0e0e4ffcffc45586edbb5e6231d946f6f77820772ca94e4f2a13fb5cad7ded99 01:50:53 $ docker rm -f --volumes 0e0e4ffcffc45586edbb5e6231d946f6f77820772ca94e4f2a13fb5cad7ded99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:54 + docker inspect -f . ci-base-image-arm64 01:50:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:54 prd-ubuntu20.04-docker-arm64-4c-16g-6083 does not seem to be running inside a container 01:50:54 $ 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 ******** ci-base-image-arm64 cat 01:50:55 $ docker top 52a7d3cb577385349b50eecfa2b949050d018802114eb700285f909e126aeeba -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:56 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:50:56 + make test 01:50:56 go test ./... -coverprofile=coverage.out ./... 01:51:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:54:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:54:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:54:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 22.8% of statements 01:54:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:40 go vet ./... 01:55:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:27 ./bin/test-attribution-txt.sh 01:55:27 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:55:27 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:55:27 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:55:27 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:55:27 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:55:27 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:55:27 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:55:27 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:55:27 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:55:27 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:55:27 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:55:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:55:27 $ docker stop --time=1 52a7d3cb577385349b50eecfa2b949050d018802114eb700285f909e126aeeba 01:55:29 $ docker rm -f --volumes 52a7d3cb577385349b50eecfa2b949050d018802114eb700285f909e126aeeba [Pipeline] // withDockerContainer [Pipeline] sh 01:55:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:55:30 Warning: overwriting stash ‘coverage-report’ 01:55:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:32 + ls -al . 01:55:32 total 248 01:55:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:51 . 01:55:32 drwxrwxr-x 4 jenkins jenkins 4096 Jul 22 01:47 .. 01:55:32 -rw-rw-r-- 1 jenkins jenkins 140 Jul 22 01:47 .dockerignore 01:55:32 drwxrwxr-x 8 jenkins jenkins 4096 Jul 22 01:47 .git 01:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:47 .github 01:55:32 -rw-rw-r-- 1 jenkins jenkins 264 Jul 22 01:47 .gitignore 01:55:32 -rw-rw-r-- 1 jenkins jenkins 41 Jul 22 01:47 .golangci.yml 01:55:32 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 22 01:47 Attribution.txt 01:55:32 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 22 01:47 CHANGELOG.md 01:55:32 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 22 01:47 Dockerfile 01:55:32 -rw-rw-r-- 1 jenkins jenkins 677 Jul 22 01:47 GOVERNANCE.md 01:55:32 -rw-rw-r-- 1 jenkins jenkins 657 Jul 22 01:47 Jenkinsfile 01:55:32 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 22 01:47 LICENSE 01:55:32 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 22 01:47 Makefile 01:55:32 -rw-rw-r-- 1 jenkins jenkins 620 Jul 22 01:47 OWNERS.md 01:55:32 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 22 01:47 README.md 01:55:32 -rw-rw-r-- 1 jenkins jenkins 5 Jul 22 01:36 VERSION 01:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:47 bin 01:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:47 cmd 01:55:32 -rw-r--r-- 1 jenkins jenkins 18506 Jul 22 01:54 coverage.out 01:55:32 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 22 01:47 go.mod 01:55:32 -rw-rw-r-- 1 jenkins jenkins 101671 Jul 22 01:47 go.sum 01:55:32 drwxrwxr-x 3 jenkins jenkins 4096 Jul 22 01:47 internal 01:55:32 drwxrwxr-x 2 jenkins jenkins 4096 Jul 22 01:47 mock 01:55:32 -rw-rw-r-- 1 jenkins jenkins 227 Jul 22 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:32 + 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=3c0c1f44ccde187048325c4457833014a4ed8d64 --label arch=arm64 --label version=0.0.0 . 01:55:33 Sending build context to Docker daemon 10.53MB 01:55:33 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:55:33 Step 2/25 : FROM ${BASE} AS builder 01:55:33 ---> d1588290fd4b 01:55:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:55:33 ---> Running in f11509f0369d 01:55:33 Removing intermediate container f11509f0369d 01:55:33 ---> 3220521dbe4e 01:55:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:33 ---> Running in bd15c858c57c 01:55:34 Removing intermediate container bd15c858c57c 01:55:34 ---> c93a009e73df 01:55:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:55:34 ---> Running in 1e36fb22af3c 01:55:34 Removing intermediate container 1e36fb22af3c 01:55:34 ---> 1a3a7eebf1af 01:55:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:55:34 ---> Running in aa5ece31ad43 01:55:34 Removing intermediate container aa5ece31ad43 01:55:34 ---> 0b2b875a50e7 01:55:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:35 ---> Running in 2ac639004acb 01:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:55:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:55:37 OK: 271 MiB in 56 packages 01:55:38 Removing intermediate container 2ac639004acb 01:55:38 ---> 5c36668223ec 01:55:38 Step 8/25 : WORKDIR /device-mqtt-go 01:55:38 ---> Running in dd7fcf083130 01:55:38 Removing intermediate container dd7fcf083130 01:55:38 ---> f8af6542722a 01:55:38 Step 9/25 : COPY go.mod vendor* ./ 01:55:39 ---> f1d3d5118596 01:55:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:39 ---> Running in 0954001e3538 01:55:41 Removing intermediate container 0954001e3538 01:55:41 ---> edd4d92af146 01:55:41 Step 11/25 : COPY . . 01:55:42 ---> 751c2f2cc7c3 01:55:42 Step 12/25 : RUN $MAKE 01:55:42 ---> Running in 3f27fbd4b0d6 01:55:43 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.25" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:59:21 Removing intermediate container 3f27fbd4b0d6 01:59:21 ---> f17163d792b1 01:59:21 Step 13/25 : FROM alpine:3.18 01:59:21 3.18: Pulling from library/alpine 01:59:21 5c905c7ebe2f: Pulling fs layer 01:59:21 5c905c7ebe2f: Verifying Checksum 01:59:21 5c905c7ebe2f: Download complete 01:59:21 5c905c7ebe2f: Pull complete 01:59:21 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 01:59:21 Status: Downloaded newer image for alpine:3.18 01:59:21 ---> dec292d02e07 01:59:21 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:59:21 ---> Running in 81a81fb961a9 01:59:21 Removing intermediate container 81a81fb961a9 01:59:21 ---> f54951144700 01:59:21 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:59:21 ---> Running in 007ef7dc87a4 01:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:59:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:59:24 (1/1) Installing dumb-init (1.2.5-r2) 01:59:24 Executing busybox-1.36.1-r7.trigger 01:59:24 OK: 8 MiB in 16 packages 01:59:25 Removing intermediate container 007ef7dc87a4 01:59:25 ---> 850e2099c6ee 01:59:25 Step 16/25 : RUN apk --no-cache upgrade 01:59:25 ---> Running in 03c5d22430e6 01:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:59:28 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 01:59:28 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 01:59:28 OK: 8 MiB in 16 packages 01:59:29 Removing intermediate container 03c5d22430e6 01:59:29 ---> d742a36d19a9 01:59:29 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:59:31 ---> 141c633f45f3 01:59:31 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:59:32 ---> c15f95ef6c01 01:59:32 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:59:32 ---> d842a8506a78 01:59:32 Step 20/25 : EXPOSE 59982 01:59:32 ---> Running in 6d68a2adf205 01:59:33 Removing intermediate container 6d68a2adf205 01:59:33 ---> 427f4a41078b 01:59:33 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:59:33 ---> Running in 2ff9c23d7060 01:59:33 Removing intermediate container 2ff9c23d7060 01:59:33 ---> 188a59161644 01:59:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:59:33 ---> Running in bfb6eb50166b 01:59:34 Removing intermediate container bfb6eb50166b 01:59:34 ---> e46f4dc4a9f2 01:59:34 Step 23/25 : LABEL arch=arm64 01:59:34 ---> Running in 79a82cefdcf2 01:59:34 Removing intermediate container 79a82cefdcf2 01:59:34 ---> 2dbbf8d6d930 01:59:34 Step 24/25 : LABEL git_sha=3c0c1f44ccde187048325c4457833014a4ed8d64 01:59:34 ---> Running in eb22ea92d3d1 01:59:34 Removing intermediate container eb22ea92d3d1 01:59:34 ---> 2fc2c0ae7ad3 01:59:34 Step 25/25 : LABEL version=0.0.0 01:59:35 ---> Running in 01d0b420419f 01:59:35 Removing intermediate container 01d0b420419f 01:59:35 ---> 6416b1536e20 01:59:35 [Warning] One or more build-args [ARCH] were not consumed 01:59:35 Successfully built 6416b1536e20 01:59:35 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:59:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:59:36 01:59:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:59:37 arm64: Pulling from edgex-lftools-log-publisher 01:59:37 8998bd30e6a1: Pulling fs layer 01:59:37 04944245beec: Pulling fs layer 01:59:37 699f458cf7ca: Pulling fs layer 01:59:37 765212b225bb: Pulling fs layer 01:59:37 f23df028b6ca: Pulling fs layer 01:59:37 d65c8cfc05b1: Pulling fs layer 01:59:37 2437ff75d9bd: Pulling fs layer 01:59:37 f23df028b6ca: Waiting 01:59:37 765212b225bb: Waiting 01:59:37 d65c8cfc05b1: Waiting 01:59:37 2437ff75d9bd: Waiting 01:59:37 04944245beec: Verifying Checksum 01:59:37 04944245beec: Download complete 01:59:37 765212b225bb: Verifying Checksum 01:59:37 765212b225bb: Download complete 01:59:37 f23df028b6ca: Verifying Checksum 01:59:37 f23df028b6ca: Download complete 01:59:37 d65c8cfc05b1: Verifying Checksum 01:59:37 d65c8cfc05b1: Download complete 01:59:37 699f458cf7ca: Verifying Checksum 01:59:37 699f458cf7ca: Download complete 01:59:37 8998bd30e6a1: Verifying Checksum 01:59:37 8998bd30e6a1: Download complete 01:59:40 2437ff75d9bd: Verifying Checksum 01:59:40 2437ff75d9bd: Download complete 01:59:42 8998bd30e6a1: Pull complete 01:59:42 04944245beec: Pull complete 01:59:44 699f458cf7ca: Pull complete 01:59:44 765212b225bb: Pull complete 01:59:45 f23df028b6ca: Pull complete 01:59:45 d65c8cfc05b1: Pull complete 02:00:02 2437ff75d9bd: Pull complete 02:00:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:02 prd-ubuntu20.04-docker-arm64-4c-16g-6083 does not seem to be running inside a container 02:00:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:00:05 $ docker top 3cefa113415df35fb792358c2263eee6feaf01b0235a6a13e23fd31933ad6f7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:06 ---> job-cost.sh 02:00:06 lf-activate-venv: SKIPPING 02:00:06 INFO: No Stack... 02:00:06 INFO: Retrieving Pricing Info for: v3-standard-4 02:00:07 INFO: Archiving Costs [Pipeline] sh 02:00:08 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:00:08 + cut -d, -f6 [Pipeline] lock 02:00:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] 02:00:08 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] did not exist. Created. 02:00:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:00:09 /w/workspace/device-mqtt-go/1@tmp/durable-a70d11be/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:00:09 + echo total: 0.10999999940395355 [Pipeline] stash 02:00:09 Warning: overwriting stash ‘stack-cost’ 02:00:09 Stashed 1 file(s) [Pipeline] } 02:00:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-682-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:00:09 $ docker stop --time=1 3cefa113415df35fb792358c2263eee6feaf01b0235a6a13e23fd31933ad6f7b 02:00:11 $ docker rm -f --volumes 3cefa113415df35fb792358c2263eee6feaf01b0235a6a13e23fd31933ad6f7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:00:12 provisioning config files... 02:00:12 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config7746878234178651203tmp [Pipeline] { [Pipeline] sh 02:00:12 + set +x 02:00:12 + curl -s https://codecov.io/bash 02:00:12 + bash -s -- 02:00:12 02:00:12 _____ _ 02:00:12 / ____| | | 02:00:12 | | ___ __| | ___ ___ _____ __ 02:00:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:00:12 | |___| (_) | (_| | __/ (_| (_) \ V / 02:00:12 \_____\___/ \__,_|\___|\___\___/ \_/ 02:00:12 Bash-1.0.6 02:00:12 02:00:12 02:00:12 ==> git version 2.25.1 found 02:00:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:00:12 Release-Date: 2020-01-08 02:00:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:00:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:00:12 ==> Jenkins CI detected. 02:00:12 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-682 02:00:12 project root: . 02:00:12 --> token set from env 02:00:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:00:12 ==> Running gcov in . (disable via -X gcov) 02:00:12 ==> Python coveragepy not found 02:00:12 ==> Searching for coverage reports in: 02:00:12 + . 02:00:12 -> Found 1 reports 02:00:12 ==> Detecting git/mercurial file structure 02:00:13 ==> Reading reports 02:00:13 + ./coverage.out bytes=18506 02:00:13 ==> Appending adjustments 02:00:13 https://docs.codecov.io/docs/fixing-reports 02:00:13 + Found adjustments 02:00:13 ==> Gzipping contents 02:00:13 4.0K /tmp/codecov.ohI0tk.gz 02:00:13 ==> Uploading reports 02:00:13 url: https://codecov.io 02:00:13 query: branch=PR-682&commit=3c0c1f44ccde187048325c4457833014a4ed8d64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-682%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=682&job=&cmd_args= 02:00:13 -> Pinging Codecov 02:00:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-682&commit=3c0c1f44ccde187048325c4457833014a4ed8d64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-682%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=682&job=&cmd_args= 02:00:13 -> Uploading to 02:00:13 https://storage.googleapis.com/codecov/v4/raw/2024-07-22/7D719EC7BBE17E464838252E33014C33/3c0c1f44ccde187048325c4457833014a4ed8d64/1f26ebcc-da4d-4322-a06e-1ecba0da4fa9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240722%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240722T020013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0da15d8f3d9c47fd7dfec2ff53808bc4ade14a0414b5ecf88dc336182db229c0 02:00:13 % Total % Received % Xferd Average Speed Time Time Time Current 02:00:13 Dload Upload Total Spent Left Speed 02:00:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11334 --:--:-- --:--:-- --:--:-- 11292 100 3049 0 0 100 3049 0 11334 --:--:-- --:--:-- --:--:-- 11292 02:00:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3c0c1f44ccde187048325c4457833014a4ed8d64 [Pipeline] } 02:00:13 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 02:00:16 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives ] 02:00:16 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives 02:00:16 total 16 02:00:16 drwxr-xr-x 3 root root 4096 Jul 22 01:39 . 02:00:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:39 .. 02:00:16 drwxr-xr-x 2 root root 4096 Jul 22 01:39 cost 02:00:16 -rw-r--r-- 1 root root 86 Jul 22 01:39 cost.csv 02:00:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives 02:00:16 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives 02:00:16 total 16 02:00:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 22 01:39 . 02:00:16 drwxrwxr-x 10 jenkins jenkins 4096 Jul 22 01:39 .. 02:00:16 drwxr-xr-x 2 jenkins jenkins 4096 Jul 22 01:39 cost 02:00:16 -rw-r--r-- 1 jenkins jenkins 86 Jul 22 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:00:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:00:17 ---> package-listing.sh 02:00:17 ++ facter osfamily 02:00:17 ++ tr '[:upper:]' '[:lower:]' 02:00:17 + OS_FAMILY=debian 02:00:17 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-682 02:00:17 + START_PACKAGES=/tmp/packages_start.txt 02:00:17 + END_PACKAGES=/tmp/packages_end.txt 02:00:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:00:17 + PACKAGES=/tmp/packages_start.txt 02:00:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-682 ']' 02:00:17 + PACKAGES=/tmp/packages_end.txt 02:00:17 + case "${OS_FAMILY}" in 02:00:17 + dpkg -l 02:00:17 + grep '^ii' 02:00:17 + '[' -f /tmp/packages_start.txt ']' 02:00:17 + '[' -f /tmp/packages_end.txt ']' 02:00:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:00:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-682 ']' 02:00:17 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives/ 02:00:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-682/archives/ [Pipeline] echo 02:00:17 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-682/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:00:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:19 prd-ubuntu20.04-docker-8c-8g-6081 does not seem to be running inside a container 02:00:19 $ 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-682/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-682 -v /w/workspace/gexfoundry_device-mqtt-go_PR-682:/w/workspace/gexfoundry_device-mqtt-go_PR-682:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:00:19 $ docker top 9f0ffbefebb77ba3e4d9af2f805d8110f31834f1f1e7c262ecbd33e8c32d6962 -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:19 + touch /tmp/pre-build-complete [Pipeline] sh 02:00:20 + mkdir -p /var/log/sysstat [Pipeline] sh 02:00:20 + ls /var/log/sa-host 02:00:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:20 provisioning config files... 02:00:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-682@tmp/config7345811219893445994tmp [Pipeline] { [Pipeline] echo 02:00:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:00:21 ---> create-netrc.sh [Pipeline] } 02:00:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:00:21 ---> python-tools-install.sh [Pipeline] echo 02:00:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:00:21 ---> sudo-logs.sh 02:00:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:00:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:00:22 ---> job-cost.sh 02:00:22 lf-activate-venv: SKIPPING 02:00:22 DEBUG: total: 0.2199999988079071 02:00:22 INFO: Retrieving Stack Cost... 02:00:22 INFO: Retrieving Pricing Info for: v3-standard-8 02:00:23 INFO: Archiving Costs [Pipeline] echo 02:00:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:00:23 ---> logs-deploy.sh 02:00:23 lf-activate-venv: SKIPPING 02:00:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-682/1 02:00:23 INFO: archiving workspace using pattern(s): 02:00:24 Archives upload complete. 02:00:24 INFO: archiving logs to Nexus