Pull request #687 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc11a9d5c340b132dff6636842266791c439acae+151f68fece686541369959fa72875a7edd02f739 (1900fc99940d2a155a19df4e748da15d3725e917) 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-ssh3951431221380057014.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-ssh9361011222130166000.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-687/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-687/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7105817849190384267.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-687/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2757179498716799647.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-ssh11474688826359100547.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-687/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-687/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1091047456803784493.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-7243 in /w/workspace/gexfoundry_device-mqtt-go_PR-687 [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-687 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 151f68fece686541369959fa72875a7edd02f739 into PR head commit dc11a9d5c340b132dff6636842266791c439acae Merge succeeded, producing dc11a9d5c340b132dff6636842266791c439acae Checking out Revision dc11a9d5c340b132dff6636842266791c439acae (PR-687) Commit message: "build(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # 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 151f68fece686541369959fa72875a7edd02f739 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:36:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:36:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:02 ========================================================= 01:36:02 EdgeX Global Pipelines Version Info 01:36:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:03 ------------------- 01:36:03 stable info: 01:36:03 ------------------- 01:36:03 Commited By: Ginny Guan ginny@iotechsys.com 01:36:03 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:36:03 Message: update stable to v1.0.260 01:36:03 ------------------- 01:36:03 experimental info: 01:36:03 ------------------- 01:36:03 Commited By: Ginny Guan ginny@iotechsys.com 01:36:03 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:36:03 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:36:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:36:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-687 [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-687 [Pipeline] echo 01:36:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-687 [Pipeline] echo 01:36:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo 01:36:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc11a9d [Pipeline] echo 01:36:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:06 provisioning config files... 01:36:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config11301076457129774248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:08 ---> ****-login.sh 01:36:08 nexus3.edgexfoundry.org:10001 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:11 Configure a credential helper to remove this warning. See 01:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:11 01:36:11 Login Succeeded 01:36:11 nexus3.edgexfoundry.org:10002 01:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:11 Configure a credential helper to remove this warning. See 01:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:11 01:36:11 Login Succeeded 01:36:11 nexus3.edgexfoundry.org:10003 01:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:11 Configure a credential helper to remove this warning. See 01:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:11 01:36:11 Login Succeeded 01:36:11 nexus3.edgexfoundry.org:10004 01:36:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:11 Configure a credential helper to remove this warning. See 01:36:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:11 01:36:11 Login Succeeded 01:36:11 ****.io 01:36:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:12 Configure a credential helper to remove this warning. See 01:36:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:12 01:36:12 Login Succeeded 01:36:12 ---> ****-login.sh ends [Pipeline] } 01:36:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:36:13 + git rev-list -1 --merges dc11a9d5c340b132dff6636842266791c439acae~1..dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo 01:36:13 -----------> git rev-list -1 --merges dc11a9d5c340b132dff6636842266791c439acae~1..dc11a9d5c340b132dff6636842266791c439acae dc11a9d5c340b132dff6636842266791c439acae [false] [Pipeline] sh 01:36:13 + git log --format=format:%s -1 dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo 01:36:13 ========================================================= 01:36:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:36:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:14 + git log --format=format:%s -1 dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo 01:36:14 [semverPrep] GIT_COMMIT: dc11a9d5c340b132dff6636842266791c439acae, Commit Message: build(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0 [Pipeline] echo 01:36:14 [semverPrep] This is not a build commit. [Pipeline] sh 01:36:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:36:14 + grep -v github /etc/ssh/ssh_known_hosts 01:36:14 + [ -e /tmp/ssh_known_hosts ] 01:36:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:36:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:36:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:36:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:15 01:36:15 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:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:15 0.1.4: Pulling from edgex-devops/py-git-semver 01:36:15 b85a868b505f: Pulling fs layer 01:36:15 e2be974225ed: Pulling fs layer 01:36:15 339a4e72a1f5: Pulling fs layer 01:36:15 988bab9f4d93: Pulling fs layer 01:36:15 1469e6f7b9e6: Pulling fs layer 01:36:15 eaf3925da568: Pulling fs layer 01:36:15 bab4dde63d76: Pulling fs layer 01:36:15 1469e6f7b9e6: Waiting 01:36:15 988bab9f4d93: Waiting 01:36:15 bde34c3a00c8: Pulling fs layer 01:36:15 b352a97aabf1: Pulling fs layer 01:36:15 bab4dde63d76: Waiting 01:36:15 bde34c3a00c8: Waiting 01:36:15 4872d77fe225: Pulling fs layer 01:36:15 5851b861e8e6: Pulling fs layer 01:36:15 b352a97aabf1: Waiting 01:36:15 5851b861e8e6: Waiting 01:36:15 4872d77fe225: Waiting 01:36:15 e2be974225ed: Verifying Checksum 01:36:15 e2be974225ed: Download complete 01:36:15 988bab9f4d93: Verifying Checksum 01:36:15 988bab9f4d93: Download complete 01:36:16 1469e6f7b9e6: Verifying Checksum 01:36:16 1469e6f7b9e6: Download complete 01:36:16 eaf3925da568: Verifying Checksum 01:36:16 eaf3925da568: Download complete 01:36:16 339a4e72a1f5: Verifying Checksum 01:36:16 339a4e72a1f5: Download complete 01:36:16 bde34c3a00c8: Download complete 01:36:16 b352a97aabf1: Download complete 01:36:16 4872d77fe225: Verifying Checksum 01:36:16 4872d77fe225: Download complete 01:36:16 5851b861e8e6: Download complete 01:36:16 b85a868b505f: Download complete 01:36:16 bab4dde63d76: Verifying Checksum 01:36:16 bab4dde63d76: Download complete 01:36:17 b85a868b505f: Pull complete 01:36:17 e2be974225ed: Pull complete 01:36:18 339a4e72a1f5: Pull complete 01:36:18 988bab9f4d93: Pull complete 01:36:18 1469e6f7b9e6: Pull complete 01:36:18 eaf3925da568: Pull complete 01:36:20 bab4dde63d76: Pull complete 01:36:20 bde34c3a00c8: Pull complete 01:36:20 b352a97aabf1: Pull complete 01:36:20 4872d77fe225: Pull complete 01:36:20 5851b861e8e6: Pull complete 01:36:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:36:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:21 prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container 01:36:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:36:24 $ docker top 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 -eo pid,comm 01:36:24 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:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:36:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:25 [ssh-agent] Looking for ssh-agent implementation... 01:36:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:25 $ docker exec 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent 01:36:25 SSH_AUTH_SOCK=/tmp/ssh-f2IcCF7fw3o4/agent.34 01:36:25 SSH_AGENT_PID=40 01:36:25 Running ssh-add (command line suppressed) 01:36:25 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_17114503249460568293.key (/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_17114503249460568293.key) 01:36:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:25 + git tag --points-at HEAD [Pipeline] } 01:36:25 $ docker exec --env ******** --env ******** 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent -k 01:36:26 unset SSH_AUTH_SOCK; 01:36:26 unset SSH_AGENT_PID; 01:36:26 echo Agent pid 40 killed; 01:36:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:36:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:36:26 [ssh-agent] Looking for ssh-agent implementation... 01:36:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:36:26 $ docker exec 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent 01:36:26 SSH_AUTH_SOCK=/tmp/ssh-UznE73bzehUa/agent.74 01:36:26 SSH_AGENT_PID=81 01:36:26 Running ssh-add (command line suppressed) 01:36:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_3041840755515999361.key (/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_3041840755515999361.key) 01:36:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:36:27 + git semver init 01:36:27 2024-08-07 01:36:27,218 [run_init] DEBUG init version:0.0.0 force:False 01:36:27 2024-08-07 01:36:27,219 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver 01:36:27 2024-08-07 01:36:27,219 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver 01:36:27 2024-08-07 01:36:27,219 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-687, universal_newlines=False, shell=None, istream=None) 01:36:29 2024-08-07 01:36:28,970 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.git/info/exclude 01:36:29 2024-08-07 01:36:28,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver/PR-687 with force:False 01:36:29 2024-08-07 01:36:28,971 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver/PR-687 01:36:29 2024-08-07 01:36:28,975 [execute] INFO git cat-file --batch-check 01:36:29 2024-08-07 01:36:28,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver, universal_newlines=False, shell=None, istream=) 01:36:29 2024-08-07 01:36:28,982 [execute] INFO git cat-file --batch 01:36:29 2024-08-07 01:36:28,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver, universal_newlines=False, shell=None, istream=) 01:36:29 2024-08-07 01:36:28,987 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver/PR-687 01:36:29 0.0.0 [Pipeline] } 01:36:29 $ docker exec --env ******** --env ******** 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent -k 01:36:29 unset SSH_AUTH_SOCK; 01:36:29 unset SSH_AGENT_PID; 01:36:29 echo Agent pid 81 killed; 01:36:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:36:29 + git semver [Pipeline] } 01:36:30 $ docker stop --time=1 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 01:36:31 $ docker rm -f --volumes 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:36:32 Stashed 1 file(s) [Pipeline] echo 01:36:32 [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:33 provisioning config files... 01:36:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config13300865364791057416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:33 ---> ****-login.sh 01:36:33 nexus3.edgexfoundry.org:10001 01:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:33 Configure a credential helper to remove this warning. See 01:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:33 01:36:33 Login Succeeded 01:36:33 nexus3.edgexfoundry.org:10002 01:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:33 Configure a credential helper to remove this warning. See 01:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:33 01:36:33 Login Succeeded 01:36:33 nexus3.edgexfoundry.org:10003 01:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:33 Configure a credential helper to remove this warning. See 01:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:33 01:36:33 Login Succeeded 01:36:33 nexus3.edgexfoundry.org:10004 01:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:33 Configure a credential helper to remove this warning. See 01:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:33 01:36:33 Login Succeeded 01:36:33 ****.io 01:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:36:33 Configure a credential helper to remove this warning. See 01:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:36:33 01:36:33 Login Succeeded 01:36:33 ---> ****-login.sh ends [Pipeline] } 01:36:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:36:34 ========================================================= 01:36:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:36:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:34 + 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:34 Sending build context to Docker daemon 20.83MB 01:36:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:36:34 Step 2/12 : FROM ${BASE} AS builder 01:36:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:36:35 619be1103602: Pulling fs layer 01:36:35 7862e08f4a3e: Pulling fs layer 01:36:35 5df492c9dc93: Pulling fs layer 01:36:35 7629e6793208: Pulling fs layer 01:36:35 4f4fb700ef54: Pulling fs layer 01:36:35 fb5054dd5b73: Pulling fs layer 01:36:35 eeca6798cff9: Pulling fs layer 01:36:35 aa269ceb94a6: Pulling fs layer 01:36:35 ada007ff1a6a: Pulling fs layer 01:36:35 aa269ceb94a6: Waiting 01:36:35 fb5054dd5b73: Waiting 01:36:35 eeca6798cff9: Waiting 01:36:35 7629e6793208: Waiting 01:36:35 4f4fb700ef54: Waiting 01:36:35 ada007ff1a6a: Waiting 01:36:35 7862e08f4a3e: Verifying Checksum 01:36:35 7862e08f4a3e: Download complete 01:36:35 7629e6793208: Verifying Checksum 01:36:35 7629e6793208: Download complete 01:36:35 619be1103602: Verifying Checksum 01:36:35 619be1103602: Download complete 01:36:35 4f4fb700ef54: Verifying Checksum 01:36:35 4f4fb700ef54: Download complete 01:36:35 fb5054dd5b73: Verifying Checksum 01:36:35 fb5054dd5b73: Download complete 01:36:35 eeca6798cff9: Verifying Checksum 01:36:35 eeca6798cff9: Download complete 01:36:35 619be1103602: Pull complete 01:36:35 ada007ff1a6a: Verifying Checksum 01:36:35 ada007ff1a6a: Download complete 01:36:35 7862e08f4a3e: Pull complete 01:36:35 5df492c9dc93: Verifying Checksum 01:36:35 5df492c9dc93: Download complete 01:36:35 aa269ceb94a6: Verifying Checksum 01:36:35 aa269ceb94a6: Download complete 01:36:39 5df492c9dc93: Pull complete 01:36:39 7629e6793208: Pull complete 01:36:39 4f4fb700ef54: Pull complete 01:36:39 fb5054dd5b73: Pull complete 01:36:39 eeca6798cff9: Pull complete 01:36:42 aa269ceb94a6: Pull complete 01:36:42 ada007ff1a6a: Pull complete 01:36:42 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:36:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:36:42 ---> f489d0715acc 01:36:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:36:47 ---> Running in 1ea8bd4ced59 01:36:47 Removing intermediate container 1ea8bd4ced59 01:36:47 ---> 1080de6219db 01:36:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:47 ---> Running in 773125e48b21 01:36:47 Removing intermediate container 773125e48b21 01:36:47 ---> cf3c55e1e0c9 01:36:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:36:47 ---> Running in be104f8df440 01:36:47 Removing intermediate container be104f8df440 01:36:47 ---> 4df1e13027b1 01:36:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:36:47 ---> Running in fbb49481951e 01:36:47 Removing intermediate container fbb49481951e 01:36:47 ---> 3cfd8d110dea 01:36:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:47 ---> Running in 7834c1d2bbd0 01:36:47 Still waiting to schedule task 01:36:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7241’ 01:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:36:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:36:48 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:36:48 (2/4) Installing libedit (20221030.3.1-r1) 01:36:48 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:36:48 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:36:48 Executing busybox-1.36.1-r5.trigger 01:36:48 OK: 268 MiB in 56 packages 01:36:49 Removing intermediate container 7834c1d2bbd0 01:36:49 ---> 089df0025ab9 01:36:49 Step 8/12 : WORKDIR /device-mqtt-go 01:36:49 ---> Running in 6cfbda22a7b2 01:36:49 Removing intermediate container 6cfbda22a7b2 01:36:49 ---> 348f383518d9 01:36:49 Step 9/12 : COPY go.mod vendor* ./ 01:36:49 ---> b42d404719e1 01:36:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:49 ---> Running in d5c0a9d5e761 01:37:46 Removing intermediate container d5c0a9d5e761 01:37:46 ---> a96fe758057c 01:37:46 Step 11/12 : COPY . . 01:37:46 ---> f99447678da7 01:37:46 Step 12/12 : RUN $MAKE 01:37:46 ---> Running in 31a365749a09 01:37:47 noop 01:37:49 Removing intermediate container 31a365749a09 01:37:49 ---> 7f9da549b5bb 01:37:49 Successfully built 7f9da549b5bb 01:37:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:50 + docker inspect -f . ci-base-image-x86_64 01:37:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:50 prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container 01:37:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@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-x86_64 cat 01:37:53 $ docker top bfc2e4b6e6b388e2009e194821570eb208185bd55aea8d32093872575296429a -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:53 + go version 01:37:53 go version go1.21.9 linux/amd64 [Pipeline] } 01:37:53 $ docker stop --time=1 bfc2e4b6e6b388e2009e194821570eb208185bd55aea8d32093872575296429a 01:37:55 $ docker rm -f --volumes bfc2e4b6e6b388e2009e194821570eb208185bd55aea8d32093872575296429a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:56 + docker inspect -f . ci-base-image-x86_64 01:37:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:57 prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container 01:37:57 $ 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-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@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-x86_64 cat 01:37:57 $ docker top 3388b6462443c3099731108c85ab27bf3f568fdb221c00997c340e62c4c115db -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-687 [Pipeline] fileExists [Pipeline] sh 01:37:58 + make test 01:37:58 go test ./... -coverprofile=coverage.out ./... 01:37:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:38:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:38:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:38:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 01:38:27 go vet ./... 01:38:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:34 ./bin/test-attribution-txt.sh 01:38:34 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:38:34 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:38:34 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:38:34 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:38:34 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:38:34 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:38:34 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:38:34 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:38:34 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:38:34 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:38:34 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:38:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:38:34 $ docker stop --time=1 3388b6462443c3099731108c85ab27bf3f568fdb221c00997c340e62c4c115db 01:38:40 $ docker rm -f --volumes 3388b6462443c3099731108c85ab27bf3f568fdb221c00997c340e62c4c115db [Pipeline] // withDockerContainer [Pipeline] sh 01:38:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:38:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:41 + ls -al . 01:38:41 total 252 01:38:41 drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 01:37 . 01:38:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 01:35 .. 01:38:41 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 01:35 .dockerignore 01:38:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:38 .git 01:38:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:35 .github 01:38:41 -rw-rw-r-- 1 jenkins jenkins 264 Aug 7 01:35 .gitignore 01:38:41 -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 01:35 .golangci.yml 01:38:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 01:36 .semver 01:38:41 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 7 01:35 Attribution.txt 01:38:41 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 7 01:35 CHANGELOG.md 01:38:41 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 7 01:35 Dockerfile 01:38:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 01:35 GOVERNANCE.md 01:38:41 -rw-rw-r-- 1 jenkins jenkins 657 Aug 7 01:35 Jenkinsfile 01:38:41 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 01:35 LICENSE 01:38:41 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 7 01:35 Makefile 01:38:41 -rw-rw-r-- 1 jenkins jenkins 620 Aug 7 01:35 OWNERS.md 01:38:41 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 7 01:35 README.md 01:38:41 -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 01:36 VERSION 01:38:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:35 bin 01:38:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:35 cmd 01:38:41 -rw-r--r-- 1 jenkins jenkins 18506 Aug 7 01:38 coverage.out 01:38:41 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 7 01:35 go.mod 01:38:41 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 01:35 go.sum 01:38:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:35 internal 01:38:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:35 mock 01:38:41 -rw-rw-r-- 1 jenkins jenkins 227 Aug 7 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:42 + 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=dc11a9d5c340b132dff6636842266791c439acae --label arch=amd64 --label version=0.0.0 . 01:38:42 Sending build context to Docker daemon 20.85MB 01:38:42 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:38:42 Step 2/25 : FROM ${BASE} AS builder 01:38:42 ---> 7f9da549b5bb 01:38:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:38:43 ---> Running in af050082fff6 01:38:43 Removing intermediate container af050082fff6 01:38:43 ---> 611c49a1d58e 01:38:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:38:43 ---> Running in 009a35d049ca 01:38:43 Removing intermediate container 009a35d049ca 01:38:43 ---> 11e8cb1bab39 01:38:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:38:43 ---> Running in 1d9250c8f588 01:38:43 Removing intermediate container 1d9250c8f588 01:38:43 ---> cd25554697bc 01:38:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:38:43 ---> Running in 7af05117067d 01:38:43 Removing intermediate container 7af05117067d 01:38:43 ---> c13f2cbecf42 01:38:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:43 ---> Running in 0c2acef030a8 01:38:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:38:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:38:44 OK: 268 MiB in 56 packages 01:38:44 Removing intermediate container 0c2acef030a8 01:38:44 ---> f8ebb6423264 01:38:44 Step 8/25 : WORKDIR /device-mqtt-go 01:38:44 ---> Running in 2b9c08fbe312 01:38:44 Removing intermediate container 2b9c08fbe312 01:38:44 ---> 24dfa244cb8e 01:38:44 Step 9/25 : COPY go.mod vendor* ./ 01:38:44 ---> f6bf9bb990bb 01:38:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:44 ---> Running in 3be1bedff67a 01:38:45 Removing intermediate container 3be1bedff67a 01:38:45 ---> c03322217fa2 01:38:45 Step 11/25 : COPY . . 01:38:46 ---> 5226aee5fe80 01:38:46 Step 12/25 : RUN $MAKE 01:38:46 ---> Running in 21edbce0c5c2 01:38:46 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.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:39:25 Removing intermediate container 21edbce0c5c2 01:39:25 ---> 8497e25218ed 01:39:25 Step 13/25 : FROM alpine:3.18 01:39:25 3.18: Pulling from library/alpine 01:39:25 930bdd4d222e: Pulling fs layer 01:39:25 930bdd4d222e: Verifying Checksum 01:39:25 930bdd4d222e: Download complete 01:39:25 930bdd4d222e: Pull complete 01:39:25 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:39:25 Status: Downloaded newer image for alpine:3.18 01:39:25 ---> 18f865063206 01:39:25 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:39:25 ---> Running in 992c47bc93f5 01:39:25 Removing intermediate container 992c47bc93f5 01:39:25 ---> 7d86c251603b 01:39:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:39:25 ---> Running in bfab2535f942 01:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:25 (1/1) Installing dumb-init (1.2.5-r2) 01:39:25 Executing busybox-1.36.1-r7.trigger 01:39:25 OK: 7 MiB in 16 packages 01:39:25 Removing intermediate container bfab2535f942 01:39:25 ---> 0204cb998b0e 01:39:25 Step 16/25 : RUN apk --no-cache upgrade 01:39:25 ---> Running in a75b4864eaeb 01:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:39:25 OK: 7 MiB in 16 packages 01:39:25 Removing intermediate container a75b4864eaeb 01:39:25 ---> 6341de0b165f 01:39:25 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:39:25 ---> 42fae2264b4f 01:39:25 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:39:25 ---> ba8492a97647 01:39:25 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:39:25 ---> c9a80f7d84af 01:39:25 Step 20/25 : EXPOSE 59982 01:39:25 ---> Running in 7ed149155c81 01:39:25 Removing intermediate container 7ed149155c81 01:39:25 ---> b31dacd3b32a 01:39:25 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:39:25 ---> Running in 081748253c5d 01:39:25 Removing intermediate container 081748253c5d 01:39:25 ---> 89cc38d4346e 01:39:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:39:25 ---> Running in c44cc0a5fa28 01:39:25 Removing intermediate container c44cc0a5fa28 01:39:25 ---> 81d0ffdfaef7 01:39:25 Step 23/25 : LABEL arch=amd64 01:39:25 ---> Running in 4288183f9c9a 01:39:25 Removing intermediate container 4288183f9c9a 01:39:25 ---> 83dddcd91576 01:39:25 Step 24/25 : LABEL git_sha=dc11a9d5c340b132dff6636842266791c439acae 01:39:25 ---> Running in 925dda56fceb 01:39:25 Removing intermediate container 925dda56fceb 01:39:25 ---> 58d356a7f44d 01:39:25 Step 25/25 : LABEL version=0.0.0 01:39:25 ---> Running in 30cb2e9c977c 01:39:25 Removing intermediate container 30cb2e9c977c 01:39:25 ---> 32bb9396f6ad 01:39:25 [Warning] One or more build-args [ARCH] were not consumed 01:39:25 Successfully built 32bb9396f6ad 01:39:25 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:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:26 01:39:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:27 latest: Pulling from edgex-lftools-log-publisher 01:39:27 5eb5b503b376: Pulling fs layer 01:39:27 5c69ac0246d0: Pulling fs layer 01:39:27 ec43610c2a17: Pulling fs layer 01:39:27 3a2ae6a8a46f: Pulling fs layer 01:39:27 33b1e0a273af: Pulling fs layer 01:39:27 5d3b04190fa2: Pulling fs layer 01:39:27 2f39f015ded8: Pulling fs layer 01:39:27 3a2ae6a8a46f: Waiting 01:39:27 33b1e0a273af: Waiting 01:39:27 5d3b04190fa2: Waiting 01:39:27 5c69ac0246d0: Verifying Checksum 01:39:27 5c69ac0246d0: Download complete 01:39:27 3a2ae6a8a46f: Download complete 01:39:27 33b1e0a273af: Verifying Checksum 01:39:27 33b1e0a273af: Download complete 01:39:27 5d3b04190fa2: Verifying Checksum 01:39:27 5d3b04190fa2: Download complete 01:39:27 ec43610c2a17: Verifying Checksum 01:39:27 ec43610c2a17: Download complete 01:39:27 5eb5b503b376: Verifying Checksum 01:39:27 5eb5b503b376: Download complete 01:39:27 2f39f015ded8: Download complete 01:39:28 5eb5b503b376: Pull complete 01:39:28 5c69ac0246d0: Pull complete 01:39:29 ec43610c2a17: Pull complete 01:39:29 3a2ae6a8a46f: Pull complete 01:39:29 33b1e0a273af: Pull complete 01:39:29 5d3b04190fa2: Pull complete 01:39:34 2f39f015ded8: Pull complete 01:39:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:39:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:39:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:35 prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container 01:39:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:39:39 $ docker top 080e5ee1de2555117ab95909e66aa8abdd7d6f3330208bd0c73416d6ff5b93bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:40 ---> job-cost.sh 01:39:40 lf-activate-venv: SKIPPING 01:39:40 INFO: No Stack... 01:39:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:39:40 INFO: Archiving Costs [Pipeline] sh 01:39:41 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives/cost.csv 01:39:41 + cut -d, -f6 [Pipeline] lock 01:39:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] 01:39:41 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] did not exist. Created. 01:39:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:39:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:39:41 Stashed 1 file(s) [Pipeline] } 01:39:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:39:41 $ docker stop --time=1 080e5ee1de2555117ab95909e66aa8abdd7d6f3330208bd0c73416d6ff5b93bd 01:39:42 $ docker rm -f --volumes 080e5ee1de2555117ab95909e66aa8abdd7d6f3330208bd0c73416d6ff5b93bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:40:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7244 in /w/workspace/gexfoundry_device-mqtt-go_PR-687 [Pipeline] { [Pipeline] ws 01:40:24 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:40:27 The recommended git tool is: git 01:40:35 using credential edgex-jenkins-ssh 01:40:36 Cloning the remote Git repository 01:40:36 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:40:36 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:40:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:40:36 > git --version # timeout=10 01:40:36 > git --version # 'git version 2.25.1' 01:40:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:39 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:40:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:40:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:40:41 Merging remotes/origin/main commit 151f68fece686541369959fa72875a7edd02f739 into PR head commit dc11a9d5c340b132dff6636842266791c439acae 01:40:41 Merge succeeded, producing dc11a9d5c340b132dff6636842266791c439acae 01:40:41 Checking out Revision dc11a9d5c340b132dff6636842266791c439acae (PR-687) 01:40:42 Commit message: "build(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0" 01:40:42 > git --version # timeout=10 01:40:42 > git --version # 'git version 2.25.1' 01:40:42 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 01:40:41 > git config core.sparsecheckout # timeout=10 01:40:41 > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # timeout=10 01:40:41 > git remote # timeout=10 01:40:41 > git config --get remote.origin.url # timeout=10 01:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:41 > git merge 151f68fece686541369959fa72875a7edd02f739 # timeout=10 01:40:41 > git rev-parse HEAD^{commit} # timeout=10 01:40:41 > git config core.sparsecheckout # timeout=10 01:40:41 > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:40:47 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:47 Dload Upload Total Spent Left Speed 01:40:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 01:40:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:40:48 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:40:48 sudo tee /etc/docker/daemon.new 01:40:48 { 01:40:48 "registry-mirrors": [ 01:40:48 "https://nexus3.edgexfoundry.org:10001" 01:40:48 ], 01:40:48 "bip": "10.250.0.254/24", 01:40:48 "hosts": [ 01:40:48 "tcp://0.0.0.0:5555", 01:40:48 "unix:///var/run/docker.sock" 01:40:48 ], 01:40:48 "mtu": 1458, 01:40:48 "selinux-enabled": true, 01:40:48 "seccomp-profile": "/etc/docker/seccomp.json" 01:40:48 } [Pipeline] sh 01:40:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:40:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:07 provisioning config files... 01:41:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config9159180036541185937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:07 ---> ****-login.sh 01:41:07 nexus3.edgexfoundry.org:10001 01:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:08 Configure a credential helper to remove this warning. See 01:41:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:08 01:41:08 Login Succeeded 01:41:08 nexus3.edgexfoundry.org:10002 01:41:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:08 Configure a credential helper to remove this warning. See 01:41:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:08 01:41:08 Login Succeeded 01:41:08 nexus3.edgexfoundry.org:10003 01:41:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:08 Configure a credential helper to remove this warning. See 01:41:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:08 01:41:08 Login Succeeded 01:41:08 nexus3.edgexfoundry.org:10004 01:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:09 Configure a credential helper to remove this warning. See 01:41:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:09 01:41:09 Login Succeeded 01:41:09 ****.io 01:41:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:41:09 Configure a credential helper to remove this warning. See 01:41:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:41:09 01:41:09 Login Succeeded 01:41:10 ---> ****-login.sh ends [Pipeline] } 01:41:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:41:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:41:10 ========================================================= 01:41:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:41:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:11 + 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:41:11 Sending build context to Docker daemon 10.53MB 01:41:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:41:11 Step 2/12 : FROM ${BASE} AS builder 01:41:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:41:11 c6b39de5b339: Pulling fs layer 01:41:11 a69c41024577: Pulling fs layer 01:41:11 d6de4b400683: Pulling fs layer 01:41:11 35cb2a7552d0: Pulling fs layer 01:41:11 4f4fb700ef54: Pulling fs layer 01:41:11 464afbd9ba4c: Pulling fs layer 01:41:11 00f215d4a9da: Pulling fs layer 01:41:11 d496ad576159: Pulling fs layer 01:41:11 35cb2a7552d0: Waiting 01:41:11 4f4fb700ef54: Waiting 01:41:11 464afbd9ba4c: Waiting 01:41:11 d496ad576159: Waiting 01:41:11 00f215d4a9da: Waiting 01:41:11 a69c41024577: Verifying Checksum 01:41:11 a69c41024577: Download complete 01:41:11 35cb2a7552d0: Verifying Checksum 01:41:11 35cb2a7552d0: Download complete 01:41:12 4f4fb700ef54: Verifying Checksum 01:41:12 4f4fb700ef54: Download complete 01:41:12 c6b39de5b339: Verifying Checksum 01:41:12 c6b39de5b339: Download complete 01:41:12 464afbd9ba4c: Verifying Checksum 01:41:12 464afbd9ba4c: Download complete 01:41:12 d496ad576159: Verifying Checksum 01:41:12 d496ad576159: Download complete 01:41:12 c6b39de5b339: Pull complete 01:41:13 a69c41024577: Pull complete 01:41:13 d6de4b400683: Verifying Checksum 01:41:13 d6de4b400683: Download complete 01:41:14 00f215d4a9da: Verifying Checksum 01:41:14 00f215d4a9da: Download complete 01:41:27 d6de4b400683: Pull complete 01:41:27 35cb2a7552d0: Pull complete 01:41:27 4f4fb700ef54: Pull complete 01:41:27 464afbd9ba4c: Pull complete 01:41:35 00f215d4a9da: Pull complete 01:41:37 d496ad576159: Pull complete 01:41:37 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:41:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:41:37 ---> f246e2811388 01:41:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:41:39 ---> Running in 98131c5dcf05 01:41:39 Removing intermediate container 98131c5dcf05 01:41:39 ---> 2055cf481a3e 01:41:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:39 ---> Running in bda63210d9d1 01:41:39 Removing intermediate container bda63210d9d1 01:41:39 ---> af4e1a9733c1 01:41:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:41:39 ---> Running in 51870d6d03ef 01:41:39 Removing intermediate container 51870d6d03ef 01:41:39 ---> 910796d75c1a 01:41:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:41:39 ---> Running in 6a97fe8c6e2a 01:41:40 Removing intermediate container 6a97fe8c6e2a 01:41:40 ---> 972c2d15200b 01:41:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:40 ---> Running in 6e1cc8160761 01:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:41:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:41:43 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:41:43 (2/4) Installing libedit (20221030.3.1-r1) 01:41:43 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:41:43 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:41:43 Executing busybox-1.36.1-r5.trigger 01:41:43 OK: 271 MiB in 56 packages 01:41:44 Removing intermediate container 6e1cc8160761 01:41:44 ---> 8acfbc879a98 01:41:44 Step 8/12 : WORKDIR /device-mqtt-go 01:41:44 ---> Running in 568c311e507f 01:41:44 Removing intermediate container 568c311e507f 01:41:44 ---> ea9dbb953c9b 01:41:44 Step 9/12 : COPY go.mod vendor* ./ 01:41:45 ---> 2cadea51edc4 01:41:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:45 ---> Running in dd9a38a69b95 01:43:36 Removing intermediate container dd9a38a69b95 01:43:36 ---> 90c61705a7a9 01:43:36 Step 11/12 : COPY . . 01:43:36 ---> 26c4bfd7fac2 01:43:36 Step 12/12 : RUN $MAKE 01:43:36 ---> Running in 46c18921373b 01:43:36 noop 01:43:36 Removing intermediate container 46c18921373b 01:43:36 ---> 71513d44556e 01:43:36 Successfully built 71513d44556e 01:43:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:37 + docker inspect -f . ci-base-image-arm64 01:43:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:37 prd-ubuntu20.04-docker-arm64-4c-16g-7244 does not seem to be running inside a container 01:43:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:43:38 $ docker top 84f92020f7b165ebc8961e8d5f5db31c544b38188644339e15485b981d2e182a -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:39 + go version 01:43:39 go version go1.21.9 linux/arm64 [Pipeline] } 01:43:39 $ docker stop --time=1 84f92020f7b165ebc8961e8d5f5db31c544b38188644339e15485b981d2e182a 01:43:41 $ docker rm -f --volumes 84f92020f7b165ebc8961e8d5f5db31c544b38188644339e15485b981d2e182a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:42 + docker inspect -f . ci-base-image-arm64 01:43:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:42 prd-ubuntu20.04-docker-arm64-4c-16g-7244 does not seem to be running inside a container 01:43:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:43:43 $ docker top 67fe64d589d8b745c275de98d2e2125301e51a3d49c240276e8c3e9cd5548f82 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:44 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:43:45 + make test 01:43:45 go test ./... -coverprofile=coverage.out ./... 01:43:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:47:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:47:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:47:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements 01:47:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:47:14 go vet ./... 01:48:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:00 ./bin/test-attribution-txt.sh 01:48:00 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:48:00 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:48:00 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:48:00 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:48:00 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:48:00 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:48:00 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:48:00 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:48:00 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:48:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:48:00 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:48:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:48:01 $ docker stop --time=1 67fe64d589d8b745c275de98d2e2125301e51a3d49c240276e8c3e9cd5548f82 01:48:02 $ docker rm -f --volumes 67fe64d589d8b745c275de98d2e2125301e51a3d49c240276e8c3e9cd5548f82 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:48:04 Warning: overwriting stash ‘coverage-report’ 01:48:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:48:05 + ls -al . 01:48:05 total 248 01:48:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:43 . 01:48:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 01:40 .. 01:48:05 -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 01:40 .dockerignore 01:48:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:40 .git 01:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:40 .github 01:48:05 -rw-rw-r-- 1 jenkins jenkins 264 Aug 7 01:40 .gitignore 01:48:05 -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 01:40 .golangci.yml 01:48:05 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 7 01:40 Attribution.txt 01:48:05 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 7 01:40 CHANGELOG.md 01:48:05 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 7 01:40 Dockerfile 01:48:05 -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 01:40 GOVERNANCE.md 01:48:05 -rw-rw-r-- 1 jenkins jenkins 657 Aug 7 01:40 Jenkinsfile 01:48:05 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 01:40 LICENSE 01:48:05 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 7 01:40 Makefile 01:48:05 -rw-rw-r-- 1 jenkins jenkins 620 Aug 7 01:40 OWNERS.md 01:48:05 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 7 01:40 README.md 01:48:05 -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 01:36 VERSION 01:48:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:40 bin 01:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:40 cmd 01:48:05 -rw-r--r-- 1 jenkins jenkins 18506 Aug 7 01:47 coverage.out 01:48:05 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 7 01:40 go.mod 01:48:05 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 01:40 go.sum 01:48:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:40 internal 01:48:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:40 mock 01:48:05 -rw-rw-r-- 1 jenkins jenkins 227 Aug 7 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:06 + 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=dc11a9d5c340b132dff6636842266791c439acae --label arch=arm64 --label version=0.0.0 . 01:48:06 Sending build context to Docker daemon 10.55MB 01:48:06 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:48:06 Step 2/25 : FROM ${BASE} AS builder 01:48:06 ---> 71513d44556e 01:48:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:48:06 ---> Running in 681a7442da52 01:48:07 Removing intermediate container 681a7442da52 01:48:07 ---> 46cb7d377013 01:48:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:48:07 ---> Running in 4df4d358d6ba 01:48:07 Removing intermediate container 4df4d358d6ba 01:48:07 ---> 3c11731381d8 01:48:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:48:07 ---> Running in 7347d40b08a9 01:48:08 Removing intermediate container 7347d40b08a9 01:48:08 ---> 1e5f0cecef62 01:48:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:48:08 ---> Running in 55e78fb396bb 01:48:08 Removing intermediate container 55e78fb396bb 01:48:08 ---> 8537562aad37 01:48:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:08 ---> Running in adc103c8e7a1 01:48:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:48:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:48:11 OK: 271 MiB in 56 packages 01:48:12 Removing intermediate container adc103c8e7a1 01:48:12 ---> b9d5c1b18ae9 01:48:12 Step 8/25 : WORKDIR /device-mqtt-go 01:48:12 ---> Running in 9fa7d098241e 01:48:12 Removing intermediate container 9fa7d098241e 01:48:12 ---> 879e8859948c 01:48:12 Step 9/25 : COPY go.mod vendor* ./ 01:48:12 ---> a4603e28bde7 01:48:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:12 ---> Running in e204499b7a37 01:48:15 Removing intermediate container e204499b7a37 01:48:15 ---> c5718b016bf1 01:48:15 Step 11/25 : COPY . . 01:48:16 ---> a618288743f6 01:48:16 Step 12/25 : RUN $MAKE 01:48:16 ---> Running in a284d61fb3d6 01:48:17 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.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:51:54 Removing intermediate container a284d61fb3d6 01:51:54 ---> e338db4dd180 01:51:54 Step 13/25 : FROM alpine:3.18 01:51:54 3.18: Pulling from library/alpine 01:51:54 4983c3fe2029: Pulling fs layer 01:51:54 4983c3fe2029: Verifying Checksum 01:51:54 4983c3fe2029: Download complete 01:51:54 4983c3fe2029: Pull complete 01:51:54 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:51:54 Status: Downloaded newer image for alpine:3.18 01:51:54 ---> a0237000ae83 01:51:54 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:51:54 ---> Running in e4838bd28aeb 01:51:54 Removing intermediate container e4838bd28aeb 01:51:54 ---> 06417871e77c 01:51:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:51:54 ---> Running in 880c2fb0f348 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:51:54 (1/1) Installing dumb-init (1.2.5-r2) 01:51:54 Executing busybox-1.36.1-r7.trigger 01:51:54 OK: 8 MiB in 16 packages 01:51:54 Removing intermediate container 880c2fb0f348 01:51:54 ---> 3876210b6dd2 01:51:54 Step 16/25 : RUN apk --no-cache upgrade 01:51:54 ---> Running in 8d01c2a22bf8 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:51:54 OK: 8 MiB in 16 packages 01:51:54 Removing intermediate container 8d01c2a22bf8 01:51:54 ---> a035d22007d1 01:51:54 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:51:54 ---> 993a29725fe9 01:51:54 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:51:54 ---> 842c0684cd04 01:51:54 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:51:54 ---> 63f08ad71c5d 01:51:54 Step 20/25 : EXPOSE 59982 01:51:54 ---> Running in f1ccfc7f3dd7 01:51:54 Removing intermediate container f1ccfc7f3dd7 01:51:54 ---> 5af9f1e5cebd 01:51:54 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:51:54 ---> Running in 8e9804fa009d 01:51:54 Removing intermediate container 8e9804fa009d 01:51:54 ---> f5e8265d424b 01:51:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:51:54 ---> Running in 697353c9e74b 01:51:54 Removing intermediate container 697353c9e74b 01:51:54 ---> b32ef8968bb1 01:51:54 Step 23/25 : LABEL arch=arm64 01:51:54 ---> Running in 5da06660f8a5 01:51:54 Removing intermediate container 5da06660f8a5 01:51:54 ---> db983f821b85 01:51:54 Step 24/25 : LABEL git_sha=dc11a9d5c340b132dff6636842266791c439acae 01:51:54 ---> Running in 0d1599f00e00 01:51:54 Removing intermediate container 0d1599f00e00 01:51:54 ---> e97ba857f308 01:51:54 Step 25/25 : LABEL version=0.0.0 01:51:54 ---> Running in 0c1eaada9e49 01:51:54 Removing intermediate container 0c1eaada9e49 01:51:54 ---> ab2db8d5c6e9 01:51:54 [Warning] One or more build-args [ARCH] were not consumed 01:51:54 Successfully built ab2db8d5c6e9 01:51:54 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:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:51:55 01:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:51:56 arm64: Pulling from edgex-lftools-log-publisher 01:51:56 8998bd30e6a1: Pulling fs layer 01:51:56 04944245beec: Pulling fs layer 01:51:56 699f458cf7ca: Pulling fs layer 01:51:56 765212b225bb: Pulling fs layer 01:51:56 f23df028b6ca: Pulling fs layer 01:51:56 d65c8cfc05b1: Pulling fs layer 01:51:56 2437ff75d9bd: Pulling fs layer 01:51:56 765212b225bb: Waiting 01:51:56 d65c8cfc05b1: Waiting 01:51:56 2437ff75d9bd: Waiting 01:51:56 f23df028b6ca: Waiting 01:51:56 04944245beec: Verifying Checksum 01:51:56 04944245beec: Download complete 01:51:56 765212b225bb: Verifying Checksum 01:51:56 765212b225bb: Download complete 01:51:56 f23df028b6ca: Verifying Checksum 01:51:56 f23df028b6ca: Download complete 01:51:56 d65c8cfc05b1: Verifying Checksum 01:51:56 d65c8cfc05b1: Download complete 01:51:56 699f458cf7ca: Verifying Checksum 01:51:56 699f458cf7ca: Download complete 01:51:57 8998bd30e6a1: Download complete 01:51:59 2437ff75d9bd: Verifying Checksum 01:51:59 2437ff75d9bd: Download complete 01:52:01 8998bd30e6a1: Pull complete 01:52:01 04944245beec: Pull complete 01:52:03 699f458cf7ca: Pull complete 01:52:03 765212b225bb: Pull complete 01:52:04 f23df028b6ca: Pull complete 01:52:04 d65c8cfc05b1: Pull complete 01:52:23 2437ff75d9bd: Pull complete 01:52:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:23 prd-ubuntu20.04-docker-arm64-4c-16g-7244 does not seem to be running inside a container 01:52: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/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:52:26 $ docker top a959b4b73a32e91af815037820ee9c49a7bf1371403c5f26d41778c5be7e13a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:27 ---> job-cost.sh 01:52:27 lf-activate-venv: SKIPPING 01:52:27 INFO: No Stack... 01:52:27 INFO: Retrieving Pricing Info for: v3-standard-4 01:52:28 INFO: Archiving Costs [Pipeline] sh 01:52:28 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:52:28 + cut -d, -f6 [Pipeline] lock 01:52:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] 01:52:29 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] did not exist. Created. 01:52:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:52:29 /w/workspace/device-mqtt-go/1@tmp/durable-ac050c37/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:52:29 + echo total: 0.10999999940395355 [Pipeline] stash 01:52:30 Warning: overwriting stash ‘stack-cost’ 01:52:30 Stashed 1 file(s) [Pipeline] } 01:52:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:52:30 $ docker stop --time=1 a959b4b73a32e91af815037820ee9c49a7bf1371403c5f26d41778c5be7e13a0 01:52:31 $ docker rm -f --volumes a959b4b73a32e91af815037820ee9c49a7bf1371403c5f26d41778c5be7e13a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:52:32 provisioning config files... 01:52:32 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config3019158294492052936tmp [Pipeline] { [Pipeline] sh 01:52:33 + set +x 01:52:33 + bash -s -- 01:52:33 + curl -s https://codecov.io/bash 01:52:33 01:52:33 _____ _ 01:52:33 / ____| | | 01:52:33 | | ___ __| | ___ ___ _____ __ 01:52:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:52:33 | |___| (_) | (_| | __/ (_| (_) \ V / 01:52:33 \_____\___/ \__,_|\___|\___\___/ \_/ 01:52:33 Bash-1.0.6 01:52:33 01:52:33 01:52:33 ==> git version 2.25.1 found 01:52:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:52:33 Release-Date: 2020-01-08 01:52:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:52:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:52:33 ==> Jenkins CI detected. 01:52:33 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-687 01:52:33 project root: . 01:52:33 --> token set from env 01:52:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:52:33 ==> Running gcov in . (disable via -X gcov) 01:52:33 ==> Python coveragepy not found 01:52:33 ==> Searching for coverage reports in: 01:52:33 + . 01:52:33 -> Found 1 reports 01:52:33 ==> Detecting git/mercurial file structure 01:52:33 ==> Reading reports 01:52:33 + ./coverage.out bytes=18506 01:52:33 ==> Appending adjustments 01:52:33 https://docs.codecov.io/docs/fixing-reports 01:52:33 + Found adjustments 01:52:33 ==> Gzipping contents 01:52:33 4.0K /tmp/codecov.yM5hgx.gz 01:52:33 ==> Uploading reports 01:52:33 url: https://codecov.io 01:52:33 query: branch=PR-687&commit=dc11a9d5c340b132dff6636842266791c439acae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-687%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=687&job=&cmd_args= 01:52:33 -> Pinging Codecov 01:52:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-687&commit=dc11a9d5c340b132dff6636842266791c439acae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-687%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=687&job=&cmd_args= 01:52:33 -> Uploading to 01:52:33 https://storage.googleapis.com/codecov/v4/raw/2024-08-07/7D719EC7BBE17E464838252E33014C33/dc11a9d5c340b132dff6636842266791c439acae/1b64008e-1998-41fa-ada4-547f013ad80f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T015233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2fe74ea6457f7b396e1a916cf2cf174cf12aa174721ed6456816db81a43ec5bc 01:52:33 % Total % Received % Xferd Average Speed Time Time Time Current 01:52:33 Dload Upload Total Spent Left Speed 01:52:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11127 --:--:-- --:--:-- --:--:-- 11127 01:52:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/dc11a9d5c340b132dff6636842266791c439acae [Pipeline] } 01:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:52:36 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives ] 01:52:36 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives 01:52:36 total 16 01:52:36 drwxr-xr-x 3 root root 4096 Aug 7 01:39 . 01:52:36 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 01:39 .. 01:52:36 drwxr-xr-x 2 root root 4096 Aug 7 01:39 cost 01:52:36 -rw-r--r-- 1 root root 86 Aug 7 01:39 cost.csv 01:52:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives 01:52:36 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives 01:52:36 total 16 01:52:36 drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 01:39 . 01:52:36 drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 01:39 .. 01:52:36 drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 01:39 cost 01:52:36 -rw-r--r-- 1 jenkins jenkins 86 Aug 7 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:52:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:52:37 ---> package-listing.sh 01:52:37 ++ facter osfamily 01:52:37 ++ tr '[:upper:]' '[:lower:]' 01:52:37 + OS_FAMILY=debian 01:52:37 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-687 01:52:37 + START_PACKAGES=/tmp/packages_start.txt 01:52:37 + END_PACKAGES=/tmp/packages_end.txt 01:52:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:52:37 + PACKAGES=/tmp/packages_start.txt 01:52:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-687 ']' 01:52:37 + PACKAGES=/tmp/packages_end.txt 01:52:37 + case "${OS_FAMILY}" in 01:52:37 + dpkg -l 01:52:37 + grep '^ii' 01:52:37 + '[' -f /tmp/packages_start.txt ']' 01:52:37 + '[' -f /tmp/packages_end.txt ']' 01:52:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:52:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-687 ']' 01:52:37 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives/ 01:52:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives/ [Pipeline] echo 01:52:37 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-687/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:52:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:52:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:38 prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container 01:52:39 $ 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-687/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-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:52:39 $ docker top c26481d5f46bcb3eab40c852b0f7cf1fb5600b351cb18d4c40bdae2ba4a2ea2b -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:39 + touch /tmp/pre-build-complete [Pipeline] sh 01:52:39 + mkdir -p /var/log/sysstat [Pipeline] sh 01:52:40 + ls /var/log/sa-host 01:52:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:40 provisioning config files... 01:52:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config4989347709639990671tmp [Pipeline] { [Pipeline] echo 01:52:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:52:41 ---> create-netrc.sh [Pipeline] } 01:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:52:41 ---> python-tools-install.sh [Pipeline] echo 01:52:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:52:41 ---> sudo-logs.sh 01:52:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:52:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:52:42 ---> job-cost.sh 01:52:42 lf-activate-venv: SKIPPING 01:52:42 DEBUG: total: 0.2199999988079071 01:52:42 INFO: Retrieving Stack Cost... 01:52:42 INFO: Retrieving Pricing Info for: v3-standard-8 01:52:43 INFO: Archiving Costs [Pipeline] echo 01:52:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:52:43 ---> logs-deploy.sh 01:52:43 lf-activate-venv: SKIPPING 01:52:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-687/1 01:52:43 INFO: archiving workspace using pattern(s): 01:52:44 Archives upload complete. 01:52:44 INFO: archiving logs to Nexus