Pull request #681 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 37c3516207616416876b79a04c14ca3c1827ec71+35de5baf133cb3849b13998f5bd615ef0c638656 (78047edf3484c830337c9c13402838b6390bea70) 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-ssh302291905351425461.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-ssh3647700924028377874.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-681/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-681/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16103248176113945392.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-681/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8503860318544581864.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-ssh16012423698797484872.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-681/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-681/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1757790067091114337.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-5683 in /w/workspace/gexfoundry_device-mqtt-go_PR-681 [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-681 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35de5baf133cb3849b13998f5bd615ef0c638656 into PR head commit 37c3516207616416876b79a04c14ca3c1827ec71 Merge succeeded, producing 37c3516207616416876b79a04c14ca3c1827ec71 Checking out Revision 37c3516207616416876b79a04c14ca3c1827ec71 (PR-681) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/681/head:refs/remotes/origin/PR-681 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # 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 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:48:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:48:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:48:17 ========================================================= 01:48:17 EdgeX Global Pipelines Version Info 01:48:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:48:18 ------------------- 01:48:18 stable info: 01:48:18 ------------------- 01:48:18 Commited By: Ginny Guan ginny@iotechsys.com 01:48:18 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:48:18 Message: update stable to v1.0.260 01:48:19 ------------------- 01:48:19 experimental info: 01:48:19 ------------------- 01:48:19 Commited By: Ginny Guan ginny@iotechsys.com 01:48:19 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:48:19 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:48:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:48:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-681 [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-681 [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-681 [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37c3516 [Pipeline] echo 01:48:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:21 provisioning config files... 01:48:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config8821929527182098226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:22 ---> ****-login.sh 01:48:22 nexus3.edgexfoundry.org:10001 01:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:23 Configure a credential helper to remove this warning. See 01:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:23 01:48:23 Login Succeeded 01:48:23 nexus3.edgexfoundry.org:10002 01:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:23 Configure a credential helper to remove this warning. See 01:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:23 01:48:23 Login Succeeded 01:48:23 nexus3.edgexfoundry.org:10003 01:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:23 Configure a credential helper to remove this warning. See 01:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:23 01:48:23 Login Succeeded 01:48:23 nexus3.edgexfoundry.org:10004 01:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:23 Configure a credential helper to remove this warning. See 01:48:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:23 01:48:24 Login Succeeded 01:48:24 ****.io 01:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:24 Configure a credential helper to remove this warning. See 01:48:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:24 01:48:24 Login Succeeded 01:48:24 ---> ****-login.sh ends [Pipeline] } 01:48:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:48:24 + git rev-list -1 --merges 37c3516207616416876b79a04c14ca3c1827ec71~1..37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo 01:48:24 -----------> git rev-list -1 --merges 37c3516207616416876b79a04c14ca3c1827ec71~1..37c3516207616416876b79a04c14ca3c1827ec71 37c3516207616416876b79a04c14ca3c1827ec71 [false] [Pipeline] sh 01:48:25 + git log --format=format:%s -1 37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo 01:48:25 ========================================================= 01:48:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:48:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:25 + git log --format=format:%s -1 37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo 01:48:25 [semverPrep] GIT_COMMIT: 37c3516207616416876b79a04c14ca3c1827ec71, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:48:25 [semverPrep] This is not a build commit. [Pipeline] sh 01:48:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:26 + grep -v github /etc/ssh/ssh_known_hosts 01:48:26 + [ -e /tmp/ssh_known_hosts ] 01:48:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:48:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:48:26 + sudo tee -a /etc/ssh/ssh_known_hosts 01:48:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:26 01:48:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:27 0.1.4: Pulling from edgex-devops/py-git-semver 01:48:27 b85a868b505f: Pulling fs layer 01:48:27 e2be974225ed: Pulling fs layer 01:48:27 339a4e72a1f5: Pulling fs layer 01:48:27 988bab9f4d93: Pulling fs layer 01:48:27 1469e6f7b9e6: Pulling fs layer 01:48:27 eaf3925da568: Pulling fs layer 01:48:27 bab4dde63d76: Pulling fs layer 01:48:27 bde34c3a00c8: Pulling fs layer 01:48:27 b352a97aabf1: Pulling fs layer 01:48:27 4872d77fe225: Pulling fs layer 01:48:27 5851b861e8e6: Pulling fs layer 01:48:27 988bab9f4d93: Waiting 01:48:27 1469e6f7b9e6: Waiting 01:48:27 b352a97aabf1: Waiting 01:48:27 4872d77fe225: Waiting 01:48:27 5851b861e8e6: Waiting 01:48:27 eaf3925da568: Waiting 01:48:27 bab4dde63d76: Waiting 01:48:27 bde34c3a00c8: Waiting 01:48:27 e2be974225ed: Verifying Checksum 01:48:27 e2be974225ed: Download complete 01:48:27 988bab9f4d93: Verifying Checksum 01:48:27 988bab9f4d93: Download complete 01:48:27 1469e6f7b9e6: Verifying Checksum 01:48:27 1469e6f7b9e6: Download complete 01:48:27 eaf3925da568: Verifying Checksum 01:48:27 eaf3925da568: Download complete 01:48:27 339a4e72a1f5: Verifying Checksum 01:48:27 339a4e72a1f5: Download complete 01:48:27 bde34c3a00c8: Verifying Checksum 01:48:27 bde34c3a00c8: Download complete 01:48:27 b352a97aabf1: Download complete 01:48:27 4872d77fe225: Download complete 01:48:27 5851b861e8e6: Verifying Checksum 01:48:27 5851b861e8e6: Download complete 01:48:27 b85a868b505f: Verifying Checksum 01:48:27 b85a868b505f: Download complete 01:48:28 bab4dde63d76: Verifying Checksum 01:48:28 bab4dde63d76: Download complete 01:48:29 b85a868b505f: Pull complete 01:48:29 e2be974225ed: Pull complete 01:48:29 339a4e72a1f5: Pull complete 01:48:30 988bab9f4d93: Pull complete 01:48:30 1469e6f7b9e6: Pull complete 01:48:30 eaf3925da568: Pull complete 01:48:32 bab4dde63d76: Pull complete 01:48:32 bde34c3a00c8: Pull complete 01:48:32 b352a97aabf1: Pull complete 01:48:32 4872d77fe225: Pull complete 01:48:32 5851b861e8e6: Pull complete 01:48:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:32 prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container 01:48:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:48:35 $ docker top c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 -eo pid,comm 01:48:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:48:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:48:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:36 [ssh-agent] Looking for ssh-agent implementation... 01:48:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:36 $ docker exec c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent 01:48:36 SSH_AUTH_SOCK=/tmp/ssh-JssfFYguV2cC/agent.33 01:48:36 SSH_AGENT_PID=39 01:48:36 Running ssh-add (command line suppressed) 01:48:36 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16358233798132312564.key (/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16358233798132312564.key) 01:48:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:36 + git tag --points-at HEAD [Pipeline] } 01:48:36 $ docker exec --env ******** --env ******** c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent -k 01:48:36 unset SSH_AUTH_SOCK; 01:48:36 unset SSH_AGENT_PID; 01:48:36 echo Agent pid 39 killed; 01:48:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:48:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:48:37 [ssh-agent] Looking for ssh-agent implementation... 01:48:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:48:37 $ docker exec c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent 01:48:37 SSH_AUTH_SOCK=/tmp/ssh-UZeU93LTq6YO/agent.72 01:48:37 SSH_AGENT_PID=78 01:48:37 Running ssh-add (command line suppressed) 01:48:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16306022655118147116.key (/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16306022655118147116.key) 01:48:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:48:37 + git semver init 01:48:38 2024-07-16 01:48:37,963 [run_init] DEBUG init version:0.0.0 force:False 01:48:38 2024-07-16 01:48:37,964 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver 01:48:38 2024-07-16 01:48:37,965 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver 01:48:38 2024-07-16 01:48:37,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-681, universal_newlines=False, shell=None, istream=None) 01:48:39 2024-07-16 01:48:39,394 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.git/info/exclude 01:48:39 2024-07-16 01:48:39,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver/PR-681 with force:False 01:48:39 2024-07-16 01:48:39,395 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver/PR-681 01:48:39 2024-07-16 01:48:39,399 [execute] INFO git cat-file --batch-check 01:48:39 2024-07-16 01:48:39,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver, universal_newlines=False, shell=None, istream=) 01:48:39 2024-07-16 01:48:39,405 [execute] INFO git cat-file --batch 01:48:39 2024-07-16 01:48:39,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver, universal_newlines=False, shell=None, istream=) 01:48:39 2024-07-16 01:48:39,410 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver/PR-681 01:48:39 0.0.0 [Pipeline] } 01:48:39 $ docker exec --env ******** --env ******** c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent -k 01:48:39 unset SSH_AUTH_SOCK; 01:48:39 unset SSH_AGENT_PID; 01:48:39 echo Agent pid 78 killed; 01:48:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:48:40 + git semver [Pipeline] } 01:48:40 $ docker stop --time=1 c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 01:48:41 $ docker rm -f --volumes c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:48:42 Stashed 1 file(s) [Pipeline] echo 01:48:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:43 provisioning config files... 01:48:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config3108669825103689574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:43 ---> ****-login.sh 01:48:43 nexus3.edgexfoundry.org:10001 01:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:43 Configure a credential helper to remove this warning. See 01:48:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:43 01:48:43 Login Succeeded 01:48:43 nexus3.edgexfoundry.org:10002 01:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:43 Configure a credential helper to remove this warning. See 01:48:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:43 01:48:43 Login Succeeded 01:48:43 nexus3.edgexfoundry.org:10003 01:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:44 Configure a credential helper to remove this warning. See 01:48:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:44 01:48:44 Login Succeeded 01:48:44 nexus3.edgexfoundry.org:10004 01:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:44 Configure a credential helper to remove this warning. See 01:48:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:44 01:48:44 Login Succeeded 01:48:44 ****.io 01:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:48:44 Configure a credential helper to remove this warning. See 01:48:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:48:44 01:48:44 Login Succeeded 01:48:44 ---> ****-login.sh ends [Pipeline] } 01:48:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:48:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:48:44 ========================================================= 01:48:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:48:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:48:45 Sending build context to Docker daemon 21.02MB 01:48:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:48:45 Step 2/12 : FROM ${BASE} AS builder 01:48:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:48:45 619be1103602: Pulling fs layer 01:48:45 7862e08f4a3e: Pulling fs layer 01:48:45 5df492c9dc93: Pulling fs layer 01:48:45 7629e6793208: Pulling fs layer 01:48:45 4f4fb700ef54: Pulling fs layer 01:48:45 fb5054dd5b73: Pulling fs layer 01:48:45 eeca6798cff9: Pulling fs layer 01:48:45 aa269ceb94a6: Pulling fs layer 01:48:45 ada007ff1a6a: Pulling fs layer 01:48:45 7629e6793208: Waiting 01:48:45 4f4fb700ef54: Waiting 01:48:45 fb5054dd5b73: Waiting 01:48:45 eeca6798cff9: Waiting 01:48:45 aa269ceb94a6: Waiting 01:48:45 ada007ff1a6a: Waiting 01:48:45 7862e08f4a3e: Download complete 01:48:45 7629e6793208: Verifying Checksum 01:48:45 7629e6793208: Download complete 01:48:45 619be1103602: Verifying Checksum 01:48:45 619be1103602: Download complete 01:48:45 4f4fb700ef54: Verifying Checksum 01:48:45 4f4fb700ef54: Download complete 01:48:45 fb5054dd5b73: Download complete 01:48:45 eeca6798cff9: Verifying Checksum 01:48:45 eeca6798cff9: Download complete 01:48:45 619be1103602: Pull complete 01:48:45 7862e08f4a3e: Pull complete 01:48:45 ada007ff1a6a: Verifying Checksum 01:48:45 ada007ff1a6a: Download complete 01:48:45 5df492c9dc93: Verifying Checksum 01:48:45 5df492c9dc93: Download complete 01:48:46 aa269ceb94a6: Verifying Checksum 01:48:46 aa269ceb94a6: Download complete 01:48:48 5df492c9dc93: Pull complete 01:48:48 7629e6793208: Pull complete 01:48:48 4f4fb700ef54: Pull complete 01:48:48 fb5054dd5b73: Pull complete 01:48:49 eeca6798cff9: Pull complete 01:48:51 aa269ceb94a6: Pull complete 01:48:51 ada007ff1a6a: Pull complete 01:48:51 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:48:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:48:51 ---> f489d0715acc 01:48:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:48:58 Still waiting to schedule task 01:48:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5680’ 01:48:58 ---> Running in 89ee2f924a86 01:48:58 Removing intermediate container 89ee2f924a86 01:48:58 ---> f6e3a819ae7b 01:48:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:48:58 ---> Running in 0de3b2a7b01f 01:48:58 Removing intermediate container 0de3b2a7b01f 01:48:58 ---> d1bd937e7e3d 01:48:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:48:58 ---> Running in 9c687bc1b0bb 01:48:58 Removing intermediate container 9c687bc1b0bb 01:48:58 ---> a71c566f8474 01:48:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:48:58 ---> Running in 65a1b7b189ec 01:48:58 Removing intermediate container 65a1b7b189ec 01:48:58 ---> 027593533d2b 01:48:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:48:58 ---> Running in 253a22447bc0 01:48:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:48:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:48:58 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:48:58 (2/4) Installing libedit (20221030.3.1-r1) 01:48:58 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:48:58 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:48:58 Executing busybox-1.36.1-r5.trigger 01:48:58 OK: 268 MiB in 56 packages 01:48:59 Removing intermediate container 253a22447bc0 01:48:59 ---> 22567653618e 01:48:59 Step 8/12 : WORKDIR /device-mqtt-go 01:48:59 ---> Running in f713f646ce59 01:48:59 Removing intermediate container f713f646ce59 01:48:59 ---> f37479eae379 01:48:59 Step 9/12 : COPY go.mod vendor* ./ 01:48:59 ---> 7e4a5766e41b 01:48:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:59 ---> Running in 1e65d79dadd8 01:50:07 Removing intermediate container 1e65d79dadd8 01:50:07 ---> 052c76e41423 01:50:07 Step 11/12 : COPY . . 01:50:07 ---> 6fbcfdc030c5 01:50:07 Step 12/12 : RUN $MAKE 01:50:07 ---> Running in febccdb18b01 01:50:07 noop 01:50:07 Removing intermediate container febccdb18b01 01:50:07 ---> 99fa4e6f586a 01:50:07 Successfully built 99fa4e6f586a 01:50:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:07 + docker inspect -f . ci-base-image-x86_64 01:50:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:07 prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container 01:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:50:08 $ docker top f3d70e8754c75eb75f593753c4c8c3e9118cfa6f16ec5969ad820f04b7c5990b -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:08 + go version 01:50:08 go version go1.21.9 linux/amd64 [Pipeline] } 01:50:08 $ docker stop --time=1 f3d70e8754c75eb75f593753c4c8c3e9118cfa6f16ec5969ad820f04b7c5990b 01:50:09 $ docker rm -f --volumes f3d70e8754c75eb75f593753c4c8c3e9118cfa6f16ec5969ad820f04b7c5990b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:10 + docker inspect -f . ci-base-image-x86_64 01:50:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:10 prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container 01:50:10 $ 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-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:50:11 $ docker top 1caaae4e8d8cbc721515d3d00be316e4afc650fbd9cefc946b5359c310034e31 -eo pid,comm [Pipeline] { [Pipeline] sh 01:50:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-681 [Pipeline] fileExists [Pipeline] sh 01:50:12 + make test 01:50:12 go test ./... -coverprofile=coverage.out ./... 01:50:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:50:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:50:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:50:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements 01:50:38 go vet ./... 01:50:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:43 ./bin/test-attribution-txt.sh 01:50:43 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:50:43 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:50:43 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:50:43 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:50:43 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:50:43 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:50:43 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:50:43 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:50:43 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:50:43 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:50:43 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:50:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:50:43 $ docker stop --time=1 1caaae4e8d8cbc721515d3d00be316e4afc650fbd9cefc946b5359c310034e31 01:50:48 $ docker rm -f --volumes 1caaae4e8d8cbc721515d3d00be316e4afc650fbd9cefc946b5359c310034e31 [Pipeline] // withDockerContainer [Pipeline] sh 01:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:50 + ls -al . 01:50:50 total 252 01:50:50 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 01:50 . 01:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 01:48 .. 01:50:50 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 01:48 .dockerignore 01:50:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 01:50 .git 01:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:48 .github 01:50:50 -rw-rw-r-- 1 jenkins jenkins 264 Jul 16 01:48 .gitignore 01:50:50 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 01:48 .golangci.yml 01:50:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 01:48 .semver 01:50:50 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 16 01:48 Attribution.txt 01:50:50 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 16 01:48 CHANGELOG.md 01:50:50 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 16 01:48 Dockerfile 01:50:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 01:48 GOVERNANCE.md 01:50:50 -rw-rw-r-- 1 jenkins jenkins 657 Jul 16 01:48 Jenkinsfile 01:50:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 01:48 LICENSE 01:50:50 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 16 01:48 Makefile 01:50:50 -rw-rw-r-- 1 jenkins jenkins 620 Jul 16 01:48 OWNERS.md 01:50:50 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 16 01:48 README.md 01:50:50 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 01:48 VERSION 01:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:48 bin 01:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:48 cmd 01:50:50 -rw-r--r-- 1 jenkins jenkins 18506 Jul 16 01:50 coverage.out 01:50:50 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 16 01:48 go.mod 01:50:50 -rw-rw-r-- 1 jenkins jenkins 101928 Jul 16 01:48 go.sum 01:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:48 internal 01:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:48 mock 01:50:50 -rw-rw-r-- 1 jenkins jenkins 227 Jul 16 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:50 + 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=37c3516207616416876b79a04c14ca3c1827ec71 --label arch=amd64 --label version=0.0.0 . 01:50:50 Sending build context to Docker daemon 21.04MB 01:50:50 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:50:50 Step 2/25 : FROM ${BASE} AS builder 01:50:50 ---> 99fa4e6f586a 01:50:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:50:50 ---> Running in 58a991cd931e 01:50:51 Removing intermediate container 58a991cd931e 01:50:51 ---> 1776c0dd481c 01:50:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:51 ---> Running in 4f23a4274d66 01:50:51 Removing intermediate container 4f23a4274d66 01:50:51 ---> f8e8fb6f9813 01:50:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:50:51 ---> Running in 79d32c4100ba 01:50:51 Removing intermediate container 79d32c4100ba 01:50:51 ---> 4fffd7a14678 01:50:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:50:51 ---> Running in 0670b9e87880 01:50:51 Removing intermediate container 0670b9e87880 01:50:51 ---> 6b1ee1b91f07 01:50:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:51 ---> Running in 744dc8a83c41 01:50:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:50:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:50:52 OK: 268 MiB in 56 packages 01:50:52 Removing intermediate container 744dc8a83c41 01:50:52 ---> ea3e1a51269b 01:50:52 Step 8/25 : WORKDIR /device-mqtt-go 01:50:52 ---> Running in a60c07336e58 01:50:52 Removing intermediate container a60c07336e58 01:50:52 ---> 09f7889781b5 01:50:52 Step 9/25 : COPY go.mod vendor* ./ 01:50:52 ---> c71da3fe9974 01:50:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:52 ---> Running in 184d9d943a34 01:50:53 Removing intermediate container 184d9d943a34 01:50:53 ---> a7644c15b07f 01:50:53 Step 11/25 : COPY . . 01:50:54 ---> a2e4ff3899b5 01:50:54 Step 12/25 : RUN $MAKE 01:50:54 ---> Running in 6b576a771a04 01:50:54 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:51:26 Removing intermediate container 6b576a771a04 01:51:26 ---> e9866249106f 01:51:26 Step 13/25 : FROM alpine:3.18 01:51:26 3.18: Pulling from library/alpine 01:51:26 73baa7ef167e: Pulling fs layer 01:51:26 73baa7ef167e: Download complete 01:51:26 73baa7ef167e: Pull complete 01:51:26 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 01:51:26 Status: Downloaded newer image for alpine:3.18 01:51:26 ---> 8fd7cac70a4a 01:51:26 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:51:26 ---> Running in 76b895a9939d 01:51:26 Removing intermediate container 76b895a9939d 01:51:26 ---> fe92c11adf70 01:51:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:51:26 ---> Running in b9e8012df677 01:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:51:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:51:27 (1/1) Installing dumb-init (1.2.5-r2) 01:51:27 Executing busybox-1.36.1-r7.trigger 01:51:27 OK: 7 MiB in 16 packages 01:51:27 Removing intermediate container b9e8012df677 01:51:27 ---> 108f139d48ba 01:51:27 Step 16/25 : RUN apk --no-cache upgrade 01:51:27 ---> Running in 5622ea690f62 01:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:51:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:51:27 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 01:51:28 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 01:51:28 OK: 7 MiB in 16 packages 01:51:29 Removing intermediate container 5622ea690f62 01:51:29 ---> a403cc19eb36 01:51:29 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:51:30 ---> a86ab6f40840 01:51:30 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:51:30 ---> 794517f163f0 01:51:30 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:51:30 ---> a32be0c5ace7 01:51:30 Step 20/25 : EXPOSE 59982 01:51:30 ---> Running in 6d218203ddf1 01:51:30 Removing intermediate container 6d218203ddf1 01:51:30 ---> deb60c58d022 01:51:30 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:51:30 ---> Running in 82071fc1a1f9 01:51:30 Removing intermediate container 82071fc1a1f9 01:51:30 ---> 675ce1afbb4a 01:51:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:51:30 ---> Running in 39c54076ba08 01:51:30 Removing intermediate container 39c54076ba08 01:51:30 ---> 073fce35ca71 01:51:30 Step 23/25 : LABEL arch=amd64 01:51:30 ---> Running in 9145dae54e27 01:51:30 Removing intermediate container 9145dae54e27 01:51:30 ---> 4037fa0cd32d 01:51:30 Step 24/25 : LABEL git_sha=37c3516207616416876b79a04c14ca3c1827ec71 01:51:30 ---> Running in 30b6f2ce191c 01:51:30 Removing intermediate container 30b6f2ce191c 01:51:30 ---> 22afa1ea9060 01:51:30 Step 25/25 : LABEL version=0.0.0 01:51:30 ---> Running in d64869c0d8a0 01:51:30 Removing intermediate container d64869c0d8a0 01:51:30 ---> a5f3047e23c4 01:51:30 [Warning] One or more build-args [ARCH] were not consumed 01:51:30 Successfully built a5f3047e23c4 01:51:30 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:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:32 01:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:32 latest: Pulling from edgex-lftools-log-publisher 01:51:32 5eb5b503b376: Pulling fs layer 01:51:32 5c69ac0246d0: Pulling fs layer 01:51:32 ec43610c2a17: Pulling fs layer 01:51:32 3a2ae6a8a46f: Pulling fs layer 01:51:32 33b1e0a273af: Pulling fs layer 01:51:32 5d3b04190fa2: Pulling fs layer 01:51:32 2f39f015ded8: Pulling fs layer 01:51:32 33b1e0a273af: Waiting 01:51:32 5d3b04190fa2: Waiting 01:51:32 2f39f015ded8: Waiting 01:51:32 3a2ae6a8a46f: Waiting 01:51:32 5c69ac0246d0: Download complete 01:51:32 3a2ae6a8a46f: Verifying Checksum 01:51:32 3a2ae6a8a46f: Download complete 01:51:32 ec43610c2a17: Verifying Checksum 01:51:32 ec43610c2a17: Download complete 01:51:32 33b1e0a273af: Verifying Checksum 01:51:32 33b1e0a273af: Download complete 01:51:32 5d3b04190fa2: Download complete 01:51:32 5eb5b503b376: Verifying Checksum 01:51:32 5eb5b503b376: Download complete 01:51:33 2f39f015ded8: Download complete 01:51:33 5eb5b503b376: Pull complete 01:51:33 5c69ac0246d0: Pull complete 01:51:34 ec43610c2a17: Pull complete 01:51:34 3a2ae6a8a46f: Pull complete 01:51:34 33b1e0a273af: Pull complete 01:51:34 5d3b04190fa2: Pull complete 01:51:38 2f39f015ded8: Pull complete 01:51:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:39 prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container 01:51:39 $ 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-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:51:43 $ docker top ebed5c4841f7a460f1086647f549cb00dadb3be1616a90ec8f5764ee0d046662 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:44 ---> job-cost.sh 01:51:44 lf-activate-venv: SKIPPING 01:51:44 INFO: No Stack... 01:51:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:51:44 INFO: Archiving Costs [Pipeline] sh 01:51:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives/cost.csv 01:51:45 + cut -d, -f6 [Pipeline] lock 01:51:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] 01:51:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] did not exist. Created. 01:51:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:51:45 + echo total: 0.2199999988079071 [Pipeline] stash 01:51:45 Stashed 1 file(s) [Pipeline] } 01:51:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:51:45 $ docker stop --time=1 ebed5c4841f7a460f1086647f549cb00dadb3be1616a90ec8f5764ee0d046662 01:51:47 $ docker rm -f --volumes ebed5c4841f7a460f1086647f549cb00dadb3be1616a90ec8f5764ee0d046662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:52:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5684 in /w/workspace/gexfoundry_device-mqtt-go_PR-681 [Pipeline] { [Pipeline] ws 01:52:36 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:52:39 The recommended git tool is: git 01:52:48 using credential edgex-jenkins-ssh 01:52:48 Cloning the remote Git repository 01:52:48 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:52:48 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:52:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:52:48 > git --version # timeout=10 01:52:48 > git --version # 'git version 2.25.1' 01:52:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:51 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:52:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:53 Merging remotes/origin/main commit 35de5baf133cb3849b13998f5bd615ef0c638656 into PR head commit 37c3516207616416876b79a04c14ca3c1827ec71 01:52:53 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:52:53 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:52:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/681/head:refs/remotes/origin/PR-681 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:52:53 > git config core.sparsecheckout # timeout=10 01:52:54 Merge succeeded, producing 37c3516207616416876b79a04c14ca3c1827ec71 01:52:54 Checking out Revision 37c3516207616416876b79a04c14ca3c1827ec71 (PR-681) 01:52:54 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:52:54 > git --version # timeout=10 01:52:54 > git --version # 'git version 2.25.1' 01:52:54 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 01:52:53 > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # timeout=10 01:52:53 > git remote # timeout=10 01:52:53 > git config --get remote.origin.url # timeout=10 01:52:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:52:54 > git merge 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 01:52:54 > git rev-parse HEAD^{commit} # timeout=10 01:52:54 > git config core.sparsecheckout # timeout=10 01:52:54 > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:53:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:53:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:00 Dload Upload Total Spent Left Speed 01:53:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh 01:53:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:53:00 + sudo tee /etc/docker/daemon.new 01:53:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:53:00 { 01:53:00 "registry-mirrors": [ 01:53:00 "https://nexus3.edgexfoundry.org:10001" 01:53:00 ], 01:53:00 "bip": "10.250.0.254/24", 01:53:00 "hosts": [ 01:53:00 "tcp://0.0.0.0:5555", 01:53:00 "unix:///var/run/docker.sock" 01:53:00 ], 01:53:00 "mtu": 1458, 01:53:00 "selinux-enabled": true, 01:53:00 "seccomp-profile": "/etc/docker/seccomp.json" 01:53:00 } [Pipeline] sh 01:53:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:53:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:19 provisioning config files... 01:53:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16181151361017059431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:20 ---> ****-login.sh 01:53:20 nexus3.edgexfoundry.org:10001 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 nexus3.edgexfoundry.org:10002 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 nexus3.edgexfoundry.org:10003 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 nexus3.edgexfoundry.org:10004 01:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:22 Configure a credential helper to remove this warning. See 01:53:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:22 01:53:22 Login Succeeded 01:53:22 ****.io 01:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:22 Configure a credential helper to remove this warning. See 01:53:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:22 01:53:22 Login Succeeded 01:53:22 ---> ****-login.sh ends [Pipeline] } 01:53:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:53:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:53:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:53:23 ========================================================= 01:53:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:53:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:23 + 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:53:24 Sending build context to Docker daemon 10.62MB 01:53:24 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:53:24 Step 2/12 : FROM ${BASE} AS builder 01:53:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:53:24 c6b39de5b339: Pulling fs layer 01:53:24 a69c41024577: Pulling fs layer 01:53:24 d6de4b400683: Pulling fs layer 01:53:24 35cb2a7552d0: Pulling fs layer 01:53:24 4f4fb700ef54: Pulling fs layer 01:53:24 464afbd9ba4c: Pulling fs layer 01:53:24 00f215d4a9da: Pulling fs layer 01:53:24 d496ad576159: Pulling fs layer 01:53:24 464afbd9ba4c: Waiting 01:53:24 00f215d4a9da: Waiting 01:53:24 d496ad576159: Waiting 01:53:24 35cb2a7552d0: Waiting 01:53:24 4f4fb700ef54: Waiting 01:53:24 a69c41024577: Verifying Checksum 01:53:24 a69c41024577: Download complete 01:53:24 35cb2a7552d0: Verifying Checksum 01:53:24 35cb2a7552d0: Download complete 01:53:24 4f4fb700ef54: Verifying Checksum 01:53:24 4f4fb700ef54: Download complete 01:53:24 464afbd9ba4c: Verifying Checksum 01:53:24 464afbd9ba4c: Download complete 01:53:24 c6b39de5b339: Verifying Checksum 01:53:24 c6b39de5b339: Download complete 01:53:25 d496ad576159: Verifying Checksum 01:53:25 d496ad576159: Download complete 01:53:25 c6b39de5b339: Pull complete 01:53:26 a69c41024577: Pull complete 01:53:26 d6de4b400683: Verifying Checksum 01:53:26 d6de4b400683: Download complete 01:53:27 00f215d4a9da: Verifying Checksum 01:53:27 00f215d4a9da: Download complete 01:53:40 d6de4b400683: Pull complete 01:53:40 35cb2a7552d0: Pull complete 01:53:40 4f4fb700ef54: Pull complete 01:53:40 464afbd9ba4c: Pull complete 01:53:48 00f215d4a9da: Pull complete 01:53:50 d496ad576159: Pull complete 01:53:50 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:53:50 ---> f246e2811388 01:53:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:53:52 ---> Running in c542db9ea794 01:53:52 Removing intermediate container c542db9ea794 01:53:52 ---> c5f721a74edc 01:53:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:53:52 ---> Running in 4cecf9efb7fe 01:53:54 Removing intermediate container 4cecf9efb7fe 01:53:54 ---> 0ef702980f25 01:53:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:53:54 ---> Running in ad70da091b6e 01:53:54 Removing intermediate container ad70da091b6e 01:53:54 ---> d0dced50779a 01:53:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:53:54 ---> Running in 29a040df12cd 01:53:54 Removing intermediate container 29a040df12cd 01:53:54 ---> 2bc1b1f9a5e8 01:53:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:54 ---> Running in 1753a9c82cfa 01:53:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:53:57 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:53:57 (2/4) Installing libedit (20221030.3.1-r1) 01:53:57 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:53:57 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:53:57 Executing busybox-1.36.1-r5.trigger 01:53:57 OK: 271 MiB in 56 packages 01:53:58 Removing intermediate container 1753a9c82cfa 01:53:58 ---> ba5cb679b95c 01:53:58 Step 8/12 : WORKDIR /device-mqtt-go 01:53:58 ---> Running in b4fc59402cac 01:53:58 Removing intermediate container b4fc59402cac 01:53:58 ---> e3a4b8efefca 01:53:58 Step 9/12 : COPY go.mod vendor* ./ 01:53:59 ---> 63a24c691f4f 01:53:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:59 ---> Running in 7ac37d13f1b3 01:56:06 Removing intermediate container 7ac37d13f1b3 01:56:06 ---> 9bb196051807 01:56:06 Step 11/12 : COPY . . 01:56:06 ---> 202e93ead547 01:56:06 Step 12/12 : RUN $MAKE 01:56:06 ---> Running in e0c3be65b8e4 01:56:06 noop 01:56:06 Removing intermediate container e0c3be65b8e4 01:56:06 ---> 78f4d70437c6 01:56:06 Successfully built 78f4d70437c6 01:56:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:06 + docker inspect -f . ci-base-image-arm64 01:56:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:07 prd-ubuntu20.04-docker-arm64-4c-16g-5684 does not seem to be running inside a container 01:56:07 $ 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:56:08 $ docker top 72199b1d607e8af57fd5b30a663dabbfbb643b57f375493bfb799e2d04aa3737 -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:09 + go version 01:56:09 go version go1.21.9 linux/arm64 [Pipeline] } 01:56:09 $ docker stop --time=1 72199b1d607e8af57fd5b30a663dabbfbb643b57f375493bfb799e2d04aa3737 01:56:10 $ docker rm -f --volumes 72199b1d607e8af57fd5b30a663dabbfbb643b57f375493bfb799e2d04aa3737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:12 + docker inspect -f . ci-base-image-arm64 01:56:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:12 prd-ubuntu20.04-docker-arm64-4c-16g-5684 does not seem to be running inside a container 01:56:12 $ 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:56:13 $ docker top e53d2a2b806eef4a0ed9b488b2e5f10f9e25667443377abd5d598fdf6d841dff -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:14 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:56:15 + make test 01:56:15 go test ./... -coverprofile=coverage.out ./... 01:56:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:59:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:59:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:59:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.8% of statements 01:59:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:59:48 go vet ./... 02:00:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:35 ./bin/test-attribution-txt.sh 02:00:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:00:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:00:35 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:00:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:00:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:00:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:00:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:00:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:00:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:00:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:00:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:00:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:00:35 $ docker stop --time=1 e53d2a2b806eef4a0ed9b488b2e5f10f9e25667443377abd5d598fdf6d841dff 02:00:37 $ docker rm -f --volumes e53d2a2b806eef4a0ed9b488b2e5f10f9e25667443377abd5d598fdf6d841dff [Pipeline] // withDockerContainer [Pipeline] sh 02:00:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:39 Warning: overwriting stash ‘coverage-report’ 02:00:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:40 + ls -al . 02:00:40 total 248 02:00:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 01:56 . 02:00:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 01:52 .. 02:00:40 -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 01:52 .dockerignore 02:00:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 01:52 .git 02:00:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:52 .github 02:00:40 -rw-rw-r-- 1 jenkins jenkins 264 Jul 16 01:52 .gitignore 02:00:40 -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 01:52 .golangci.yml 02:00:40 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 16 01:52 Attribution.txt 02:00:40 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 16 01:52 CHANGELOG.md 02:00:40 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 16 01:52 Dockerfile 02:00:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 01:52 GOVERNANCE.md 02:00:40 -rw-rw-r-- 1 jenkins jenkins 657 Jul 16 01:52 Jenkinsfile 02:00:40 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 01:52 LICENSE 02:00:40 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 16 01:52 Makefile 02:00:40 -rw-rw-r-- 1 jenkins jenkins 620 Jul 16 01:52 OWNERS.md 02:00:40 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 16 01:52 README.md 02:00:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 01:48 VERSION 02:00:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:52 bin 02:00:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:52 cmd 02:00:40 -rw-r--r-- 1 jenkins jenkins 18506 Jul 16 01:59 coverage.out 02:00:40 -rw-rw-r-- 1 jenkins jenkins 7064 Jul 16 01:52 go.mod 02:00:40 -rw-rw-r-- 1 jenkins jenkins 101928 Jul 16 01:52 go.sum 02:00:40 drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:52 internal 02:00:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:52 mock 02:00:40 -rw-rw-r-- 1 jenkins jenkins 227 Jul 16 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:40 + 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=37c3516207616416876b79a04c14ca3c1827ec71 --label arch=arm64 --label version=0.0.0 . 02:00:41 Sending build context to Docker daemon 10.64MB 02:00:41 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:00:41 Step 2/25 : FROM ${BASE} AS builder 02:00:41 ---> 78f4d70437c6 02:00:41 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:00:41 ---> Running in 0e4642974a1c 02:00:41 Removing intermediate container 0e4642974a1c 02:00:41 ---> 951e37239a8a 02:00:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:41 ---> Running in dfa7bc808dd0 02:00:42 Removing intermediate container dfa7bc808dd0 02:00:42 ---> 5502d5eb2dfe 02:00:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:42 ---> Running in ca8e85abbee8 02:00:42 Removing intermediate container ca8e85abbee8 02:00:42 ---> 0b353a2ef8ef 02:00:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:00:42 ---> Running in 5b91d9823cf9 02:00:42 Removing intermediate container 5b91d9823cf9 02:00:42 ---> 53ca3567fbd7 02:00:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:43 ---> Running in 985e298526b3 02:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:00:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:00:45 OK: 271 MiB in 56 packages 02:00:46 Removing intermediate container 985e298526b3 02:00:46 ---> 914db30ddd85 02:00:46 Step 8/25 : WORKDIR /device-mqtt-go 02:00:46 ---> Running in 72a021e067c6 02:00:46 Removing intermediate container 72a021e067c6 02:00:46 ---> d55482141204 02:00:46 Step 9/25 : COPY go.mod vendor* ./ 02:00:47 ---> fe188ae4c0db 02:00:47 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:47 ---> Running in 84ecc8dd6bfa 02:00:49 Removing intermediate container 84ecc8dd6bfa 02:00:49 ---> 0f6e63e9581a 02:00:49 Step 11/25 : COPY . . 02:00:50 ---> e34bd88e33ca 02:00:50 Step 12/25 : RUN $MAKE 02:00:50 ---> Running in d3097251dcfa 02:00:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:04:28 Removing intermediate container d3097251dcfa 02:04:28 ---> 421c00aa9e18 02:04:28 Step 13/25 : FROM alpine:3.18 02:04:28 3.18: Pulling from library/alpine 02:04:28 5c905c7ebe2f: Pulling fs layer 02:04:28 5c905c7ebe2f: Download complete 02:04:28 5c905c7ebe2f: Pull complete 02:04:28 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 02:04:28 Status: Downloaded newer image for alpine:3.18 02:04:28 ---> dec292d02e07 02:04:28 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:04:28 ---> Running in ec31e1d03a37 02:04:28 Removing intermediate container ec31e1d03a37 02:04:28 ---> 1feeff6aee63 02:04:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:04:28 ---> Running in 4afbbbb59104 02:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:04:28 (1/1) Installing dumb-init (1.2.5-r2) 02:04:28 Executing busybox-1.36.1-r7.trigger 02:04:28 OK: 8 MiB in 16 packages 02:04:28 Removing intermediate container 4afbbbb59104 02:04:28 ---> 998e537f8749 02:04:28 Step 16/25 : RUN apk --no-cache upgrade 02:04:28 ---> Running in 0de02356310e 02:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:04:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:04:28 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 02:04:28 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 02:04:28 OK: 8 MiB in 16 packages 02:04:28 Removing intermediate container 0de02356310e 02:04:28 ---> 6e7d873c8b22 02:04:28 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:04:28 ---> 36f50719c6b4 02:04:28 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:04:29 ---> 25dd9b3f0422 02:04:29 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:04:29 ---> e4daf35537f6 02:04:29 Step 20/25 : EXPOSE 59982 02:04:29 ---> Running in c882e806a49a 02:04:29 Removing intermediate container c882e806a49a 02:04:29 ---> 62585fbcdf92 02:04:29 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:04:29 ---> Running in 616596f66477 02:04:30 Removing intermediate container 616596f66477 02:04:30 ---> e69073adba25 02:04:30 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:04:30 ---> Running in 6270b7f6644a 02:04:30 Removing intermediate container 6270b7f6644a 02:04:30 ---> aa2ffc6e3ad6 02:04:30 Step 23/25 : LABEL arch=arm64 02:04:30 ---> Running in 463034e7f2e6 02:04:31 Removing intermediate container 463034e7f2e6 02:04:31 ---> 9ac55a89aa38 02:04:31 Step 24/25 : LABEL git_sha=37c3516207616416876b79a04c14ca3c1827ec71 02:04:31 ---> Running in 5d2a9eeb7eca 02:04:31 Removing intermediate container 5d2a9eeb7eca 02:04:31 ---> 7d37ead77ae3 02:04:31 Step 25/25 : LABEL version=0.0.0 02:04:31 ---> Running in 5c69c385e073 02:04:31 Removing intermediate container 5c69c385e073 02:04:31 ---> e81f31728bff 02:04:31 [Warning] One or more build-args [ARCH] were not consumed 02:04:31 Successfully built e81f31728bff 02:04:31 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 02:04:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:32 02:04:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:33 arm64: Pulling from edgex-lftools-log-publisher 02:04:33 8998bd30e6a1: Pulling fs layer 02:04:33 04944245beec: Pulling fs layer 02:04:33 699f458cf7ca: Pulling fs layer 02:04:33 765212b225bb: Pulling fs layer 02:04:33 f23df028b6ca: Pulling fs layer 02:04:33 d65c8cfc05b1: Pulling fs layer 02:04:33 2437ff75d9bd: Pulling fs layer 02:04:33 d65c8cfc05b1: Waiting 02:04:33 2437ff75d9bd: Waiting 02:04:33 f23df028b6ca: Waiting 02:04:33 04944245beec: Verifying Checksum 02:04:33 04944245beec: Download complete 02:04:33 765212b225bb: Download complete 02:04:33 f23df028b6ca: Verifying Checksum 02:04:33 f23df028b6ca: Download complete 02:04:33 d65c8cfc05b1: Verifying Checksum 02:04:33 d65c8cfc05b1: Download complete 02:04:33 699f458cf7ca: Verifying Checksum 02:04:33 699f458cf7ca: Download complete 02:04:33 8998bd30e6a1: Verifying Checksum 02:04:33 8998bd30e6a1: Download complete 02:04:36 2437ff75d9bd: Verifying Checksum 02:04:36 2437ff75d9bd: Download complete 02:04:39 8998bd30e6a1: Pull complete 02:04:39 04944245beec: Pull complete 02:04:41 699f458cf7ca: Pull complete 02:04:41 765212b225bb: Pull complete 02:04:41 f23df028b6ca: Pull complete 02:04:41 d65c8cfc05b1: Pull complete 02:05:00 2437ff75d9bd: Pull complete 02:05:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:00 prd-ubuntu20.04-docker-arm64-4c-16g-5684 does not seem to be running inside a container 02:05:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:05:03 $ docker top 06f8f2c9284525bf9f170ffa9adf64c55e177de56608c5f8edd5ca38fb4a922a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:03 ---> job-cost.sh 02:05:04 lf-activate-venv: SKIPPING 02:05:04 INFO: No Stack... 02:05:04 INFO: Retrieving Pricing Info for: v3-standard-4 02:05:05 INFO: Archiving Costs [Pipeline] sh 02:05:05 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:05:05 + cut -d, -f6 [Pipeline] lock 02:05:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] 02:05:06 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] did not exist. Created. 02:05:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:06 /w/workspace/device-mqtt-go/1@tmp/durable-4f30262c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:05:07 + echo total: 0.10999999940395355 [Pipeline] stash 02:05:07 Warning: overwriting stash ‘stack-cost’ 02:05:07 Stashed 1 file(s) [Pipeline] } 02:05:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:05:07 $ docker stop --time=1 06f8f2c9284525bf9f170ffa9adf64c55e177de56608c5f8edd5ca38fb4a922a 02:05:09 $ docker rm -f --volumes 06f8f2c9284525bf9f170ffa9adf64c55e177de56608c5f8edd5ca38fb4a922a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:05:10 provisioning config files... 02:05:10 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config17633077888866682719tmp [Pipeline] { [Pipeline] sh 02:05:11 + set +x 02:05:11 + curl -s https://codecov.io/bash 02:05:11 + bash -s -- 02:05:11 02:05:11 _____ _ 02:05:11 / ____| | | 02:05:11 | | ___ __| | ___ ___ _____ __ 02:05:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:05:11 | |___| (_) | (_| | __/ (_| (_) \ V / 02:05:11 \_____\___/ \__,_|\___|\___\___/ \_/ 02:05:11 Bash-1.0.6 02:05:11 02:05:11 02:05:11 ==> git version 2.25.1 found 02:05:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:05:11 Release-Date: 2020-01-08 02:05:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:05:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:05:11 ==> Jenkins CI detected. 02:05:11 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-681 02:05:11 project root: . 02:05:11 --> token set from env 02:05:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:05:11 ==> Running gcov in . (disable via -X gcov) 02:05:11 ==> Python coveragepy not found 02:05:11 ==> Searching for coverage reports in: 02:05:11 + . 02:05:11 -> Found 1 reports 02:05:11 ==> Detecting git/mercurial file structure 02:05:11 ==> Reading reports 02:05:11 + ./coverage.out bytes=18506 02:05:11 ==> Appending adjustments 02:05:11 https://docs.codecov.io/docs/fixing-reports 02:05:11 + Found adjustments 02:05:11 ==> Gzipping contents 02:05:11 4.0K /tmp/codecov.nVvffu.gz 02:05:11 ==> Uploading reports 02:05:11 url: https://codecov.io 02:05:11 query: branch=PR-681&commit=37c3516207616416876b79a04c14ca3c1827ec71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-681%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=681&job=&cmd_args= 02:05:11 -> Pinging Codecov 02:05:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-681&commit=37c3516207616416876b79a04c14ca3c1827ec71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-681%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=681&job=&cmd_args= 02:05:11 -> Uploading to 02:05:11 https://storage.googleapis.com/codecov/v4/raw/2024-07-16/7D719EC7BBE17E464838252E33014C33/37c3516207616416876b79a04c14ca3c1827ec71/bb3d8d12-a6a1-4d3d-af4d-806c01d9417d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T020511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=679dd10a01e1e594ff847611d7ea3cdb4b7b6b279a45b2ceda58eefced321bde 02:05:11 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:11 Dload Upload Total Spent Left Speed 02:05:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14658 --:--:-- --:--:-- --:--:-- 14588 100 3049 0 0 100 3049 0 12810 --:--:-- --:--:-- --:--:-- 12757 02:05:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] } 02:05:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:05:14 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives ] 02:05:14 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives 02:05:14 total 16 02:05:14 drwxr-xr-x 3 root root 4096 Jul 16 01:51 . 02:05:14 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 01:51 .. 02:05:14 drwxr-xr-x 2 root root 4096 Jul 16 01:51 cost 02:05:14 -rw-r--r-- 1 root root 86 Jul 16 01:51 cost.csv 02:05:14 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives 02:05:14 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives 02:05:14 total 16 02:05:14 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 01:51 . 02:05:14 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 01:51 .. 02:05:14 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 01:51 cost 02:05:14 -rw-r--r-- 1 jenkins jenkins 86 Jul 16 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:05:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:05:15 ---> package-listing.sh 02:05:15 ++ facter osfamily 02:05:15 ++ tr '[:upper:]' '[:lower:]' 02:05:15 + OS_FAMILY=debian 02:05:15 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-681 02:05:15 + START_PACKAGES=/tmp/packages_start.txt 02:05:15 + END_PACKAGES=/tmp/packages_end.txt 02:05:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:05:15 + PACKAGES=/tmp/packages_start.txt 02:05:15 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-681 ']' 02:05:15 + PACKAGES=/tmp/packages_end.txt 02:05:15 + case "${OS_FAMILY}" in 02:05:15 + dpkg -l 02:05:15 + grep '^ii' 02:05:15 + '[' -f /tmp/packages_start.txt ']' 02:05:15 + '[' -f /tmp/packages_end.txt ']' 02:05:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:05:15 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-681 ']' 02:05:15 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives/ 02:05:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives/ [Pipeline] echo 02:05:15 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-681/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:05:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:16 prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container 02:05:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-681/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-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:05:17 $ docker top acffe6ba1504b20ec0773c25f89063f53c7a736ab82f09af3200d7ecef6b81c1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:17 + touch /tmp/pre-build-complete [Pipeline] sh 02:05:17 + mkdir -p /var/log/sysstat [Pipeline] sh 02:05:18 + ls /var/log/sa-host 02:05:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:18 provisioning config files... 02:05:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config1310958181649126492tmp [Pipeline] { [Pipeline] echo 02:05:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:18 ---> create-netrc.sh [Pipeline] } 02:05:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:05:19 ---> python-tools-install.sh [Pipeline] echo 02:05:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:05:19 ---> sudo-logs.sh 02:05:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:05:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:05:20 ---> job-cost.sh 02:05:20 lf-activate-venv: SKIPPING 02:05:20 DEBUG: total: 0.2199999988079071 02:05:20 INFO: Retrieving Stack Cost... 02:05:20 INFO: Retrieving Pricing Info for: v3-standard-8 02:05:20 INFO: Archiving Costs [Pipeline] echo 02:05:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:05:21 ---> logs-deploy.sh 02:05:21 lf-activate-venv: SKIPPING 02:05:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-681/1 02:05:21 INFO: archiving workspace using pattern(s): 02:05:22 Archives upload complete. 02:05:22 INFO: archiving logs to Nexus