Pull request #688 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fc22351108fedf7a1ada5dc2a9613889cfc6f97b+cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (b648146cfaea2b85cb064eeabebdffc9ae98e9da) 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-ssh14668414747070156049.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-ssh2449296666298248430.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-688/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-688/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8572576838806058118.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-688/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17458929317600917982.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-ssh4703330406443313301.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-688/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-688/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13496113196576355452.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-7335 in /w/workspace/gexfoundry_device-mqtt-go_PR-688 [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-688 # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit fc22351108fedf7a1ada5dc2a9613889cfc6f97b Merge succeeded, producing fc22351108fedf7a1ada5dc2a9613889cfc6f97b Checking out Revision fc22351108fedf7a1ada5dc2a9613889cfc6f97b (PR-688) > 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/688/head:refs/remotes/origin/PR-688 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:39:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:39:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:39:30 ========================================================= 01:39:30 EdgeX Global Pipelines Version Info 01:39:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:39:31 ------------------- 01:39:31 stable info: 01:39:31 ------------------- 01:39:31 Commited By: Ginny Guan ginny@iotechsys.com 01:39:31 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:39:31 Message: update stable to v1.0.260 01:39:31 ------------------- 01:39:31 experimental info: 01:39:31 ------------------- 01:39:31 Commited By: Ginny Guan ginny@iotechsys.com 01:39:31 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:39:31 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:39:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-688 [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-688 [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-688 [Pipeline] echo 01:39:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo 01:39:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc22351 [Pipeline] echo 01:39:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:34 provisioning config files... 01:39:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config1024610315907212340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:34 ---> ****-login.sh 01:39:34 nexus3.edgexfoundry.org:10001 01:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:34 Configure a credential helper to remove this warning. See 01:39:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:34 01:39:34 Login Succeeded 01:39:34 nexus3.edgexfoundry.org:10002 01:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:35 Configure a credential helper to remove this warning. See 01:39:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:35 01:39:35 Login Succeeded 01:39:35 nexus3.edgexfoundry.org:10003 01:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:35 Configure a credential helper to remove this warning. See 01:39:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:35 01:39:35 Login Succeeded 01:39:35 nexus3.edgexfoundry.org:10004 01:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:35 Configure a credential helper to remove this warning. See 01:39:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:35 01:39:35 Login Succeeded 01:39:35 ****.io 01:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:39:35 Configure a credential helper to remove this warning. See 01:39:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:39:35 01:39:35 Login Succeeded 01:39:35 ---> ****-login.sh ends [Pipeline] } 01:39:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:39:36 + git rev-list -1 --merges fc22351108fedf7a1ada5dc2a9613889cfc6f97b~1..fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo 01:39:36 -----------> git rev-list -1 --merges fc22351108fedf7a1ada5dc2a9613889cfc6f97b~1..fc22351108fedf7a1ada5dc2a9613889cfc6f97b fc22351108fedf7a1ada5dc2a9613889cfc6f97b [false] [Pipeline] sh 01:39:36 + git log --format=format:%s -1 fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo 01:39:36 ========================================================= 01:39:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:39:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:37 + git log --format=format:%s -1 fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo 01:39:37 [semverPrep] GIT_COMMIT: fc22351108fedf7a1ada5dc2a9613889cfc6f97b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:39:37 [semverPrep] This is not a build commit. [Pipeline] sh 01:39:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:39:37 + grep -v github /etc/ssh/ssh_known_hosts 01:39:37 + [ -e /tmp/ssh_known_hosts ] 01:39:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:39:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:39:37 + sudo tee -a /etc/ssh/ssh_known_hosts 01:39:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:38 01:39:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:38 0.1.4: Pulling from edgex-devops/py-git-semver 01:39:38 b85a868b505f: Pulling fs layer 01:39:38 e2be974225ed: Pulling fs layer 01:39:38 339a4e72a1f5: Pulling fs layer 01:39:38 988bab9f4d93: Pulling fs layer 01:39:38 1469e6f7b9e6: Pulling fs layer 01:39:38 988bab9f4d93: Waiting 01:39:38 1469e6f7b9e6: Waiting 01:39:38 eaf3925da568: Pulling fs layer 01:39:38 bab4dde63d76: Pulling fs layer 01:39:38 bde34c3a00c8: Pulling fs layer 01:39:38 b352a97aabf1: Pulling fs layer 01:39:38 bab4dde63d76: Waiting 01:39:38 eaf3925da568: Waiting 01:39:38 4872d77fe225: Pulling fs layer 01:39:38 5851b861e8e6: Pulling fs layer 01:39:38 b352a97aabf1: Waiting 01:39:38 e2be974225ed: Verifying Checksum 01:39:38 e2be974225ed: Download complete 01:39:38 988bab9f4d93: Verifying Checksum 01:39:38 988bab9f4d93: Download complete 01:39:38 1469e6f7b9e6: Verifying Checksum 01:39:38 1469e6f7b9e6: Download complete 01:39:38 eaf3925da568: Verifying Checksum 01:39:38 eaf3925da568: Download complete 01:39:38 339a4e72a1f5: Verifying Checksum 01:39:38 339a4e72a1f5: Download complete 01:39:38 bde34c3a00c8: Verifying Checksum 01:39:38 bde34c3a00c8: Download complete 01:39:38 b352a97aabf1: Verifying Checksum 01:39:38 b352a97aabf1: Download complete 01:39:38 4872d77fe225: Verifying Checksum 01:39:38 4872d77fe225: Download complete 01:39:38 5851b861e8e6: Verifying Checksum 01:39:38 5851b861e8e6: Download complete 01:39:38 b85a868b505f: Verifying Checksum 01:39:38 b85a868b505f: Download complete 01:39:40 b85a868b505f: Pull complete 01:39:40 bab4dde63d76: Verifying Checksum 01:39:40 bab4dde63d76: Download complete 01:39:40 e2be974225ed: Pull complete 01:39:40 339a4e72a1f5: Pull complete 01:39:40 988bab9f4d93: Pull complete 01:39:41 1469e6f7b9e6: Pull complete 01:39:41 eaf3925da568: Pull complete 01:39:43 bab4dde63d76: Pull complete 01:39:43 bde34c3a00c8: Pull complete 01:39:43 b352a97aabf1: Pull complete 01:39:43 4872d77fe225: Pull complete 01:39:43 5851b861e8e6: Pull complete 01:39:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:39:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:39:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:43 prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container 01:39:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@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:39:46 $ docker top b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca -eo pid,comm 01:39:46 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:39:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:39:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:46 [ssh-agent] Looking for ssh-agent implementation... 01:39:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:46 $ docker exec b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent 01:39:46 SSH_AUTH_SOCK=/tmp/ssh-sBrW1JU3pMjK/agent.31 01:39:46 SSH_AGENT_PID=38 01:39:46 Running ssh-add (command line suppressed) 01:39:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_10792869733237964185.key (/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_10792869733237964185.key) 01:39:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:47 + git tag --points-at HEAD [Pipeline] } 01:39:47 $ docker exec --env ******** --env ******** b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent -k 01:39:47 unset SSH_AUTH_SOCK; 01:39:47 unset SSH_AGENT_PID; 01:39:47 echo Agent pid 38 killed; 01:39:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:39:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:39:47 [ssh-agent] Looking for ssh-agent implementation... 01:39:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:39:47 $ docker exec b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent 01:39:47 SSH_AUTH_SOCK=/tmp/ssh-4pqpUy7VjBBH/agent.72 01:39:47 SSH_AGENT_PID=78 01:39:47 Running ssh-add (command line suppressed) 01:39:47 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_16635530530978182272.key (/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_16635530530978182272.key) 01:39:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:39:48 + git semver init 01:39:48 2024-08-08 01:39:48,206 [run_init] DEBUG init version:0.0.0 force:False 01:39:48 2024-08-08 01:39:48,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver 01:39:48 2024-08-08 01:39:48,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver 01:39:48 2024-08-08 01:39:48,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-688, universal_newlines=False, shell=None, istream=None) 01:39:50 2024-08-08 01:39:49,857 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.git/info/exclude 01:39:50 2024-08-08 01:39:49,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver/PR-688 with force:False 01:39:50 2024-08-08 01:39:49,858 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver/PR-688 01:39:50 2024-08-08 01:39:49,863 [execute] INFO git cat-file --batch-check 01:39:50 2024-08-08 01:39:49,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver, universal_newlines=False, shell=None, istream=) 01:39:50 2024-08-08 01:39:49,868 [execute] INFO git cat-file --batch 01:39:50 2024-08-08 01:39:49,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver, universal_newlines=False, shell=None, istream=) 01:39:50 2024-08-08 01:39:49,875 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver/PR-688 01:39:50 0.0.0 [Pipeline] } 01:39:50 $ docker exec --env ******** --env ******** b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent -k 01:39:50 unset SSH_AUTH_SOCK; 01:39:50 unset SSH_AGENT_PID; 01:39:50 echo Agent pid 78 killed; 01:39:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:39:50 + git semver [Pipeline] } 01:39:51 $ docker stop --time=1 b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca 01:39:52 $ docker rm -f --volumes b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca [Pipeline] // withDockerContainer [Pipeline] sh 01:39:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:39:53 Stashed 1 file(s) [Pipeline] echo 01:39:53 [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:39:53 provisioning config files... 01:39:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config16876789449619740931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:03 ---> ****-login.sh 01:40:03 nexus3.edgexfoundry.org:10001 01:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:40:03 Configure a credential helper to remove this warning. See 01:40:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:40:03 01:40:03 Login Succeeded 01:40:03 nexus3.edgexfoundry.org:10002 01:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:40:03 Configure a credential helper to remove this warning. See 01:40:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:40:03 01:40:03 Login Succeeded 01:40:03 nexus3.edgexfoundry.org:10003 01:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:40:03 Configure a credential helper to remove this warning. See 01:40:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:40:03 01:40:03 Login Succeeded 01:40:03 nexus3.edgexfoundry.org:10004 01:40:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:40:03 Configure a credential helper to remove this warning. See 01:40:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:40:03 01:40:03 Login Succeeded 01:40:03 ****.io 01:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:40:04 Configure a credential helper to remove this warning. See 01:40:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:40:04 01:40:04 Login Succeeded 01:40:04 ---> ****-login.sh ends [Pipeline] } 01:40:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:40:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:40:04 ========================================================= 01:40:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:40:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:04 + 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:40:04 Sending build context to Docker daemon 20.84MB 01:40:04 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:40:04 Step 2/12 : FROM ${BASE} AS builder 01:40:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:40:05 619be1103602: Pulling fs layer 01:40:05 7862e08f4a3e: Pulling fs layer 01:40:05 5df492c9dc93: Pulling fs layer 01:40:05 7629e6793208: Pulling fs layer 01:40:05 4f4fb700ef54: Pulling fs layer 01:40:05 fb5054dd5b73: Pulling fs layer 01:40:05 7629e6793208: Waiting 01:40:05 4f4fb700ef54: Waiting 01:40:05 eeca6798cff9: Pulling fs layer 01:40:05 aa269ceb94a6: Pulling fs layer 01:40:05 ada007ff1a6a: Pulling fs layer 01:40:05 fb5054dd5b73: Waiting 01:40:05 aa269ceb94a6: Waiting 01:40:05 eeca6798cff9: Waiting 01:40:05 7862e08f4a3e: Download complete 01:40:05 7629e6793208: Verifying Checksum 01:40:05 7629e6793208: Download complete 01:40:05 4f4fb700ef54: Verifying Checksum 01:40:05 4f4fb700ef54: Download complete 01:40:05 fb5054dd5b73: Download complete 01:40:05 619be1103602: Verifying Checksum 01:40:05 619be1103602: Download complete 01:40:05 eeca6798cff9: Download complete 01:40:05 619be1103602: Pull complete 01:40:05 7862e08f4a3e: Pull complete 01:40:05 ada007ff1a6a: Verifying Checksum 01:40:05 ada007ff1a6a: Download complete 01:40:05 5df492c9dc93: Download complete 01:40:06 aa269ceb94a6: Verifying Checksum 01:40:06 aa269ceb94a6: Download complete 01:40:08 Still waiting to schedule task 01:40:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7333’ 01:40:09 5df492c9dc93: Pull complete 01:40:09 7629e6793208: Pull complete 01:40:09 4f4fb700ef54: Pull complete 01:40:09 fb5054dd5b73: Pull complete 01:40:09 eeca6798cff9: Pull complete 01:40:11 aa269ceb94a6: Pull complete 01:40:11 ada007ff1a6a: Pull complete 01:40:11 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:40:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:40:11 ---> f489d0715acc 01:40:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:40:13 ---> Running in 74e1df4f41e5 01:40:13 Removing intermediate container 74e1df4f41e5 01:40:13 ---> 498efd078866 01:40:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:13 ---> Running in 79e83984701c 01:40:13 Removing intermediate container 79e83984701c 01:40:13 ---> 95770329ace0 01:40:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:40:13 ---> Running in bd29c25f1d5f 01:40:13 Removing intermediate container bd29c25f1d5f 01:40:13 ---> 310149f01307 01:40:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:40:13 ---> Running in e3f3cdcce7e2 01:40:13 Removing intermediate container e3f3cdcce7e2 01:40:13 ---> f430ed4f9e43 01:40:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:13 ---> Running in df384d0c65d3 01:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:40:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:40:14 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:40:14 (2/4) Installing libedit (20221030.3.1-r1) 01:40:14 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:40:14 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:40:14 Executing busybox-1.36.1-r5.trigger 01:40:14 OK: 268 MiB in 56 packages 01:40:15 Removing intermediate container df384d0c65d3 01:40:15 ---> da1fe278283f 01:40:15 Step 8/12 : WORKDIR /device-mqtt-go 01:40:15 ---> Running in 5bdd4ffe737e 01:40:15 Removing intermediate container 5bdd4ffe737e 01:40:15 ---> 030457be7d60 01:40:15 Step 9/12 : COPY go.mod vendor* ./ 01:40:15 ---> 98170030c347 01:40:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:15 ---> Running in 4c509736b638 01:41:23 Removing intermediate container 4c509736b638 01:41:23 ---> e88ac93bcedf 01:41:23 Step 11/12 : COPY . . 01:41:23 ---> fa97640e5544 01:41:23 Step 12/12 : RUN $MAKE 01:41:23 ---> Running in 44bd48a16750 01:41:23 noop 01:41:23 Removing intermediate container 44bd48a16750 01:41:23 ---> 172c62f8f998 01:41:23 Successfully built 172c62f8f998 01:41:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:23 + docker inspect -f . ci-base-image-x86_64 01:41:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:23 prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container 01:41:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@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:41:24 $ docker top c2bd17b7499aa8dff3458c233171e603cda458a7ca8ada4074bbb22ad05d48ca -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:24 + go version 01:41:24 go version go1.21.9 linux/amd64 [Pipeline] } 01:41:24 $ docker stop --time=1 c2bd17b7499aa8dff3458c233171e603cda458a7ca8ada4074bbb22ad05d48ca 01:41:25 $ docker rm -f --volumes c2bd17b7499aa8dff3458c233171e603cda458a7ca8ada4074bbb22ad05d48ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:26 + docker inspect -f . ci-base-image-x86_64 01:41:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:26 prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container 01:41:26 $ 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-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@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:41:27 $ docker top 85541f8608262457a49d0d880a6596c1c52b0fd695f0d092eb3ae20593552cac -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-688 [Pipeline] fileExists [Pipeline] sh 01:41:27 + make test 01:41:27 go test ./... -coverprofile=coverage.out ./... 01:41:29 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:41:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:41:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:41:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements 01:41:57 go vet ./... 01:42:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:01 ./bin/test-attribution-txt.sh 01:42:01 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:42:01 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:42:01 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:42:01 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:42:01 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:42:01 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:42:01 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:42:01 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:42:01 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:42:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:42:01 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:42:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:42:01 $ docker stop --time=1 85541f8608262457a49d0d880a6596c1c52b0fd695f0d092eb3ae20593552cac 01:42:03 $ docker rm -f --volumes 85541f8608262457a49d0d880a6596c1c52b0fd695f0d092eb3ae20593552cac [Pipeline] // withDockerContainer [Pipeline] sh 01:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:42:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:42:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:42:05 + ls -al . 01:42:05 total 252 01:42:05 drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 01:41 . 01:42:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 01:39 .. 01:42:05 -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 01:39 .dockerignore 01:42:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 01:41 .git 01:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:39 .github 01:42:05 -rw-rw-r-- 1 jenkins jenkins 264 Aug 8 01:39 .gitignore 01:42:05 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 01:39 .golangci.yml 01:42:05 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 01:39 .semver 01:42:05 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 8 01:39 Attribution.txt 01:42:05 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 8 01:39 CHANGELOG.md 01:42:05 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 8 01:39 Dockerfile 01:42:05 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 01:39 GOVERNANCE.md 01:42:05 -rw-rw-r-- 1 jenkins jenkins 657 Aug 8 01:39 Jenkinsfile 01:42:05 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 01:39 LICENSE 01:42:05 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 8 01:39 Makefile 01:42:05 -rw-rw-r-- 1 jenkins jenkins 620 Aug 8 01:39 OWNERS.md 01:42:05 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 8 01:39 README.md 01:42:05 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 01:39 VERSION 01:42:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:39 bin 01:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:39 cmd 01:42:05 -rw-r--r-- 1 jenkins jenkins 18506 Aug 8 01:41 coverage.out 01:42:05 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 8 01:39 go.mod 01:42:05 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 8 01:39 go.sum 01:42:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:39 internal 01:42:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:39 mock 01:42:05 -rw-rw-r-- 1 jenkins jenkins 227 Aug 8 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:05 + 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=fc22351108fedf7a1ada5dc2a9613889cfc6f97b --label arch=amd64 --label version=0.0.0 . 01:42:05 Sending build context to Docker daemon 20.86MB 01:42:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:42:05 Step 2/25 : FROM ${BASE} AS builder 01:42:05 ---> 172c62f8f998 01:42:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:42:06 ---> Running in df1c48aabf23 01:42:06 Removing intermediate container df1c48aabf23 01:42:06 ---> d3f42a55c0ce 01:42:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:42:06 ---> Running in 2005e2df5b75 01:42:06 Removing intermediate container 2005e2df5b75 01:42:06 ---> dd14ab1484fe 01:42:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:42:06 ---> Running in 464832fc6ff8 01:42:06 Removing intermediate container 464832fc6ff8 01:42:06 ---> b77c8b377fc0 01:42:06 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:42:06 ---> Running in 75a0d71bc26c 01:42:06 Removing intermediate container 75a0d71bc26c 01:42:06 ---> 01224740f805 01:42:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:42:06 ---> Running in 8ae01858bfc2 01:42:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:42:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:42:07 OK: 268 MiB in 56 packages 01:42:07 Removing intermediate container 8ae01858bfc2 01:42:07 ---> 681131341d3c 01:42:07 Step 8/25 : WORKDIR /device-mqtt-go 01:42:07 ---> Running in 804b723db70c 01:42:07 Removing intermediate container 804b723db70c 01:42:07 ---> 9e3e35caa1cc 01:42:07 Step 9/25 : COPY go.mod vendor* ./ 01:42:07 ---> 85cc3f93dc34 01:42:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:42:07 ---> Running in 1a7a69934a54 01:42:08 Removing intermediate container 1a7a69934a54 01:42:08 ---> ec41f0a61221 01:42:08 Step 11/25 : COPY . . 01:42:09 ---> e78679be0545 01:42:09 Step 12/25 : RUN $MAKE 01:42:09 ---> Running in 21a93ad85a48 01:42:09 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.30" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:42:50 Removing intermediate container 21a93ad85a48 01:42:50 ---> f4d780daa711 01:42:50 Step 13/25 : FROM alpine:3.18 01:42:50 3.18: Pulling from library/alpine 01:42:50 930bdd4d222e: Pulling fs layer 01:42:50 930bdd4d222e: Verifying Checksum 01:42:50 930bdd4d222e: Download complete 01:42:50 930bdd4d222e: Pull complete 01:42:50 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:42:50 Status: Downloaded newer image for alpine:3.18 01:42:50 ---> 18f865063206 01:42:50 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:42:50 ---> Running in 1b8edf422c5f 01:42:50 Removing intermediate container 1b8edf422c5f 01:42:50 ---> d80660e1f0c3 01:42:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:42:50 ---> Running in 1c3c7c4b3dec 01:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:42:50 (1/1) Installing dumb-init (1.2.5-r2) 01:42:50 Executing busybox-1.36.1-r7.trigger 01:42:50 OK: 7 MiB in 16 packages 01:42:50 Removing intermediate container 1c3c7c4b3dec 01:42:50 ---> e9d348ee7b81 01:42:50 Step 16/25 : RUN apk --no-cache upgrade 01:42:50 ---> Running in 90fade7630ed 01:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:42:50 OK: 7 MiB in 16 packages 01:42:50 Removing intermediate container 90fade7630ed 01:42:50 ---> a4d2e1ea1b69 01:42:50 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:42:50 ---> f4c30ba904c8 01:42:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:42:50 ---> 5744c2922011 01:42:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:42:50 ---> ca91429d512e 01:42:50 Step 20/25 : EXPOSE 59982 01:42:50 ---> Running in 7e7e2fdec121 01:42:50 Removing intermediate container 7e7e2fdec121 01:42:50 ---> 8f604236d074 01:42:50 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:42:50 ---> Running in 3182c57362d6 01:42:50 Removing intermediate container 3182c57362d6 01:42:50 ---> 8ff79b98b76b 01:42:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:42:50 ---> Running in 58b7ac5b19f2 01:42:50 Removing intermediate container 58b7ac5b19f2 01:42:50 ---> 72f21e465b6b 01:42:50 Step 23/25 : LABEL arch=amd64 01:42:50 ---> Running in ba9aa0dfe78c 01:42:50 Removing intermediate container ba9aa0dfe78c 01:42:50 ---> b538d162b5d9 01:42:50 Step 24/25 : LABEL git_sha=fc22351108fedf7a1ada5dc2a9613889cfc6f97b 01:42:50 ---> Running in 3e4d03b08193 01:42:50 Removing intermediate container 3e4d03b08193 01:42:50 ---> 8956a723e949 01:42:50 Step 25/25 : LABEL version=0.0.0 01:42:50 ---> Running in 62327b678610 01:42:50 Removing intermediate container 62327b678610 01:42:50 ---> 273139b7fc9d 01:42:50 [Warning] One or more build-args [ARCH] were not consumed 01:42:50 Successfully built 273139b7fc9d 01:42:50 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:42:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:51 01:42:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:51 latest: Pulling from edgex-lftools-log-publisher 01:42:51 5eb5b503b376: Pulling fs layer 01:42:51 5c69ac0246d0: Pulling fs layer 01:42:51 ec43610c2a17: Pulling fs layer 01:42:51 3a2ae6a8a46f: Pulling fs layer 01:42:51 33b1e0a273af: Pulling fs layer 01:42:51 5d3b04190fa2: Pulling fs layer 01:42:51 2f39f015ded8: Pulling fs layer 01:42:51 3a2ae6a8a46f: Waiting 01:42:51 5d3b04190fa2: Waiting 01:42:51 2f39f015ded8: Waiting 01:42:51 33b1e0a273af: Waiting 01:42:51 5c69ac0246d0: Verifying Checksum 01:42:51 5c69ac0246d0: Download complete 01:42:51 3a2ae6a8a46f: Verifying Checksum 01:42:51 3a2ae6a8a46f: Download complete 01:42:51 33b1e0a273af: Verifying Checksum 01:42:51 33b1e0a273af: Download complete 01:42:51 5d3b04190fa2: Verifying Checksum 01:42:51 5d3b04190fa2: Download complete 01:42:51 ec43610c2a17: Verifying Checksum 01:42:51 ec43610c2a17: Download complete 01:42:51 5eb5b503b376: Download complete 01:42:52 2f39f015ded8: Download complete 01:42:53 5eb5b503b376: Pull complete 01:42:53 5c69ac0246d0: Pull complete 01:42:53 ec43610c2a17: Pull complete 01:42:53 3a2ae6a8a46f: Pull complete 01:42:53 33b1e0a273af: Pull complete 01:42:53 5d3b04190fa2: Pull complete 01:42:58 2f39f015ded8: Pull complete 01:42:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:42:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:58 prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container 01:42:58 $ 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-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@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:43:04 $ docker top 45e983acae64026be54a7f19df341a9ef2cf11dce70bd331f8cd2da2a137b4bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:04 ---> job-cost.sh 01:43:04 lf-activate-venv: SKIPPING 01:43:04 INFO: No Stack... 01:43:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:05 INFO: Archiving Costs [Pipeline] sh 01:43:05 + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives/cost.csv 01:43:05 cut -d, -f6 [Pipeline] lock 01:43:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] 01:43:05 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] did not exist. Created. 01:43:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:06 + echo total: 0.2199999988079071 [Pipeline] stash 01:43:06 Stashed 1 file(s) [Pipeline] } 01:43:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:06 $ docker stop --time=1 45e983acae64026be54a7f19df341a9ef2cf11dce70bd331f8cd2da2a137b4bc 01:43:07 $ docker rm -f --volumes 45e983acae64026be54a7f19df341a9ef2cf11dce70bd331f8cd2da2a137b4bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:43:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7336 in /w/workspace/gexfoundry_device-mqtt-go_PR-688 [Pipeline] { [Pipeline] ws 01:43:43 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:43:43 The recommended git tool is: git 01:43:52 using credential edgex-jenkins-ssh 01:43:52 Cloning the remote Git repository 01:43:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:43:52 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:43:53 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:43:53 > git --version # timeout=10 01:43:53 > git --version # 'git version 2.25.1' 01:43:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:43:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:43:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:43:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:43:58 Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit fc22351108fedf7a1ada5dc2a9613889cfc6f97b 01:43:58 Merge succeeded, producing fc22351108fedf7a1ada5dc2a9613889cfc6f97b 01:43:58 Checking out Revision fc22351108fedf7a1ada5dc2a9613889cfc6f97b (PR-688) 01:43:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:43:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:43:57 using GIT_SSH to set credentials SSH Credentials for GitHub 01:43:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/688/head:refs/remotes/origin/PR-688 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:43:58 > git config core.sparsecheckout # timeout=10 01:43:58 > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 01:43:58 > git remote # timeout=10 01:43:58 > git config --get remote.origin.url # timeout=10 01:43:58 using GIT_SSH to set credentials SSH Credentials for GitHub 01:43:58 > git merge cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 01:43:58 > git rev-parse HEAD^{commit} # timeout=10 01:43:58 > git config core.sparsecheckout # timeout=10 01:43:58 > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 01:43:59 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:43:59 > git --version # timeout=10 01:43:59 > git --version # 'git version 2.25.1' 01:43:59 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:44:04 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:04 Dload Upload Total Spent Left Speed 01:44:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 01:44:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:44:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:44:05 + sudo tee /etc/docker/daemon.new 01:44:05 { 01:44:05 "registry-mirrors": [ 01:44:05 "https://nexus3.edgexfoundry.org:10001" 01:44:05 ], 01:44:05 "bip": "10.250.0.254/24", 01:44:05 "hosts": [ 01:44:05 "tcp://0.0.0.0:5555", 01:44:05 "unix:///var/run/docker.sock" 01:44:05 ], 01:44:05 "mtu": 1458, 01:44:05 "selinux-enabled": true, 01:44:05 "seccomp-profile": "/etc/docker/seccomp.json" 01:44:05 } [Pipeline] sh 01:44:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:44:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:24 provisioning config files... 01:44:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15776367953699203064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:24 ---> ****-login.sh 01:44:24 nexus3.edgexfoundry.org:10001 01:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:25 Configure a credential helper to remove this warning. See 01:44:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:25 01:44:25 Login Succeeded 01:44:25 nexus3.edgexfoundry.org:10002 01:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:26 Configure a credential helper to remove this warning. See 01:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:26 01:44:26 Login Succeeded 01:44:26 nexus3.edgexfoundry.org:10003 01:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:26 Configure a credential helper to remove this warning. See 01:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:26 01:44:26 Login Succeeded 01:44:26 nexus3.edgexfoundry.org:10004 01:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:26 Configure a credential helper to remove this warning. See 01:44:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:26 01:44:26 Login Succeeded 01:44:26 ****.io 01:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:27 Configure a credential helper to remove this warning. See 01:44:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:27 01:44:27 Login Succeeded 01:44:27 ---> ****-login.sh ends [Pipeline] } 01:44:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:44:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:44:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:44:28 ========================================================= 01:44:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:44:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:28 + 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:44:29 Sending build context to Docker daemon 10.53MB 01:44:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:44:29 Step 2/12 : FROM ${BASE} AS builder 01:44:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:44:29 c6b39de5b339: Pulling fs layer 01:44:29 a69c41024577: Pulling fs layer 01:44:29 d6de4b400683: Pulling fs layer 01:44:29 35cb2a7552d0: Pulling fs layer 01:44:29 4f4fb700ef54: Pulling fs layer 01:44:29 464afbd9ba4c: Pulling fs layer 01:44:29 00f215d4a9da: Pulling fs layer 01:44:29 d496ad576159: Pulling fs layer 01:44:29 4f4fb700ef54: Waiting 01:44:29 464afbd9ba4c: Waiting 01:44:29 00f215d4a9da: Waiting 01:44:29 d496ad576159: Waiting 01:44:29 35cb2a7552d0: Waiting 01:44:29 a69c41024577: Verifying Checksum 01:44:29 a69c41024577: Download complete 01:44:29 35cb2a7552d0: Verifying Checksum 01:44:29 35cb2a7552d0: Download complete 01:44:29 4f4fb700ef54: Verifying Checksum 01:44:29 4f4fb700ef54: Download complete 01:44:29 464afbd9ba4c: Verifying Checksum 01:44:29 464afbd9ba4c: Download complete 01:44:30 d496ad576159: Verifying Checksum 01:44:30 d496ad576159: Download complete 01:44:30 c6b39de5b339: Pull complete 01:44:31 a69c41024577: Pull complete 01:44:31 d6de4b400683: Verifying Checksum 01:44:31 d6de4b400683: Download complete 01:44:32 00f215d4a9da: Verifying Checksum 01:44:32 00f215d4a9da: Download complete 01:44:44 d6de4b400683: Pull complete 01:44:44 35cb2a7552d0: Pull complete 01:44:44 4f4fb700ef54: Pull complete 01:44:45 464afbd9ba4c: Pull complete 01:44:53 00f215d4a9da: Pull complete 01:44:55 d496ad576159: Pull complete 01:44:55 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:44:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:44:55 ---> f246e2811388 01:44:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:44:56 ---> Running in 30602010a765 01:44:56 Removing intermediate container 30602010a765 01:44:56 ---> 30725c65cbb3 01:44:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:44:56 ---> Running in 99e80d8e18ba 01:44:56 Removing intermediate container 99e80d8e18ba 01:44:56 ---> fe86bdc1dcad 01:44:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:44:57 ---> Running in e431b58678f1 01:44:57 Removing intermediate container e431b58678f1 01:44:57 ---> c9008e3119ad 01:44:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:44:57 ---> Running in c03281c37b14 01:44:57 Removing intermediate container c03281c37b14 01:44:57 ---> df7b287b18ac 01:44:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:44:57 ---> Running in 651f755a7c46 01:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:44:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:45:00 (1/4) Installing openssh-keygen (9.3_p2-r2) 01:45:00 (2/4) Installing libedit (20221030.3.1-r1) 01:45:00 (3/4) Installing openssh-client-common (9.3_p2-r2) 01:45:00 (4/4) Installing openssh-client-default (9.3_p2-r2) 01:45:00 Executing busybox-1.36.1-r5.trigger 01:45:00 OK: 271 MiB in 56 packages 01:45:02 Removing intermediate container 651f755a7c46 01:45:02 ---> a9a2eaedbecf 01:45:02 Step 8/12 : WORKDIR /device-mqtt-go 01:45:02 ---> Running in 4d1facbe98ee 01:45:02 Removing intermediate container 4d1facbe98ee 01:45:02 ---> e5c37d921cc6 01:45:02 Step 9/12 : COPY go.mod vendor* ./ 01:45:03 ---> 6c5de0d1f12f 01:45:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:03 ---> Running in 20e808c5b5c8 01:46:54 Removing intermediate container 20e808c5b5c8 01:46:54 ---> 52c7886b8f5d 01:46:54 Step 11/12 : COPY . . 01:46:54 ---> 8f932ecc642f 01:46:54 Step 12/12 : RUN $MAKE 01:46:54 ---> Running in 6d21588aed64 01:46:54 noop 01:46:54 Removing intermediate container 6d21588aed64 01:46:54 ---> 1dc4ed1dee18 01:46:54 Successfully built 1dc4ed1dee18 01:46:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:55 + docker inspect -f . ci-base-image-arm64 01:46:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:55 prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container 01:46:55 $ 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:46:56 $ docker top 913e307d5c8e16fe91ce8800211cddedcfa29f1b1a49b2f93334b9e5228f9de5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:57 + go version 01:46:57 go version go1.21.9 linux/arm64 [Pipeline] } 01:46:57 $ docker stop --time=1 913e307d5c8e16fe91ce8800211cddedcfa29f1b1a49b2f93334b9e5228f9de5 01:46:59 $ docker rm -f --volumes 913e307d5c8e16fe91ce8800211cddedcfa29f1b1a49b2f93334b9e5228f9de5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:00 + docker inspect -f . ci-base-image-arm64 01:47:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:00 prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container 01:47:00 $ 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:47:02 $ docker top 06e369b2932971196e56952ba3539b892c6b1c87e873833ce985434779f388a9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:03 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:47:03 + make test 01:47:04 go test ./... -coverprofile=coverage.out ./... 01:47:09 ? 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.048s coverage: 22.8% of statements 01:50:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:50:31 go vet ./... 01:51:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:51:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:51:10 ./bin/test-attribution-txt.sh 01:51:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:51:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:51:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:51:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:51:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:51:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:51:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:51:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:51:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:51:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:51:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:51:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:51:10 $ docker stop --time=1 06e369b2932971196e56952ba3539b892c6b1c87e873833ce985434779f388a9 01:51:12 $ docker rm -f --volumes 06e369b2932971196e56952ba3539b892c6b1c87e873833ce985434779f388a9 [Pipeline] // withDockerContainer [Pipeline] sh 01:51:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:51:13 Warning: overwriting stash ‘coverage-report’ 01:51:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:51:15 + ls -al . 01:51:15 total 248 01:51:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 01:47 . 01:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 01:43 .. 01:51:15 -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 01:43 .dockerignore 01:51:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 01:44 .git 01:51:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:43 .github 01:51:15 -rw-rw-r-- 1 jenkins jenkins 264 Aug 8 01:43 .gitignore 01:51:15 -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 01:43 .golangci.yml 01:51:15 -rw-rw-r-- 1 jenkins jenkins 10386 Aug 8 01:43 Attribution.txt 01:51:15 -rw-rw-r-- 1 jenkins jenkins 18574 Aug 8 01:43 CHANGELOG.md 01:51:15 -rw-rw-r-- 1 jenkins jenkins 1798 Aug 8 01:43 Dockerfile 01:51:15 -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 01:43 GOVERNANCE.md 01:51:15 -rw-rw-r-- 1 jenkins jenkins 657 Aug 8 01:43 Jenkinsfile 01:51:15 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 01:43 LICENSE 01:51:15 -rw-rw-r-- 1 jenkins jenkins 1963 Aug 8 01:43 Makefile 01:51:15 -rw-rw-r-- 1 jenkins jenkins 620 Aug 8 01:43 OWNERS.md 01:51:15 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 8 01:43 README.md 01:51:15 -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 01:39 VERSION 01:51:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:43 bin 01:51:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:43 cmd 01:51:15 -rw-r--r-- 1 jenkins jenkins 18506 Aug 8 01:50 coverage.out 01:51:15 -rw-rw-r-- 1 jenkins jenkins 7065 Aug 8 01:43 go.mod 01:51:15 -rw-rw-r-- 1 jenkins jenkins 101673 Aug 8 01:43 go.sum 01:51:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:43 internal 01:51:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:43 mock 01:51:15 -rw-rw-r-- 1 jenkins jenkins 227 Aug 8 01:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:15 + 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=fc22351108fedf7a1ada5dc2a9613889cfc6f97b --label arch=arm64 --label version=0.0.0 . 01:51:16 Sending build context to Docker daemon 10.55MB 01:51:16 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:51:16 Step 2/25 : FROM ${BASE} AS builder 01:51:16 ---> 1dc4ed1dee18 01:51:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:51:16 ---> Running in b9fbd99009a5 01:51:16 Removing intermediate container b9fbd99009a5 01:51:16 ---> 88042083d441 01:51:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:51:17 ---> Running in 209b5a0ff4ee 01:51:17 Removing intermediate container 209b5a0ff4ee 01:51:17 ---> a0b4793e920f 01:51:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:51:17 ---> Running in c0d63cf83bb8 01:51:17 Removing intermediate container c0d63cf83bb8 01:51:17 ---> db274ba2603f 01:51:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:51:17 ---> Running in 760c6ffcca44 01:51:18 Removing intermediate container 760c6ffcca44 01:51:18 ---> adc16488ebb3 01:51:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:51:18 ---> Running in 11ed1e598986 01:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:51:20 OK: 271 MiB in 56 packages 01:51:21 Removing intermediate container 11ed1e598986 01:51:21 ---> 24ccbbbc8fcb 01:51:21 Step 8/25 : WORKDIR /device-mqtt-go 01:51:21 ---> Running in b95a549e8dcb 01:51:21 Removing intermediate container b95a549e8dcb 01:51:21 ---> 3a9e64fa856a 01:51:21 Step 9/25 : COPY go.mod vendor* ./ 01:51:22 ---> 0c767d503a52 01:51:22 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:22 ---> Running in f1e770440ea7 01:51:24 Removing intermediate container f1e770440ea7 01:51:24 ---> da7adc20ea5b 01:51:24 Step 11/25 : COPY . . 01:51:25 ---> 5a19478ee828 01:51:25 Step 12/25 : RUN $MAKE 01:51:25 ---> Running in 5024df48e2ef 01:51:26 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.30" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:54:48 Removing intermediate container 5024df48e2ef 01:54:48 ---> 410e5fa4ba1e 01:54:48 Step 13/25 : FROM alpine:3.18 01:54:48 3.18: Pulling from library/alpine 01:54:48 4983c3fe2029: Pulling fs layer 01:54:49 4983c3fe2029: Verifying Checksum 01:54:49 4983c3fe2029: Download complete 01:54:49 4983c3fe2029: Pull complete 01:54:49 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 01:54:49 Status: Downloaded newer image for alpine:3.18 01:54:49 ---> a0237000ae83 01:54:49 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:54:49 ---> Running in bf4ed8ee0a0e 01:54:50 Removing intermediate container bf4ed8ee0a0e 01:54:50 ---> ba7ec1563b1f 01:54:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:54:50 ---> Running in 7e5baf97cc0e 01:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:54:52 (1/1) Installing dumb-init (1.2.5-r2) 01:54:52 Executing busybox-1.36.1-r7.trigger 01:54:52 OK: 8 MiB in 16 packages 01:54:53 Removing intermediate container 7e5baf97cc0e 01:54:53 ---> ac2c7532b28e 01:54:53 Step 16/25 : RUN apk --no-cache upgrade 01:54:53 ---> Running in fb8c0abe13eb 01:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:54:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:54:55 OK: 8 MiB in 16 packages 01:54:56 Removing intermediate container fb8c0abe13eb 01:54:56 ---> 96f19ab966ba 01:54:56 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:54:58 ---> 8b8a01102cbb 01:54:58 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:54:58 ---> b52a172fa129 01:54:58 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:54:58 ---> 7b20e3e08d96 01:54:58 Step 20/25 : EXPOSE 59982 01:54:58 ---> Running in 574a6de9c7df 01:54:59 Removing intermediate container 574a6de9c7df 01:54:59 ---> a4955fc16a1b 01:54:59 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:54:59 ---> Running in 5bb826a46ddc 01:54:59 Removing intermediate container 5bb826a46ddc 01:54:59 ---> e008a2fb1b89 01:54:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:54:59 ---> Running in ea56daf98d32 01:55:00 Removing intermediate container ea56daf98d32 01:55:00 ---> 3de469d9b893 01:55:00 Step 23/25 : LABEL arch=arm64 01:55:00 ---> Running in 8f40d0ab910d 01:55:00 Removing intermediate container 8f40d0ab910d 01:55:00 ---> 6875415d3466 01:55:00 Step 24/25 : LABEL git_sha=fc22351108fedf7a1ada5dc2a9613889cfc6f97b 01:55:00 ---> Running in 9a56f65ac5f2 01:55:00 Removing intermediate container 9a56f65ac5f2 01:55:00 ---> 8a0e098dd58b 01:55:00 Step 25/25 : LABEL version=0.0.0 01:55:00 ---> Running in 4c834a6a979b 01:55:01 Removing intermediate container 4c834a6a979b 01:55:01 ---> 4c4c24ce49fc 01:55:01 [Warning] One or more build-args [ARCH] were not consumed 01:55:01 Successfully built 4c4c24ce49fc 01:55:01 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:02 01:55:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:02 arm64: Pulling from edgex-lftools-log-publisher 01:55:02 8998bd30e6a1: Pulling fs layer 01:55:02 04944245beec: Pulling fs layer 01:55:02 699f458cf7ca: Pulling fs layer 01:55:02 765212b225bb: Pulling fs layer 01:55:02 f23df028b6ca: Pulling fs layer 01:55:02 d65c8cfc05b1: Pulling fs layer 01:55:02 2437ff75d9bd: Pulling fs layer 01:55:02 f23df028b6ca: Waiting 01:55:02 765212b225bb: Waiting 01:55:02 d65c8cfc05b1: Waiting 01:55:02 2437ff75d9bd: Waiting 01:55:02 04944245beec: Verifying Checksum 01:55:02 04944245beec: Download complete 01:55:02 765212b225bb: Verifying Checksum 01:55:02 765212b225bb: Download complete 01:55:02 f23df028b6ca: Verifying Checksum 01:55:02 f23df028b6ca: Download complete 01:55:02 d65c8cfc05b1: Verifying Checksum 01:55:02 d65c8cfc05b1: Download complete 01:55:02 699f458cf7ca: Verifying Checksum 01:55:02 699f458cf7ca: Download complete 01:55:03 8998bd30e6a1: Verifying Checksum 01:55:03 8998bd30e6a1: Download complete 01:55:05 2437ff75d9bd: Verifying Checksum 01:55:05 2437ff75d9bd: Download complete 01:55:07 8998bd30e6a1: Pull complete 01:55:08 04944245beec: Pull complete 01:55:10 699f458cf7ca: Pull complete 01:55:10 765212b225bb: Pull complete 01:55:10 f23df028b6ca: Pull complete 01:55:10 d65c8cfc05b1: Pull complete 01:55:29 2437ff75d9bd: Pull complete 01:55:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:55:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:29 prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container 01:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:55:32 $ docker top 2c849d474919c072841d37ec622109526533d82a598042c06babe2dc268f7b79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:33 ---> job-cost.sh 01:55:33 lf-activate-venv: SKIPPING 01:55:33 INFO: No Stack... 01:55:33 INFO: Retrieving Pricing Info for: v3-standard-4 01:55:34 INFO: Archiving Costs [Pipeline] sh 01:55:34 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:55:34 + cut -d, -f6 [Pipeline] lock 01:55:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] 01:55:35 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] did not exist. Created. 01:55:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:55:35 /w/workspace/device-mqtt-go/1@tmp/durable-dd2a1438/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:55:36 + echo total: 0.10999999940395355 [Pipeline] stash 01:55:36 Warning: overwriting stash ‘stack-cost’ 01:55:36 Stashed 1 file(s) [Pipeline] } 01:55:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:55:36 $ docker stop --time=1 2c849d474919c072841d37ec622109526533d82a598042c06babe2dc268f7b79 01:55:38 $ docker rm -f --volumes 2c849d474919c072841d37ec622109526533d82a598042c06babe2dc268f7b79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:55:39 provisioning config files... 01:55:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config2972412348311213171tmp [Pipeline] { [Pipeline] sh 01:55:39 + set +x 01:55:39 + + bash -s --curl 01:55:39 -s https://codecov.io/bash 01:55:39 01:55:39 _____ _ 01:55:39 / ____| | | 01:55:39 | | ___ __| | ___ ___ _____ __ 01:55:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:55:39 | |___| (_) | (_| | __/ (_| (_) \ V / 01:55:39 \_____\___/ \__,_|\___|\___\___/ \_/ 01:55:39 Bash-1.0.6 01:55:39 01:55:39 01:55:39 ==> git version 2.25.1 found 01:55:39 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:55:39 Release-Date: 2020-01-08 01:55:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:55:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:55:39 ==> Jenkins CI detected. 01:55:39 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-688 01:55:39 project root: . 01:55:39 --> token set from env 01:55:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:55:39 ==> Running gcov in . (disable via -X gcov) 01:55:39 ==> Python coveragepy not found 01:55:39 ==> Searching for coverage reports in: 01:55:39 + . 01:55:39 -> Found 1 reports 01:55:39 ==> Detecting git/mercurial file structure 01:55:39 ==> Reading reports 01:55:40 + ./coverage.out bytes=18506 01:55:40 ==> Appending adjustments 01:55:40 https://docs.codecov.io/docs/fixing-reports 01:55:40 + Found adjustments 01:55:40 ==> Gzipping contents 01:55:40 4.0K /tmp/codecov.4JgHkG.gz 01:55:40 ==> Uploading reports 01:55:40 url: https://codecov.io 01:55:40 query: branch=PR-688&commit=fc22351108fedf7a1ada5dc2a9613889cfc6f97b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-688%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=688&job=&cmd_args= 01:55:40 -> Pinging Codecov 01:55:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-688&commit=fc22351108fedf7a1ada5dc2a9613889cfc6f97b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-688%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=688&job=&cmd_args= 01:55:40 -> Uploading to 01:55:40 https://storage.googleapis.com/codecov/v4/raw/2024-08-08/7D719EC7BBE17E464838252E33014C33/fc22351108fedf7a1ada5dc2a9613889cfc6f97b/4e6dd679-bb34-435c-bfad-0d2e55b78af2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240808%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240808T015540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07d08c3542cce717dfc98d156f30297d7d9831bf659beeb07f566e62647642fc 01:55:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:55:40 Dload Upload Total Spent Left Speed 01:55:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14800 --:--:-- --:--:-- --:--:-- 14729 100 3049 0 0 100 3049 0 12651 --:--:-- --:--:-- --:--:-- 12599 01:55:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] } 01:55:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:55:42 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives ] 01:55:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives 01:55:42 total 16 01:55:42 drwxr-xr-x 3 root root 4096 Aug 8 01:43 . 01:55:42 drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 01:43 .. 01:55:42 drwxr-xr-x 2 root root 4096 Aug 8 01:43 cost 01:55:42 -rw-r--r-- 1 root root 86 Aug 8 01:43 cost.csv 01:55:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives 01:55:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives 01:55:42 total 16 01:55:42 drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 01:43 . 01:55:42 drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 01:43 .. 01:55:42 drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 01:43 cost 01:55:42 -rw-r--r-- 1 jenkins jenkins 86 Aug 8 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:55:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:55:44 ---> package-listing.sh 01:55:44 ++ facter osfamily 01:55:44 ++ tr '[:upper:]' '[:lower:]' 01:55:44 + OS_FAMILY=debian 01:55:44 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-688 01:55:44 + START_PACKAGES=/tmp/packages_start.txt 01:55:44 + END_PACKAGES=/tmp/packages_end.txt 01:55:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:55:44 + PACKAGES=/tmp/packages_start.txt 01:55:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-688 ']' 01:55:44 + PACKAGES=/tmp/packages_end.txt 01:55:44 + case "${OS_FAMILY}" in 01:55:44 + grep '^ii' 01:55:44 + dpkg -l 01:55:44 + '[' -f /tmp/packages_start.txt ']' 01:55:44 + '[' -f /tmp/packages_end.txt ']' 01:55:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:55:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-688 ']' 01:55:44 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives/ 01:55:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives/ [Pipeline] echo 01:55:44 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-688/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:55:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:55:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:55:45 prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container 01:55:45 $ 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-688/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-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:55:45 $ docker top 09eb6466ae72238ef2db7bef833d92bd7a25f044369b39041671d4853ec78a64 -eo pid,comm [Pipeline] { [Pipeline] sh 01:55:46 + touch /tmp/pre-build-complete [Pipeline] sh 01:55:46 + mkdir -p /var/log/sysstat [Pipeline] sh 01:55:47 + ls /var/log/sa-host 01:55:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:47 provisioning config files... 01:55:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config15621665389866505361tmp [Pipeline] { [Pipeline] echo 01:55:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:55:47 ---> create-netrc.sh [Pipeline] } 01:55:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:55:48 ---> python-tools-install.sh [Pipeline] echo 01:55:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:55:48 ---> sudo-logs.sh 01:55:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:55:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:55:49 ---> job-cost.sh 01:55:49 lf-activate-venv: SKIPPING 01:55:49 DEBUG: total: 0.2199999988079071 01:55:49 INFO: Retrieving Stack Cost... 01:55:49 INFO: Retrieving Pricing Info for: v3-standard-8 01:55:50 INFO: Archiving Costs [Pipeline] echo 01:55:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:55:50 ---> logs-deploy.sh 01:55:50 lf-activate-venv: SKIPPING 01:55:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-688/1 01:55:50 INFO: archiving workspace using pattern(s): 01:55:51 Archives upload complete. 01:55:51 INFO: archiving logs to Nexus